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/util/Map.java,
4         java/util/Observer.java,
5         java/util/zip/Checksum.java,
6         java/util/zip/ZipConstants.java:
7         Removed redundant modifiers.
8
9 2003-10-11  Michael Koch  <konqueror@gmx.de>
10
11         * java/text/AttributedCharacterIterator.java,
12         java/text/CharacterIterator.java:
13         Removed redundant modifiers.
14
15 2003-10-11  Michael Koch  <konqueror@gmx.de>
16
17         * java/sql/Array.java,
18         java/sql/Blob.java,
19         java/sql/CallableStatement.java,
20         java/sql/Clob.java,
21         java/sql/Connection.java,
22         java/sql/DatabaseMetaData.java,
23         java/sql/Driver.java,
24         java/sql/ParameterMetaData.java,
25         java/sql/PreparedStatement.java,
26         java/sql/Ref.java,
27         java/sql/ResultSet.java,
28         java/sql/ResultSetMetaData.java,
29         java/sql/SQLData.java,
30         java/sql/SQLInput.java,
31         java/sql/SQLOutput.java,
32         java/sql/Savepoint.java,
33         java/sql/Statement.java,
34         java/sql/Struct.java:
35         Removed redundant modifiers.
36
37 2003-10-11  Michael Koch  <konqueror@gmx.de>
38
39         * java/nio/channels/Channel.java,
40         java/nio/channels/GatheringByteChannel.java,
41         java/nio/channels/ReadableByteChannel.java,
42         java/nio/channels/ScatteringByteChannel.java,
43         java/nio/channels/WritableByteChannel.java:
44         Removed redundant modifiers.
45
46 2003-10-11  Michael Koch  <konqueror@gmx.de>
47
48         * java/rmi/activation/ActivationInstantiator.java,
49         java/rmi/activation/ActivationMonitor.java,
50         java/rmi/activation/ActivationSystem.java,
51         java/rmi/activation/Activator.java,
52         java/rmi/dgc/DGC.java,
53         java/rmi/registry/Registry.java,
54         java/rmi/registry/RegistryHandler.java,
55         java/rmi/server/LoaderHandler.java,
56         java/rmi/server/RMIClientSocketFactory.java,
57         java/rmi/server/RMIFailureHandler.java,
58         java/rmi/server/RMIServerSocketFactory.java,
59         java/rmi/server/RemoteCall.java,
60         java/rmi/server/RemoteRef.java,
61         java/rmi/server/ServerRef.java,
62         java/rmi/server/Skeleton.java,
63         java/rmi/server/Unreferenced.java:
64         Removed redundant modifiers.
65
66 2003-10-11  Michael Koch  <konqueror@gmx.de>
67
68         * java/net/ContentHandlerFactory.java,
69         java/net/DatagramSocketImplFactory.java,
70         java/net/FileNameMap.java,
71         java/net/SocketImplFactory.java,
72         java/net/SocketOptions.java,
73         java/net/URLStreamHandlerFactory.java:
74         Removed redundant modifiers.
75
76 2003-10-11  Michael Koch  <konqueror@gmx.de>
77
78         * java/io/Externalizable.java,
79         java/io/FileFilter.java,
80         java/io/FilePermission.java,
81         java/io/ObjectInput.java,
82         java/io/ObjectInputValidation.java,
83         java/io/ObjectOutput.java,
84         java/io/ObjectStreamClass.java,
85         java/io/ObjectStreamConstants.java,
86         java/io/Serializable.java:
87         Removed redundant modifiers.
88
89 2003-10-11  Ingo Proetel  <proetel@aicas.com>
90
91         * java/rmi/server/RMIClassLoader.java: Identify cached classloaders by 
92         codebase and context classloader.
93
94 2003-10-11  Michael Koch  <konqueror@gmx.de>
95
96         * java/beans/beancontext/BeanContext.java,
97         java/beans/beancontext/BeanContextChild.java,
98         java/beans/beancontext/BeanContextChildComponentProxy.java,
99         java/beans/beancontext/BeanContextChildSupport.java,
100         java/beans/beancontext/BeanContextContainerProxy.java,
101         java/beans/beancontext/BeanContextMembershipListener.java,
102         java/beans/beancontext/BeanContextProxy.java,
103         java/beans/beancontext/BeanContextServiceProvider.java,
104         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java,
105         java/beans/beancontext/BeanContextServiceRevokedListener.java,
106         java/beans/beancontext/BeanContextServices.java,
107         java/beans/beancontext/BeanContextServicesListener.java:
108         Removed redundant modifiers.
109
110 2003-10-11  Michael Koch  <konqueror@gmx.de>
111
112         * java/beans/AppletInitializer.java,
113         java/beans/BeanInfo.java,
114         java/beans/Customizer.java,
115         java/beans/DesignMode.java,
116         java/beans/PropertyEditor.java,
117         java/beans/Visibility.java:
118         Removed redundant modifiers.
119
120 2003-10-11  Michael Koch  <konqueror@gmx.de>
121
122         * java/awt/print/Pageable.java,
123         * java/awt/print/Printable.java,
124         java/awt/print/PrinterGraphics.java:
125         Removed redundant modifiers.
126
127 2003-10-11  Michael Koch  <konqueror@gmx.de>
128
129         * java/awt/peer/ButtonPeer.java,
130         java/awt/peer/CheckboxMenuItemPeer.java,
131         java/awt/peer/CheckboxPeer.java,
132         java/awt/peer/ChoicePeer.java,
133         java/awt/peer/ComponentPeer.java,
134         java/awt/peer/ContainerPeer.java,
135         java/awt/peer/DialogPeer.java,
136         java/awt/peer/FileDialogPeer.java,
137         java/awt/peer/FramePeer.java,
138         java/awt/peer/LabelPeer.java,
139         java/awt/peer/ListPeer.java,
140         java/awt/peer/MenuBarPeer.java,
141         java/awt/peer/MenuComponentPeer.java,
142         java/awt/peer/MenuItemPeer.java,
143         java/awt/peer/MenuPeer.java,
144         java/awt/peer/PopupMenuPeer.java,
145         java/awt/peer/RobotPeer.java,
146         java/awt/peer/ScrollPanePeer.java,
147         java/awt/peer/ScrollbarPeer.java,
148         java/awt/peer/TextAreaPeer.java,
149         java/awt/peer/TextComponentPeer.java,
150         java/awt/peer/TextFieldPeer.java,
151         java/awt/peer/WindowPeer.java:
152         Removed redundant modifiers.
153
154 2003-10-11  Michael Koch  <konqueror@gmx.de>
155
156         * gnu/java/nio/NIOSocket.java (setChannel): Initialize impl.
157         * gnu/java/nio/ServerSocketChannelImpl.java
158         (serverSocket): Made it a NIOServerSocket.
159         (impl): Removed.
160         (ServerSocketChannelImpl): Initialize only serverSocket.
161         (initServerSocket): Removed.
162         (getNativeFD): Rewritten.
163         (implConfigureBlocking): Set socket timeout and removed comment.
164         (accept): Rewritten.
165         * gnu/java/nio/SocketChannelImpl.java
166         (impl): New variable.
167         (connected): Removed.
168         (SocketChannelImpl): Initialize impl too.
169         (getImpl): New method.
170         (isConnected): Rewritten.
171         (read): Rewritten, set position in buffer correctly.
172         (write): Set position in buffer correctly.
173         * java/net/ServerSocket.java (getImpl): New method.
174         * gnu/java/nio/NIOServerSocket.java,
175         gnu/java/nio/natNIOServerSocket.cc: New files.
176         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
177         * Makefile.am
178         (ordinary_java_source_files):
179         Added gnu/java/nio/NIOServerSocket.java.
180         (nat_source_files):
181         Removed gnu/java/nio/natServerSocketChannelImpl.cc
182         and added gnu/java/nio/natNIOServerSocket.cc.
183         * Makefile.in: Regenerated.
184
185 2003-10-11  Michael Koch  <konqueror@gmx.de>
186
187         * java/awt/ActiveEvent.java,
188         java/awt/datatransfer/ClipboardOwner.java,
189         java/awt/datatransfer/FlavorMap.java,
190         java/awt/datatransfer/Transferable.java,
191         java/awt/dnd/Autoscroll.java,
192         java/awt/dnd/peer/DragSourceContextPeer.java,
193         java/awt/dnd/peer/DropTargetContextPeer.java,
194         java/awt/dnd/peer/DropTargetPeer.java,
195         java/awt/font/MultipleMaster.java,
196         java/awt/font/OpenType.java,
197         java/awt/im/spi/InputMethodDescriptor.java,
198         java/awt/image/ImageObserver.java,
199         java/awt/image/ImageConsumer.java,
200         java/awt/image/ImageProducer.java,
201         java/awt/image/RGBImageFilter.java,
202         java/awt/image/RasterOp.java,
203         java/awt/image/renderable/RenderableImage.java:
204         Removed redundant modifiers.
205
206 2003-10-11  Michael Koch  <konqueror@gmx.de>
207
208         * gnu/awt/j2d/DirectRasterGraphics.java,
209         gnu/java/awt/EmbeddedWindowSupport.java:
210         Removed redundant modifiers.
211
212 2003-10-09  Michael Koch  <konqueror@gmx.de>
213
214         * gnu/java/nio/SelectorImpl.java (register):
215         Use ServerSocketChannelSelectionKey for server socket channels,
216         removed unneeded comments.
217         * gnu/java/nio/ServerSocketChannelImpl.java
218         (ServerSocketChannelImpl): Made class public final.
219         (impl): New member variable.
220         (ServerSocketChannelImpl): Initialize member variables correctly.
221         (initServerSocket): New method.
222         (getNativeFD): Likewise.
223         * gnu/java/nio/ServerSocketChannelSelectionKey.java,
224         gnu/java/nio/natServerSocketChannelImpl.cc: New files.
225         * Makefile.am (ordinary_java_source_files):
226         Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
227         (nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
228         * Makefile.in: Regenrated.
229
230 2003-10-09  Michael Koch  <konqueror@gmx.de>
231
232         * java/nio/channels/spi/AbstractSelectableChannel.java
233         (registered): Made private.
234         (blocking): Likewise.
235         (LOCK): Likewise.
236         (provider): Likewise.
237         (keys): Made it a private LinkedList.
238         (AbstractSelectableChannel): Initialize keys.
239         (isRegistered): New implementation.
240         (locate): Rewritten.
241         (register): Rewritten.
242         * java/nio/channels/spi/AbstractSelectionKey.java
243         (ok): Removed.
244         (cancelled): New member variable.
245         (cancel): Rewritten.
246         (isValid): Rewritten.
247         * java/nio/channels/spi/AbstractSelector.java:
248         Some methods moved.
249         (closed): Make private.
250         (provider): Likewise.
251         (cancelledKeys): New member variable.
252         (AbstractSelector): Initialize cancelledKeys.
253         (cancelKey): New method.
254
255 2003-10-09  Tom Tromey  <tromey@redhat.com>
256
257         * java/lang/ClassLoader.java (setSigners): Implemented.
258         * boehm.cc (_Jv_MarkObj): Mark `signers' field.
259         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
260         Initialize new fields.
261         * java/lang/Class.java (getSigners): Now native.
262         (setSigners): Declare.
263         * java/lang/natClass.cc (getSigners): New method.
264         (getSigners): Likewise.
265         * java/lang/Class.h (Class::signers): New field.
266         (Class::setSigners): New method.
267
268 2003-10-09  Michael Koch  <konqueror@gmx.de>
269
270         * java/rmi/server/RMIClassLoader.java:
271         Removed unused imports, little reformatings.
272         (getClassLoader): New method, implementation was part of old loadCLass
273         method.
274         (loadClass): Simplified by moving functionality to new method and
275         reworking the code a bit.
276         (getClassAnnotation): Merged documentation from classpath.
277
278 2003-10-09  Michael Koch  <konqueror@gmx.de>
279
280         * java/math/BigInteger.java
281         (add): Removed unused local variable len.
282
283 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
284
285         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
286         modality check.
287         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
288         Initialize insets to use latest insets.
289         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
290         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
291         field.
292         (postConfigureEvent): Update latestInsets field when insets
293         change.  Remove call to setSize.  Move validate call outside of
294         if blocks.
295         (setVisible): Call setBounds before showing window.
296         (nativeSetVisible): New native method.
297         * java/awt/Window.java (show): Show visible owned windows.
298         (hide): Hide visible owned windows.
299         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
300         (awt_event_handler): Implement modality using GTK grabs.
301         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
302         (global_gtk_window_group): New global variable.
303         (gtkInit): Initialize global_gtk_window_group.
304         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
305         Clamp width and height values to at least 1.  Add this window to
306         the global GTK window group.
307         (setVisible): Rename to nativeSetVisible.
308         (setup_window): Remove function.
309         (setSize): Clamp width and height values to at least 1.
310         (nativeSetBounds): Likewise.
311         (gdk_window_get_root_geometry): Remove function.
312         * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
313         and setup_window declarations.  Declare global_gtk_window_group.
314
315         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
316         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
317         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
318         (gtkWidgetSetForeground): New method.
319         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
320         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
321         (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
322         (setBackground, setForeground): Implement.
323         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
324         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
325         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
326         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
327         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
328         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
329         Position PangoLayout relative to text's baseline.
330         * jni/gtk-peer/gtkpeer.h: Define AWT font style constants.
331
332         * java/awt/FlowLayout.java (layoutContainer): Fix offset problem
333         for CENTER and RIGHT alignments.
334
335 2003-10-08  Michael Koch  <konqueror@gmx.de>
336
337         * java/security/Security.java: Reformated.
338
339 2003-10-08  Michael Koch  <konqueror@gmx.de>
340
341         * java/text/SimpleDateFormat.java
342         (compileFormat): Replace Character.isLetter() test with
343         Character.isLowerCase() || Character.isUpperCase().
344
345 2003-10-08  Tom Tromey  <tromey@redhat.com>
346
347         * java/lang/StrictMath.java (toDegrees): Multiply before
348         dividing.
349         (toRadians): Likewise.
350
351 2003-10-08  C. Brian Jones  <cbj@gnu.org>
352
353         * java/lang/Math.java
354         (toRadians): multiply before dividing to reduce decimal error
355         (toDegrees): ditto
356
357 2003-10-08  Michael Koch  <konqueror@gmx.de>
358
359         * gnu/gcj/protocol/core/Connection.java,
360         gnu/gcj/protocol/core/CoreInputStream.java,
361         gnu/gcj/protocol/core/Handler.java,
362         gnu/gcj/protocol/core/natCoreInputStream.cc,
363         gnu/gcj/protocol/file/Connection.java,
364         gnu/gcj/protocol/file/Handler.java,
365         gnu/gcj/protocol/gcjlib/Connection.java,
366         gnu/gcj/protocol/gcjlib/Handler.java,
367         gnu/gcj/protocol/http/Connection.java,
368         gnu/gcj/protocol/http/Handler.java,
369         gnu/gcj/protocol/jar/Connection.java,
370         gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
371         * gnu/java/net/protocol/core/Connection.java,
372         gnu/java/net/protocol/core/CoreInputStream.java,
373         gnu/java/net/protocol/core/Handler.java,
374         gnu/java/net/protocol/core/natCoreInputStream.cc,
375         gnu/java/net/protocol/file/Connection.java,
376         gnu/java/net/protocol/file/Handler.java,
377         gnu/java/net/protocol/gcjlib/Connection.java,
378         gnu/java/net/protocol/gcjlib/Handler.java,
379         gnu/java/net/protocol/http/Connection.java,
380         gnu/java/net/protocol/http/Handler.java,
381         gnu/java/net/protocol/jar/Connection.java,
382         gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
383         * gnu/gcj/runtime/FirstThread.java,
384         java/net/URL.java: Use moved protocol handlers.
385         * Makefile.am
386         (ordinary_java_source_files): Moved files.
387         (nat_source_files): Likewise.
388         * Makefile.in: Regenerated.
389
390 2003-10-08  Michael Koch  <konqueror@gmx.de>
391
392         * gnu/java/nio/SocketChannelImpl.java
393         (read): Write only read data to buffer.
394
395 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
396
397         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
398         out.
399         * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
400         (JCL_free): Attach "unused" attribute to env parameter.
401         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
402         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
403         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
404         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
405         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
406         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
407         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
408         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
409         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
410         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
411         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
412         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
413         jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
414         parameters.
415         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
416         (initNativeState): Pass 0 as info argument to
417         gtk_selection_add_target.
418         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
419         (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
420         unused method implementations.
421         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
422         (awt_event_handler): Add break statement after default label.
423         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
424         (drawPixels): Remove unused variable i.
425         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
426         (setEnabled): Remove method implementation.
427         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
428         (accel_attach): Call _gtk_accel_group_attach with G_OBJECT
429         argument.
430         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
431         unused function.
432         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
433         (menu_pos): Assign TRUE to push_in.
434         (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
435         argument.
436         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
437         (create): Remove unused variable layout.
438         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
439         Pass window_widget, rather than window, to
440         gtk_widget_set_size_request.
441         * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
442         structure initialization with NULL values.
443         * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.
444
445 2003-10-08  Michael Koch  <konqueror@gmx.de>
446
447         * java/util/LinkedList.java:
448         Removed whitespace to match classpath's version again.
449
450 2003-10-08  Michael Koch  <konqueror@gmx.de>
451
452         * java/util/prefs/Preferences.java
453         (defaultFactoryClass): Fixed class name.
454         (getFactory): Create instance of class returned by Class.forName(),
455         reformated code.
456
457 2003-10-08  Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
458
459         * javax/swing/table/AbstractTableModel.java
460         (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
461         helped stop pulling my hair on this +1 then -1 tricky thing!
462
463 2003-10-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
464
465         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
466         Remove unused parameters.
467         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
468         Likewise.
469         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
470         (keyevent_state_to_awt_mods): Export function.
471         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
472         (getCaretPosition): Fix TextArea case.
473         (textcomponent_commit_cb): Get exact event time and modifier
474         state.
475         * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.
476
477 2003-10-02  Guilhem Lavaux  <guilhem@kaffe.org>
478
479         * java/net/InetSocketAddress.java
480         (InetSocketAddress): Made exception more clear.
481         (equals): Handle case when addr is null.
482         (toString): Likewise.
483         * java/net/NetworkInterface.java
484         (static): Load native library.
485         (getNetworkInterfaces): Rewritten.
486
487 2003-10-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
488
489         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
490         field.
491         (initializeInsets): New method.
492         (GtkComponentPeer): Call initializeInsets.  Call setCursor and
493         setBounds unconditionally.
494         (setBounds): Convert coordinates if parent is a Window.
495         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
496         field to GtkComponentPeer.
497         (GtkContainerPeer): Don't initialize insets.
498         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
499         New method.
500         (create): Call new GtkWindowPeer create method.
501         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
502         New method.
503         (create): Call new GtkWindowPeer create method.
504         (setBounds): Remove method.
505         (postConfigureEvent): Likewise.
506         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
507         type constants with GDK window type constants.
508         (create(int,boolean,int,int,GtkWindowPeer)): New method.
509         (create(int,boolean)): Likewise.
510         (create()): Call create(int,boolean).
511         (nativeSetBounds): New native method declaration.
512         (setBounds): Call native method declaration.
513         (setSize): New native method declaration.
514         (setBoundsCallback): Likewise.
515         (postConfigureEvent): Handle change in insets.  Call setSize and
516         setBoundsCallback methods.
517         * java/awt/Window.java (Window): Set visible to false.
518         (setBoundsCallback): New method.
519         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
520         (gtkWidgetGetLocationOnScreen): If this component is not a
521         container, adjust the location returned based on the peer's
522         allocation.
523         (set(String,boolean)): Revert change from 2003-09-19.
524         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
525         (awt_event_handler): Fix inset calculation.
526         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
527         glue for Window.setBoundsCallback.
528         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
529         Set up stacking order, window decorations and window manager
530         hints.
531         (setBoundsCallback): New method.
532         (setSize): New method.
533         (nativeSetBounds): New method.
534         * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
535
536 2003-10-02  Tom Tromey  <tromey@redhat.com>
537
538         * java/lang/VMClassLoader.java (loadClass): Now native.
539         * java/lang/natClassLoader.cc (loadClass): Implement.
540         * prims.cc (_Jv_RunMain): Initialize ClassLoader.
541
542 2003-10-02  Michael Koch  <konqueror@gmx.de>
543
544         * java/net/InetAddress.java
545         (zeros): Removed.
546         (ANY_IF): Initalizie in static block.
547         (static): Load library with native methods here and initialize ANY_IF.
548         (isAnyLocalAddress): Check if equal to ANY_IF.
549         (equals): Use addr directly instead of addr1. Simplify for loop.
550         (toString): Rename "result" to "host" and add IP address allways.
551         (getLocalHost): Merged documentation from classpath.
552         * java/net/ServerSocket.java
553         (ServerSocket): New package-private constructor used by java.nio.
554         * java/net/URLConnection.java
555         (getRequestProperties): Check if already connected.
556
557 2003-10-02  Michael Koch  <konqueror@gmx.de>
558
559         * java/nio/ByteBufferHelper.java:
560         Rewrote all methods by suggestions from Eric Blake.
561
562 2003-10-02  Michael Koch  <konqueror@gmx.de>
563
564         * java/net/URL.java
565         (DEFAULT_SEARCH_PATH): New static variable.
566         (ph_cache): Made it a HashMap.
567         (getURLStreamHandler): Rename propVal to ph_search_path and use
568         DEFAULT_SEARCH_PATH.
569
570 2003-10-02  Michael Koch  <konqueror@gmx.de>
571
572         * javax/swing/table/AbstractTableModel.java
573         (findColumnName): Prevent from NullPointerException if argument
574         columnName is null.
575
576 2003-10-02  Michael Koch  <konqueror@gmx.de>
577
578         * javax/swing/table/AbstractTableModel.java:
579         This patch is based on a patch done by Arnaud Vandyck
580         <arnaud.vandyck@ulg.ac.be>.
581         (getColumnName): Fixed method documentation.
582         (findColumn): Likewise.
583         (getColumnClass): Likewise.
584         (isCellEditable): Likewise.
585         (setValueAt): Likewise.
586         (addTableModelListener): Likewise.
587         (removeTableModelListener): Likewise.
588         (getTableModelListeners): New method.
589
590 2003-10-02  Michael Koch  <konqueror@gmx.de>
591
592         * javax/swing/table/AbstractTableModel.java:
593         Reformated.
594
595 2003-10-01  Bryce McKinlay  <bryce@mckinlay.net.nz>
596
597         Fix PR libgcj/12475
598         * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
599         * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
600
601 2003-10-01  Tom Tromey  <tromey@redhat.com>
602
603         * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
604
605 2003-10-01  Andrew Haley  <aph@redhat.com>
606
607         * java/lang/natClass.cc (initializeClass): Check for otable and
608         atable.
609         (_Jv_LinkOffsetTable): Check for existence of atable.  Rewrite
610         loops using for().  Search superinterfaces.  Check for fields as
611         well as methods.  Initialize atable as well as otable: check for
612         static methods as well as virtual methods.
613         * java/lang/Class.h (struct _Jv_AddressTable): New.
614         (atable): New.
615         (atable_syms): New.
616         * include/jvm.h (_Jv_equalUtf8Consts): constify.
617         * prims.cc (_Jv_equalUtf8Consts): constify.
618
619 2003-09-29  Tom Tromey  <tromey@redhat.com>
620
621         PR libgcj/10596:
622         * include/jvm.h (_Jv_FinalizeString,
623         _Jv_RegisterStringFinalizer): Declare.
624         * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
625         unintern.
626         (intern): Updated.
627         (_Jv_NewStringUtf8Const): Likewise.
628         * java/lang/ref/natReference.cc (finalize_referred_to_object):
629         Add special case when finalizing a String.
630         (in_hash): New function.
631         (_Jv_RegisterStringFinalizer): Likewise.
632         (maybe_add_finalize): Likewise.
633
634 2003-09-29  Michael Koch  <konqueror@gmx.de>
635
636         * java/net/InetAddress.java:
637         (isMulticastAddress): Dont use local variable to store address length.
638         Let the compiler optimize this.
639         (getHostName): Merged dcoumentation from classpath.
640         (getAddress): Likewise.
641         (getHostAddress): Likewise.
642         (hashCode): Likewise.
643         (equals): Likewise.
644         (toString): Likewise.
645         (getByName): Likewise.
646         (getAllByName): Likewise.
647
648 2003-09-29  Michael Koch  <konqueror@gmx.de>
649
650         * java/awt/image/IndexColorModel.java: Reformated.
651
652 2003-09-29  Michael Koch  <konqueror@gmx.de>
653
654         * java/net/InetAddress.java,
655         java/net/URL.java: Reformated.
656
657 2003-09-29  Bryce McKinlay  <bryce@mckinlay.net.nz>
658
659         * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most 
660         significant bit of descriptor. Include the vtable and sync_info 
661         fields.
662
663 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
664
665         * java/text/DateFormat.java (format): Throw IllegalArgumentException
666         if `obj' is not a Number or Date instance.
667         * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
668         instead of Vector.
669
670 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
671
672         * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
673         Don't call setTimeZone on calendar.
674
675 2003-09-27  Michael Koch  <konqueror@gmx.de>
676
677         * java/net/URL.java (getURLStreamHandler): Compile fixes.
678
679 2003-09-27  Michael Koch  <konqueror@gmx.de>
680
681         * java/net/URL.java (getURLStreamHandler):
682         Check if we have to use cache before trying to retrieve handler from
683         cache. Rename facName to clsName to match classpath more. Reformated
684         some little pieces.
685
686 2003-09-27  Michael Koch  <konqueror@gmx.de>
687
688         * gnu/java/nio/SelectionKeyImpl.java
689         (ch): Make package-private again. Jikes found this bug.
690         Jeff Sturm submitted PR12426 for this to bugzilla
691         to fix this bug in gcj.
692
693 2003-09-26  Michael Koch  <konqueror@gmx.de>
694
695         * java/rmi/server/RMIClassLoader.java:
696         Reformatted file, no functional code changes.
697
698 2003-09-26  Sascha Brawer  <brawer@dandelis.ch>
699
700         * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer): 
701         Save space for some pixels at the buffer end.  Added Javadoc.
702
703 2003-09-26  Tom Tromey  <tromey@redhat.com>
704
705         * java/io/ObjectOutputStream.java (writeFields): Fixed
706         indentation.
707         (putFields): Likewise.
708
709 2003-09-26  Michael Koch  <konqueror@gmx.de>
710
711         * java/nio/ByteBufferHelper.java:
712         Totally reworked with help from Eric Blake.
713
714 2003-09-26  Tom Tromey  <tromey@redhat.com>
715
716         * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
717         * java/awt/geom/PathIterator.java: Documentation fixes.
718
719 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
720
721         * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
722         (select): Likewise.
723         (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
724
725 2003-09-25  Michael Koch  <konqueror@gmx.de>
726
727         * gnu/java/nio/DatagramChannelImpl.java
728         (getNativeFD): New method.
729         * gnu/java/nio/SelectionKeyImpl.java
730         (SelectionKeyImpl): Class made abstract.
731         (fd): Removed.
732         (SelectionKeyImpl): Remove fd argument.
733         (getNativeFD): New method.
734         * gnu/java/nio/SocketChannelImpl.java
735         (getNativeFD): New method.
736         gnu/java/nio/DatagramChannelSelectionKey.java,
737         * gnu/java/nio/SocketChannelSelectionKey.java:
738         New files.
739         * Makefile.am (ordinary_java_source_files):
740         Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
741         gnu/java/nio/SocketChannelSelectionKey.java.
742         * Makefile.in: Regenerated.
743
744 2003-09-25  Michael Koch  <konqueror@gmx.de>
745
746         * java/lang/reflect/Proxy.java
747         (getProxyClass): Remove workaround for gcj 3.0.x.
748
749 2003-09-25  Michael Koch  <konqueror@gmx.de>
750
751         * gnu/java/net/PlainDatagramSocketImpl.java
752         (finalize): Moved to directly after constructor.
753         (getNativeFD): New method.
754         * gnu/java/net/PlainSocketImpl.java
755         (getNativeFD): New method.
756
757 2003-09-25  Ingo Proetel  <proetel@aicas.com>
758
759         * java/io/ObjectOutputStream.java:
760         Allow putFields be called more than once.
761
762 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
763
764         * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
765         * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
766         * java/awt/image/BufferedImage.java (toString): Implement.
767
768 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
769
770         * aclocal.m4: Rebuilt.
771         * configure: Rebuilt.
772
773 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
774
775         * java/text/SimpleDateFormat.java (parse): Don't use class calendar
776         field.
777
778 2003-09-25  Michael Koch  <konqueror@gmx.de>
779
780         * gnu/java/nio/SelectorImpl.java
781         (implSelect): Renamed from java_do_select.
782         (select): Call native implSelect() and add support for Thread
783         interruption.
784         * gnu/java/nio/natSelectorImpl.cc
785         (implSelect): Renamed from java_do_select.
786
787 2003-09-25  Michael Koch  <konqueror@gmx.de>
788
789         * gnu/java/nio/SelectorImpl.java
790         (selectNow): Made final, throws IOException.
791         (select): Likewise.
792         (getFDsAsArray): Made final.
793         (selectedKeys): Likewise.
794         (wakeup): Likewise.
795         (deregisterCancelledKeys): Likewise.
796         (register): Likewise.
797         (ass): Removed.
798         (add_selected): Removed.
799         * gnu/java/nio/natSelectorImpl.cc:
800         No need to include bstring.h or gcj/cni.h.
801         (helper_put_filedescriptors): Rewritten.
802         (helper_get_filedescriptors): Rewritten.
803
804 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
805
806         * java/awt/font/FontRenderContext.java (getTransform): Return
807         copy of internal transform object. Add Javadoc.
808         * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
809         winding rule as Sun J2SE.
810         * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
811
812 2003-09-25  Ingo Proetel  <proetel@aicas.com>
813
814         * java/rmi/Naming.java:
815         Added comments, now accepts pseudo protocol "rmi".
816
817 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
818
819         * java/text/DecimalFormat.java (format): Don't immediatly round
820         baseNumber to long.
821         (setMinimumIntegerDigits): Call super.
822         (setMinimumFractionDigits): Likewise.
823         (setMaximumIntegerDigits): Likewise.
824         (setMaximumFractionDigits): Likewise.
825
826 2003-09-25  Michael Koch  <konqueror@gmx.de>
827
828         * gnu/java/nio/DatagramChannelImpl.java
829         (DatagramChannelImpl): Made class final.
830         (blocking): Made private.
831         (socket): Made it a NIODatagramSocket and private.
832         (DatagramChannelImpl): create NIODatagramSocket instead of
833         DatagramSocket.
834         (implConfigureBlocking): Set socket timeout.
835         (connect): Check that channel is not closed.
836         (write): Implemented.
837         (write): Rewritten.
838         (read): Implemented.
839         (read): Rewritten.
840         (receive): Implemented.
841         (send): Implemented.
842         * gnu/java/nio/SelectionKeyImpl.java
843         (readyOps): Made private.
844         (interestOps): Made private.
845         (impl): Made private.
846         (ch): Made private.
847         (readyOps): Check if selection key is valid.
848         (interestOps): Likewise.
849         * gnu/java/nio/SelectorImpl.java
850         (closed): Removed.
851         (keys): Made private.
852         (selected): Made private.
853         (finalize): New method.
854         (implCloseSelector): Rewritten.
855         (keys): Return unmodifiable Set.
856         (deregisterCancelledKeys): Fixed typo in method name.
857         * gnu/java/nio/SocketChannelImpl.java
858         (SocketChannelImpl): Made class final.
859         (socket): Made it a NIOSocket and private.
860         (blocking): Made private.
861         (connected): Made private.
862         (connectionPending): New member variable.
863         (SocketChannelImpl): New implementation.
864         (finalizer): Use isConnected().
865         (connect): Rewritten.
866         (finishConnect): Throws IOException, implemented.
867         (isConnectionPending): Return connectionPending.
868         (read): Rewritten.
869         (write): Rewritten.
870         * gnu/java/nio/NIOConstants.java: New file.
871         * Makefile.am (ordinary_java_source_files):
872         Added gnu/java/nio/NIOConstants.java.
873         * Makefile.in: Regenerated.
874
875 2003-09-25  Michael Koch  <konqueror@gmx.de>
876
877         * java/net/InetAddress.java:
878         Reorder imports, remove implementation comment.
879         (isMulticastAddress): Merged documentation from classpath.
880         * java/net/URLConnection.java
881         (setRequestProperty): Check key for null, fix documentation.
882         (adREquestProperty): Check key for null, remove wrong implementation
883         and replace it with comment to overwrite this method in subclasses,
884         fix documentation.
885
886 2003-09-25  Tom Tromey  <tromey@redhat.com>
887
888         * java/lang/reflect/Proxy.java (generate): Uncomment protection
889         domain code.
890         * java/lang/natClassLoader.cc (defineClass): Added `loader'
891         argument.
892         (linkClass0): Now in VMClassLoader.
893         (markClassErrorState0): Likewise.
894         (getSystemClassLoaderInternal): New method.
895         * java/lang/natClass.cc (initializeClass): Use
896         VMClassLoader::resolveClass.
897         * java/lang/ClassLoader.java: New version, from Classpath.
898         * java/lang/Class.java (getProtectionDomain):
899         protectionDomainPermission and unknownProtectionDomain now in
900         VMClassLoader.
901         * java/lang/Class.h: VMClassLoader now a friend class.
902         * gnu/gcj/runtime/VMClassLoader.java (instance): Now
903         package-private.
904         * gcj/javaprims.h: Regenerated class list.
905         * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
906         * java/lang/VMClassLoader.java: New version from Classpath;
907         modified for libgcj use.
908
909 2003-09-25  Michael Koch  <konqueror@gmx.de>
910
911         * java/nio/ByteBufferHelper.java:
912         New file.
913         * java/nio/ByteBufferImpl.java,
914         java/nio/DirectByteBufferImpl.java,
915         java/nio/MappedByteBufferImpl.java
916         (getType,putType): Use new helper class ByteBufferHelper.
917         * Makefile.am (ordinary_java_source_files):
918         Added java/nio/ByteBufferHelper.java.
919         * Makefile.in: Regenerated.
920
921 2003-09-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
922
923         * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
924         PR libgcj/12388.
925
926 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
927
928         * java/lang/StringBuffer.java (substring): Don't set `shared' on small
929         Strings, even if buffer is already shared.
930
931 2003-09-24  Michael Koch  <konqueror@gmx.de>
932
933         * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
934
935 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
936
937         * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
938         (write): Likewise.
939         (SocketInputStream): Declare `read' and `write' methods native.
940         Remove implementations which called back into PlainSocketImpl.
941         Remove unneccessary overridden methods.
942         * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation 
943         to inner class PlainSocketImpl.SocketInputStream.
944         (write): Likewise.
945         * gnu/java/net/natPlainSocketImplPosix.cc: As above.
946         * gnu/java/net/natPlainSocketImplWin32.cc: As above.
947         * gnu/java/net/SocketInputStream.java: Remove unused file.
948         * gnu/java/net/SocketOutputStream.java: Likewise.
949         * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
950         and SocketOutputStream.
951         * Makefile.in: Rebuilt.
952
953 2003-09-23  Nathanael Nerode  <neroden@gcc.gnu.org>
954
955         * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
956
957         * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
958         markers.
959
960 2003-09-22  Anthony Green  <green@redhat.com>
961
962         * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
963         * configure: Rebuilt.
964
965 2003-09-21  Ralph Loader  <suckfish@ihug.co.nz>
966
967         PR java/12350:
968         * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
969
970 2003-09-22  Michael Koch  <konqueror@gmx.de>
971
972         * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
973         compiler warning but produces a different one now.
974
975 2003-09-22  Michael Koch  <konqueror@gmx.de>
976
977         * java/net/InetAddress.java:
978         Moves around some code, reformats and adds documentation.
979         No functional changes.
980
981 2003-09-22  Michael Koch  <konqueror@gmx.de>
982
983         * java/net/JarURLConnection.java
984         (JarURLConnection): Modifed code to match classpath more, fixed comment.
985         (getCertificates): Made it more error prone.
986         (getMainAttributes): Likewise.
987         (getAttributes): Implemented.
988         (getManifest): Reformatted code.
989
990 2003-09-20  Tom Tromey  <tromey@redhat.com>
991
992         * java/awt/Component.java: Indentation cleanup from Classpath.
993
994 2003-09-20  Dalibor Topic  <robilad@kaffe.org>
995
996        * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
997        checking to follow 1.4.2 spec.
998
999 2003-08-11  Ingo Proetel  <proetel@aicas.com>
1000
1001         * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject  
1002         is compatible in case client and server are running in the same VM
1003         (remerged from Classpath on 2003-09-20)
1004
1005 2003-09-19  David Daney <ddaney@avtrex.com>
1006
1007         * java/lang/ref/Reference.java (clear): Set referent to null and
1008         synchronize.
1009
1010 2003-09-19  Michael Koch  <konqueror@gmx.de>
1011
1012         * gnu/java/nio/NIODatagramSocket.java,
1013         gnu/java/nio/NIOSocket.java: New files.
1014         * Makefile.am (ordinary_java_source_files):
1015         Added gnu/java/nio/NIODatagramSocket.java and
1016         gnu/java/nio/NIOSocket.java.
1017         * Makefile.in: Regenerated.
1018
1019 2003-09-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
1020
1021         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
1022         top-level GTK window.
1023         (getArgs): Add "title" property.
1024         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
1025         "allow_shrink" and "allow_grow" properties.
1026         * java/awt/Dialog.java: Initialize resizable to true and change
1027         comments accordingly.  Initialize visible to false in
1028         constructors.
1029         * java/awt/Frame.java (dispose): Remove method.
1030         * java/awt/Window.java (ownedWindows): New field.
1031         (Window(Window,GraphicsConfiguration)): Add a weak reference to
1032         owner's ownedWindows vector.
1033         (finalize): Remove method.
1034         (hide): Hide owned windows.
1035         (dispose): Dispose of owned windows.
1036         (getOwnedWindows): Implement.
1037         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
1038         unused GtkArg code.
1039         (set(String,boolean)): Clamp gboolean parameter to g_object_set
1040         to TRUE or FALSE.
1041         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1042         (create): Set window's size requisition.
1043         (connectHooks): Fix indentation.
1044         (setResizable): Remove function.
1045         (static setBounds): Likewise.
1046         (setBounds): Replace call to setBounds with GTK size requisition
1047         and resize calls.
1048
1049 2003-09-19  Mohan Embar  <gnustuff@thisiscool.com>
1050
1051         * win32-threads.cc: (ensure_interrupt_event_initialized) New
1052         function for lazy initialization of an auto-reset event.
1053         (_Jv_CondWait) Added thread interrupt support.
1054         (_Jv_ThreadInitData) Added initialization of interrupt support
1055         members.
1056         (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
1057         (_Jv_ThreadStart) Removed unused code.
1058         (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
1059         to an external caller.
1060         (_Jv_ThreadInterrupt) Implemented.
1061         * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
1062         event for interrupt support as well as a mutex which regulates
1063         access to this.
1064         (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
1065         event to an external caller.
1066         * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
1067         process.
1068         (waitFor) Added interrupt support.
1069
1070 2003-09-19  Michael Koch  <konqueror@gmx.de>
1071
1072         * java/net/DatagramSocket.java (getLocalAddress):
1073         Renamed result variable to localAddr.
1074         * java/net/MulticastSocket.java:
1075         No need to import gnu.java.net.PlainDatagramSocketImpl.
1076
1077 2003-09-18  Sascha Brawer  <brawer@dandelis.ch>
1078
1079         * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
1080         Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
1081
1082 2003-09-18  Tom Tromey  <tromey@redhat.com>
1083
1084         * javax/naming/InitialContext.java: Reindented.
1085
1086 2003-09-18  Dalibor Topic <robilad@kaffe.org>,
1087             Helmer Kraemer <hkraemer@freenet.de>
1088
1089         * javax/naming/spi/NamingManager.java (getURLContext,
1090         getObjectInstance, getStateToBind): Always use current thread's
1091         context class loader when calling Class.forName.
1092
1093 2003-09-18  Michael Koch  <konqueror@gmx.de>
1094
1095         * java/util/Timer.java (finalize): Added "throws Throwable".
1096
1097 2003-09-18  Michael Koch  <konqueror@gmx.de>
1098
1099         * java/net/DatagramSocket.java
1100         (ch): Removed.
1101         (receive): Use getChannel() instead of ch.
1102         (send): Likewise.
1103         (getChannel): Return null.
1104         * java/net/ServerSocket.java
1105         (ch): Removed.
1106         (setChannel): Removed.
1107         (implAccept): Use getChannel() instead of ch.
1108         (close): Likewise.
1109         (getChannel): Return null.
1110         * java/net/Socket.java
1111         (ch): Removed.
1112         (connect): Use getChannel() instead of ch.
1113         (setChannel): Removed.
1114         (getChannel): Return null.
1115
1116 2003-09-18  Mark Wielaard  <mark@klomp.org>
1117
1118         Reported by Guilhem Lavaux and Julian Dolby
1119         * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
1120         field "serialPersistentFields", not "getSerialPersistentFields".
1121
1122 2003-09-18  Ingo Proetel  <proetel@aicas.com>
1123
1124         * java/util/TimeZone.java: Initialize lazily.
1125         * java/util/Locale.java (readManifest): Fix check for country.
1126         * java/util/GregorianCalendar.java: Make use of ResourceBundle better
1127         traceable 
1128         * java/util/Calendar.java: Make use of ResourceBundle better
1129         traceable.
1130
1131 2003-09-18  Jeroen Frijters  <jeroen@frijters.net>
1132
1133         * java/sql/Timestamp.java
1134         (valueOf): Fixed confusion of java.sql.Date and java.util.Date
1135
1136 2003-09-18  David P Grove  <groved@us.ibm.com>
1137
1138         * java/io/LineNumberReader (read): Don't reset pos & limit when
1139         markPos is 0.
1140
1141 2003-09-18  Dalibor Topic  <robilad@kaffe.org>
1142
1143         * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
1144         constant.
1145         (computeArguments): use computeTypicalArguments.
1146
1147         * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
1148         Compile_jikes.java and RMICException.java.
1149         * gnu/java/rmi/rmic/Compile_kjc.java: New file.
1150         * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
1151         * gnu/java/rmi/rmic/RMICException.java: Likewise.
1152  
1153         * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
1154  
1155         * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
1156         (computeTypicalArguments): New method.
1157         (compile): Print compiler output to System.out. Collect compiler
1158         error output and use it in exception message.
1159  
1160         * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
1161         (destination): Initialize to null.
1162         (run): Replace file separator with '.' when processing class.
1163         (processClass): Replace '.' with file separator when compiling
1164         classes.
1165         (findClass): Use SystemClassLoader to load class.
1166         (generateStub): Use full class name for generated stub, that puts
1167         it in right path.  Replace '.' with file separator when generating
1168         stub file name. Write just the stub class name without package
1169         information as class name, and constructor name. Write only
1170         interface names for interfaces extending java.rmi.Remote as
1171         implemented.
1172         (generateSkel): Use full class name for generated skel, that puts
1173         it in right path.  Replace '.' with file separator when generating
1174         stub file name. Write just the stub class name without package
1175         information as class name.
1176
1177 2003-09-18  Michael Koch  <konqueror@gmx.de>
1178
1179         * Makefile.am (rmi_java_source_files):
1180         Added gnu/java/rmi/rmic/Compile_kjc.java,
1181         gnu/java/rmi/rmic/Compile_jikes.java and
1182         gnu/java/rmi/rmic/RMICException.java
1183         * Makefile.in: Regenerated.
1184
1185 2003-09-17  Graydon Hoare  <graydon@redhat.com>
1186
1187         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1188         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
1189         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
1190         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: 
1191         New files.
1192
1193 2003-09-16  Graydon Hoare  <graydon@redhat.com>
1194
1195         * java/awt/BufferedImage.java (setData): Support non-component
1196         sample models.
1197         (getData): Same.
1198
1199 2003-09-10  Graydon Hoare  <graydon@redhat.com>
1200
1201         * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
1202         * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
1203
1204 2003-09-17  Mohan Embar  <gnustuff@thisiscool.com>
1205
1206         * configure.in: Standardized help text case of
1207         --enable-hash-synchronization
1208         New configure switch --enable-libgcj-multifile and corresponding
1209         automake conditional ONESTEP.
1210         * configure: Rebuilt.
1211         * Makefile.am: Use automake conditional ONESTEP to determine
1212         whether classfiles should be compiled individually or all
1213         at once.
1214         * Makefile.in: Rebuilt.
1215
1216 2003-09-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
1217
1218         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
1219         Remove method declaration.
1220         (create()): Call native create.
1221         (create(int)): New method.
1222         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
1223         (create): Add window_id parameter.  Call gtk_plug_new with
1224         window_id parameter.
1225         (construct): Remove method implementation.
1226
1227 2003-09-16  Mohan Embar  <gnustuff@thisiscool.com>
1228
1229         * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
1230         (mostlyclean-local): New target patterned after clean-local
1231         which recursively deletes all libtool objects using 'libtool rm'.
1232         (clean-local): Slightly modified comment to alleviate monotony.
1233         (distclean-local): New target patterned after clean-local
1234         which recursively deletes all .d files.
1235         * Makefile.in: Rebuilt.
1236
1237 2003-09-11  Tom Tromey  <tromey@redhat.com>
1238
1239         * java/net/URLStreamHandler.java (parseURL): If original file
1240         ends with "/", so must canonical result.
1241         * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
1242         with nul-termination and finding previous "/".
1243
1244 2003-09-11  Michael Koch  <konqueror@gmx.de>
1245
1246         * acconfig.h: Removed most items.
1247         * configure.in: Added descriptions to AC_DEFINE macros that where in
1248         acconfig.h before.
1249         * include/config.h.in: Regenerated.
1250
1251 2003-09-11  Sascha Brawer  <brawer@dandelis.ch>
1252
1253         * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
1254         if one is installed. Improve Javadoc.
1255         (getSystemEventQueueImpl): Improve Javadoc.
1256
1257 2003-09-11  Tom Tromey  <tromey@redhat.com>
1258
1259         * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
1260         file does not exist.
1261
1262 2003-09-10  Anthony Green  <green@redhat.com>
1263
1264         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
1265         Specify full name when referencing ::java::net::InetAddress.
1266         * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
1267         Fix argument type.
1268
1269 2003-09-10  Michael Koch  <konqueror@gmx.de>
1270
1271         * acconfig.h (__NO_MATH_INLINES): Removed.
1272         * configure.in: Removed check for g++ math inlining bug from 2000.
1273         * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
1274         libgcj_cxxflags.
1275         * configure: Regenerated.
1276
1277 2003-09-10  David Daney <ddaney@avtrex.com>
1278
1279         * java/util/Arrays.java (equals(all variants)): Quit using
1280         NullPointerException catching to detect null valued parameters.
1281
1282 2003-09-10  Michael Koch  <konqueror@gmx.de>
1283
1284         * java/net/DatagramSocket.java,
1285         java/net/MulticastSocket.java,
1286         java/net/ServerSocket.java,
1287         java/net/Socket.java:
1288         Use gnu.java.net.Plain*SocketImpl instead of
1289         java.net.PlainSocketImpl.
1290         * java/net/PlainDatagramSocketImpl.java,
1291         java/net/PlainSocketImpl.java,
1292         java/net/SocketInputStream.java,
1293         java/net/SocketOutputStream.java,
1294         java/net/natPlainDatagramSocketImplNoNet.cc,
1295         java/net/natPlainDatagramSocketImplPosix.cc,
1296         java/net/natPlainDatagramSocketImplWin32.cc,
1297         java/net/natPlainSocketImplNoNet.cc,
1298         java/net/natPlainSocketImplPosix.cc,
1299         java/net/natPlainSocketImplWin32.cc:
1300         Removed.
1301         * gnu/java/net/PlainDatagramSocketImpl.java,
1302         gnu/java/net/PlainSocketImpl.java,
1303         gnu/java/net/SocketInputStream.java,
1304         gnu/java/net/SocketOutputStream.java,
1305         gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
1306         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
1307         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
1308         gnu/java/net/natPlainSocketImplNoNet.cc,
1309         gnu/java/net/natPlainSocketImplPosix.cc,
1310         gnu/java/net/natPlainSocketImplWin32.cc:
1311         New files (moved from java/net).
1312         * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
1313         instead of java/net/natPlain*SocketImpl.cc.
1314         * configure: Regenerated.
1315         * Makefile.am: Moved files from java/net to gnu/java/net.
1316         * Makefile.in: Regenerated.
1317
1318 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
1319
1320         * configure: Regenerate.
1321
1322 2003-09-04  Tom Tromey  <tromey@redhat.com>
1323
1324         * configure.host: Removed erroneous comment.
1325
1326         * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
1327         lvalue cast; use correct rvalue cast.
1328
1329 2003-09-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
1330
1331         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
1332         and height arguments to GtkWindowPeer.create method call.
1333         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
1334         (create(int,int,int)): New method.
1335         (create(int)): Add call to new create method.
1336         (create()): Add width and height arguments to create method
1337         call.
1338         (GtkWindowPeer): Remove call to setBounds.
1339         * java/awt/Frame.java (Frame(String)): Initialize visible field
1340         to false.
1341         (Frame(GraphicsConfiguration)): Likewise.
1342         (Frame(String,GraphicsConfiguration)): Likewise.
1343         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
1344         Add width and height parameters.  Call
1345         gtk_window_set_default_size.
1346         (connectHooks): Remove unused name variable.
1347         (static setBounds): Call gtk_window_resize not
1348         gtk_widget_set_usize.
1349         (setBounds): Remove unused nchildren variable.
1350
1351 2003-08-31  Ingo Proetel  <proetel@aicas.com>
1352
1353         * java/util/logging/Logger.java: provide class and method information
1354         * java/util/logging/LogManager.java: create handlers
1355         * java/util/logging/SimpleFormatter.java: print souceClassName and
1356         sourceMethodName
1357
1358 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
1359
1360         * win32.cc: fixed tab, indentation and whitespace
1361         inconsistencies
1362         removed jvm.h include
1363         added includes java/lang/UnsupportedOperationException.h,
1364         java/io/IOException.h, java/net/SocketException.h
1365         (WSAEventWrapper): class implementation
1366         (_Jv_WinStrError): implemented both overloads
1367         (_Jv_ThrowIOException): implemented both overloads
1368         (_Jv_ThrowSocketException): implemented both overloads
1369         (_Jv_select): implemented
1370         * include/win32.h: fixed tab, indentation and whitespace
1371         inconsistencies
1372         wrapped <windows.h> include with  #define WIN32_LEAN_AND_MEAN
1373         added jvm.h include
1374         (WSAEventWrapper): added class declaration
1375         (_Jv_WinStrError): added both overload declarations
1376         (_Jv_ThrowIOException): added both overload declarations
1377         (_Jv_ThrowSocketException): added both overload declarations
1378         removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
1379         (_Jv_select): added declaration
1380         (_Jv_socket): removed
1381         (_Jv_connect): removed
1382         (_Jv_close): removed
1383         (_Jv_bind): removed
1384         (_Jv_accept): removed
1385         (_Jv_listen): removed
1386         (_Jv_write): removed
1387         (_Jv_read): removed
1388         * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
1389         whitespace inconsistencies
1390         replaced <windows.h> #include with <platform.h>
1391         removed jvm.h include
1392         (testCanUseGetHandleInfo): new function which tests whether Win32
1393         GetHandleInformation() call can be used with console buffer handles
1394         (only supported on >=WinNT 5.0)
1395         (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
1396         (valid): rewrote implementation using GetHandleInformation()
1397         (sync):         changed exception throwing to use error string and exception
1398         helper methods declared in include/win32.h
1399         (open): likewise
1400         (write): likewise
1401         (setLength): likewise
1402         (close): likewise
1403         (seek): likewise
1404         (getFilePointer): likewise
1405         (read): likewise
1406         * java/io/natFileWin32.cc: fixed tab, indentation and
1407         whitespace inconsistencies
1408         replaced <windows.h> #include with <platform.h>
1409         removed jvm.h include
1410         (_access): use JV_TEMP_UTF_STRING
1411         (_stat): likewise
1412         (performMkDir): use JV_TEMP_UTF_STRING
1413         (performRenameTo): likewise
1414         (performDelete): likewise
1415         (performCreate): likewise
1416         (performSetReadOnly): likewise
1417         (performSetLastModified): likewise
1418         * java/lang/natWin32Process.cc: fixed tab, indentation and
1419         whitespace inconsistencies
1420         replaced <windows.h> #include with <platform.h>
1421         removed includes gcj/cni.h, jvm.h
1422         (new_string): removed
1423         (startProcess): use JV_TEMP_UTF_STRING,
1424         changed exception throwing to use error string and exception
1425         helper methods declared in include/win32.h
1426         * java/net/natInetAddressWin32.cc: fixed tab, indentation and
1427         whitespace inconsistencies
1428         replaced <windows.h> #include with <platform.h>
1429         removed jvm.h include
1430         removed DISABLE_JAVA_NET conditional code
1431         removed POSIX conditional code not relevant to Win32
1432         (aton): use JV_TEMP_UTF_STRING
1433         removed POSIX conditional code not relevant to Win32
1434         (lookup): likewise
1435         (getLocalHostName): likewise
1436         * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
1437         whitespace inconsistencies
1438         removed unnecessary windows.h, winsock.h and gcj/cni.h includes
1439         removed DISABLE_JAVA_NET conditional code
1440         removed POSIX conditional code not relevant to Win32
1441         (winsock2GetRealNetworkInterfaces): new function to compute network
1442         interfaces via Winsock2 API
1443         (determineGetRealNetworkInterfacesFN): new function for returning
1444         a function pointer to the function used to compute network interfaces.
1445         (getRealNetworkInterfaces): implemented
1446         * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
1447         whitespace inconsistencies
1448         removed gcj/cni.h include
1449         removed DISABLE_JAVA_NET conditional code
1450         removed POSIX conditional code not relevant to Win32
1451         changed net POSIXisms to Win32isms
1452         replaced _Jv socket-related calls with their real Win32 equivalents
1453         changed exception throwing to use error string and exception
1454         helper methods declared in include/win32.h
1455         (peekData): implemented timeout support
1456         (receive): likewise
1457         * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
1458         whitespace inconsistencies
1459         removed gcj/cni.h and gcj/javaprims.h includes
1460         removed DISABLE_JAVA_NET conditional code
1461         removed POSIX conditional code not relevant to Win32
1462         changed net POSIXisms to Win32isms
1463         replaced _Jv socket-related calls with their real Win32
1464         equivalents
1465         changed exception throwing to use error string and exception
1466         helper methods declared in include/win32.h
1467         (throwConnectException): helper function for connect()
1468         (connect): implemented timeout support
1469         (accept): likewise
1470         (doRead): new helper function common to both read() method overloads,
1471         includes timeout support
1472         (read): implemented both overloads in terms of doRead()
1473         (available): implemented using ioctlsocket()
1474
1475 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
1476
1477         * java/net/natInetAddressWin32.cc,
1478         java/net/natNetworkInterfaceWin32.cc,
1479         java/net/natPlainDatagramSocketImplWin32.cc,
1480         java/net/natPlainSocketImplWin32.cc:
1481         Readded code enclosed in DISABLE_JAVA_NET defines
1482         in preparation for MinGW cleanup / networking
1483         patch
1484
1485 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
1486
1487         * Makefile.am: Fixed problems with parallel makes.
1488         (all_java_class_files): Readded definition.
1489         (all_java_class_files): New target which depends on
1490         libgcj-@gcc_version@.jar
1491         * Makefile.in: Rebuilt
1492
1493 2003-08-28  Tom Tromey  <tromey@redhat.com>
1494
1495         * Makefile.in: Rebuilt.
1496         * Makefile.am (ordinary_java_source_files): Added new files.
1497         * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
1498         friend.
1499         * java/net/URLClassLoader.java (findClass): Don't use
1500         findURLResource.  Use loader's getClass method.
1501         (URLLoader.getClass): New method.
1502         (addURL): Handle `gcjlib' URLs.
1503         (SoURLLoader): New class.
1504         (SoResource): Likewise.
1505         * gnu/gcj/protocol/gcjlib/Connection.java: New file.
1506         * gnu/gcj/protocol/gcjlib/Handler.java: New file.
1507         * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
1508         (_Jv_RegisterCoreHook): Declare.
1509         (_Jv_FindCore): Declare.
1510         * gnu/gcj/runtime/SharedLibHelper.java: New file.
1511         * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
1512         typedef.
1513         (core_hook): New function.
1514         (struct SharedLibDummy) [saved_core]: New field.
1515         (init): Set _Jv_RegisterCoreHook.  Throw exception on failure.
1516         (register_hook): Set protection domain and class loader on new
1517         class.
1518         (finalize): Free core chain.
1519         * gnu/gcj/Core.java (Core): New constructor.
1520         * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
1521         SharedLibHelper.
1522         * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
1523         (_Jv_create_core): New function.
1524         (create): Use it.
1525         (default_register_resource): New function.
1526         (_Jv_RegisterCoreHook): New global.
1527         (_Jv_RegisterResource): Use it.
1528         (core_chain_struct): Removed.
1529         (_Jv_FindCore): New function.
1530         (_Jv_FreeCoreChain): New function.
1531
1532 2003-08-29  Michael Koch  <konqueror@gmx.de>
1533
1534         * java/net/natInetAddressWin32.cc,
1535         java/net/natNetworkInterfaceWin32.cc,
1536         java/net/natPlainDatagramSocketImplWin32.cc,
1537         java/net/natPlainSocketImplWin32.cc:
1538         Removed code enclosed in DISABLE_JAVA_NET defines.
1539
1540 2003-08-26  Mohan Embar  <gnustuff@thisiscool.com>
1541
1542         * Makefile.am: (write_entries_to_file) New parameterized
1543         function for writing entries to a file one line at a time.
1544         (all_java_class_files): Removed definition.
1545         (.java.class) Removed.target.
1546         (libgcj-@gcc_version@.jar): Changed dependency to
1547         $(all_java_source_files); added compilation step which compiles
1548         all changed source files in one pass.
1549         (libgcj.la) Refactored to use write_entries_to_file.
1550         (lib-gnu-awt-xlib.la) Likewise.
1551         (install-data-local) Likewise.
1552         (write-entries-to-file-check) New target which tests write_entries_to_file.
1553         (all-recursive): Changed dependency from $(all_java_class_files)
1554         to libgcj-@gcc_version@.jar
1555         * Makefile.in: Rebuilt.
1556
1557 2003-08-26  Tom Tromey  <tromey@redhat.com>
1558
1559         * java/lang/StrictMath.java: Typo fix.
1560         * java/lang/Math.java: Typo fix.
1561
1562 2003-08-26  Stephen Crawley  <crawley@dstc.edu.au>
1563
1564         * java/lang/ThreadGroup.java (removeThread): null the 'group' field
1565         of the removed Thread.
1566
1567 2003-08-26  Mark Wielaard  <mark@klomp.org>
1568
1569         Reported by David Holmes <dholmes@dltech.com.au>.
1570         * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
1571         Collections.synchronizedMap.
1572         * java/lang/ThreadLocal.java (valueMap): Likewise.
1573
1574 2003-08-26  Mark Wielaard  <mark@klomp.org>
1575
1576         * java/security/acl/Acl.java: Fix broken p tag.
1577         * java/text/DateFormatSymbols.java: Correctly open and close li tags.
1578         * javax/swing/border/LineBorder.java: Close img tag alt attributes.
1579         * javax/swing/plaf/TreeUI.java: Likewise.
1580         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
1581         * java/util/Properties.java: Use the word umlaut, not &auml; in api
1582         documentation.
1583         * java/util/PropertyResourceBundle.java: Likewise and add closing code
1584         tag.
1585
1586 2003-08-26  Tom Tromey  <tromey@redhat.com>
1587
1588         * Makefile.in: Rebuilt.
1589         * Makefile.am: Removed all GNU-make-specific FIXME comments.
1590
1591         * java/lang/ref/Reference.java (get): Indentation fix.
1592         (clear): Comment fix.
1593         (enqueue): Likewise.
1594         (lock): Likewise.
1595         (referent): Likewise.
1596
1597 2003-08-26  Tom Tromey  <tromey@redhat.com>
1598
1599         PR java/12058:
1600         * java/lang/reflect/natArray.cc (set): Allow null as argument.
1601
1602         * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
1603         (ProxyData.getPackage): New method.
1604         (ProxyData.getProxyData): Use package name, not Package.
1605         (ClassFactory.ClassFactory): Updated.
1606
1607 2003-08-25  Scott Gilbertson  <scottg@mantatest.com>
1608         * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
1609         * Makefile.in: re-generated.
1610         * gnu/awt/j2d/IntegerGraphicsState.java
1611         (ScreenCoupledImage): new interface.
1612         (drawImage): detect ScreenCoupledImage instances.
1613         * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
1614         * gnu/awt/xlib/XEventLoop.java
1615         (createEvent): re-formatted, and rearranged to avoid null pointer.
1616         * gnu/awt/xlib/XGraphics.java
1617         (drawImage): added XOffScreenImage handling.
1618         * gnu/awt/xlib/XOffScreenImage.java: new file.
1619         * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
1620         * gnu/gcj/xlib/GC.java (copyArea): new native method.
1621         * gnu/gcj/xlib/XAnyEvent.java
1622         (TYPE_KEY_PRESS): new constant.
1623         (TYPE_KEY_RELEASE): new constant.
1624         (TYPE_MOTION_NOTIFY): new constant.
1625         (TYPE_ENTER_NOTIFY): new constant.
1626         (TYPE_LEAVE_NOTIFY): new constant.
1627         (TYPE_FOCUS_IN): new constant.
1628         (TYPE_FOCUS_OUT): new constant.
1629         (TYPE_KEYMAP_NOTIFY): new constant.
1630         (TYPE_GRAPHICS_EXPOSE): new constant.
1631         (TYPE_NO_EXPOSE): new constant.
1632         (TYPE_VISIBILITY_NOTIFY): new constant.
1633         (TYPE_CREATE_NOTIFY): new constant.
1634         (TYPE_DESTROY_NOTIFY): new constant.
1635         (TYPE_MAP_REQUEST): new constant.
1636         (TYPE_CONFIGURE_REQUEST): new constant.
1637         (TYPE_GRAVITY_NOTIFY): new constant.
1638         (TYPE_RESIZE_REQUEST): new constant.
1639         (TYPE_CIRCULATE_NOTIFY): new constant.
1640         (TYPE_CIRCULATE_REQUEST): new constant.
1641         (TYPE_PROPERTY_NOTIFY): new constant.
1642         (TYPE_SELECTION_CLEAR): new constant.
1643         (TYPE_SELECTION_REQUEST): new constant.
1644         (TYPE_SELECTION_NOTIFY): new constant.
1645         (TYPE_COLORMAP_NOTIFY): new constant.
1646         (TYPE_MAPPING_NOTIFY): new constant.
1647         * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
1648         * gnu/gcj/xlib/natGC.cc (copyArea): new method
1649         * java/awt/Component.java (createImage): changed to use peer method.
1650
1651 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
1652
1653         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
1654         name, not XLFD, to native drawString.
1655         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
1656         Replace XLFD-based implementation with Pango-based
1657         implementation.
1658
1659 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
1660
1661         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
1662         GTK_WINDOW_DIALOG.  Set GTK_WINDOW_POPUP to 1.
1663
1664 2003-08-21  David Daney  <ddaney@avtrex.com>
1665
1666         Fix for PR libgcj/12013:
1667         * java/lang/ref/natReference.cc (finalize_referred_to_object):
1668         Check `cleared' field.
1669         * java/lang/ref/Reference.java (copy): Updated comments.
1670         (cleared): New field.
1671         (clear): Rewrote.
1672
1673 2003-08-21  Scott Gilbertson  <scottg@mantatest.com>
1674             Thomas Fitzsimmons  <fitzsim@redhat.com>
1675
1676         * Makefile.am (gtk_awt_peer_sources): Add
1677         gnu/java/awt/peer/GLightweightPeer.java.  Remove
1678         gnu/java/awt/GLightweightPeer.java.
1679         * gnu/java/awt/GLightweightPeer.java: Remove file.
1680         * gnu/java/awt/peer/GLightweightPeer.java: New file.
1681         * java/awt/Component.java (getToolkit): Add comment about
1682         lightweight components.
1683         * java/awt/Toolkit.java (createComponent): Return
1684         gnu.java.awt.peer.GLightweightPeer.
1685
1686 2003-08-21  Richard Earnshaw  <rearnsha@arm.com>
1687
1688         * configure.in: Fix detection of gcj when building with newlib.
1689         * configure: Regenerated.
1690
1691 2003-08-20  Graydon Hoare  <graydon@redhat.com>
1692
1693         * jni.cc: Replace "cheating" pointer-casting code with
1694         extract_from_jvalue<> template.
1695
1696 2003-08-20  Andrew Haley  <aph@redhat.com>
1697
1698         * gnu/gcj/runtime/StackTrace.java (getClass): New method.
1699         * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
1700         (classAt): Break out class lookup function into getClass().
1701         * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
1702         handlers when using -fno-assume-compiled.
1703
1704 2003-08-20  Tom Tromey  <tromey@redhat.com>
1705
1706         Fix for PR libgcj/9125:
1707         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
1708         object outside of loop.  Respect lib_control setting.
1709         * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
1710         field.
1711         (lib_control): New field.
1712         (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
1713         (VMClassLoader): Initialize new field.
1714
1715         * java/lang/ref/natReference.cc (finalize_referred_to_object):
1716         Set `list->reference' to DELETED_REFERENCE when removing dead
1717         object.
1718         (find_slot): Added an assert.
1719         (DELETED_REFERENCE): New define.
1720         (add_to_hash): Check for DELETED_REFERENCE.
1721         (remove_from_hash): Just return if found slot isn't ours.
1722
1723 2003-08-19  Andrew Haley  <aph@redhat.com>
1724
1725         * prims.cc (unblock_signal): New function.
1726         (catch_segv): Use it.
1727         (catch_fpe): Likewise.
1728
1729 2003-08-19  Danny Smith  <dannysmith@users.sourceforge.net>
1730
1731         PR libgcj/11575
1732         * java/io/natFileDescriptorWin32.cc (open): Set create
1733         flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
1734         Honor EXCL when openning with WRITE flag. 
1735
1736 2003-08-19  Mohan Embar  <gnustuff@thisiscool.com>
1737
1738         * include/jvm.h: New class _Jv_TempUTFString (helper class for
1739         getting a temporary C string from a jstring)
1740         New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
1741         but uses a stack buffer if the string length is less than 256
1742         bytes.
1743
1744 2003-08-18  Tom Tromey  <tromey@redhat.com>
1745
1746         PR libgcj/11951:
1747         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
1748         void.  Throw VirtualMachineError if ffi fails.  Initialize return
1749         value.  Added is_jni_call argument; only wrap exception if not a
1750         JNI call.  Use descriptive message if operation not supported.
1751         (_Jv_GetTypesFromSignature): Use declaring class' loader to find
1752         array class.
1753         * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
1754         * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
1755         _Jv_CallAnyMethodA.
1756         (_Jv_JNI_CallAnyMethodA): Likewise.
1757         (_Jv_JNI_CallAnyVoidMethodV): Likewise.
1758         (_Jv_JNI_CallAnyVoidMethodA): Likewise.
1759
1760 2003-08-13  Tom Tromey  <tromey@redhat.com>
1761
1762         * gij.cc (help): Document -? and -X.
1763
1764 2003-08-12  Graydon Hoare  <graydon@redhat.com>
1765
1766         * java/awt/Font.java: 
1767         Stub out more recent API. 
1768
1769 2003-08-12  Graydon Hoare  <graydon@redhat.com>
1770
1771         * java/awt/Color.java (getAlpha): 
1772         Prevent sign-extended alpha values.
1773
1774 2003-08-12  Tom Tromey  <tromey@redhat.com>
1775
1776         * gij.cc (main): Handle -? and -X.
1777
1778 2003-08-10  Jeroen Frijters  <jeroen@frijters.net>
1779
1780         * java/awt/Container.java
1781         (getPreferredSize): Call preferredSize.
1782         (preferredSize): Moved body of getPreferredSize here.
1783         (getMinimumSize): Call minimumSize.
1784         (minimumSize): Moved body of getMinimumSize here.
1785
1786 2003-08-11  Tom Tromey  <tromey@redhat.com>
1787
1788         * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
1789         (postEvent): Removed FIXME comment.
1790         (isDispatchThread): Documented.
1791         (getCurrentEvent): New method.
1792         (dispatchEvent): Set currentEvent and lastWhen.
1793         (getMostRecentEventTime): Rewrote.
1794         (invokeLater): Documented.
1795
1796 2003-08-10  Bryce McKinlay  <bryce@mckinlay.net.nz>
1797
1798         * java/io/PrintStream.java (print): Always flush if auto_flush is
1799         set. Don't check for newline characters.
1800         (write (int)): Implement without using a temporary array.
1801         (write (byte[], int, int): Always flush if auto_flush is set. Don't
1802         check for newline characters.
1803         Fixes PR libgcj/11778.
1804
1805 2003-08-08  Andrew Haley  <aph@redhat.com>
1806
1807         * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
1808         * Makefile.in: Rebuild.
1809         * java/lang/natRuntime.cc (insertSystemProperties): Add
1810         "sun.boot.class.path".
1811
1812 2003-08-07  Andrew Haley  <aph@redhat.com>
1813
1814         * java/io/PrintStream.java: Don't crash on a null string.
1815         
1816 2003-08-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1817
1818         * configure.in: Don't initialize GCINCS to boehm-gc/include.
1819         * configure: Regenerate.
1820
1821 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
1822
1823         * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
1824         SocketImpl. Update Javadoc.
1825         (bind): Call close() not impl.close() in event of exception.
1826         (connect): Likewise.
1827         Remove superfluous null checks throughout.
1828         * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
1829         Don't create an extra socket. Fix for PR libgcj/10868.
1830         (bind): Clean up exception handling.
1831         Remove superfluous null checks throughout.
1832
1833 2003-08-07  Jacob Gladish <gladish@spinnakernet.com>
1834             Bryce McKinlay  <bryce@mckinlay.net.nz>
1835
1836         * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
1837         ready-to-write argument to _Jv_Select. Reset the socket back to 
1838         non-blocking state after connecting.
1839         (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
1840         Throw SocketTimeoutException not InterruptedIOException.
1841         (read): Throw SocketTimeoutException not InterruptedIOException.
1842
1843 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
1844
1845         * java/lang/Thread.java (Thread): Check for null "name" from
1846         start of private constructor, not after calling the private
1847         constructor.
1848
1849 2003-08-06  Tom Tromey  <tromey@redhat.com>
1850
1851         * java/io/FilePermission.java (equals): Use correct index for
1852         last character of path.
1853
1854 2003-08-06  Alan Modra  <amodra@bigpond.net.au>
1855
1856         * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
1857         * configure.in: Compare with_cross_host to build_alias, not build.
1858         * aclocal.m4: Regenerate.
1859         * configure: Regenerate.
1860
1861 2003-08-05  Tom Tromey  <tromey@redhat.com>
1862
1863         Fix for PR libgcj/11779:
1864         * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
1865         class.
1866
1867         * java/lang/reflect/Method.java: Updated status comment.
1868         Imported javadoc from Classpath and re-ordered methods.
1869         * java/lang/reflect/Constructor.java: Reindented.  Updated
1870         status comment.  Imported javadoc from Classpath and re-ordered
1871         methods.
1872
1873 2003-08-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
1874
1875         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
1876         Add keyLocation parameter.
1877         * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
1878         string.
1879         (paramString): Generate keyChar string according to keyChar, not
1880         keyCode.
1881         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1882         (state_to_awt_mods): Handle ALT key.
1883         (keyevent_state_to_awt_mods): New function.
1884         (get_first_keyval_from_keymap): New function.
1885         (keysym_to_awt_keycode): Get virtual key code from keymap.
1886         Handle missing VK_ values.
1887         (keysym_to_awt_keylocation): New function.
1888         (keyevent_to_awt_keychar): New function.
1889         (generates_key_typed_event): Handle non-text-component case.
1890         Handle GDK_KP_Delete and GDK_KP_Enter.
1891         (awt_event_handler): Call new functions to get postKeyEvent
1892         parameters.
1893         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
1894         Update postKeyEvent method signature.
1895         * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines.  Add missing
1896         VK_ defines.
1897
1898 2003-08-05  Matthias Klose  <doko@debian.org>
1899
1900         * aclocal.m4: check for libart-config binary
1901           under the name libart2-config as well.
1902         * configure: regenerated.
1903
1904 2003-08-04  David P Grove  <groved@us.ibm.com>
1905
1906         * java/text/DecimalFormat.java (format): avoid ArithmeticException
1907         when groupingSize is 0.
1908         (parse): Likewise.
1909
1910 2003-08-04  Matthias Klose  <doko@debian.org>
1911
1912         * libart.m4: check for libart-config binary
1913           under the name libart2-config as well.
1914         * configure, aclocal.m4: regenerated.
1915
1916 2003-08-02  Michael Koch  <konqueror@gmx.de>
1917
1918         * java/nio/ByteBufferImpl.java
1919         (getChar): Check remaining bytes, fixed comment about endianess.
1920         (putChar): Likewise.
1921         (getShort): Likewise.
1922         (putShort): Likewise.
1923         (getInt): Check remaining bytes, fixed conversion, fixed comment about
1924         endianess.
1925         (putInt): Likewise.
1926         (getLong): Likewise.
1927         (putLong): Likewise.
1928         (getFloat): Likewise.
1929         (putFloat): Likewise.
1930         (getDouble): Likewise.
1931         (putDouble): Likewise.
1932         * java/nio/DirectByteBufferImpl.java
1933         (getChar): Wrapped code, fixed comment about endianess.
1934         (putchar): Likewise.
1935         (getShort): Likewise.
1936         (putShort): Likewise.
1937         (getInt): Fixed conversion, fixed comment about endianess.
1938         (putInt): Likewise.
1939         (getLong): Likewise.
1940         (putLong): Likewise.
1941         (getFloat): Likewise.
1942         (putFloat): Likewise.
1943         (getDouble): Likewise.
1944         (putDouble): Likewise.
1945         * java/nio/MappedByteBufferImpl.java
1946         (compact): Implemented.
1947         (getChar): Implemented.
1948         (putChar): Implemented.
1949         (getDouble): Implemented.
1950         (putdouble): Implemented.
1951         (getFloat): Implemented.
1952         (putFloat): Implemented.
1953         (getInt): Implemented.
1954         (putInt): Implemented.
1955         (getLong): Implemented.
1956         (putLong): Implemented.
1957         (getShort): Implemented.
1958         (putShort): Implemented.
1959         * java/nio/channels/FileChannelImpl.java
1960         (read): Set position where to access file.
1961         (write): Likewise.
1962         (transferTo): Flip buffer after read and before write.
1963         (transferFrom): Likewise.
1964
1965 2003-08-02  Michael Koch  <konqueror@gmx.de>
1966
1967         * gnu/java/lang/ArrayHelper.java
1968         (equalsArray): Reformated, added method documentation.
1969
1970 2003-08-02  Michael Koch  <konqueror@gmx.de>
1971
1972         * java/net/URL.java
1973         (URL): Added paragraph about the
1974         gnu.java.net.nocache_protocol_handlers property.
1975         (ph_cache): Renamed from handlers to match classpath's implementation.
1976         Reordered it with factory and serialVersionUID member variables.
1977         (cache_handlers): New member variable.
1978         (static): New static initializer to initialize cache_handlers from
1979         gnu.java.net.nocache_protocol_handlers property.
1980         (URL): Use ph_cache instead of handlers, reformatted some code to
1981         match classpath's implementation.
1982
1983 2003-08-01  Tom Tromey  <tromey@redhat.com>
1984
1985         Fix for PR libgcj/11241:
1986         * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
1987         initialCapacity is 0, set it to 1.
1988
1989 2003-08-01  Stephen Crawley <crawley@dstc.edu.au>
1990
1991         * java/net/SocketImpl.java (toString): Display the remote address
1992         of an unconnected server socket as "0.0.0.0/0.0.0.0".
1993
1994 2003-08-01  Sascha Brawer  <brawer@dandelis.ch>
1995
1996         * javax/swing/border/BevelBorder.java,
1997         javax/swing/border/EtchedBorder.java,
1998         javax/swing/border/LineBorder.java,
1999         javax/swing/border/MatteBorder.java,
2000         javax/swing/border/SoftBevelBorder.java,
2001         javax/swing/plaf/BorderUIResource.java,
2002         javax/swing/plaf/ComponentUI.java,
2003         javax/swing/plaf/TreeUI.java,
2004         javax/swing/plaf/basic/BasicBorders.java,
2005         javax/swing/plaf/basic/BasicGraphicsUtils.java,
2006         javax/swing/plaf/basic/BasicTreeUI.java:
2007         Prepend "doc-files" to all paths to embedded Javadoc images, so
2008         that the generated documentation contains the correct URL.
2009
2010 2003-08-01  Tom Tromey  <tromey@redhat.com>
2011
2012         * configure: Rebuilt.
2013         * configure.in (tool_include_dir): Redefine to match gcc.
2014
2015 2003-08-01  Jerry Quinn  <jlquinn@optonline.net>
2016             Mark Wielaard  <mark@klomp.org>
2017             
2018         * java/math/BigDecimal (divide): Correctly handle
2019         ROUND_HALF_EVEN when amount is greater than 0.5.
2020         Simplify and optimize code.
2021
2022 2003-07-31  Tom Tromey  <tromey@redhat.com>
2023
2024         More for PR libgcj/11737:
2025         * java/io/ObjectInputStream.java (processResolution): Use
2026         getMethod.
2027         (getMethod): Make method accessible.
2028         (getField): Make field accessible.
2029         (setBooleanField): Don't call setAccessible here.
2030         (setByteField, setCharField, setDoubleField, setFloatField,
2031         setIntField, setLongField, setShortField, setObjectField):
2032         Likewise.
2033         (callReadMethod): Don't check whether method is null.  Catch
2034         NoSuchMethodException.
2035         * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
2036         cause on thrown exceptions.
2037
2038 2003-07-31  Stepan Koltsov  <yozh@mx1.ru>
2039
2040         Fix for PR libgcj/11728:
2041         * java/util/HashMap.java (readObject): Set size.
2042
2043 2003-07-31  Tom Tromey  <tromey@redhat.com>
2044
2045         Fix for PR libgcj/11737:
2046         * java/io/ObjectOutputStream.java (getMethod): Make method
2047         accessible.
2048         (getField): Likewise.
2049         (writeObject): Use getMethod.
2050         Import PrivilegedAction and AccessController.
2051         (callWriteMethod): Don't check whether m is null.  Catch
2052         NoSuchMethodException.
2053
2054         * java/awt/geom/Arc2D.java (getBounds2D): Implement.
2055         (containsAngle): Likewise.
2056         (getStartPoint): Rewrote.
2057         (getEndPoint): Likewise.
2058         (setAngleStart(Point2D)): Likewise.
2059
2060 2003-07-31  Roger Sayle  <roger@eyesopen.com>
2061             Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2062
2063         * configure.in: Add new THREADCXXFLAGS variable.
2064         Handle POSIX threads on alpha*-dec-osf*.
2065         * configure: Regenerate.
2066         * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
2067         * Makefile.in: Regenerate.
2068
2069 2003-07-08  Andrew Haley  <aph@redhat.com>
2070
2071         * include/i386-signal.h (RESTORE): New.
2072         (INIT_SEGV): Set restorer.
2073         (INIT_FPE): Likewise.
2074
2075 2003-07-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
2076
2077         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
2078         than getXLFD.
2079         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2080         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
2081         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2082         (gtkSetFont): Scale size parameter by PANGO_SCALE.
2083         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
2084         Likewise.
2085         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
2086         Likewise.
2087
2088 2003-07-29  Tom Tromey  <tromey@redhat.com>
2089
2090         * defineclass.cc (handleField): Throw exception if field name is
2091         duplicated.
2092         (handleMethod): Throw exception for duplicate method.
2093
2094 2003-07-29  Tom Tromey  <tromey@redhat.com>
2095
2096         * gnu/gcj/convert/natIconv.cc (write): Handle case where
2097         output buffer is too small.
2098
2099 2003-07-28  Tom Tromey  <tromey@redhat.com>
2100
2101         * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
2102         New method.
2103         Include gnu/gcj/runtime/StringBuffer.h.
2104         * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
2105         native method.
2106         (String(gnu.gcj.runtime.StringBuffer)): Use it.
2107
2108 2003-07-27  Anthony Green  <green@redhat.com>
2109
2110         * configure.in: Fix newlib check.
2111         * configure: Rebuilt.
2112
2113 2003-07-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
2114
2115         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
2116         Create vbox and layout for GtkPlug.
2117
2118 2003-07-27  Michael Koch  <konqueror@gmx.de>
2119
2120         * java/awt/Window.java
2121         (Window): Removed now unused constructor. It became oboslete with the
2122         new embedded window patch.
2123
2124 2003-07-27  Thomas Fitzsimmons <fitzsim@redhat.com.h> 
2125             Michael Koch  <konqueror@gmx.de>
2126
2127         * gnu/java/awt/EmbeddedWindow.java
2128         (EmbeddedWindow): Extends Frame instead of Window.
2129         (window_id): New member variable to store the native window handle.
2130         (create): Removed.
2131         (EmbeddedWindow): New constructor.
2132         (addNotify): New method.
2133         (getHandler): Likewise.
2134         (setWindowPeer): New native method.
2135         * gnu/java/awt/EmbeddedWindowSupport.java
2136         (EmbeddedWindowSupport): Fixed documentation.
2137         (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
2138         WindowPeer, give it an EmbeddedWindow instance instead of the raw
2139         window data.
2140         * gnu/java/awt/natEmbeddedWindow.cc
2141         (create): Removed.
2142         (setWindowPeer): New method.
2143         * gnu/java/awt/peer/EmbeddedWindowPeer.java,
2144         gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
2145         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
2146         New files
2147         * gnu/java/awt/peer/gtk/GtkToolkit.java
2148         (GtkToolkit): Implements EmbeddedWindowSupport.
2149         (createEmbeddedWindow): New method.
2150         * java/awt/Window.java
2151         (Window): Removed.
2152         * Makefile.am
2153         (java_source_files): Added EmbeddedWindowPeer.java.
2154         (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
2155         (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
2156         * Makefile.in: Regenerated.
2157
2158 2003-07-26  Ranjit Mathew  <rmathew@hotmail.com>
2159
2160         * java/lang/Win32Process.java (ConcreteProcess): Surround
2161         a command line element with quotes if it contains an
2162         embedded space or tab.
2163         * java/lang/natWin32Process.cc (startProcess): Do not
2164         surround command line elements with quotes here.
2165
2166         * configure.host: Use -fcheck-references and 
2167         -fuse-divide-subroutine for MinGW until we fix
2168         win32_exception_handler( ) in win32.cc w.r.t. Win32 
2169         Structured Exception Handling (SEH).
2170
2171         * win32.cc (_Jv_platform_initProperties): Use generic names
2172         like "x86" for the "os.arch" property to be consistent with
2173         what Sun's JDK produces. Use the wProcessorArchitecture
2174         member of the Win32 SYSTEM_INFO structure, filled in a call 
2175         to GetSystemInfo( ), instead of dwProcessorType.
2176
2177 2003-07-26  Mohan Embar  <gnustuff@thisiscool.com>
2178             Ranjit Mathew  <rmathew@hotmail.com>
2179
2180         * Makefile.am: Use cross-compiling gcjh from the path for
2181         a crossed-native build.
2182         * Makefile.in: Rebuilt.
2183         * configure.in: Include libltdl in non-newlib builds.
2184         Moved determination of gcj used to build libraries to
2185         its own section. Fixed cross-compilation issues for
2186         non-newlib builds.
2187         * configure: Rebuilt.
2188
2189 2003-07-25  Tom Tromey  <tromey@redhat.com>
2190
2191         * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
2192         (write): Likewise.
2193         (read): Likewise.
2194         (read): Likewise.
2195
2196 2003-07-25  Mark Wielaard  <mark@klomp.org>
2197
2198         * java/lang/natRuntime.cc (_load): Add library name to
2199         UnsatisfiedLinkError when thrown.
2200
2201 2003-07-25  Mark Wielaard  <mark@klomp.org>
2202
2203         * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
2204         added.
2205         * Makefile.in: Likewise.
2206
2207 2003-07-25  Jeroen Frijters  <jeroen@frijters.net>
2208
2209         * java/awt/Component.java
2210         (getPreferredSize): Call preferredSize.
2211         (preferredSize): Moved body of getPreferredSize here.
2212         (getMinimumSize): Call minimumSize.
2213         (minimumSize): Moved body of getMinimumSize here.
2214         (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
2215         (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
2216         pass -1
2217         * java/awt/Container.java
2218         (validate): Don't validate if there is no peer.
2219         (update): Clear background before calling paint.
2220         * java/awt/GridBagLayout.java
2221         Completed the implementation and fixed several bugs.
2222         * java/awt/MediaTracker.java
2223         (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
2224         combine flags.
2225         * java/awt/Window.java
2226         (Window): Don't call setVisible(false). Windows are invisible by
2227         default and calling virtual methods from constructor causes
2228         compatibility problems (e.g. subclasses may assume that the peer
2229         already exists).
2230
2231 2003-07-25  Michael Koch  <konqueror@gmx.de>
2232
2233         * java/awt/GridBagLayout.java:
2234         Totally reworked and partly implemented.
2235         * java/awt/GridBagLayoutInfo.java:
2236         New file.
2237
2238 2003-07-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
2239
2240         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
2241         Don't pack label in an event box.
2242
2243 2003-07-24  Tom Tromey  <tromey@redhat.com>
2244
2245         For PR libgcj/7482:
2246         * verify.cc (ref_intersection): New class.
2247         (type_val): Removed unresolved_reference_type,
2248         uninitialized_unresolved_reference_type.
2249         (is_assignable_from_slow): Rewrote.
2250         (type::data): Removed.
2251         (type::klass): New field.
2252         (type::type): Added verifier argument.
2253         (type::resolve): Removed.
2254         (type::set_uninitialized): Updated for change to type_val.
2255         (type::set_initialized): Likewise.
2256         (type::isinitialized): Likewise.
2257         (type::print): Likewise.
2258         (construct_primitive_array_type): Likewise.
2259         (type::compatible): Updated for change to type_val and to use
2260         ref_intersection.
2261         (type::isarray): Updated to use ref_intersection.
2262         (type::isinterface): Likewise.
2263         (type::element_type): Likewise.
2264         (type::to_array): Likewise.
2265         (type::verify_dimensions): Rewrote.
2266         (type::merge): Likewise.
2267         (check_class_constant): Updated for type constructor change.
2268         (check_constant): Likewise.
2269         (check_field_constant): Likewise.
2270         (get_one_type): Likewise.
2271         (initialize_stack): Likewise.
2272         (verify_instructions_0): Likewise.
2273         (verify_instructions_0) [op_invokeinterface]: Removed special
2274         case.
2275         (isect_list): New field.
2276         (_Jv_BytecodeVerifier): Initialize it.
2277         (~_Jv_BytecodeVerifier): Destroy ref_intersection objects. 
2278
2279 2003-07-24  H. Väisänen  <hvaisane@joyx.joensuu.fi>
2280
2281         * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
2282         unless field size is 2.
2283
2284 2003-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
2285
2286         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
2287         (connectHooks): New method.
2288         (handleEvent): Remove.
2289         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
2290         (createHooks): Remove declaration.
2291         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2292         (generates_key_typed_event): Change to handle only certain
2293         keyvals.
2294         (awt_event_handler): Add special handling for GtkTextView.
2295         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
2296         (textcomponent_commit_cb): New function.
2297         (textcomponent_changed_cb): Likewise.
2298         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
2299         (connectHooks): Remove.
2300
2301 2003-07-23  Tom Tromey  <tromey@redhat.com>
2302
2303         * java/lang/natSystem.cc (arraycopy): Check for overflow.
2304
2305         * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
2306
2307 2003-07-22  Tom Tromey  <tromey@redhat.com>
2308
2309         * boehm.cc (_Jv_BuildGCDescr): Wrote.
2310         Include limits.h.
2311
2312 2003-07-22  Tom Tromey  <tromey@redhat.com>
2313
2314         * java/awt/Window.java (getWarningString): Just return the
2315         string.
2316         (Window): Set warningString; check with security manager.
2317
2318 2003-07-22  Scott Gilbertson  <scottg@mantatest.com>
2319
2320         * gnu/awt/xlib/XGraphicsConfiguration.java
2321         (FontMetricsCache): Made static.
2322  
2323 2003-07-22  Tom Tromey  <tromey@redhat.com>
2324
2325         * java/net/URLEncoder.java (encode(String)): Use platform default
2326         encoding.
2327         (encode(String,String)): Convert to 2-digit upper-case hex
2328         number.
2329         (hex): New field.
2330
2331 2003-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
2332
2333         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2334         (create): Remove unused method implementation.
2335         (connectHooks): Remove debug messages.
2336
2337 2003-07-20  Anthony Green  <green@redhat.com>
2338
2339         * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
2340         CloneNotSupportedException.
2341         * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
2342         * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
2343         * gnu/gcj/xlib/GC.java (clone): Ditto.
2344         * gnu/awt/xlib/XGraphics.java (clone): Ditto.
2345         * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
2346
2347         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
2348         handler.
2349         * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
2350
2351 2003-07-20  Steve Pribyl <steve@netfuel.com.>
2352
2353         * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
2354         String.  Put dlerror() message into exception.
2355         Include UnsatisfiedLinkError.
2356         * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
2357         String.  Now native.
2358
2359 2003-07-20  Tom Tromey  <tromey@redhat.com>
2360
2361         * java/lang/Runtime.java: Comment fix.
2362         * java/lang/ClassLoader.java (isAncestorOf): New method.
2363         (getParent): Uncommented security check.  Use isAncestorOf.
2364         * include/jvm.h (_Jv_CheckAccess): Declare.
2365         * java/lang/reflect/natConstructor.cc (newInstance): Perform
2366         access check.
2367         Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
2368         * java/lang/reflect/natArray.cc (newInstance): Pass caller's
2369         class loader to _Jv_GetArrayClass.
2370         Include ArrayIndexOutOfBoundsException.h.
2371         * java/lang/reflect/Field.java: Update comment to reflect status.
2372         (equals): Fixed indentation.
2373         * java/lang/Class.h (Class): Declare memberAccessCheck, not
2374         checkMemberAccess.  Make _Jv_CheckAccess a friend.
2375         * java/lang/Class.java (memberAccessCheck): New method from
2376         Classpath.
2377         (checkMemberAccess): Removed.
2378         (getDeclaredMethod): Use memberAccessCheck.
2379         (getField): Likewise.
2380         (getMethod): Likewise.
2381         * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
2382         (_Jv_SearchMethodInClass): Likewise.
2383         * prims.cc (_Jv_CheckAccess): New function.
2384         * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
2385         (_Jv_JNI_GetAnyFieldID): Likewise.
2386         * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
2387         (getClassLoader): Added security check.
2388         (getConstructor): Call memberAccessCheck.
2389         (getDeclaredClasses): Likewise.
2390         (getDeclaredField): Likewise.
2391         (getDeclaredFields): Likewise.
2392         (_getConstructors): Likewise.
2393         (getDeclaredConstructor): Likewise.
2394         (getDeclaredMethods): Likewise.
2395         (getFields): Likewise.
2396         (getMethods): Likewise.
2397         (newInstance): Likewise.
2398         (_Jv_MakeVTable): Put method name in exception.
2399         * java/lang/reflect/natMethod.cc (getType): Use
2400         getClassLoaderInternal.
2401         (_Jv_GetTypesFromSignature): Likewise.
2402         (invoke): Perform access check.
2403         (_Jv_CallAnyMethodA): Removed old FIXME comments.
2404         Include ArrayIndexOutOfBoundsException.h.
2405         * java/lang/reflect/natField.cc (getType): Use
2406         getClassLoaderInternal.
2407         (_Jv_CheckFieldAccessibility): Removed.
2408         (getAddr): Use _Jv_CheckAccess; find caller.
2409         Include ArrayIndexOutOfBoundsException.h.
2410
2411 2003-07-20  Michael Koch  <konqueror@gmx.de>
2412
2413         * java/net/URL.java
2414         (URL): Fixed documentation to name an argument correcty, Reformatted
2415         one method declaration.
2416         (getURLStreamHandler): Added documentation from classpath.
2417
2418 2003-07-19  Tom Tromey  <tromey@redhat.com>
2419
2420         * mauve-libgcj: Don't run CollationElementIterator tests.
2421
2422 2003-07-19  Jeroen Frijters <jeroen@sumatra.nl>
2423
2424         * java/net/URLClassLoader.java (addURL): Moved implementation to
2425         private addURLImpl() to avoid calling addURL from the constructor.
2426         (addURLImpl): Contains the code that was previously in addURL.
2427         (addURLs): Call addURLImpl(), not addURL().
2428
2429 2003-07-18  Graydon Hoare  <graydon@redhat.com>
2430
2431         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 
2432         Handle missing event cases, connect to "value-changed" signal.
2433
2434 2003-07-18  Graydon Hoare  <graydon@redhat.com>
2435
2436         * java/awt/geom/CubicCurve2D.java,
2437         java/awt/geom/Line2D.java,
2438         java/awt/geom/QuadCurve2D.java,
2439         java/awt/geom/Rectangle2D.java: 
2440         Fix path some calculations, make path iterators follow
2441         a consistent style.
2442
2443 2003-07-18  Mark Wielaard  <mark@klomp.org>
2444
2445         * java/util/logging/Handler.java (isLoggable): Check record level
2446         smaller or equal.
2447
2448 2003-07-17  Michael Koch  <konqueror@gmx.de>
2449
2450         * gnu/java/awt/peer/gtk/GtkToolkit.java:
2451         Reworked imports.
2452
2453 2003-07-14  Michael Koch  <konqueror@gmx.de>
2454
2455         * gnu/java/rmi/server/UnicastServerRef.java:
2456         New version from classpath.
2457
2458 2003-07-14  Michael Koch  <konqueror@gmx.de>
2459
2460         * java/awt/image/MemoryImageSource.java,
2461         java/beans/PropertyEditorManager.java,
2462         javax/naming/CompoundName.java,
2463         javax/naming/spi/NamingManager.java,
2464         javax/swing/AbstractButton.java,
2465         javax/swing/ButtonModel.java,
2466         javax/swing/SwingUtilities.java,
2467         javax/swing/UIManager.java,
2468         javax/swing/colorchooser/DefaultColorSelectionModel.java,
2469         javax/swing/event/AncestorEvent.java,
2470         javax/swing/event/InternalFrameEvent.java,
2471         java/util/zip/ZipFile.java:
2472         New versions from classpath.
2473
2474 2003-07-13  Michael Koch  <konqueror@gmx.de>
2475
2476         * gnu/java/nio/FileChannelImpl.java,
2477         gnu/java/nio/natFileChannelImpl.cc: Removed.
2478         * java/io/FileInputStream.java,
2479         java/io/FileOutputStream.java,
2480         java/io/RandomAccessFile.java,
2481         java/nio/MappedByteBufferImpl.java:
2482         Import java.nio.channels.FileChannelImpl instead of
2483         gnu.java.nio.FileChannelImpl.
2484         * java/nio/channels/FileChannelImpl.java,
2485         java/nio/channels/natFileChannelImpl.cc:
2486         New files.
2487         * Makefile.am
2488         (ordinary_java_source_files):
2489         Removed gnu/java/nio/FileChannelImpl.java and added
2490         java/nio/channels/FileChannelImpl.java.
2491         (nat source_files):
2492         Removed gnu/java/nio/natFileChannelImpl.cc and added
2493         java/nio/channels/natFileChannelImpl.cc.
2494         * Makefile.in: Regenerated.
2495
2496 2003-07-13  Michael Koch  <konqueror@gmx.de>
2497
2498         * javax/swing/plaf/basic/BasicBorders.java,
2499         javax/swing/plaf/basic/BasicLabelUI.java,
2500         javax/swing/plaf/basic/BasicLookAndFeel.java,
2501         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
2502         javax/swing/plaf/basic/BasicTextUI.java,
2503         javax/swing/plaf/metal/MetalLookAndFeel.java:
2504         New versions from classpath.
2505
2506 2003-07-13  Michael Koch  <konqueror@gmx.de>
2507
2508         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
2509         * gnu/java/awt/peer/gtk/GdkGraphics.java
2510         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
2511         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
2512         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
2513         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
2514         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
2515         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
2516         * gnu/java/awt/peer/gtk/GtkClipboard.java
2517         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
2518         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2519         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2520         * gnu/java/awt/peer/gtk/GtkGenericPeer.java
2521         * gnu/java/awt/peer/gtk/GtkImage.java
2522         * gnu/java/awt/peer/gtk/GtkImagePainter.java
2523         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
2524         * gnu/java/awt/peer/gtk/GtkListPeer.java
2525         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
2526         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
2527         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
2528         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
2529         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
2530         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
2531         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
2532         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
2533         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
2534         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
2535         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
2536         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
2537
2538 2003-07-13  Michael Koch  <konqueror@gmx.de>
2539
2540         * gnu/java/locale/LocaleInformation_de.java
2541         * gnu/java/locale/LocaleInformation_en.java
2542         * gnu/java/locale/LocaleInformation_nl.java
2543
2544 2003-07-13  Michael Koch  <konqueror@gmx.de>
2545
2546         * gnu/java/awt/EmbeddedWindow.java,
2547         gnu/java/awt/EmbeddedWindowSupport.java,
2548         gnu/java/awt/natEmbeddedWindow.cc:
2549         New files.
2550         * java/awt/Window.java
2551         (Window): New constructor to support embedded windows.
2552         * Makefile.am
2553         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
2554         gnu/java/awt/EmbeddedWindowSupport.java.
2555         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
2556         * Makefile.in: Regenerated.
2557
2558 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
2559
2560         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
2561         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
2562         * java/awt/im/InputContext.java: Remove a redundant
2563         partial line.
2564
2565 2003-07-09  Tom Tromey  <tromey@redhat.com>
2566
2567         * Makefile.in: Rebuilt.
2568         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
2569
2570 2003-07-09  Mark Wielaard  <mark@klomp.org>
2571
2572         * java/io/ObjectOutputStream.java (writeObject): break after
2573         calling writeClassDescriptor().
2574
2575 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
2576
2577         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
2578
2579 2003-07-09  Michael Koch  <konqueror@gmx.de>
2580
2581         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2582         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
2583         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
2584         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
2585         Explicitly import used classes.
2586         * java/awt/Container.java: New version from classpath.
2587
2588 2003-07-09  Michael Koch  <konqueror@gmx.de>
2589
2590         * libgcj.pc.in: New file.
2591         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
2592         * Makefile.in: Regenerated.
2593         * configure: Regenrated.
2594         * configure.in: Create libgcj.pc from libgcj.pc.in.
2595
2596 2003-07-08  Mark Wielaard <mark@klomp.org>
2597
2598         * gcj/cni.h: CNI now expands to Compiled Native Interface.
2599
2600         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
2601         * java/lang/fdlibm.h: Likewise.
2602
2603 2003-07-07  Adam Megacz <adam@xwt.org>
2604
2605         * posix.cc: added #include<stdio.h>
2606                 
2607 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
2608
2609         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
2610         formatting.
2611
2612         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
2613         (setCaretPosition, setEditable): Rely entirely on native
2614         implementation.
2615         (getArgs): Remove.
2616         (postTextEvent): New method.
2617         (handleEvent): New method.
2618         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
2619         method.
2620         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
2621         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2622         (keysym_to_awt_keycode): Fix range checks.
2623         (generates_key_typed_event): New function.
2624         (awt_event_handler): Post AWT_KEY_RELEASED events to event
2625         queue.
2626         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2627         (gtkInit): Store TextComponent's postTextEvent method ID.
2628         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
2629         (setText): Post TEXT_VALUE_CHANGED event to event queue.
2630
2631 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2632
2633         * configure.in: Check for usleep declaration.
2634         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
2635         * configure: Regenerate.
2636         * include/config.h.in: Likewise.
2637         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
2638
2639 2003-07-01  Michael Koch  <konqueror@gmx.de>
2640
2641         * gnu/gcj/convert/natIconv.cc
2642         (iconv_init): Fixed possible memory leak by releasing allocated iconv
2643         handle.
2644
2645 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2646
2647         * glib-2.0.m4: New file.
2648         * gtk-2.0.m4: New file.
2649         * glib.m4: Remove.
2650         * gtk.m4: Remove.
2651         * configure.in: Update AM_PATH_GTK macro call to
2652         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
2653         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
2654         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
2655         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
2656         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
2657         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
2658         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2659         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
2660         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
2661         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
2662         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
2663         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
2664         jni/gtk-peer/gthread-jni.c,
2665         jni/gtk-peer/gthread-jni.h:
2666         New versions from classpath.
2667         * aclocal.m4: Regenerate.
2668         * configure: Regenerate.
2669         * Makefile.in: Regenerate.
2670         * gcj/Makefile.in: Regenerate.
2671         * include/Makefile.in: Regenerate.
2672         * testsuite/Makefile.in: Regenerate.
2673
2674 2003-06-30  Gary Benson  <gbenson@redhat.com>
2675
2676         For PR libgcj/11349:
2677         * javax/naming/spi/NamingManager.java (getURLContext): Use
2678         correct name for factory class.
2679
2680 2003-06-28  Michael Koch  <konqueror@gmx.de>
2681
2682         * java/io/PrintStream.java
2683         (checkError): Call flush() instead of direct flushing of the Writer
2684         object.
2685         (print): Call print(String) instead of direct print method of the
2686         Writer Object.
2687         (println): Call println(String) instead of direct println method of the
2688         Writer Object.
2689         (write): Simplified.
2690
2691 2003-06-28  Michael Koch  <konqueror@gmx.de>
2692
2693         * java/net/ServerSocket.java
2694         (setChannel): New method.
2695         * java/net/Socket.java
2696         (setChannel): New method.
2697
2698 2003-06-27  Michael Koch  <konqueror@gmx.de>
2699
2700         * java/beans/beancontext/BeanContextSupport.java:
2701         New version from classpath.
2702
2703 2003-06-27  Michael Koch  <konqueror@gmx.de>
2704
2705         * java/awt/Window.java,
2706         java/awt/font/GraphicAttribute.java,
2707         java/awt/font/ImageGraphicAttribute.java,
2708         java/awt/image/DataBufferByte.java,
2709         java/awt/image/DataBufferInt.java,
2710         java/awt/image/DataBufferUShort.java,
2711         java/awt/image/DirectColorModel.java,
2712         java/awt/image/PixelGrabber.java:
2713         New versions from classpath.
2714
2715 2003-06-27  Michael Koch  <konqueror@gmx.de>
2716
2717         * java/security/Certificate.java
2718         (getGuarantor): Removed wrong @deprecated tag.
2719         (getPrincipal): Likewise.
2720         (getPublicKey): Likewise.
2721         (encode): Likewise.
2722         (decode): Likewise.
2723         (getFormat): Likewise.
2724         (toString): Likewise.
2725         * java/security/cert/PolicyQualifierInfo.java
2726         (PolicyQualifierInfo): Made final.
2727         * javax/security/auth/x500/X500Principal.java
2728         (serialVersionUID): New member variable.
2729
2730 2003-06-27  Michael Koch  <konqueror@gmx.de>
2731
2732         * java/text/Format.java
2733         (serialVersionUID): Fixed value.
2734
2735 2003-06-27  Michael Koch  <konqueror@gmx.de>
2736
2737         * java/net/Inet4Address.java
2738         (Inet4Address): Made package-private.
2739         * java/net/Inet6Address.java
2740         (Inet4Address): Made package-private.
2741
2742 2003-06-27  Michael Koch  <konqueror@gmx.de>
2743
2744         * java/io/RandomAccessFile.java
2745         (readLine): Removed wrong @deprecated tag.
2746         (getChannel): Made final.
2747
2748 2003-06-27  Michael Koch  <konqueror@gmx.de>
2749
2750         * gnu/java/nio/FileChannelImpl.java
2751         (write): Removed.
2752
2753 2003-06-27  Michael Koch  <konqueror@gmx.de>
2754
2755         * java/nio/ByteBufferImpl.java
2756         (ByteBufferImpl): Made it a package-private class
2757         * java/nio/CharBufferImpl.java
2758         (CharBufferImpl): Made it a package-private class
2759         * java/nio/DirectByteBufferImpl.java
2760         (DirectByteBufferImpl): Made it a package-private class
2761         * java/nio/DoubleBufferImpl.java
2762         (DoubleBufferImpl): Made it a package-private class
2763         * java/nio/FloatBufferImpl.java
2764         (FloatBufferImpl): Made it a package-private class
2765         * java/nio/IntBufferImpl.java
2766         (IntBufferImpl): Made it a package-private class
2767         * java/nio/LongBufferImpl.java
2768         (LongBufferImpl): Made it a package-private class
2769         * java/nio/ShortBufferImpl.java
2770         (ShortBufferImpl): Made it a package-private class
2771         * java/nio/channels/FileChannel.java
2772         (write): Made final.
2773         * java/nio/channels/ServerSocketChannel.java
2774         (ServerSocketChanne): Made protected.
2775
2776 2003-06-27  Michael Koch  <konqueror@gmx.de>
2777
2778         * javax/naming/CompositeName.java
2779         (serialVersionUID): New member variable.
2780         * javax/naming/CompoundName.java
2781         (serialVersionUID): New member variable.
2782         * javax/naming/InitialContext.java
2783         (InitialContext): Throws NamingException.
2784         (init): Likewise.
2785         * javax/naming/LinkRef.java
2786         (serialVersionUID): New member variable.
2787         (gteLinkName): Throws NamingException.
2788         * javax/naming/NamingException.java
2789         (serialVersionUID): New member variable.
2790         * javax/naming/NamingSecurityException.java
2791         (NamingSecurityException): Made abstract.
2792         (serialVersionUID): New member variable.
2793         * javax/naming/ReferralException.java
2794         (serialVersionUID): New member variable.
2795         * javax/naming/StringRefAddr.java
2796         (serialVersionUID): New member variable.
2797         * javax/naming/directory/BasicAttribute.java:
2798         Reworked imports.
2799         (serialVersionUID): New member variable.
2800         (get): Throws NamingException.
2801         (getAll): Throws NamingException.
2802         * javax/naming/directory/BasicAttributes.java:
2803         Reworked imports.
2804         (serialVersionUID): New member variable.
2805         * javax/naming/ldap/UnsolicitedNotificationEvent.java
2806         (serialVersionUID): New member variable.
2807
2808 2003-06-27  Michael Koch  <konqueror@gmx.de>
2809
2810         * Makefile.am
2811         (awt_java_source_files): Added new files:
2812         javax/swing/Popup.java,
2813         javax/swing/PopupFactory.java
2814         * Makefile.in: Regenerated.
2815
2816 2003-06-27  Michael Koch  <konqueror@gmx.de>
2817
2818         * javax/swing/JWindow.java,
2819         javax/swing/event/AncestorEvent.java,
2820         javax/swing/event/HyperlinkEvent.java,
2821         javax/swing/event/InternalFrameEvent.java,
2822         javax/swing/event/ListDataEvent.java,
2823         javax/swing/event/TableModelEvent.java,
2824         javax/swing/plaf/PopupMenuUI.java,
2825         javax/swing/plaf/SplitPaneUI.java,
2826         javax/swing/plaf/TabbedPaneUI.java,
2827         javax/swing/plaf/TextUI.java,
2828         javax/swing/plaf/TreeUI.java,
2829         javax/swing/plaf/basic/BasicTextUI.java,
2830         javax/swing/plaf/basic/BasicTreeUI.java:
2831         New versions from classpath.
2832         * javax/swing/Popup.java,
2833         javax/swing/PopupFactory.jav:
2834         New source files from classpath.
2835         * javax/swing/plaf/doc-files/TreeUI-1.png:
2836         New binary files from classpath.
2837
2838 2003-06-25  Michael Koch  <konqueror@gmx.de>
2839
2840         * Makefile.am
2841         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
2842         * Makefile.in: Regenerated.
2843
2844 2003-06-25  Michael Koch  <konqueror@gmx.de>
2845
2846         * javax/swing/plaf/ActionMapUIResource.java,
2847         javax/swing/plaf/BorderUIResource.java,
2848         javax/swing/plaf/ButtonUI.java,
2849         javax/swing/plaf/ColorChooserUI.java,
2850         javax/swing/plaf/ColorUIResource.java,
2851         javax/swing/plaf/ComboBoxUI.java,
2852         javax/swing/plaf/ComponentInputMapUIResource.java,
2853         javax/swing/plaf/ComponentUI.java,
2854         javax/swing/plaf/DesktopIconUI.java,
2855         javax/swing/plaf/DesktopPaneUI.java,
2856         javax/swing/plaf/DimensionUIResource.java,
2857         javax/swing/plaf/FileChooserUI.java,
2858         javax/swing/plaf/FontUIResource.java,
2859         javax/swing/plaf/IconUIResource.java,
2860         javax/swing/plaf/InputMapUIResource.java,
2861         javax/swing/plaf/InsetsUIResource.java,
2862         javax/swing/plaf/InternalFrameUI.java,
2863         javax/swing/plaf/LabelUI.java,
2864         javax/swing/plaf/ListUI.java,
2865         javax/swing/plaf/MenuBarUI.java,
2866         javax/swing/plaf/MenuItemUI.java,
2867         javax/swing/plaf/OptionPaneUI.java,
2868         javax/swing/plaf/PanelUI.java,
2869         javax/swing/plaf/ProgressBarUI.java,
2870         javax/swing/plaf/RootPaneUI.java,
2871         javax/swing/plaf/ScrollBarUI.java,
2872         javax/swing/plaf/ScrollPaneUI.java,
2873         javax/swing/plaf/SeparatorUI.java,
2874         javax/swing/plaf/SliderUI.java,
2875         javax/swing/plaf/TableHeaderUI.java,
2876         javax/swing/plaf/TableUI.java,
2877         javax/swing/plaf/ToolBarUI.java,
2878         javax/swing/plaf/ToolTipUI.java,
2879         javax/swing/plaf/ViewportUI.java:
2880         New versions from classpath.
2881         * javax/swing/plaf/SpinnerUI.java: 
2882         New file from classpath
2883
2884 2003-06-25  Michael Koch  <konqueror@gmx.de>
2885
2886         * java/awt/image/ColorModel.java:
2887         New version from classpath.
2888
2889 2003-06-25  Michael Koch  <konqueror@gmx.de>
2890
2891         * java/net/PlainDatagramSocketImpl.java:
2892         Partly merged with classpath, this mainly adds documentation.
2893
2894 2003-06-25  Michael Koch  <konqueror@gmx.de>
2895
2896         * java/io/ObjectInputStream.java
2897         (readClassDescriptor): New method.
2898         (readObject): Moved functionality to readClassDescriptor().
2899         * java/io/ObjectOutputStream.java
2900         (writeClassDescriptor): New method.
2901         (writeObject): Moved functionality to writeClassDescriptor().
2902
2903 2003-06-25  Michael Koch  <konqueror@gmx.de>
2904
2905         * javax/swing/plaf/basic/BasicListUI.java,
2906         javax/swing/plaf/basic/BasicOptionPaneUI.java:
2907         Added missing methods.
2908
2909 2003-06-25  Michael Koch  <konqueror@gmx.de>
2910
2911         * javax/swing/event/AncestorEvent.java
2912         javax/swing/event/HyperlinkEvent.java
2913         javax/swing/event/InternalFrameEvent.java
2914         javax/swing/event/ListDataEvent.java
2915         javax/swing/event/TableModelEvent.java:
2916         Compile fixes.
2917
2918 2003-06-24  Michael Koch  <konqueror@gmx.de>
2919
2920         * java/net/URL.java:
2921         Renamed "handler" to "ph" in the whole file to match classpaths
2922         version.
2923         * java/net/URLStreamHandler.java:
2924         (equals): Renamed "handler" to "ph".
2925
2926 2003-06-24  Michael Koch  <konqueror@gmx.de>
2927
2928         * javax/swing/event/AncestorEvent.java,
2929         javax/swing/event/HyperlinkEvent.java,
2930         javax/swing/event/InternalFrameEvent.java,
2931         javax/swing/event/ListDataEvent.java,
2932         javax/swing/event/TableModelEvent.java,
2933         javax/swing/event/TreeWillExpandListener.java,
2934         javax/swing/plaf/ComponentUI.java,
2935         javax/swing/plaf/DesktopIconUI.java,
2936         javax/swing/plaf/DesktopPaneUI.java,
2937         javax/swing/plaf/DimensionUIResource.java,
2938         javax/swing/plaf/FileChooserUI.java,
2939         javax/swing/plaf/FontUIResource.java,
2940         javax/swing/plaf/IconUIResource.java,
2941         javax/swing/plaf/InputMapUIResource.java,
2942         javax/swing/plaf/InsetsUIResource.java,
2943         javax/swing/plaf/InternalFrameUI.java,
2944         javax/swing/plaf/LabelUI.java,
2945         javax/swing/plaf/ListUI.java,
2946         javax/swing/plaf/MenuBarUI.java,
2947         javax/swing/plaf/MenuItemUI.java,
2948         javax/swing/plaf/OptionPaneUI.java,
2949         javax/swing/plaf/PanelUI.java,
2950         javax/swing/plaf/ProgressBarUI.java,
2951         javax/swing/plaf/doc-files/ComponentUI-1.dia,
2952         javax/swing/plaf/doc-files/ComponentUI-1.png:
2953         New versions from classpath.
2954
2955 2003-06-24  Michael Koch  <konqueror@gmx.de>
2956
2957         * java/nio/Buffer.java
2958         (cap): Made package-private.
2959         (pos): Likewise.
2960         (limit): Likewise.
2961         (mark): Likewise.
2962
2963 2003-06-24  Michael Koch  <konqueror@gmx.de>
2964
2965         * java/net/SocketImpl.java
2966         (shutdownInput): Made it non-abstract method throwing an exception
2967         like in SUNs JRE.
2968         (shutdownOutput): Likewise.
2969         * java/net/SocketInputStream.java,
2970         java/net/SocketOutputStream.java:
2971         New files from classpath.
2972
2973 2003-06-24  Michael Koch  <konqueror@gmx.de>
2974
2975         * java/awt/Font.java,
2976         java/awt/Window.java,
2977         java/awt/color/ColorSpace.java,
2978         java/awt/datatransfer/StringSelection.java,
2979         java/awt/image/ColorModel.java:
2980         New versions from classpath.
2981
2982 2003-06-24  Michael Koch  <konqueror@gmx.de>
2983
2984         * Makefile.am
2985         (awt_java_source_files): Added new files:
2986         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
2987         javax/swing/plaf/basic/BasicSplitPaneUI.java
2988         * Makefile.in: Regenerated.
2989
2990 2003-06-24  Michael Koch  <konqueror@gmx.de>
2991
2992         * javax/swing/text/JTextComponent.java:
2993         New version from classpath.
2994
2995 2003-06-24  Michael Koch  <konqueror@gmx.de>
2996
2997         * javax/swing/Timer.java,
2998         javax/swing/plaf/ActionMapUIResource.java,
2999         javax/swing/plaf/ButtonUI.java,
3000         javax/swing/plaf/ColorChooserUI.java,
3001         javax/swing/plaf/ColorUIResource.java,
3002         javax/swing/plaf/ComboBoxUI.java,
3003         javax/swing/plaf/ComponentInputMapUIResource.java,
3004         javax/swing/plaf/basic/BasicBorders.java:
3005         New versions from classpath.
3006         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
3007         javax/swing/plaf/basic/BasicSplitPaneUI.java:
3008         New file from classpath.
3009         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
3010         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
3011         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
3012         javax/swing/plaf/doc-files/ComponentUI-1.dia,
3013         javax/swing/plaf/doc-files/ComponentUI-1.png:
3014         New binary files from classpath.
3015
3016 2003-06-24  Michael Koch  <konqueror@gmx.de>
3017
3018         * java/io/LineNumberReader.java
3019         (skip): Dont do line number accounting here as this is already done in
3020         read(), simplified.
3021
3022 2003-06-21  Michael Koch  <konqueror@gmx.de>
3023
3024         * java/io/File.java
3025         (static): Load javaio lib if existing (only in classpath).
3026         (File): Revised documentation to show the correct argument name.
3027         (createTempFile): Partly merged with classpath.
3028         (compareTo): Simplified.
3029         (lastModified): Throw exception if time < 0.
3030         (deleteOnExit): Revised documentation.
3031
3032 2003-06-21  Michael Koch  <konqueror@gmx.de>
3033
3034         * java/net/PlainSocketImpl.java:
3035         Reformatted.
3036         (PlainSocketImpl): Merged class documentaion with classpath.
3037         (in): Moved.
3038         (out): Moved.
3039         (PlainSocketImpl): New empty constructor.
3040         (finalize): Moved.
3041         (setOption): Merged documentation from classpath.
3042         (getOption): Likewise.
3043         (create): Likewise.
3044         (connect): Likewise.
3045         (bind): Likewise.
3046         (listen): Likewise.
3047         (accept): Likewise.
3048         (available): Likewise.
3049         (close): Likewise.
3050         (read): Likewise.
3051         (write): Likewise.
3052         (getInputStream): Made synchronozed to get sure that only one stream
3053         object can be created for this socket, merged documentation from
3054         classpath.
3055         (getOutputStream): Likewise.
3056
3057 2003-06-21  Michael Koch  <konqueror@gmx.de>
3058
3059         * java/net/PlainSocketImpl.java:
3060         Reformatting.
3061         (static): New implicit method.
3062         (read): Made package private.
3063         (write): Likewise.
3064
3065 2003-06-21  Michael Koch  <konqueror@gmx.de>
3066
3067         * java/util/SimpleTimeZone.java:
3068         Removed unneeded import, reformatting.
3069
3070 2003-06-21  Michael Koch  <konqueror@gmx.de>
3071
3072         * java/text/DateFormat.java,
3073         java/text/SimpleDateFormat.java,
3074         java/util/Locale.java:
3075         New versions from classpath.
3076
3077 2003-06-21  Michael Koch  <konqueror@gmx.de>
3078
3079         * javax/swing/SpinnerModel.java:
3080         New file from classpath.
3081         * javax/swing/border/LineBorder.java,
3082         javax/swing/border/SoftBevelBorder.java,
3083         javax/swing/plaf/BorderUIResource.java,
3084         javax/swing/plaf/basic/BasicBorders.java:
3085         New versions from classpath.
3086         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
3087         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
3088         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
3089         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
3090         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
3091         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
3092         New binary files from classpath.
3093
3094 2003-06-21  Michael Koch  <konqueror@gmx.de>
3095
3096         * java/util/logging/LogRecord.java,
3097         java/util/logging/Logger.java,
3098         java/util/logging/SocketHandler.java,
3099         java/util/logging/SimpleFormatter.java,
3100         java/util/logging/Formatter.java,
3101         java/util/logging/ErrorManager.java,
3102         java/util/logging/Handler.java,
3103         java/util/logging/FileHandler.java,
3104         java/util/logging/LogManager.java,
3105         java/util/logging/Level.java,
3106         java/util/logging/ConsoleHandler.java,
3107         java/util/logging/StreamHandler.java,
3108         java/util/logging/LoggingPermission.java,
3109         java/util/logging/Filter.java,
3110         java/util/logging/MemoryHandler.java,
3111         java/util/logging/XMLFormatter.java:
3112         New files from classpath.
3113
3114 2003-06-20  Michael Koch  <konqueror@gmx.de>
3115
3116         * java/io/ObjectStreamField.java
3117         (unshared): new member variable.
3118         (ObjectStreamField): New constructor.
3119         (isUnshared): New method.
3120
3121 2003-06-20  Michael Koch  <konqueror@gmx.de>
3122
3123         * java/net/URLStreamHandler.java
3124         (hostsEqual): Rewritten.
3125
3126 2003-06-20  Michael Koch  <konqueror@gmx.de>
3127
3128         * gnu/java/nio/MappedByteFileBuffer.java,
3129         gnu/java/nio/natMappedByteFileBuffer.cc:
3130         Removed
3131         * java/nio/MappedByteBufferImpl.java:
3132         New file.
3133         * gnu/java/nio/FileChannelImpl.java:
3134         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
3135         * Makefile.am
3136         (ordinary_java_source_files): Removed
3137         gnu/java/nio/MappedByteFileBuffer.java and added
3138         java/nio/MappedByteBufferImpl.java.
3139         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
3140         * Makefile.in: Regenerated.
3141
3142 2003-06-19  Michael Koch  <konqueror@gmx.de>
3143
3144         * gnu/java/nio/DatagramChannelImpl.java
3145         (fd): Removed.
3146         (blocking): New member variable.
3147         (socket): Likewise.
3148         (DatagramChannelImpl): Throws IOException, initialize socket.
3149         (socket):Implemented.
3150         (implCloseSelectableChannel): Throws IOException, implemented.
3151         (implConfigureBlocking): Likewise.
3152         (connect): Likewise.
3153         (disconnect): Likewise.
3154         (isConnected): Likewise.
3155         (write): Likewise.
3156         (read): Likewise.
3157         (receive): Throws IOException.
3158         (send): Likewise.
3159         * gnu/java/nio/SocketChannelImpl.java
3160         (read): Implemented.
3161         (write): Implemented.
3162
3163 2003-06-19  Michael Koch  <konqueror@gmx.de>
3164
3165         * javax/swing/JComponent.java,
3166         javax/swing/JInternalFrame.java,
3167         javax/swing/MenuSelectionManager.java,
3168         javax/swing/SwingUtilities.java,
3169         javax/swing/ToggleButtonModel.java:
3170         New versions from classpath.
3171
3172 2003-06-19  Michael Koch  <konqueror@gmx.de>
3173
3174         * java/text/CollationElementIterator.java
3175         (NULLORDER): Initialize with -1 as JDK documentation says.
3176
3177 2003-06-19  Michael Koch  <konqueror@gmx.de>
3178
3179         * java/net/HttpURLConnection.java,
3180         java/net/Inet4Address.java,
3181         java/net/Inet6Address.java,
3182         java/net/SocketImpl.java,
3183         java/net/URLClassLoader.java:
3184         Reworked import statements.
3185         * java/net/InetAddress.java
3186         (getByAddress): Simplified.
3187         * java/net/ServerSocket.java
3188         (ServerSocket): Moved special handling during bind operation to
3189         bind().
3190         (bind): Handle different cases when trying to bind a socket.
3191         * java/net/URLConnection.java
3192         (getHeaderFieldDate): Merged with classpath.
3193         (getHeaderFieldInt): Likewise.
3194
3195 2003-06-19  Michael Koch  <konqueror@gmx.de>
3196
3197         * java/util/zip/InflaterInputStream.java
3198         (InflaterInputStream): Throw NullPointerException if in is null (as
3199         JDK does).
3200
3201 2003-06-19  Michael Koch  <konqueror@gmx.de>
3202
3203         * java/awt/Font.java
3204         javax/swing/UIManager.java
3205         javax/swing/border/AbstractBorder.java
3206         javax/swing/border/BevelBorder.java
3207         javax/swing/border/Border.java
3208         javax/swing/border/CompoundBorder.java
3209         javax/swing/border/EmptyBorder.java
3210         javax/swing/border/EtchedBorder.java
3211         javax/swing/border/LineBorder.java
3212         javax/swing/border/MatteBorder.java
3213         javax/swing/border/TitledBorder.java
3214         javax/swing/plaf/BorderUIResource.java
3215         javax/swing/plaf/basic/BasicBorders.java
3216         javax/swing/plaf/basic/BasicButtonUI.java
3217         javax/swing/plaf/basic/BasicCheckBoxUI.java
3218         javax/swing/plaf/basic/BasicGraphicsUtils.java
3219         javax/swing/plaf/basic/BasicLabelUI.java
3220         javax/swing/plaf/basic/BasicRadioButtonUI.java
3221         javax/swing/plaf/basic/BasicToggleButtonUI.java:
3222         New versions from classpath.
3223         * javax/swing/border/SoftBevelBorder.java:
3224         New file from classpath.
3225         * javax/swing/border/doc-files/LineBorder-1.png,
3226         javax/swing/border/doc-files/BevelBorder-1.png,
3227         javax/swing/border/doc-files/BevelBorder-2.png,
3228         javax/swing/border/doc-files/BevelBorder-3.png,
3229         javax/swing/border/doc-files/EmptyBorder-1.png,
3230         javax/swing/border/doc-files/EtchedBorder-1.png,
3231         javax/swing/border/doc-files/EtchedBorder-2.png,
3232         javax/swing/border/doc-files/MatteBorder-1.png,
3233         javax/swing/border/doc-files/MatteBorder-2.png,
3234         javax/swing/border/doc-files/MatteBorder-3.png,
3235         javax/swing/border/doc-files/MatteBorder-4.png,
3236         javax/swing/border/doc-files/MatteBorder-5.png,
3237         javax/swing/border/doc-files/MatteBorder-6.png,
3238         javax/swing/border/doc-files/SoftBevelBorder-1.png,
3239         javax/swing/border/doc-files/SoftBevelBorder-2.png,
3240         javax/swing/border/doc-files/SoftBevelBorder-3.png,
3241         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
3242         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
3243         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
3244         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
3245         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
3246         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
3247         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
3248         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
3249         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
3250         New binary files from classpath.
3251         * Makefile.am
3252         (awt_java_source_files): Added
3253         javax/swing/border/SoftBevelBorder.java.
3254         * Makefile.in: Regenerated.
3255
3256 2003-06-19  Michael Koch  <konqueror@gmx.de>
3257
3258         * gnu/java/security/x509/X509Certificate.java
3259         (writeReplace): Merged from classpath.
3260
3261 2003-06-19  Michael Koch  <konqueror@gmx.de>
3262
3263         * gnu/java/nio/FileChannelImpl.java
3264         (map_address): Made public.
3265         (FileChannelImpl): Merged with classpath.
3266         * gnu/java/nio/natFileChannelImpl.cc
3267         (nio_mmap_file): Commented out unused arguments.
3268         (nio_unmmap_file): Likewise.
3269         (niu_msync): Likewise.
3270
3271 2003-06-19  Michael Koch  <konqueror@gmx.de>
3272
3273         * java/awt/image/IndexColorModel.java:
3274         New version from classpath.
3275
3276 2003-06-18  Tom Tromey  <tromey@redhat.com>
3277
3278         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
3279         on arrays.
3280         (isLoopbackAddress): Likewise.
3281         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
3282         on arrays.
3283
3284 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
3285
3286         * java/lang/natVMSecurityManager.cc (getClassContext):
3287         Use maxlen instead of len for loop bound.
3288
3289 2003-06-18  Michael Koch  <konqueror@gmx.de>
3290
3291         * gnu/java/nio/SelectorImpl.java
3292         (register): Use fd with value 0 for now, will be fixed later.
3293         * gnu/java/nio/ServerSocketChannelImpl.java
3294         (fd): Removed.
3295         (local_port): Removed.
3296         (InetSocketAddress): Removed.
3297         (ServerSocketChannelImpl): Just initialize internal socket object.
3298         (implCloseSelectableChannel): Close internal socket object.
3299         (implConfigureBlocking): Added comment.
3300         (accept): Use jaba.net stuff to accept socket.
3301         * gnu/java/nio/SocketChannelImpl.java
3302         (fd): Removed.
3303         (local_port): Removed.
3304         (InetSocketAddress): Removed.
3305         (SocketCreate): Removed.
3306         (SocketConnect): Removed.
3307         (SocketBind): Removed.
3308         (SocketListen): Removed.
3309         (SocketAvailable): Removed.
3310         (SocketClose): Removed.
3311         (SocketRead): Removed.
3312         (SocketWrite): Removed.
3313         (SocketChannelImpl): Just initialize internal socket object.
3314         (implCloseSelectableChannel): Close internal socket object.
3315         (implConfigureBlocking): Fixed implementation, added comment.
3316         (connect): Use internal socket object to connect.
3317         (socket): No need for sanity checks.
3318         (read): Comment out some stuff, this will be reimplemented in the next
3319         commit.
3320         (write): Likewise.
3321         * gnu/java/nio/natFileChannelImpl.cc
3322         (nio_mmap_file): Line wrapped.
3323         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
3324         * Makefile.am
3325         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
3326         * Makefile.in: Regenerated.
3327
3328 2003-06-18  Michael Koch  <konqueror@gmx.de>
3329
3330         * java/util/Locale.java
3331         (equals): Merged from classpath.
3332
3333 2003-06-18  Michael Koch  <konqueror@gmx.de>
3334
3335         * java/net/InetAddress.java:
3336         Reformatted to better match classpath's version.
3337         * java/net/URL.java
3338         (equals): Simplified.
3339         * java/net/URLConnection.java
3340         (setDoInput): Revised documentation.
3341         (getDefaultUseCaches): Likewise.
3342         (setRequestProperty): Added @since tag.
3343
3344 2003-06-17  Michael Koch  <konqueror@gmx.de>
3345
3346         * java/net/InetSocketAddress.java
3347         (InetSocketAddress): Use wildcard address if addr is null.
3348         (InetSocketAddress): Dont duplicate implementation.
3349         (InetSocketAddress): Throw exception when hostname is null.
3350         * java/net/Socket.java:
3351         Reworked imports.
3352         (Socket): Throw exception when raddr is null, handle case when laddr
3353         is null.
3354
3355 2003-06-17  Michael Koch  <konqueror@gmx.de>
3356
3357         * java/nio/DirectByteBufferImpl.java
3358         (address): Made package private.
3359         (DirectByteBufferImpl): New constructor.
3360         * java/nio/natDirectByteBufferImpl.cc
3361         (allocateImpl): Moved to java.nio namespace, implemented.
3362         (freeImpl): Likewise.
3363         (getImpl): Likewise.
3364         (putImpl): Likewise.
3365         * jni.cc
3366         (_Jv_JNI_NewDirectByteBuffer): Implemented.
3367         (_Jv_JNI_GetDirectBufferAddress): Implemented.
3368         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
3369
3370 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3371
3372         * include/powerpc-signal.h: New File.
3373         * configure.in: Use it.
3374         * configure: Regenerated.
3375
3376 2003-06-17  Michael Koch  <konqueror@gmx.de>
3377
3378         * java/util/Locale.java
3379         (getDisplayLanguage): Made it final.
3380         (getDisplayCountry): Likewise.
3381         (getDisplayVariant): Likewise.
3382         (getDisplayName): Likewise.
3383
3384 2003-06-17  Michael Koch  <konqueror@gmx.de>
3385
3386         * java/util/PropertyResourceBundle.java:
3387         Removed unneeded import.
3388
3389 2003-06-17  Michael Koch  <konqueror@gmx.de>
3390
3391         * java/util/prefs/AbstractPreferences.java,
3392         java/util/prefs/PreferencesFactory.java:
3393         Reworked imports, removed unused imports.
3394         * java/util/prefs/Preferences.java
3395         (systemNodeForPackage): Method takes a Class not an Object.
3396         (userNodeForPackage): Likewise.
3397         (nodeForPackage): Likewise.
3398
3399 2003-06-17  Michael Koch  <konqueror@gmx.de>
3400
3401         * gnu/java/security/x509/X509Certificate.java:
3402         Explicitely import used classes.
3403
3404 2003-06-17  Michael Koch  <konqueror@gmx.de>
3405
3406         * java/util/zip/ZipEntry.java,
3407         java/util/zip/ZipFile.java,
3408         java/util/zip/ZipInputStream.java,
3409         java/util/zip/ZipOutputStream.java:
3410         Reworked imports, only import used classes.
3411
3412 2003-06-17  Michael Koch  <konqueror@gmx.de>
3413
3414         * gnu/java/lang/ArrayHelper.java,
3415         gnu/java/lang/ClassHelper.java:
3416         Reformatted to match classpath's versions.
3417
3418 2003-06-14  Michael Koch  <konqueror@gmx.de>
3419
3420         * gnu/java/nio/FileChannelImpl.java
3421         (map_address): Removed incorrect comment.        
3422         * gnu/java/nio/SelectorImpl.java
3423         (register): Remove code duplication and code for file channel handling.        
3424         * gnu/java/nio/ServerSocketChannelImpl.java
3425         (serverSocket): Renamed from sock_object.
3426         (ServerSocketChannel): Initialize serverSocket.
3427         (socket): Return serverSocket.
3428         * gnu/java/nio/SocketChannelImpl.java
3429         (socket): Renamed from sock_object.
3430         (isConnectionPenging): Simplified.
3431         (socket): Return socket.
3432 2003-06-14  Michael Koch  <konqueror@gmx.de>
3433
3434         * java/security/BasicPermission.java:
3435         New version from classpath.
3436
3437 2003-06-14  Michael Koch  <konqueror@gmx.de>
3438
3439         * javax/naming/directory/Attribute.java:
3440         New version from classpath.
3441
3442 2003-06-14  Michael Koch  <konqueror@gmx.de>
3443
3444         * java/io/BufferedReader.java,
3445         java/io/FileOutputStream.java:
3446         New versions from classpath.
3447
3448 2003-06-12  Andrew Haley  <aph@redhat.com>
3449
3450         * prims.cc (catch_segv): Create exception in handler.
3451         (catch_fpe): Likewise.  
3452         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
3453         (_Jv_ThrowSignal): Remove.
3454
3455         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
3456         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
3457         to nullp and arithexception.
3458         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
3459         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
3460         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
3461         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
3462         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
3463
3464 2003-06-11  Andrew Haley  <aph@redhat.com>
3465
3466         * jni.cc (_Jv_JNI_check_types): New.
3467         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
3468         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
3469         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
3470         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
3471         
3472         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
3473         infinite loop.
3474
3475 2003-06-11  Tom Tromey  <tromey@redhat.com>
3476
3477         * java/lang/ClassLoader.java (loadClass): Not deprecated.
3478         * java/io/PrintStream.java: Not deprecated.
3479
3480 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
3481
3482         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
3483         (fillOval): implemented
3484         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
3485         (fillArc): implemented.
3486         * gnu/gcj/xlib/GC.java (drawArc): added native method.
3487         (fillArc): added native method.
3488         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
3489         (fillArc): added native method.
3490
3491 2003-06-11  Michael Koch  <konqueror@gmx.de>
3492
3493         * java/awt/im/InputSubset.java:
3494         New version from classpath.
3495
3496 2003-06-11  Michael Koch  <konqueror@gmx.de>
3497
3498         * javax/swing/AbstractAction.java,
3499         javax/swing/AbstractButton.java,
3500         javax/swing/AbstractCellEditor.java,
3501         javax/swing/AbstractListModel.java,
3502         javax/swing/BorderFactory.java,
3503         javax/swing/Box.java,
3504         javax/swing/BoxLayout.java,
3505         javax/swing/ButtonGroup.java,
3506         javax/swing/DefaultButtonModel.java,
3507         javax/swing/DefaultListModel.java,
3508         javax/swing/DefaultListSelectionModel.java,
3509         javax/swing/FocusManager.java,
3510         javax/swing/ImageIcon.java,
3511         javax/swing/InputMap.java,
3512         javax/swing/JApplet.java,
3513         javax/swing/JButton.java,
3514         javax/swing/JCheckBox.java,
3515         javax/swing/JCheckBoxMenuItem.java,
3516         javax/swing/JColorChooser.java,
3517         javax/swing/JComboBox.java,
3518         javax/swing/JComponent.java,
3519         javax/swing/JDesktopPane.java,
3520         javax/swing/JDialog.java,
3521         javax/swing/JEditorPane.java,
3522         javax/swing/JFileChooser.java,
3523         javax/swing/JFormattedTextField.java,
3524         javax/swing/JFrame.java,
3525         javax/swing/JLabel.java,
3526         javax/swing/JLayeredPane.java,
3527         javax/swing/JList.java,
3528         javax/swing/JMenuBar.java,
3529         javax/swing/JMenuItem.java,
3530         javax/swing/JOptionPane.java,
3531         javax/swing/JPanel.java,
3532         javax/swing/JPasswordField.java,
3533         javax/swing/JPopupMenu.java,
3534         javax/swing/JProgressBar.java,
3535         javax/swing/JRadioButton.java,
3536         javax/swing/JRadioButtonMenuItem.java,
3537         javax/swing/JRootPane.java,
3538         javax/swing/JScrollBar.java,
3539         javax/swing/JScrollPane.java,
3540         javax/swing/JSeparator.java,
3541         javax/swing/JSlider.java,
3542         javax/swing/JTabbedPane.java,
3543         javax/swing/JTable.java,
3544         javax/swing/JTextField.java,
3545         javax/swing/JToggleButton.java,
3546         javax/swing/JToolBar.java,
3547         javax/swing/JToolTip.java,
3548         javax/swing/JTree.java,
3549         javax/swing/JViewport.java,
3550         javax/swing/JWindow.java,
3551         javax/swing/KeyStroke.java,
3552         javax/swing/ListSelectionModel.java,
3553         javax/swing/LookAndFeel.java,
3554         javax/swing/RepaintManager.java,
3555         javax/swing/ScrollPaneLayout.java,
3556         javax/swing/SizeRequirements.java,
3557         javax/swing/SwingConstants.java,
3558         javax/swing/Timer.java,
3559         javax/swing/UIDefaults.java,
3560         javax/swing/UIManager.java,
3561         javax/swing/border/AbstractBorder.java,
3562         javax/swing/border/CompoundBorder.java,
3563         javax/swing/colorchooser/AbstractColorChooserPanel.java,
3564         javax/swing/colorchooser/ColorChooserComponentFactory.java,
3565         javax/swing/colorchooser/ColorSelectionModel.java,
3566         javax/swing/colorchooser/DefaultColorSelectionModel.java,
3567         javax/swing/event/AncestorEvent.java,
3568         javax/swing/event/HyperlinkEvent.java,
3569         javax/swing/event/InternalFrameAdapter.java,
3570         javax/swing/event/InternalFrameEvent.java,
3571         javax/swing/event/ListDataEvent.java,
3572         javax/swing/event/MouseInputAdapter.java,
3573         javax/swing/event/SwingPropertyChangeSupport.java,
3574         javax/swing/event/TableModelEvent.java,
3575         javax/swing/event/TreeWillExpandListener.java,
3576         javax/swing/event/UndoableEditEvent.java,
3577         javax/swing/filechooser/FileFilter.java,
3578         javax/swing/filechooser/FileSystemView.java,
3579         javax/swing/filechooser/FileView.java,
3580         javax/swing/plaf/BorderUIResource.java,
3581         javax/swing/plaf/basic/BasicDefaults.java,
3582         javax/swing/table/AbstractTableModel.java,
3583         javax/swing/table/DefaultTableCellRenderer.java,
3584         javax/swing/table/DefaultTableColumnModel.java,
3585         javax/swing/table/DefaultTableModel.java,
3586         javax/swing/table/TableColumn.java,
3587         javax/swing/text/JTextComponent.java,
3588         javax/swing/tree/AbstractLayoutCache.java,
3589         javax/swing/tree/DefaultMutableTreeNode.java,
3590         javax/swing/tree/DefaultTreeCellEditor.java,
3591         javax/swing/tree/DefaultTreeCellRenderer.java,
3592         javax/swing/tree/DefaultTreeModel.java,
3593         javax/swing/tree/DefaultTreeSelectionModel.java,
3594         javax/swing/tree/FixedHeightLayoutCache.java,
3595         javax/swing/tree/TreeCellEditor.java,
3596         javax/swing/tree/TreeModel.java,
3597         javax/swing/tree/TreeNode.java,
3598         javax/swing/tree/TreePath.java,
3599         javax/swing/tree/TreeSelectionModel.java,
3600         javax/swing/tree/VariableHeightLayoutCache.java,
3601         javax/swing/undo/AbstractUndoableEdit.java,
3602         javax/swing/undo/CompoundEdit.java,
3603         javax/swing/undo/StateEdit.java,
3604         javax/swing/undo/UndoManager.java,
3605         javax/swing/undo/UndoableEditSupport.java:
3606         New versions from classpath.
3607         * javax/swing/table/JTableHeader.java:
3608         New file from classpath.
3609         * Makefile.am
3610         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
3611         * Makefile.in: Regenerated.
3612
3613 2003-06-11  Michael Koch  <konqueror@gmx.de>
3614
3615         * java/nio/MappedByteBuffer.java,
3616         java/nio/channels/Channels.java,
3617         java/nio/channels/ServerSocketChannel.java,
3618         java/nio/channels/spi/AbstractSelector.java:
3619         Removed unneeded imports.
3620
3621 2003-06-11  Michael Koch  <konqueror@gmx.de>
3622
3623         * java/net/DatagramSocket.java:
3624         Partly merged with classpath.
3625
3626 2003-06-11  Michael Koch  <konqueror@gmx.de>
3627
3628         * java/awt/Frame.java,
3629         java/awt/Graphics.java,
3630         java/awt/Menu.java,
3631         java/awt/Robot.java,
3632         java/awt/image/ColorModel.java:
3633         New versions from classpath.
3634
3635 2003-06-10  Michael Koch  <konqueror@gmx.de>
3636
3637         * java/io/PrintStream.java:
3638         Merged version from classpath.
3639         (close): Removed sychronized keyword. This class is not garantied to
3640         be thread-safe.
3641         (write): Likewise.
3642
3643 2003-06-09  Tom Tromey  <tromey@redhat.com>
3644
3645         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
3646         field.
3647         (getDescent): Likewise, for "descent".
3648
3649 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
3650
3651         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
3652         (getMaxDescent): adjusted return value.
3653         (getAscent): modified to use metrics for 'O'.
3654         (getDescent): modified to use metrics for 'y'.
3655
3656 2003-06-08  Anthony Green  <green@redhat.com>
3657
3658         * java/net/URLStreamHandler.java (sameFile): Fix port value
3659         comparison.
3660         * java/net/URL.java (handler): Make package private.
3661         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
3662
3663 2003-06-07  Tom Tromey  <tromey@redhat.com>
3664
3665         For PR libgcj/11085:
3666         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
3667         Limit number of characters in numeric field when required.
3668         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
3669         Respect maximumIntegerDigits.
3670
3671 2003-06-08  Michael Koch  <konqueror@gmx.de>
3672
3673         * java/net/Socket.java
3674         (Socket): Dont initialize inputShutdown and outputShutdown twice,
3675         call bind() and connect() to actually do the bind and connect tasks.
3676         (bind): Connect to canonical address if bindpoint is null, create
3677         socket and bind it to bindpoint.
3678         (connect): Check for exceptions.
3679
3680 2003-06-08  Michael Koch  <konqueror@gmx.de>
3681
3682         * java/net/DatagramSocket.java
3683         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
3684         into the Multicast constructors.
3685         * java/net/DatagramSocketImpl.java
3686         (getOption): Removed.
3687         (setOption): Removed.
3688         * java/net/MulticastSocket.java
3689         (MulticastSocket): Call setReuseAddress (true).
3690         * java/net/SocketImpl.java
3691         (getOption): Removed.
3692         (setOption): Removed.
3693
3694 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
3695
3696         PR libgcj/10886:
3697         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
3698         Test for empty vector.
3699
3700 2003-06-06  Mark Wielaard  <mark@klomp.org>
3701
3702         * java/security/Security.java (secprops): Initialize.
3703         (loadProviders): Return boolean.
3704         (static): Check result of loadProvider calls. If necessary
3705         display WARNING and fallback to Gnu provider.
3706
3707 2002-06-06  James Clark  <jjc@jclark.com>
3708
3709         Fix for PR libgcj/8738:
3710         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
3711         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
3712         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
3713         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
3714         (write): Always decrease avail when count is increased.
3715         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
3716         and whether output buffer is full before increasing size.
3717
3718 2002-06-06  Mark Wielaard  <mark@klomp dot org>
3719
3720         * java/io/PrintStream.java (writeChars(char[],int, int)):
3721         Check converter.havePendingBytes().
3722         (writeChars(String,int,int)): Likewise.
3723         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
3724         Check converter.havePendingBytes() and flush buffer when stalled.
3725
3726 2003-06-07  Michael Koch  <konqueror@gmx.de>
3727
3728         * include/posix.h
3729         (O_DSYNC): Define O_DSYNC on platforms not
3730         supporting O_FSYNC (newlib).
3731
3732 2003-06-06  Mark Wielaard  <mark@klomp.org>
3733
3734         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
3735         AWTError.
3736
3737 2003-06-06  Michael Koch  <konqueror@gmx.de>
3738
3739         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3740         More compile fixes from my stupid work yesterday.
3741
3742 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
3743
3744         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
3745         if _IEEE_LIBM is undefined.
3746
3747 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
3748
3749         * libjava/include/posix.h (O_SYNC): Define if not available
3750         and a reasonable, perhaps more conservative, replacement exists.
3751         (O_DSYNC): Likewise.
3752         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
3753
3754 2003-06-05  Michael Koch  <konqueror@gmx.de>
3755
3756         * javax/swing/plaf/BorderUIResource.java,
3757         javax/swing/plaf/basic/BasicDefaults.java,
3758         javax/swing/plaf/basic/BasicOptionPaneUI.java:
3759         More compile fixes for latest Border commit. I should not commit
3760         something in this heat here ...
3761
3762 2003-06-05  Michael Koch  <konqueror@gmx.de>
3763
3764         * javax/swing/border/BevelBorder.java
3765         (BevelBorder): Removed.
3766         * javax/swing/border/EmptyBorder.java:
3767         Reformatted.
3768         (EmptyBorder): Removed.
3769         (getBorderInsets): Dont use l, r, t and b.
3770         * javax/swing/border/EtchedBorder.java
3771         (EtchedBorder): Removed.
3772         * javax/swing/border/LineBorder.java
3773         (LineBorder): Removed.
3774         * javax/swing/border/MatteBorder.java
3775         (MatteBorder): Removed.
3776         * javax/swing/border/TitledBorder.java
3777         (defaultBorder): Use other default for now.
3778         (defaultFont): Likewise.
3779         (defaultColor): Likewise.
3780
3781 2003-06-05  Michael Koch  <konqueror@gmx.de>
3782
3783         * javax/swing/border/Border.java:
3784         New version from classpath.
3785
3786 2003-06-05  Michael Koch  <konqueror@gmx.de>
3787
3788         * javax/swing/border/AbstractBorder.java,
3789         javax/swing/border/BevelBorder.java,
3790         javax/swing/border/CompoundBorder.java,
3791         javax/swing/border/EmptyBorder.java,
3792         javax/swing/border/EtchedBorder.java,
3793         javax/swing/border/LineBorder.java,
3794         javax/swing/border/MatteBorder.java,
3795         javax/swing/border/TitledBorder.java:
3796         New versions from Classpath.
3797
3798 2003-06-05  Michael Koch  <konqueror@gmx.de>
3799
3800         * java/awt/Button.java,
3801         java/awt/Checkbox.java,
3802         java/awt/CheckboxMenuItem.java,
3803         java/awt/Choice.java,
3804         java/awt/Container.java,
3805         java/awt/Dialog.java,
3806         java/awt/EventQueue.java,
3807         java/awt/FileDialog.java,
3808         java/awt/Frame.java,
3809         java/awt/Label.java,
3810         java/awt/List.java,
3811         java/awt/Menu.java,
3812         java/awt/MenuItem.java,
3813         java/awt/Panel.java,
3814         java/awt/PopupMenu.java,
3815         java/awt/Rectangle.java,
3816         java/awt/ScrollPane.java,
3817         java/awt/Scrollbar.java,
3818         java/awt/TextArea.java,
3819         java/awt/TextField.java,
3820         java/awt/Window.java,
3821         java/awt/datatransfer/DataFlavor.java,
3822         java/awt/dnd/DragSource.java,
3823         java/awt/dnd/DragSourceContext.java,
3824         java/awt/event/HierarchyEvent.java,
3825         java/awt/event/MouseWheelEvent.java,
3826         java/awt/im/InputContext.java,
3827         java/awt/image/BufferedImage.java,
3828         java/awt/image/ComponentColorModel.java,
3829         java/awt/image/Raster.java,
3830         java/awt/image/WritableRaster.java,
3831         java/awt/peer/ComponentPeer.java,
3832         java/awt/print/PageFormat.java,
3833         java/awt/print/PrinterJob.java:
3834         New versions from Classpath.
3835
3836 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
3837
3838         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
3839         numberFormat.setParseIntegerOnly(true).
3840
3841 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
3842
3843         * include/posix-threads.h: Include <machine/pal.h> on OSF.
3844
3845 2003-06-03  Andrew Haley  <aph@redhat.com>
3846
3847         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
3848         stack volatile to prevent optimization from removing it.
3849
3850 2003-05-27  Michael Koch  <konqueror@gmx.de>
3851
3852         * java/util/zip/Deflater.java
3853         (FILTERED): Merged documentation from classpath.
3854         * java/util/zip/DeflaterOutputStream.java
3855         (DeflaterOutputStream): Merged documentation and argument validity
3856         check from classpath.
3857         (deflate): Merged documentation from classpath.
3858         (finish): Likewise.
3859         * java/util/zip/Inflater.java
3860         (Inflater): Merged class documentation from classpath.
3861         (zstream): Reordered.
3862         (is_finished): Reordered.
3863         (dict_needed): Reordered.
3864         (Inflater): Reordered, merged documentation from classpath.
3865         (end): Likewise.
3866         (finalize): Merged documentation from classpath.
3867         (finished): Likewise.
3868         (getAdler): Likewise.
3869         (getRemaining): Likewise.
3870         (getTotalIn): Likewise.
3871         (getTotalOut): Likewise.
3872         (inflate): Likewise.
3873         (needsDictionary): Likewise.
3874         (needsInput): Likewise.
3875         (reset): Likewise.
3876         (setDictionary): Likewise.
3877         (setInput): Likewise.
3878
3879 2003-05-27  Michael Koch  <konqueror@gmx.de>
3880
3881         * java/net/URLConnection.java
3882         (getHeaderFieldInt): Merged with classpath.
3883
3884 2003-05-27  Michael Koch  <konqueror@gmx.de>
3885
3886         * java/io/PrintStream.java
3887         (PrintStream): Reformatted.
3888         (PrintStream): New method, merged from classpath.
3889         (write): Reformatted.
3890
3891 2003-05-27  Michael Koch  <konqueror@gmx.de>
3892
3893         * java/lang/System.java:
3894         Explicitely import needed classes.
3895
3896 2003-05-26  Michael Koch  <konqueror@gmx.de>
3897
3898         * java/net/NetPermission.java,
3899         java/net/NetworkInterface.java,
3900         java/net/PasswordAuthentication.java,
3901         java/net/SocketPermission.java:
3902         New versions from classpath.
3903
3904 2003-05-25  Michael Koch  <konqueror@gmx.de>
3905
3906         * java/io/PushbackInputStream.java,
3907         java/net/Authenticator.java,
3908         java/net/ContentHandler.java,
3909         java/net/ContentHandlerFactory.java,
3910         java/net/DatagramSocket.java,
3911         java/net/DatagramSocketImpl.java,
3912         java/net/DatagramSocketImplFactory.java,
3913         java/net/FileNameMap.java,
3914         java/net/SocketImplFactory.java,
3915         java/net/SocketOptions.java,
3916         java/net/URLStreamHandlerFactory.java:
3917         Merged new versions from classpath.
3918
3919 2003-05-25  Michael Koch  <konqueror@gmx.de>
3920
3921         * java/awt/Checkbox.java,
3922         java/awt/Dialog.java,
3923         java/awt/Font.java,
3924         java/awt/Frame.java,
3925         java/awt/ScrollPaneAdjustable.java,
3926         java/awt/Scrollbar.java,
3927         java/awt/Window.java:
3928         New versions from classpath.
3929
3930 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
3931
3932         PR libgcj/10838:
3933         * java/io/ObjectInputStream (enableResolveObject):
3934         Fixed spelling of permission name.
3935
3936 2003-05-20  Michael Koch  <konqueror@gmx.de>
3937
3938         * java/io/DataInputStream.java
3939         (convertFromUTF): Merged comment from classpath.
3940         * java/io/PrintStream.java
3941         (error_occured): Renamed from error, merged comment from classpath.
3942         (PrintStream): No need to initialized error.
3943         (checkError): Replace error with error_occurred.
3944         (setError): Likewise.
3945
3946 2003-05-20  Michael Koch  <konqueror@gmx.de>
3947
3948         * java/io/DataInputStream.java:
3949         Reformatted, Replaced < and & with html entitites in documentation.
3950         * java/io/File.java:
3951         Reformatted.
3952         * java/io/PrintWriter.java:
3953         Moved class documentation.
3954
3955 2003-05-20  Michael Koch  <konqueror@gmx.de>
3956
3957         * gnu/java/nio/ByteBufferImpl.java,
3958         gnu/java/nio/CharBufferImpl.java,
3959         gnu/java/nio/CharViewBufferImpl.java,
3960         gnu/java/nio/DirectByteBufferImpl.java,
3961         gnu/java/nio/DoubleBufferImpl.java,
3962         gnu/java/nio/DoubleViewBufferImpl.java,
3963         gnu/java/nio/FloatBufferImpl.java,
3964         gnu/java/nio/FloatViewBufferImpl.java,
3965         gnu/java/nio/IntBufferImpl.java,
3966         gnu/java/nio/IntViewBufferImpl.java,
3967         gnu/java/nio/LongBufferImpl.java,
3968         gnu/java/nio/LongViewBufferImpl.java,
3969         gnu/java/nio/natDirectByteBufferImpl.cc,
3970         gnu/java/nio/ShortBufferImpl.java,
3971         gnu/java/nio/ShortViewBufferImpl.java:
3972         Moved files to java/nio.
3973         * gnu/java/nio/SocketChannelImpl.java
3974         
3975         * java/nio/ByteBuffer.java,
3976         java/nio/CharBuffer.java,
3977         java/nio/DoubleBuffer.java,
3978         java/nio/FloatBuffer.java,
3979         java/nio/IntBuffer.java,
3980         java/nio/LongBuffer.java,
3981         java/nio/ShortBuffer.java:
3982         Dont import anything.
3983         * java/nio/ByteBufferImpl.java,
3984         java/nio/CharBufferImpl.java,
3985         java/nio/CharViewBufferImpl.java,
3986         java/nio/DirectByteBufferImpl.java,
3987         java/nio/DoubleBufferImpl.java,
3988         java/nio/DoubleViewBufferImpl.java,
3989         java/nio/FloatBufferImpl.java,
3990         java/nio/FloatViewBufferImpl.java,
3991         java/nio/IntBufferImpl.java,
3992         java/nio/IntViewBufferImpl.java,
3993         java/nio/LongBufferImpl.java,
3994         java/nio/LongViewBufferImpl.java,
3995         java/nio/natDirectByteBufferImpl.cc,
3996         java/nio/ShortBufferImpl.java,
3997         java/nio/ShortViewBufferImpl.java:
3998         Moved from gnu/java/nio.
3999         * Makefile.am
4000         (ordinary_java_source_files): Moved files from gnu/java/nio to
4001         java/nio.
4002         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
4003         to java/nio.
4004         * Makefile.in: Regenerated.
4005
4006 2003-05-19  Michael Koch  <konqueror@gmx.de>
4007
4008         * java/util/Calendar.java
4009         (get): Not final anymore since JDK 1.4
4010         (set): Likewise.
4011
4012 2003-05-19  Michael Koch  <konqueror@gmx.de>
4013
4014         * java/text/CollationKey.java:
4015         Merged copyright and dat from classpath.
4016         * java/text/RuleBasedCollator.java:
4017         Merged class documentation from classpath.
4018
4019 2003-05-19  Michael Koch  <konqueror@gmx.de>
4020
4021         * java/nio/CharBuffer.java
4022         (toString): Compile fix.
4023
4024 2003-05-19  Michael Koch  <konqueror@gmx.de>
4025
4026         * gnu/java/nio/ByteBufferImpl.java
4027         (putLong): Fixed conversion to bytes.
4028         (putDouble): Fixed conversion to bytes.
4029         * gnu/java/nio/DirectByteBufferImpl.java
4030         (putLong): Fixed conversion to bytes.
4031         (putDouble): Fixed conversion to bytes.
4032         * gnu/java/nio/FileLockImpl.java
4033         (isValid): Reformatted.
4034         * java/nio/Buffer.java
4035         (Buffer): Fixed off-by-one bug in handling mark.
4036         * java/nio/ByteBuffer.java:
4037         Added newline.
4038         * java/nio/CharBuffer.java
4039         (toString): Don't use relative get to get string data.
4040
4041 2003-05-16  Michael Koch  <konqueror@gmx.de>
4042
4043         * java/io/natFileDescriptorPosix.cc
4044         (open): Commented out the O_SYNC and O_DSYNC usage until its better
4045         tested.
4046
4047 2003-05-14  Michael Koch  <konqueror@gmx.de>
4048
4049         * gnu/java/nio/FileLockImpl.java
4050         (released): New member variable.
4051         (FileLockImpl): Initialize released.
4052         (releaseImpl): New native method.
4053         (release): Implemented.
4054         * gnu/java/nio/SelectorImpl.java: Reformatted.
4055         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
4056         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
4057         (accept): Throws IOException.
4058         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
4059         (implConfigureBlocking): Throws IOException.
4060         (connect): Likewise.
4061         (read): Likewise.
4062         (write): Likewise.
4063         * gnu/java/nio/natFileLockImpl.cc: New file.
4064         * java/nio/channels/FileLock.java: Reformatted.
4065         * Makefile.am:
4066         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
4067         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
4068         * Makefile.in: Regenerated.
4069
4070 2003-05-13  Michael Koch  <konqueror@gmx.de>
4071
4072         * gnu/java/nio/CharViewBufferImpl.java
4073         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
4074         (get): Shift bits to the right direction.
4075         (put): Likewise.
4076         * gnu/java/nio/DoubleViewBufferImpl.java
4077         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
4078         (get): Shift bits to the right direction.
4079         (put): Likewise.
4080         * gnu/java/nio/FloatViewBufferImpl.java
4081         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
4082         (get): Shift bits to the right direction.
4083         (put): Likewise.
4084         * gnu/java/nio/IntViewBufferImpl.java
4085         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
4086         (get): Shift bits to the right direction.
4087         (put): Likewise.
4088         * gnu/java/nio/LongViewBufferImpl.java
4089         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
4090         (get): Shift bits to the right direction.
4091         (put): Likewise.
4092         * gnu/java/nio/ShortViewBufferImpl.java
4093         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
4094         (get): Shift bits to the right direction.
4095         (put): Likewise.
4096
4097 2003-05-13  Michael Koch  <konqueror@gmx.de>
4098
4099         * gnu/java/nio/natDirectByteBufferImpl.cc
4100         (allocateImpl): jlong -> RawData*.
4101         (freeImpl): Likewise.
4102
4103 2003-05-13  Michael Koch  <konqueror@gmx.de>
4104
4105         * java/nio/channels/FileChannel.java
4106         (MapMode.m): Made it package-private to match JDK 1.4.
4107         * java/nio/charset/Charset.java
4108         (decode): Made it final to match JDK 1.4.
4109
4110 2003-05-13  Michael Koch  <konqueror@gmx.de>
4111
4112        * java/io/FileDescriptor.java
4113        (SYNC): New constant.
4114        (DSYNC): Likewise.
4115        (getLength): Renamed from lenght() to match classpath's
4116        FileDescriptor.java.
4117        * java/io/RandomAccessFile.java
4118        (RandomAccessFile): Removed unneeded mode check, implemented mode
4119        "rws" and "rwd", merged documentation from classpath.
4120        (setLength): Reformatted.
4121        (length): Use new getLength() of FileDescriptor.
4122        * java/io/natFileDescriptorEcos.cc
4123        (getLength): Renamed from length().
4124        * java/io/natFileDescriptorPosix.cc
4125        (open): Implemented support for SYNC and DSYNC.
4126        (seek): Use getLength() instead of length().
4127        (getLength): Renamed from length().
4128        * java/io/natFileDescriptorWin32.cc
4129        (getLength): Renamed from length().
4130        (seek): Use getLength() instead of length().
4131        (available): Likewise.
4132        * gnu/java/nio/natFileChannelImpl.cc
4133        (size): Use getLength() instead of length().
4134
4135 2003-05-13  Michael Koch  <konqueror@gmx.de>
4136
4137         * gnu/java/nio/ByteBufferImpl.java
4138         (ByteBufferImpl): All constructors revised.
4139         (slice): Reimplemented.
4140         (duplicate): Reimplemented.
4141         (asReadOnlyBuffer): Reimplemented.
4142         * java/nio/ByteBuffer.java:
4143         Reformatted.
4144         (array_offset): Renamed from "offset" to match all other buffer
4145         classes.
4146         (ByteBuffer): All constructors revised.
4147         (allocateDirect): Implemented.
4148         (allocate): New implementation, documentation reworked.
4149         (wrap): Likewise.
4150         (get): Documentation reworked.
4151         (put): New implementation, documentation reworked.
4152         (hasArray): Documentation reworked.
4153         (arrayOffset): Likewise.
4154         (hashCode): Likewise.
4155         (equals): Likewise.
4156         (compareTo): Likewise.
4157         (order): Likewise.
4158         (compact): Likewise.
4159         (isDirect): Likewise.
4160         (slice): Likewise.
4161         (duplicate): Likewise.
4162         (asReadOnlyBuffer): Likewise.
4163         * Makefile.am
4164         (ordinary_java_source_files):
4165         Added gnu/java/nio/DirectByteBufferImpl.java.
4166         (nat_source_files):
4167         Added gnu/java/nio/natDirectByteBufferImpl.cc.
4168         * Makefile.in: Regenerated.
4169
4170 2003-05-12  Michael Koch  <konqueror@gmx.de>
4171
4172         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
4173         (nio_get_*): Removed.
4174         (nio_put_*): Removed.
4175         (as*Buffer): Implemented.
4176         (compact): Implemented.
4177         (get): Documentation added.
4178         (put): Documentation added.
4179         (get*): Newly implemented.
4180         (put*): Newly implemented.
4181         * gnu/java/nio/CharBufferImpl.java: Reformatted.
4182         (CharBufferImpl): Revised.
4183         (slice): New implementation.
4184         (duplicate): New implementation.
4185         (compact): New implementation.
4186         (asReadOnlyBuffer): New implementation.
4187         (get): Documentation revised.
4188         (order): Return native byte order.
4189         * gnu/java/nio/DirectByteBufferImpl.java
4190         (allocateDirect): objects can be null not 0.
4191         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
4192         (DoubleBufferImpl): 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/FloatBufferImpl.java: Reformatted.
4200         (FloatBufferImpl): 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/IntBufferImpl.java: Reformatted.
4208         (IntBufferImpl): 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/LongBufferImpl.java: Reformatted.
4216         (LongBufferImpl): 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         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
4224         (ShortBufferImpl): Revised.
4225         (slice): New implementation.
4226         (duplicate): New implementation.
4227         (compact): New implementation.
4228         (asReadOnlyBuffer): New implementation.
4229         (get): Documentation revised.
4230         (order): Return native byte order.
4231         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
4232         (CharBuffer): Revised.
4233         (order): Removed.
4234         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
4235         (DoubleBuffer): Revised.
4236         (allocateDirect): Removed.
4237         (order): Removed.
4238         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
4239         (FloatBuffer): Revised.
4240         (allocateDirect): Removed.
4241         (order): Removed.
4242         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
4243         (IntBuffer): Revised.
4244         (allocateDirect): Removed.
4245         (order): Removed.
4246         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
4247         (LongBuffer): Revised.
4248         (allocateDirect): Removed.
4249         (order): Removed.
4250         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
4251         (ShortBuffer): Revised.
4252         (allocateDirect): Removed.
4253         (order): Removed.
4254         * gnu/java/nio/natByteBufferImpl.cc: Removed.
4255         * gnu/java/nio/natCharBufferImpl.cc: Removed.
4256         * Makefile.am
4257         (ordinary_java_source_files): Added the following files:
4258         gnu/java/nio/CharViewBufferImpl.java,
4259         gnu/java/nio/DoubleViewBufferImpl.java,
4260         gnu/java/nio/FloatViewBufferImpl.java,
4261         gnu/java/nio/IntViewBufferImpl.java,
4262         gnu/java/nio/LongViewBufferImpl.java,
4263         gnu/java/nio/ShortViewBufferImpl.java
4264         (nat_source_files): Removed the following files:
4265         gnu/java/nio/natByteBufferImpl.cc,
4266         gnu/java/nio/natCharBufferImpl.cc
4267         * Makefile.in: Regenerated.
4268
4269 2003-05-12  Michael Koch  <konqueror@gmx.de>
4270
4271         * gnu/java/nio/CharViewBufferImpl.java,
4272         gnu/java/nio/DirectByteBufferImpl.java,
4273         gnu/java/nio/DoubleViewBufferImpl.java,
4274         gnu/java/nio/FloatViewBufferImpl.java,
4275         gnu/java/nio/IntViewBufferImpl.java,
4276         gnu/java/nio/LongViewBufferImpl.java,
4277         gnu/java/nio/ShortViewBufferImpl.java,
4278         gnu/java/nio/natDirectByteBufferImpl.cc:
4279         New files, not yet to be compiled.
4280
4281 2003-05-10  Michael Koch  <konqueror@gmx.de>
4282
4283         * javax/swing/plaf/ButtonUI.java,
4284         javax/swing/plaf/ColorUIResource.java,
4285         javax/swing/plaf/ComponentUI.java,
4286         javax/swing/plaf/DimensionUIResource.java,
4287         javax/swing/plaf/FontUIResource.java,
4288         javax/swing/plaf/IconUIResource.java,
4289         javax/swing/plaf/InsetsUIResource.java,
4290         javax/swing/plaf/LabelUI.java,
4291         javax/swing/plaf/ListUI.java,
4292         javax/swing/plaf/OptionPaneUI.java,
4293         javax/swing/plaf/PanelUI.java,
4294         javax/swing/plaf/TabbedPaneUI.java,
4295         javax/swing/plaf/TextUI.java,
4296         javax/swing/plaf/TreeUI.java,
4297         javax/swing/plaf/ViewportUI.java,
4298         javax/swing/plaf/basic/BasicBorders.java,
4299         javax/swing/plaf/basic/BasicButtonUI.java,
4300         javax/swing/plaf/basic/BasicCheckBoxUI.java,
4301         javax/swing/plaf/basic/BasicDefaults.java,
4302         javax/swing/plaf/basic/BasicGraphicsUtils.java,
4303         javax/swing/plaf/basic/BasicIconFactory.java,
4304         javax/swing/plaf/basic/BasicLabelUI.java,
4305         javax/swing/plaf/basic/BasicListUI.java,
4306         javax/swing/plaf/basic/BasicOptionPaneUI.java,
4307         javax/swing/plaf/basic/BasicPanelUI.java,
4308         javax/swing/plaf/basic/BasicRadioButtonUI.java,
4309         javax/swing/plaf/basic/BasicScrollPaneUI.java,
4310         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
4311         javax/swing/plaf/basic/BasicTextUI.java,
4312         javax/swing/plaf/basic/BasicToggleButtonUI.java,
4313         javax/swing/plaf/basic/BasicTreeUI.java,
4314         javax/swing/plaf/basic/BasicViewportUI.java,
4315         javax/swing/plaf/metal/MetalLookAndFeel.java:
4316         New versions from classpath. This adds copyrights to all files and
4317         some serialVersionUIDs.
4318
4319 2003-05-10  Michael Koch  <konqueror@gmx.de>
4320
4321         * java/nio/CharBuffer.java
4322         (offset): Make it package-private.
4323         (backing_buffer): Likewise.
4324         * java/nio/DoubleBuffer.java
4325         (offset): Make it package-private.
4326         (backing_buffer): Likewise.
4327         (put): Reformatted.
4328         * java/nio/FloatBuffer.java
4329         (offset): Make it package-private.
4330         (backing_buffer): Likewise.
4331         * java/nio/IntBuffer.java
4332         (offset): Make it package-private.
4333         (backing_buffer): Likewise.
4334         * java/nio/LongBuffer.java
4335         (offset): Make it package-private.
4336         (backing_buffer): Likewise.
4337         * java/nio/ShortBuffer.java
4338         (offset): Make it package-private.
4339         (backing_buffer): Likewise.
4340
4341 2003-05-10  Michael Koch  <konqueror@gmx.de>
4342
4343         * java/nio/CharBuffer.java
4344         (put): Fixed precondtion check.
4345         (toString): Make it work without backing array.
4346         (put): Skip one level of method calling.
4347
4348 2003-05-10  Michael Koch  <konqueror@gmx.de>
4349
4350         * java/security/Identity.java,
4351         java/security/IdentityScope.java,
4352         java/security/Key.java,
4353         java/security/KeyPair.java,
4354         java/security/PrivateKey.java,
4355         java/security/Provider.java,
4356         java/security/PublicKey.java,
4357         java/security/SecureRandom.java,
4358         java/security/SecureRandomSpi.java,
4359         java/security/SignedObject.java,
4360         java/security/Signer.java,
4361         java/security/cert/Certificate.java,
4362         java/security/cert/PKIXCertPathBuilderResult.java,
4363         java/security/cert/X509Certificate.java:
4364         New versions from classpath.
4365
4366 2003-05-09  Tom Tromey  <tromey@redhat.com>
4367
4368         * Makefile.in: Rebuilt.
4369         * Makefile.am (nat_source_files): Removed old files.
4370         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
4371         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
4372         * gnu/java/nio/natIntBufferImpl.cc: Removed.
4373         * gnu/java/nio/natLongBufferImpl.cc: Removed.
4374         * gnu/java/nio/natShortBufferImpl.cc: Removed.
4375
4376 2003-05-09  Michael Koch  <konqueror@gmx.de>
4377
4378         * gnu/java/nio/ByteBufferImpl.java
4379         (nio_cast): Removed.
4380         (ByteBufferImpl): Removed.
4381         (nio_get_Byte): Removed.
4382         (nio_put_Byte): Removed.
4383         (asByteBuffer): Removed.
4384         (asCharBuffer): Removed implementation and throw exception.
4385         (asShortBuffer): Likewise.
4386         (asIntBuffer): Likewise.
4387         (asLongBuffer): Likewise.
4388         (asFloatBuffer): Likewise.
4389         (asDoubleBuffer): Likewise.
4390         * gnu/java/nio/CharBufferImpl.java
4391         (CharBufferImpl): Removed.
4392         (nio_get_Byte): Removed.
4393         (nio_put_Byte): Removed.
4394         (asByteBuffer): Removed.
4395         * gnu/java/nio/DoubleBufferImpl.java
4396         (DoubleBufferImpl): Removed.
4397         (nio_get_Byte): Removed.
4398         (nio_put_Byte): Removed.
4399         (asByteBuffer): Removed.
4400         * gnu/java/nio/FloatBufferImpl.java
4401         (FloatBufferImpl): Removed.
4402         (nio_get_Byte): Removed.
4403         (nio_put_Byte): Removed.
4404         (asByteBuffer): Removed.
4405         * gnu/java/nio/IntBufferImpl.java
4406         (IntBufferImpl): Removed.
4407         (nio_get_Byte): Removed.
4408         (nio_put_Byte): Removed.
4409         (asByteBuffer): Removed.
4410         * gnu/java/nio/LongBufferImpl.java
4411         (LongBufferImpl): Removed.
4412         (nio_get_Byte): Removed.
4413         (nio_put_Byte): Removed.
4414         (asByteBuffer): Removed.
4415         * gnu/java/nio/ShortBufferImpl.java
4416         (ShortBufferImpl): Removed.
4417         (nio_get_Byte): Removed.
4418         (nio_put_Byte): Removed.
4419         (asByteBuffer): Removed.
4420         * gnu/java/nio/natByteBufferImpl.cc
4421         (nio_cast): Removed.
4422         (nio_get_Byte): Removed.
4423         (nio_put_Byte): Removed.
4424         * gnu/java/nio/natCharBufferImpl.cc
4425         (nio_get_Byte): Removed.
4426         (nio_put_Byte): Removed.
4427
4428 2003-05-09  Michael Koch  <konqueror@gmx.de>
4429
4430         * java/net/JarURLConnection.java
4431         (getJarEntry): Merged documentation from classpath.
4432         (getJarFile): Likewise.
4433         (getMainAttributes): Likewise.
4434         (getAttributes): Likewise.
4435         (getManifest): Likewise.
4436         (getCertificates): Reformatted.
4437         * java/net/URLConnection.java:
4438         Little classpath merge.
4439
4440 2003-05-09  Michael Koch  <konqueror@gmx.de>
4441
4442         * java/io/DataOutputStream.java
4443         (writeShort): Made it synchronized.
4444         (writeChar): Likewise.
4445         (writeInt): Likewise.
4446         (writeLong): Liekwise.
4447         (writeUTF): Made it synchronized, renamed argument to match classpath.
4448         * java/io/InputStreamReader.java
4449         (converter): Added documentation.
4450         (read): Merged documentation from classpath.
4451         * java/io/OutputStreamWriter.java
4452         (OutputStreamWriter): Merged documentation from classpath.
4453         (close): Reformatted.
4454         (getEncoding): Likewise.
4455         (flush): Likewise.
4456         (write): Merged documentation from classpath, reformatted.
4457
4458 2003-05-08  Tom Tromey  <tromey@redhat.com>
4459
4460         * configure.host <powerpc64*-*>: Set with_libffi_default and
4461         libgcj_interpreter to "yes".
4462
4463 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
4464
4465         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
4466         
4467 2003-05-06  Tom Tromey  <tromey@redhat.com>
4468
4469         * verify.cc: Reverted previous patch.
4470
4471 2003-05-06  Michael Koch  <konqueror@gmx.de>
4472
4473         * java/io/DataOutputStream.java
4474         (write): Renamed argument to "value", merged documentation from
4475         classpath.
4476         (writeBoolean): Likewise.
4477         (writeByte): Likewise.
4478         (writeShort): Likewise.
4479         (writeChar): Likewise.
4480         (writeInt): Likewise.
4481         (writeLong): Likewise.
4482         (writeFloat): Likewise.
4483         (writeDouble): Likewise.
4484         (writeBytes): Likewise.
4485         (writeChars): Likewise.
4486         (writeUTF): Likewise.
4487         * java/io/File.java
4488         (performDelete): Added documentation.
4489         (performList): Likewise.
4490         (performMkdir): Likewise.
4491         (performSetReadOnly): Likewise.
4492         (performRenameTo): Likewise.
4493         (performSetLastModified): Likewise.
4494         (delete): Made it sychronized.
4495         (renameTo): Made it sychronized.
4496         (equals): Reformatted.
4497         (isHidden): Likewise.
4498         (listFiles): Likewise.
4499         (setReadOnly): Likewise.
4500         (listRoots): Likewise.
4501         (setLastModified): Likewise.
4502         (checkRead): Likewise.
4503         (checkWrite): Likewise.
4504         * java/io/FileInputStream.java
4505         (skip): Made it sychronized, merged from classpath.
4506         * java/io/FileOutputStream.java
4507         (write): Merged from classpath.
4508         * java/io/InputStreamReader.java:
4509         (InputStreamReader): Merged documentation from classpath.
4510
4511 2003-05-05  Michael Koch  <konqueror@gmx.de>
4512
4513         * java/net/NetworkInterface.java
4514         (networkInterfaces): Removed.
4515         (getByName): Use getRealNetworkInterfaces() instead of
4516         networkInterfaces.
4517         (getByInetAddress): Likewise.
4518         (getNetworkInterfaces): Likewise.
4519         (toString): Fix output of addresses of an interface.
4520
4521 2003-05-05  Michael Koch  <konqueror@gmx.de>
4522
4523         * java/io/DataInputStream.java:
4524         Merged new documentation from classpath.
4525
4526 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
4527
4528         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
4529         "version".
4530         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
4531         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
4532         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
4533         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
4534         * gnu/awt/gtk/GtkMainThread.java: Likewise.
4535         * gnu/awt/gtk/GtkToolkit.java: Likewise.
4536         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
4537         * java/security/Key.java: Likewise.
4538         * java/security/PrivateKey.java: Likewise.
4539         * java/security/Provider.java: Likewise.
4540         * java/security/PublicKey.java: Likewise.
4541
4542 2003-05-02  Michael Koch  <konqueror@gmx.de>
4543
4544         * java/net/URI.java
4545         (create): Doesnt throws any exceptions.
4546         * java/net/URLConnection.java
4547         (URLConnection): Commend added.
4548         (getExpiration): The header field is called "expires" not
4549         "expiration".
4550         (getHeaderField): Merged documentation with classpath.
4551         (getHeaderFieldInt): Likewise.
4552         (getHeaderFieldDate): Likewise.
4553         (getHeaderFieldKey): Likewise.
4554         (getPermission): Likewise.
4555         (setDefaultUseCaches): Likewise.
4556         (setRequestProperty): Likewise.
4557         (addRequestProperty): Likewise.
4558         (getRequestProperty): Likewise.
4559         (getRequestProperties): Likewise.
4560         (setDefaultRequestProperty): Likewise.
4561         (getDefaultRequestProperty): Likewise.
4562         (guessContentTypeFromStream): Likewise.
4563         (getFileNameMap): Likewise.
4564         (setFileNameMap): Likewise.
4565         (setDoInput): Merged implementation and documentation with classpath.
4566         (setDoOutput): Likewise.
4567         (setAllowUserInteraction): Likewise.
4568         (setDefaultAllowUserInteraction): Likewise.
4569         (setContentHandlerFactory): Made it synchronized, merged documentation
4570         with classpath.
4571         (guessContentTypeFromName): Renamed argument fname to filename to
4572         match classpath, merged documentation with classpath.
4573
4574 2003-05-02  Michael Koch  <konqueror@gmx.de>
4575
4576         * java/net/JarURLConnection.java
4577         (JarURLConnection): Class documentation merged with classpath.
4578         (getJarFileURL): Moved and documentation merged with classpath.
4579         (getEntryName): Likewise.
4580         (JarURLConnection): Documentation merged with classpath.
4581         (getJarEntry): Likewise.
4582         (getJarFile): Likewise.
4583         * java/net/PlainDatagramSocketImpl.java:
4584         Class documentation moved.
4585         * java/net/URLConnection.java
4586         (fileNameMap): Moved and documentation merged with classpath.
4587         (factory): Likewise.
4588         (defaultAllowUserInteraction): Likewis.
4589         (defaultUseCaches): Likewise.
4590         (allowUserInteraction): Likewise.
4591         (connected): Likewise.
4592         (url): Likewise.
4593         (connect): Documentation merged with classpath.
4594         (getURL): Likewise.
4595         (getContentLength): Likewise.
4596         (getContentType): Likewise.
4597         (getContentEncoding): Likewise.
4598         (getExpiration): Likewise.
4599         (getDate): Likewise.
4600         (getLastModified): Likewise.
4601         (getHeaderField): Likewise.
4602         (getContent): Likewise.
4603         (getPermission): Likewise.
4604         (getInputStream): Likewise.
4605         (getOutputStream): Likewise.
4606         (toString): Likewise.
4607         (getDoInput): Likewise.
4608         (getDoOutput): Likewise.
4609         (setAllowUserInteraction): Likewise.
4610         (getAllowUserInteraction): Likewise.
4611         (setDefaultAllowUserInteraction): Likewise.
4612         (getDefaultAllowUserInteraction): Likewise.
4613         (setUseCaches): Likewise.
4614         (getUseCaches): Likewise.
4615         (setIfModifiedSince): Likewise.
4616         (getIfModifiedSince): Likewise.
4617         (setDefaultRequestProperty): Likewise.
4618         (getDefaultRequestProperty): Likewise.
4619         (setContentHandlerFactory): Likewise.
4620         (setFileNameMap): Likewise.
4621
4622 2003-05-02  Michael Koch  <konqueror@gmx.de>
4623
4624         * java/net/InetAddress.java:
4625         Merged class documentation with classpath.
4626         * java/net/JarURLConnection.java:
4627         Explicitely import all used classes.
4628         * java/net/URL.java:
4629         Reformatting.
4630         * java/net/ServerSocket.java,
4631         java/net/Socket.java:
4632         New versions from classpath.
4633
4634 2003-05-02  Michael Koch  <konqueror@gmx.de>
4635
4636         * gnu/java/nio/FileChannelImpl.java
4637         (read): New implementation.
4638         (implRead): New methods.
4639         (write): New implementation, call other write insteal of read method.
4640         (implWrite): New methods.
4641         (map): Added comment.
4642         (transferFrom): Implemented.
4643         (transferTo): Implemented.
4644         (lock): Added checks to throw exceptions.
4645         (truncate): Added check to throw exception.
4646         * gnu/java/nio/natFileChannelImpl.cc
4647         (implRead): New method.
4648         (implWrite): New method.
4649         * java/nio/ByteBuffer.java
4650         (hashCode): Fixed comment.
4651         (get): Fixed exception documentation.
4652         (put): Fixed exception documentation.
4653         * java/nio/CharBuffer.java:
4654         Added comment for later optimizations.
4655
4656 2003-04-30  Tom Tromey  <tromey@redhat.com>
4657
4658         PR libgcj/10582:
4659         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
4660         Removed.
4661         (type::compatible): Use _Jv_IsAssignableFrom.
4662         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
4663         (_Jv_IsAssignableFrom): Work even when source or target class is
4664         not prepared.
4665
4666 2003-04-30  Michael Koch  <konqueror@gmx.de>
4667
4668         * java/text/BreakIterator.java
4669         (clone): New method.
4670
4671 2003-04-30  Michael Koch  <konqueror@gmx.de>
4672
4673         * java/text/CollationElementIterator.java,
4674         java/text/CollationKey.java,
4675         java/text/RuleBasedCollator.java:
4676         Merged copyright and documentation from classpath and
4677         rearranged some code. No code changes done.
4678
4679 2003-04-30  Michael Koch  <konqueror@gmx.de>
4680
4681         * java/util/regex/Matcher.java
4682         (pattern): New member variable.
4683         (appendReplacement): New method.
4684         (appendTail): New method.
4685         (end): New method.
4686         (find): New method.
4687         (group): New method.
4688         (replaceFirst): Added documentation.
4689         (replaceAll): Added documentation.
4690         (groupCount): New method.
4691         (lookingAt): New method.
4692         (matches): New method.
4693         (reset): New method.
4694         (start): New method.
4695         * java/util/regex/Pattern.java
4696         (serialVersionUID): New constant.
4697         (CANON_EQ): New constant.
4698         (CASE_INSENSITIVE): New constant.
4699         (COMMENTS): New constant.
4700         (DOTALL): New constant.
4701         (MULTILINE): New constant.
4702         (UNICODE_CASE): New constant.
4703         (UNIX_LINES): New constant.
4704         (regex): New member variable.
4705         (flags): New member variable.
4706         (Pattern): New method.
4707         (compile): Documentation added.
4708         (flags): New method.
4709         (matches): Documentation added.
4710         (matcher): Documentation added.
4711         (split): Documentation added.
4712         (pattern): New method.
4713
4714 2003-04-30  Michael Koch  <konqueror@gmx.de>
4715
4716         * gnu/java/security/Engine.java,
4717         gnu/java/security/OID.java,
4718         gnu/java/security/der/BitString.java,
4719         gnu/java/security/der/DER.java,
4720         gnu/java/security/der/DERReader.java,
4721         gnu/java/security/der/DERValue.java,
4722         gnu/java/security/der/DERWriter.java,
4723         gnu/java/security/provider/DSAKeyFactory.java,
4724         gnu/java/security/provider/X509CertificateFactory.java,
4725         gnu/java/security/x509/X500DistinguishedName.java,
4726         gnu/java/security/x509/X509CRL.java,
4727         gnu/java/security/x509/X509CRLEntry.java,
4728         gnu/java/security/x509/X509Certificate.java,
4729         java/security/cert/CRLSelector.java,
4730         java/security/cert/CertPathBuilder.java,
4731         java/security/cert/CertPathBuilderResult.java,
4732         java/security/cert/CertPathBuilderSpi.java,
4733         java/security/cert/CertPathParameters.java,
4734         java/security/cert/CertPathValidator.java,
4735         java/security/cert/CertPathValidatorResult.java,
4736         java/security/cert/CertPathValidatorSpi.java,
4737         java/security/cert/CertSelector.java,
4738         java/security/cert/CertStore.java,
4739         java/security/cert/CertStoreParameters.java,
4740         java/security/cert/CertStoreSpi.java,
4741         java/security/cert/CollectionCertStoreParameters.java,
4742         java/security/cert/LDAPCertStoreParameters.java,
4743         java/security/cert/PKIXBuilderParameters.java,
4744         java/security/cert/PKIXCertPathBuilderResult.java,
4745         java/security/cert/PKIXCertPathChecker.java,
4746         java/security/cert/PKIXCertPathValidatorResult.java,
4747         java/security/cert/PKIXParameters.java,
4748         java/security/cert/PolicyNode.java,
4749         java/security/cert/PolicyQualifierInfo.java,
4750         java/security/cert/TrustAnchor.java,
4751         javax/security/auth/x500/X500Principal.java:
4752         New files from classpath.
4753         * gnu/java/io/ASN1ParsingException.java,
4754         gnu/java/io/Base64InputStream.java,
4755         gnu/java/security/der/DEREncodingException.java,
4756         gnu/java/security/provider/DSAParameters.java,
4757         gnu/java/security/provider/DSASignature.java,
4758         gnu/java/security/provider/Gnu.java,
4759         gnu/java/security/provider/GnuDSAPrivateKey.java,
4760         gnu/java/security/provider/GnuDSAPublicKey.java,
4761         java/security/AlgorithmParameterGenerator.java,
4762         java/security/AlgorithmParameters.java,
4763         java/security/KeyFactory.java,
4764         java/security/KeyPairGenerator.java,
4765         java/security/KeyStore.java,
4766         java/security/MessageDigest.java,
4767         java/security/SecureClassLoader.java,
4768         java/security/SecureRandom.java,
4769         java/security/Security.java,
4770         java/security/Signature.java,
4771         java/security/cert/Certificate.java,
4772         java/security/cert/CertificateFactory.java,
4773         java/security/cert/CertificateFactorySpi.java,
4774         java/security/cert/X509CRL.java,
4775         java/security/cert/X509Certificate.java,
4776         java/security/spec/DSAPublicKeySpec.java:
4777         New versions from classpath.
4778         * gnu/java/security/provider/DERReader.java,
4779         gnu/java/security/provider/DERWriter.java,
4780         java/security/Engine.java: Removed.
4781         * Makefile.am
4782         (java_source_files, javax_source_files): Added new files.
4783         * Makefile.in: Regenerated.
4784
4785 2003-04-29  Michael Koch  <konqueror@gmx.de>
4786
4787         * javax/swing/JTable.java
4788         (AUTO_RESIZE_ALL_COLUMNS): New constant.
4789         (AUTO_RESIZE_LAST_COLUMN): New constant.
4790         (AUTO_RESIZE_NEXT_COLUMN): New constant.
4791         (AUTO_RESIZE_OFF): New constant.
4792         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
4793         (JTable): New method.
4794         (columnAdded): New method.
4795         (columnMarginChanged): New method.
4796         (columnMoved): New method.
4797         (columnRemoved): New method.
4798         (columnSelectionChanged): New method.
4799         (editingCanceled): New method.
4800         (editingStopped): New method.
4801         (getColumnModel): New method.
4802         (getPreferredScrollableViewportSize): New method.
4803         (getScrollableBlockIncrement): New method.
4804         (getScrollableTracksViewportHeight): New method.
4805         (getScrollableTracksViewportWidth): New method.
4806         (getScrollableUnitIncrement): New method.
4807         (getSelectedRow): New method.
4808         (getSelectionModel): New method.
4809         (tableChanged): New method.
4810         (setModel): New method.
4811         (setSelectionMode): New method.
4812         (setSelectionModel): New method.
4813         (setShowGrid): New method.
4814         (valueChanged): New method.
4815         * javax/swing/text/DefaultEditorKit.java
4816         (backwardAction): New constant.
4817         (beepAction): New constant.
4818         (beginAction): New constant.
4819         (beginLineAction): New constant.
4820         (beginParagraphAction): New constant.
4821         (beginWordAction): New constant.
4822         (copyAction): New constant.
4823         (cutAction): New constant.
4824         (defaultKeyTypedAction): New constant.
4825         (deleteNextCharAction): New constant.
4826         (deletePrevCharAction): New constant.
4827         (downAction): New constant.
4828         (endAction): New constant.
4829         (endLineAction): New constant.
4830         (endOfLineStringProperty): New constant.
4831         (endParagraphAction): New constant.
4832         (endWordAction): New constant.
4833         (forwardAction): New constant.
4834         (insertBreakAction): New constant.
4835         (insertContentAction): New constant.
4836         (insertTabAction): New constant.
4837         (nextWordAction): New constant.
4838         (pageDownAction): New constant.
4839         (pageUpAction): New constant.
4840         (pasteAction): New constant.
4841         (previousWordAction): New constant.
4842         (readOnlyAction): New constant.
4843         (selectAllAction): New constant.
4844         (selectionBackwardAction): New constant.
4845         (selectionBeginAction): New constant.
4846         (selectionBeginLineAction): New constant.
4847         (selectionBeginParagraphAction): New constant.
4848         (selectionBeginWordAction): New constant.
4849         (selectionDownAction): New constant.
4850         (selectionEndAction): New constant.
4851         (selectionEndLineAction): New constant.
4852         (selectionEndParagraphAction): New constant.
4853         (selectionEndWordAction): New constant.
4854         (selectionForwardAction): New constant.
4855         (selectionNextWordAction): New constant.
4856         (selectionPreviousWordAction): New constant.
4857         (selectionUpAction): New constant.
4858         (selectLineAction): New constant.
4859         (selectParagraphAction): New constant.
4860         (selectWordAction): New constant.
4861         (upAction): New constant.
4862         (writableAction): New constant.
4863
4864 2003-04-29  Michael Koch  <konqueror@gmx.de>
4865
4866         * java/util/PropertyPermission.java:
4867         New version from classpath
4868         * java/util/ResourceBundle.java:
4869         Partly merged from classpath
4870         (getObject): Reformated.
4871         (tryBundle): Set foundBundle = null if no bundle found.
4872
4873 2003-04-29  Michael Koch  <konqueror@gmx.de>
4874
4875         * javax/swing/AbstractListModel.java,
4876         javax/swing/DefaultBoundedRangeModel.java,
4877         javax/swing/DefaultSingleSelectionModel.java:
4878         New Versions from classpath.
4879
4880 2003-04-29  Michael Koch  <konqueror@gmx.de>
4881
4882         * java/awt/Window.java
4883         (show): Call super.show() instead of setVisible() to avoid endless
4884         loop.
4885         (hide): Call super.hide() instead of setVisible() to avoid endless
4886         loop.
4887
4888 2003-04-29  Michael Koch  <konqueror@gmx.de>
4889
4890         * java/util/zip/Deflater.java,
4891         java/util/zip/DeflaterOutputStream.java:
4892         Partly merged with classpath.
4893
4894 2003-04-27  Tom Tromey  <tromey@redhat.com>
4895
4896         * java/lang/natString.cc (_Jv_AllocString): Initialize
4897         cachedHashCode.
4898         (init): Likewise.
4899         (_Jv_NewStringUtf8Const): Likewise.
4900
4901 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
4902
4903         * include/jvm.h: (_Jv_GetNbArgs) added
4904         (_Jv_GetSafeArg) added
4905         (_Jv_SetArgs) added
4906         * prims.cc: (_Jv_GetNbArgs) implemented
4907         (_Jv_GetSafeArg) implemented
4908         (_Jv_SetArgs) implemented
4909         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
4910         setting _Jv_argc and _Jv_argv
4911         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
4912         instead of _Jv_argv
4913         * java/lang/natRuntime.cc: (insertSystemProperties) use
4914         _Jv_GetSafeArg() instead of _Jv_argv
4915
4916 2003-04-23  Tom Tromey  <tromey@redhat.com>
4917
4918         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
4919         required by this object.  Search superclasses to find required
4920         alignment.
4921         (get_alignment_from_class): Use alignment of type as it appears
4922         in a struct.
4923         (ALIGNOF): New macro.
4924         (struct aligner): New helper structure.
4925
4926 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
4927
4928         * java/awt/Container.java (addImpl): Enable paint events if adding
4929         a lightweight to a heavyweight.
4930         (addNotify): Ensure that peer is created before
4931         addNotifyContainerChildren.
4932         (addNotifyContainerChildren): Enable paint events if a heavyweight
4933         container contains a lightweight.
4934
4935 2003-04-20  Tom Tromey  <tromey@redhat.com>
4936
4937         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
4938         java/io/DataInput.java, java/io/DataOutput.java: Imports from
4939         Classpath.
4940
4941 2003-04-19  Tom Tromey  <tromey@redhat.com>
4942
4943         * java/sql/Date.java, java/sql/DriverManager.java,
4944         java/sql/Time.java, java/sql/Timestamp.java: New versions from
4945         Classpath.
4946
4947         * Makefile.in: Rebuilt.
4948         * Makefile.am (ordinary_java_source_files): Added new files.
4949         * java/security/AlgorithmParameterGenerator.java,
4950         java/security/AlgorithmParameters.java, java/security/Engine.java,
4951         java/security/Identity.java, java/security/IdentityScope.java,
4952         java/security/KeyFactory.java,
4953         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
4954         java/security/MessageDigest.java, java/security/Policy.java,
4955         java/security/ProtectionDomain.java,
4956         java/security/SecureRandom.java, java/security/Security.java,
4957         java/security/Signature.java, java/security/SignatureSpi.java,
4958         java/security/SignedObject.java, java/security/Signer.java,
4959         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
4960         java/security/spec/PSSParameterSpec.java,
4961         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
4962         java/security/spec/RSAOtherPrimeInfo.java: New versions from
4963         Classpath.
4964
4965 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
4966
4967         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
4968         (dispose): Null metrics.
4969         * gnu/awt/xlib/XToolkit.java (sync): Implement.
4970         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
4971         finalize.
4972         (finalize): Call dispose.
4973         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
4974         (gcCachedCount): New field.
4975         (finalize): New method.
4976         (putGCInCache): New method.
4977         (getGCFromCache): New method.
4978         * gnu/gcj/xlib/GC.java (GC): Make protected.
4979         (clone): Get new GC from cache if possible.
4980         (create): New static method.
4981         (dispose): Save old GC in cache.
4982         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
4983         deleting.
4984         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
4985         is null.
4986         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
4987         * java/awt/Container.java (visitChild): Dispose gfx2 when
4988         finished.
4989
4990 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
4991
4992         * java/math/BigInteger.java (probablePrime): New.
4993         * java/math/BigDecimal.java (unscaledValue): New.
4994
4995 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
4996
4997         * java/io/File.java (getAbsolutePath): On Windows, take care
4998         of paths like "C:", "G:foo\bar", etc.
4999         (getName): Make it work correctly on Windows.
5000         (getParent): Make it work correctly on Windows. For UNIX,
5001         fix bug that causes "/" to be returned as the parent of "/",
5002         instead of null as returned by Sun's JRE.
5003
5004         * java/io/natFileWin32.cc: Change copyright owner to FSF.
5005
5006 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
5007
5008         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
5009         inner class.
5010         (CACHE_SIZE_PER_DISPLAY): New field
5011         (fontMetricsCache): New field
5012         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
5013         loading ISO10646-1 fonts.
5014
5015 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
5016
5017         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
5018         characters.
5019         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
5020         characters.
5021
5022 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
5023
5024         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
5025         floating point.
5026
5027 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
5028
5029         * configure.host (*-linux*): Don't set slow_pthread_self if primary
5030         installed libpthread is either linuxthreads with floating stacks or
5031         NPTL.
5032
5033 2003-04-14  Tom Tromey  <tromey@redhat.com>
5034
5035         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
5036         of alignment.
5037
5038 2003-04-10  Tom Tromey  <tromey@redhat.com>
5039
5040         * verify.cc (pop64): Removed.
5041         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
5042         exception if top-of-stack is narrow.
5043         (initialize_stack): Check to ensure that <init> is not static and
5044         <clinit> is.
5045
5046 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
5047
5048         * java/io/ObjectStreamException
5049         * java/io/FileFilter
5050         * java/io/FilenameFilter
5051         * java/io/ObjectInput
5052         * java/io/ObjectOutput
5053         * java/io/ObjectStreamConstants
5054         Minor doc fixes, format fixes, spelling corrections, etc.
5055         * java/io/DataInput
5056         Corrected code samples in Javadocs to match reality
5057         * java/io/DataOutput
5058         * java/io/ObjectInputValidation
5059         Major documentation fixes - all Javadocs re-written or updated
5060
5061 2003-04-06  Michael Koch  <konqueror@gmx.de>
5062
5063         * java/net/URLConnection.java:
5064         Import classes directly.
5065         (URLConnection): Merged class documentation with classpath.
5066         (url): Moved, documentation from classpath added.
5067         (doInput): Moved, documentation from classpath added.
5068         (doOutput): Moved, documentation from classpath added.
5069         (allowUserInteraction): Moved.
5070         (useCaches): Moved, documentation from classpath added.
5071         (ifModifiedSince): Moved, documentation from classpath added.
5072         (connected): Moved, documentation from classpath added.
5073
5074 2003-04-06  Michael Koch  <konqueror@gmx.de>
5075
5076         * java/io/FileInputStream.java
5077         (skip): Renamed some variables to match classpath, added
5078         checks from classpath.
5079
5080 2003-03-31  Michael Koch  <konqueror@gmx.de>
5081
5082         * javax/swing/AbstractAction.java
5083         (AbstractAction): Reformatted.
5084         (serialVersionUID): New private member variable.
5085         * javax/swing/plaf/BorderUIResource.java
5086         (serialVersionUID): New private member variable.
5087         * javax/swing/plaf/basic/BasicLookAndFeel.java
5088         (serialVersionUID): New private member variable.
5089
5090 2003-03-31  Michael Koch  <konqueror@gmx.de>
5091
5092         * java/sql/Date.java
5093         (valueOf): Deprecated, reformatted.
5094         (toString): Deprecated, reformatted.
5095         * java/sql/Time.java
5096         (valueOf): Deprecated, reformatted.
5097         (toString): Deprecated, reformatted.
5098
5099 2003-03-31  Michael Koch  <konqueror@gmx.de>
5100
5101         * java/rmi/dgc/VMID.java
5102         (isUnique): Deprecated.
5103
5104 2003-03-31  Michael Koch  <konqueror@gmx.de>
5105
5106         * java/io/File.java
5107         (separator): Merged documentation from classpath.
5108         (separatorChar): Merged documentation from classpath.
5109         (pathSeparator): Merged documentation from classpath.
5110         (pathSeparatorChar): Merged documentation from classpath.
5111         (path): Merged documentation from classpath.
5112         (canRead): Merged documentation from classpath.
5113         (canWrite): Merged documentation from classpath.
5114         (createNewFile): Merged documentation from classpath.
5115         (delete): Merged documentation from classpath.
5116         (equals): Merged documentation from classpath.
5117         (exists): Merged documentation from classpath.
5118         (File): Renamed p to name to match classpath, merged documentation
5119         from classpath.
5120         (getAbsolutePath): Merged documentation from classpath.
5121         (getCanonicalPath): Merged documentation from classpath.
5122         (getCanonicalFile): Merged documentation from classpath.
5123         (getName): Merged documentation from classpath.
5124         (getParent): Merged documentation from classpath.
5125         (getParentFile): Merged documentation from classpath.
5126         (getPath): Merged documentation from classpath.
5127         (hashCode): Merged documentation from classpath.
5128         (isAbsolute): Merged documentation from classpath.
5129         (isDirectory): Merged documentation from classpath.
5130         (isFile): Merged documentation from classpath.
5131         (isHidden): Merged documentation from classpath.
5132         (lastModified): Merged documentation from classpath.
5133         (length): Merged documentation from classpath.
5134         (list): Merged documentation from classpath.
5135         (listFiles): Merged documentation from classpath.
5136         (toString): Merged documentation from classpath.
5137         (toURL): Merged documentation from classpath.
5138         (mkdir): Merged documentation from classpath.
5139         (mkdirs): Merged documentation from classpath.
5140         (createTempFile): Merged documentation from classpath.
5141         (setReadOnly): Merged documentation from classpath.
5142         (listRoots): Merged documentation from classpath.
5143         (compareTo): Merged documentation from classpath.
5144         (renameTo): Merged documentation from classpath.
5145         (setLastModified): Merged documentation from classpath.
5146         * java/io/PrintStream.java
5147         (auto_flush): Merged documentation from classpath.
5148         (PrintStream): Merged documentation from classpath.
5149         (checkError): Merged documentation from classpath.
5150         (setError): Merged documentation from classpath.
5151         (close): Merged documentation from classpath.
5152         (flush): Merged documentation from classpath.
5153         (print): Merged documentation from classpath.
5154         (println):  Merged documentation from classpath.
5155         (write): Renamed count to len to match classpath,
5156         merged documentation from classpath.
5157         * java/io/RandomAccessFile.java
5158         (readShort): Merged documentation from classpath.
5159         (readUnsignedByte): Merged documentation from classpath.
5160         (readUnsignedShort): Merged documentation from classpath.
5161         (readUTF): Merged documentation from classpath.
5162         (seek): Reformatted, merged documentation from classpath.
5163         (skipBytes): Renamed some variables to match classpath, reformatted,
5164         merged documentation from classpath.
5165         (write): Merged documentation from classpath.
5166         (writeBoolean): Merged documentation from classpath.
5167         (writeByte): Merged documentation from classpath.
5168         (writeShort): Merged documentation from classpath.
5169         (writeChar): Merged documentation from classpath.
5170         (writeInt): Merged documentation from classpath.
5171         (writeLong): Merged documentation from classpath.
5172         (writeFloat): Merged documentation from classpath.
5173         (writeDouble): Merged documentation from classpath.
5174         (writeBytes): Merged documentation from classpath.
5175         (writeChars): Merged documentation from classpath.
5176         (writeUTF): Reformatted.
5177         (getChannel): Reformatted.
5178
5179 2003-03-31  Michael Koch  <konqueror@gmx.de>
5180
5181         * java/awt/font/TextAttribute.java
5182         (readResolve): Throws java.io.InvalidObjectException.
5183
5184 2003-03-31  Michael Koch  <konqueror@gmx.de>
5185
5186         * java/rmi/server/LoaderHandler.java
5187         (loadClass): Deprecated.
5188         (getSecurityContext): Deprecated.
5189         * java/rmi/server/LogStream.java
5190         (getDefaultStream): Deprecated.
5191         (setDefaultStream): Deprecated.
5192         (getOutputStream): Deprecated.
5193         (setOutputStream): Deprecated.
5194         (write): Deprecated.
5195         (toString): Deprecated.
5196         (parseLevel): Deprecated.
5197         * java/rmi/server/Operation.java
5198         (Operation): Deprecated.
5199         (getOperation): Deprecated.
5200         (toString): Deprecated.
5201         * java/rmi/server/RemoteCall.java
5202         (getOutputStream): Deprecated.
5203         (releaseOutputStream): Deprecated.
5204         (getInputStream): Deprecated.
5205         (releaseInputStream): Deprecated.
5206         (getResultStream): Deprecated.
5207         (executeCall): Deprecated.
5208         (done): Deprecated.
5209         * java/rmi/server/RemoteRef.java
5210         (invoke): Deprecated.
5211         (newCall): Deprecated.
5212         (done): Deprecated.
5213         * java/rmi/server/RemoteStub.java
5214         (setRef): Deprecated.
5215         * java/rmi/server/Skeleton.java:
5216         No need to import java.lang.Exception explicitly.
5217         (dispatch): Deprecated.
5218         (getOperations): Deprecated.
5219
5220 2003-03-31  Michael Koch  <konqueror@gmx.de>
5221
5222         * java/rmi/dgc/VMID.java,
5223         java/rmi/registry/RegistryHandler.java,
5224         java/rmi/server/LogStream.java,
5225         java/rmi/server/Operation.java,
5226         java/rmi/server/RemoteCall.java,
5227         java/rmi/server/RemoteRef.java,
5228         java/rmi/server/RemoteStub.java:
5229         Reformatted.
5230
5231 2003-03-31  Michael Koch  <konqueror@gmx.de>
5232
5233         * javax/swing/AbstractCellEditor.java,
5234         javax/swing/AbstractListModel.java,
5235         javax/swing/ActionMap.java,
5236         javax/swing/BorderFactory.java,
5237         javax/swing/ButtonGroup.java,
5238         javax/swing/DefaultBoundedRangeModel.java,
5239         javax/swing/DefaultButtonModel.java,
5240         javax/swing/DefaultCellEditor.java,
5241         javax/swing/DefaultComboBoxModel.java,
5242         javax/swing/DefaultDesktopManager.java,
5243         javax/swing/DefaultListCellRenderer.java,
5244         javax/swing/DefaultSingleSelectionModel.java,
5245         javax/swing/InputMap.java,
5246         javax/swing/JComponent.java,
5247         javax/swing/JMenu.java,
5248         javax/swing/JSlider.java,
5249         javax/swing/KeyStroke.java,
5250         javax/swing/OverlayLayout.java,
5251         javax/swing/ScrollPaneLayout.java,
5252         javax/swing/SizeRequirements.java,
5253         javax/swing/UIManager.java,
5254         javax/swing/ViewportLayout.java,
5255         javax/swing/border/AbstractBorder.java,
5256         javax/swing/colorchooser/DefaultColorSelectionModel.java,
5257         javax/swing/event/EventListenerList.java,
5258         javax/swing/table/AbstractTableModel.java,
5259         javax/swing/table/DefaultTableCellRenderer.java,
5260         javax/swing/table/DefaultTableColumnModel.java,
5261         javax/swing/table/DefaultTableModel.java,
5262         javax/swing/table/TableColumn.java,
5263         javax/swing/text/StyledEditorKit.java,
5264         javax/swing/tree/DefaultMutableTreeNode.java,
5265         javax/swing/tree/DefaultTreeModel.java,
5266         javax/swing/tree/DefaultTreeSelectionModel.java,
5267         javax/swing/tree/TreePath.java,
5268         javax/swing/undo/AbstractUndoableEdit.java,
5269         javax/swing/undo/StateEdit.java,
5270         javax/swing/undo/StateEditable.java,
5271         javax/swing/undo/UndoableEditSupport.java:
5272         Merges from classpath.
5273
5274 2003-03-30  Tom Tromey  <tromey@redhat.com>
5275
5276         * java/lang/String.java (data, boffset, count): Documented.
5277         (String(byte[],String)): Reformatted.
5278         (String(byte[])): Likewise.
5279         (lastIndexOf(int)): Likewise.
5280         (lastIndexOf(String)): Likewise.
5281         (substring(int)): Renamed argument to match Classpath.
5282         (String(StringBuffer)): Don't share buffer if it is nearly empty.
5283
5284         * java/lang/String.java: Miscellaneous minor formatting changes
5285         to match Classpath more closely.
5286
5287 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
5288             Tom Tromey  <tromey@redhat.com>
5289
5290         * java/lang/natString.cc (hashCode): Use cachedHashCode.
5291         (init()): Removed.
5292         (charAt): Put index in exception.
5293         (contentEquals): New method.
5294         Include StringBuffer.h.
5295         * java/lang/String.java (cachedHashCode): New field.
5296         (String()): Follow classpath implementation.
5297         (init()): Removed.
5298         (contentEquals): Declare.
5299         (subSequence): Don't declare IndexOutIfBoundsException in throws
5300         clause.
5301         (matches, replaceFirst, replaceAll, split): New methods from
5302         Classpath.
5303
5304 2003-03-29  Tom Tromey  <tromey@redhat.com>
5305
5306         * java/lang/String.java: Reordered to follow Classpath; merged in
5307         javadoc.
5308
5309         * java/text/MessageFormat.java: Removed some whitespace.
5310
5311         * Makefile.in: Rebuilt.
5312         * Makefile.am (awt_java_source_files): Added new files.
5313         * gnu/javax/rmi/PortableServer.java,
5314         gnu/javax/rmi/CORBA/DelegateFactory.java,
5315         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
5316         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
5317         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
5318         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
5319         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
5320         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
5321         javax/rmi/PortableRemoteObject.java,
5322         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
5323         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
5324         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
5325         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
5326         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
5327         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
5328
5329         * java/lang/natClass.cc (newInstance): Put method name in
5330         exception.
5331         (getConstructor): Likewise.
5332         (getDeclaredConstructor): Likewise.
5333         (getPrivateMethod): Likewise.
5334
5335 2003-03-28  Tom Tromey  <tromey@redhat.com>
5336
5337         * java/lang/reflect/Proxy.java: New version from Classpath.
5338         * java/lang/Package.java: New version from Classpath.
5339
5340 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
5341
5342         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
5343         * configure: Regenerate.
5344
5345 2003-03-28  Michael Koch  <konqueror@gmx.de>
5346
5347         * java/io/File.java:
5348         Import needed classes instead of whole packages, merged class
5349         documentation with classpath, moved constants and variables to top of
5350         class.
5351         * java/io/PrintStream.java:
5352         Merged class documentation with classpath, moved constants and
5353         variables to top of class.
5354         * java/io/RandomAccessFile.java
5355         (RandomAccessFile): Merged with classpath.
5356         (read): Merged with classpath).
5357         (read*): Reformatted.
5358
5359 2003-03-28  Michael Koch  <konqueror@gmx.de>
5360
5361         * java/io/FileDescriptor.java
5362         (finalize): Throws Throwable, not IOException.
5363         * java/io/ObjectOutputStream.java
5364         (PutField.put): Doesnt throws anything.
5365
5366 2003­03-28  Michael Koch  <konqueror@gmx.de>
5367
5368         * java/io/FileOutputStream.java:
5369         Merged class documentation and authors with classpath.
5370         (FileOutputStream): Partly merged with classpath.
5371         (write): Merged with classpath.
5372         (getChannel): Make it synchronized instead of explicit block in this
5373         method.
5374         * java/io/RandomAccessFile.java:
5375         Merged class documentation and authors with classpath.
5376
5377 2003-03-26  Tom Tromey  <tromey@redhat.com>
5378
5379         * java/lang/natRuntime.cc (insertSystemProperties): Set
5380         gnu.classpath.home.url.
5381         * Makefile.in: Rebuilt.
5382         * Makefile.am: Define LIBDIR.
5383
5384 2003-03-25  Michael Koch  <konqueror@gmx.de>
5385
5386         * java/io/FileInputStream.java
5387         (read): Renamed b to buf and off to offset.
5388         * java/io/FileOutputStream.java
5389         (ch): Documentation added.
5390         (FileOutputStream): Documentation added.
5391         (getFD): Documentation added.
5392         (write): Documentation added.
5393         (close): Documentation added.
5394         (getChannel): Documentation added.
5395
5396 2003-03-24  Michael Koch  <konqueror@gmx.de>
5397
5398         * java/io/DataOutputStream.java
5399         (write): Merged from classpath.
5400         * java/io/File.java:
5401         Merged copyrigth with classpath.
5402         * java/io/FileInputStream.java
5403         (getChannel): Made it synchronized instead of using a synchronized
5404         block.
5405         * java/io/FileOutputStream.java: Reformatted.
5406         * java/io/InputStreamReader.java
5407         (InputStreamReader): Renamed enc to encoding_name.
5408         (close): Merged documentation from classpath.
5409         (getEncoding): Merged documentation from classpath.
5410         (ready): Merged documentation from classpath.
5411         (read): Merged documentation from classpath.
5412         * java/io/LineNumberReader.java
5413         (lineNumber): Made it private.
5414         (LineNumberReader): Use Constant instead of a direct value.
5415         * java/io/OutputStreamWriter.java
5416         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
5417         documentation from classpath.
5418         (close): Merged documentation from classpath.
5419         (flush): Merged documentation from classpath.
5420         (write): Merged documentation from classpath.
5421         * java/io/PrintStream.java: Reformatted.
5422
5423 2003-03-24  Michael Koch  <konqueror@gmx.de>
5424
5425         * javax/swing/text/ComponentView.java
5426         (getComponent): Must be final.
5427         * javax/swing/tree/DefaultTreeCellRenderer.java:
5428         Reformatted.
5429         * javax/swing/undo/StateEditable.java:
5430         Reformatted.
5431
5432 2003-03-24  Michael Koch  <konqueror@gmx.de>
5433
5434         * java/rmi/activation/ActivationInstantiator.java:
5435         Reformatted.
5436         * java/rmi/activation/Activator.java:
5437         Reformatted.
5438         * java/rmi/registry/RegistryHandler.java:
5439         Remerged from classpath.
5440
5441 2003-03-24  Michael Koch  <konqueror@gmx.de>
5442
5443         * java/util/Date.java:
5444         Fixed documentation starting tag to make javadoc happy.
5445         * java/util/regex/Pattern.java
5446         (Pattern): Implements Serializable.
5447         * java/util/PatternSyntaxException.java
5448         (serialVersionUID): New member variable.
5449
5450 2003-03-24  Michael Koch  <koqnueror@gmx.de>
5451
5452         * java/awt/ContainerOrderFocusTraversalPolicy.java
5453         (getFirstComponent): Implemented.
5454         (getLastComponent): Implemented.
5455         (getDefaultComponent): Implemented.
5456         (setImplicitDownCycleTraversal): Fixed implementation.
5457         * java/awt/Robot.java
5458         (Robot): Added documentation.
5459         * java/awt/Toolkit.java
5460         (getFontList): Deprecated.
5461         (getFontMetrics): Deprecated.
5462         (getPrintJob): Added documentation.
5463         (getSystemSelection): Added documentation.
5464         (getLockingKeyState): Added documentation.
5465         (setLockingKeyState): Added documentation.
5466         (createCustomCursor): Added documentation.
5467         (getBestCursorSize): Added documentation.
5468         (getMaximumCursorColors): Added documentation.
5469         (isFrameStateSupported): Added documentation.
5470
5471 2003-03-24  Michael Koch  <konqueror@gmx.de>
5472
5473         * java/io/RandomAccessFile.java:
5474         More little merges with classpath. No code changes.
5475
5476 2003-03-24  Michael Koch  <konqueror@gmx.de>
5477
5478         * java/net/natInetAddressNoNet.cc:
5479         Include stddef.h.
5480         * java/net/natPlainDatagramSocketImplNoNet.cc:
5481         Fixed inlcude of java/net/DatagramPacket.h.
5482         * java/net/natPlainSocketImplNoNet.cc:
5483         Include some missing classes.
5484
5485 2003-03-24  Michael Koch  <konqueror@gmx.de>
5486
5487         * java/awt/dnd/DropTarget.java
5488         (DropTargetAutoScroller): According to the online documentation, this
5489         is protected, but in reality it is public.
5490         * java/awt/dnd/DropTargetContext.java
5491         (TransferableProxy): According to the online documentation, this
5492         is protected, but in reality it is public.
5493
5494 2003-03-24  Michael Koch  <konqueror@gmx.de>
5495
5496         * java/io/DataInputStream.java
5497         (): Wrapped documentation line.
5498         (): Fixed @return tag.
5499         * java/io/DataOutputStream.java
5500         (written): Moved to top of class.
5501         (all methods): Merged documentation from classpath.
5502         * java/io/File.java:
5503         Merged copyright year with classpath.
5504         * java/io/FileInputStream.java
5505         (all methods): Merged documentation from classpath.
5506         * java/io/LineNumberReader.java
5507         (getLineNumber): Fixed @return tag.
5508         * java/io/ObjectInputStream.java.
5509         Reformatted.
5510         * java/io/ObjectOutputStream.java:
5511         Reformatted, fixed some @see tags.
5512         * java/io/OutputStreamWriter.java:
5513         Deleted empty line.
5514         * java/io/Writer.java:
5515         Reformatted.
5516
5517 2003-03-24  Michael Koch  <konqueror@gmx.de>
5518
5519         * java/awt/Frame.java
5520         (DEFAULT_CURSOR): Fixed @deprecated tag.
5521         (setCursor): Fixed @deprecated tag.
5522
5523 2003-03-24  Michael Koch  <konqueror@gmx.de>
5524
5525         * java/beans/beancontext/BeanContextEvent.java:
5526         Reformated.
5527
5528 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
5529
5530         * java/lang/natStringBuffer.cc (regionMatches): New function.
5531         * java/lang/String.java (count): Now package-private.
5532         * java/lang/StringBuffer.java: Merged with Classpath.
5533
5534 2003-03-23  Michael Koch  <konqueror@gmx.de>
5535
5536         * java/io/BufferedOutputStream.java:
5537         Reformated.
5538         * java/io/BufferedReader.java:
5539         Reformated.
5540         * java/io/ByteArrayOutputStream.java
5541         (size): Fixed @see tag.
5542         * java/io/CharArrayWriter.java
5543         (size): Fixed @see tag.
5544         * java/io/DataInput.java:
5545         Reformated.
5546         * java/io/DataOutput.java:
5547         Reformated.
5548         * java/io/DataOutputStream.java:
5549         Merged copyright years with classpath.
5550         * java/io/Externalizable.java:
5551         Reformated.
5552         * java/io/FileFilter.java:
5553         Reformated.
5554         * java/io/FileInputStream.java:
5555         Merged copyright years with classpath.
5556         * java/io/FileOutputStream.java:
5557         Merged copyright years with classpath.
5558         * java/io/FilePermission.java
5559         (FilePermission): Replaced @XXX with FIXME:.
5560         * java/io/FileWriter.java:
5561         Reformated.
5562         * java/io/FilenameFilter.java:
5563         Reformated.
5564         * java/io/FilterInputStream.java:
5565         Reformated.
5566         * java/io/FilterOutputStream.java:
5567         Reformated.
5568         * java/io/FilterReader.java:
5569         Reformated.
5570         * java/io/FilterWriter.java:
5571         Reformated.
5572         * java/io/LineNumberInputStream.java
5573         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
5574         happy.
5575         (getLineNumber): Fixed @return tag.
5576         * java/io/ObjectInput.java:
5577         Reformated.
5578         * java/io/ObjectOutput.java:
5579         Reformated.
5580         * java/io/ObjectStreamClass.java:
5581         Reformated.
5582         * java/io/PrintStream.java:
5583         Merged copyright years with classpath.
5584         * java/io/PushbackReader.java
5585         (PushbackReader): Replaced @code with @param.
5586         * java/io/SerializablePermission.java:
5587         Reformated.
5588         * java/io/StreamTokenizer.java
5589         (resetSyntax): Fixed @see tag.
5590
5591 2003-03-22  Richard Henderson  <rth@redhat.com>
5592
5593         * sysdep/ia64/locks.h: Include ia64intrin.h.
5594         (compare_and_swap): Use __sync_bool_compare_and_swap.
5595         (compare_and_swap_release): Expose ar.ccv assignment.
5596
5597 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
5598
5599         * include/posix.h: Add suffix for darwin dynamic libraries.
5600
5601 2003-03-21  Michael Koch  <konqueror@gmx.de>
5602
5603         * javax/swing/Action.java
5604         (ACCELERATOR_KEY): New constant.
5605         (ACTION_COMMAND_KEY): Likewise.
5606         (MNEMONIC_KEY): Likewise.
5607         * javax/swing/UnsupportedLookAndFeelException.java
5608         (UnsupportedLookAndFeelException): Must be public.
5609         * javax/swing/WindowConstants.java
5610         (EXIT_ON_CLOSE): New constant.
5611         * javax/swing/text/BadLocationException.java
5612         (offset): New member variable.
5613         (BadLocationException): New implementation, documentation added.
5614         (offsetRequested): New method.
5615         * javax/swing/text/Caret.java:
5616         Reformated.
5617         * javax/swing/text/Document.java:
5618         Reformated.
5619
5620 2003-03-21  Michael Koch  <konqueror@gmx.de>
5621
5622         * java/rmi/activation/Activatable.java
5623         (serialVersionUID): New member variable.
5624         * java/rmi/activation/ActivationGroup.java
5625         (serialVersionUID): New member variable.
5626         * java/rmi/activation/ActivationGroupDesc.java
5627         (serialVersionUID): New member variable.
5628         * java/rmi/registry/Registry.java:
5629         Reformated.
5630         (Registry): Deprecated.
5631         * java/rmi/server/LoaderHandler.java
5632         Reformated.
5633         (LoaderHandler): Deprecated.
5634         * java/rmi/server/LogStream.java
5635         Reformated.
5636         (LogStream): Deprecated.
5637         * java/rmi/server/Operation.java
5638         (Operation): Deprecated.
5639         * java/rmi/server/RMIFailureHandler.java:
5640         Reformated.
5641         * java/rmi/server/RMISocketFactory.java:
5642         Reformated.
5643         * java/rmi/server/RemoteCall.java
5644         (RemoteCall): Deprecated.
5645         * java/rmi/server/RemoteStub.java:
5646         Reformated.
5647         * java/rmi/server/Skeleton.java
5648         Reformated.
5649         (Skeleton): Deprecated.
5650
5651 2003-03-21  Michael Koch  <konqueror@gmx.de>
5652
5653         * java/io/LineNumberReader.java
5654         (LineNumberReader): Merged documentation with classpath.
5655         (getLineNumber): Likewise.
5656         (setLineNumber): Likewise.
5657         (mark): Likewise.
5658         (reset): Likewise.
5659         (read): Likewise.
5660         (readLine): Likewise.
5661         (skip): Likewise.
5662
5663 2003-03-21  Michael Koch  <konqueror@gmx.de>
5664
5665         * java/rmi/RMISecurityManager.java
5666         (checkAccept): Removed.
5667         (checkAccess): Likewise.
5668         (checkAccess): Likewise.
5669         (checkAwtEventQueueAccess): Likewise.
5670         (checkConnect): Likewise.
5671         (checkCreateClassLoader): Likewise.
5672         (checkDelete): Likewise.
5673         (checkExec): Likewise.
5674         (checkExit): Likewise.
5675         (checkLink): Likewise.
5676         (checkListen): Likewise.
5677         (checkMemberAccess): Likewise.
5678         (checkMulticast): Likewise.
5679         (checkPackageAccess): Likewise.
5680         (checkPackageDefinition): Likewise.
5681         (checkPermission): Likewise.
5682         (checkPrintJobAccess): Likewise.
5683         (checkPropertiesAccess): Likewise.
5684         (checkPropertyAccess): Likewise.
5685         (checkRead): Likewise.
5686         (checkSecurityAccess): Likewise.
5687         (checkSetFactory): Likewise.
5688         (checkSystemClipboardAccess): Likewise.
5689         (checkTopLevelWindow): Likewise.
5690         (checkWrite): Likewise.
5691
5692 2003-03-20  Michael Koch  <konqueror@gmx.de>
5693
5694         * gnu/java/nio/FileChannelImpl.java
5695         (address): Removed.
5696         (map_address): New member variable.
5697         (length): Make it package private.
5698         (fd): Make it package private.
5699         (buf): Make it package private.
5700         (file_obj): Make it package private.
5701         (FileChannelImpl): New constructor.
5702         (nio_mmap_file): Use RawData instead of long.
5703         (nio_munmap_file): Use RawData instead of long.
5704         (nio_msync): Use RawData instead of long.
5705         (implCloseChannel): New implementation using map_address.
5706         (read): Reformated.
5707         (map): Implemented.
5708         (create_direct_mapped_buffer): Implemented, use RawData, throws
5709         IOException.
5710         (force): Use map_address instead of address.
5711         * gnu/java/nio/MappedByteFileBuffer.java
5712         (address): Removed.
5713         (map_address): New member variable.
5714         (MappedByteFileBuffer): Use map_address instead of address, reformated.
5715         (several methods): Use map_address instead of address, replaced long
5716         with RawData where appropriate.
5717         * gnu/java/nio/natFileChannelImpl.cc
5718         (nio_mmap_file): Replaced long with RawData.
5719         (nio_munmap_file): Replaced long with RawData.
5720         (nio_msync): Replaced long with RawData.
5721         * gnu/java/nio/natMappedByteFileBuffer.cc
5722         (several methods): Replaced long with RawData where appropriate.
5723
5724 2003-03-20  Michael Koch  <konqueror@gmx.de>
5725
5726         * java/net/InetAddress.java,
5727         java/net/JarURLConnection.java,
5728         java/net/PlainDatagramSocketImpl.java,
5729         java/net/PlainSocketImpl.java,
5730         java/net/URLConnection.java:
5731         Merged copyright statements with classpath for easier merging.
5732
5733 2003-03-20  Michael Koch  <konqueror@gmx.de>
5734
5735         * java/io/FileInputStream.java
5736         (getChannel): New implementation.
5737         * java/io/FileOutputStream.java
5738         (ch): New member variable.
5739         (getChannel): Implemented.
5740         * java/io/RandomAccessFile.java
5741         (RandomAccessFile): Throws FileNotFoundException instead of
5742         IOException.
5743         (getChannel): New method.
5744         (ch): New member variable.
5745
5746 2003-03-20  Michael Koch  <konqueror@gmx.de>
5747
5748         * java/io/DataOutputStream.java,
5749         java/io/File.java,
5750         java/io/FileInputStream.java,
5751         java/io/FileOutputStream.java,
5752         java/io/InputStreamReader.java,
5753         java/io/LineNumberReader.java,
5754         java/io/OutputStreamWriter.java,
5755         java/io/PrintStream.java,
5756         java/io/RandomAccessFile.java:
5757         Merged copyright statements with classpath for easier merging.
5758
5759 2003-03-19  Michael Koch  <konqueror@gmx.de>
5760
5761         * java/lang/Process.java:
5762         Merged from classpath.
5763
5764 2003-03-19  Michael Koch  <konqueror@gmx.de>
5765
5766         * java/io/FileOutputStream.java
5767         (FileOutputStream): New constructor, merged from classpath.
5768         * java/io/FileWriter.java
5769         (FileWriter): New constructor, merged from classpath.
5770
5771 2003-03-18  Michael Koch  <konqueror@gmx.de>
5772
5773         * java/awt/ScrollPane.java
5774         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
5775         (getViewportSize): Likewise.
5776         (addNotify): Likewise.
5777         (removeNotify): Likewise.
5778         * java/awt/ScrollPaneAdjustable.java
5779         (ScrollPaneAdjustable): No longer extends Scrollbar.
5780         * java/beans/beancontext/BeanContextServices.java:
5781         Reformated.
5782         (getService): Added throws TooManyListenersException;
5783         * java/beans/beancontext/BeanContextServicesSupport.java:
5784         Reformated.
5785
5786 2003-03-18  Michael Koch  <konqueror@gmx.de>
5787
5788         * java/io/BufferedOutputStream.java,
5789         java/io/DataInput.java,
5790         java/io/DataInputStream.java,
5791         java/io/DataOutput.java,
5792         java/io/Externalizable.java:
5793         More merges from classpath.
5794
5795 2003-03-18  Michael Koch  <konqueror@gmx.de>
5796
5797         * configure.in: Fixed links to platform dependant java.net files.
5798         * configure: Regenerated.
5799         * java/net/natInetAddress.cc,
5800         java/net/natNetworkInterface.cc,
5801         java/net/natPlainDatagramSocketImpl.cc,
5802         java/net/natPlainSocketImpl.cc:
5803         Removed.
5804
5805 2003-03-18  Michael Koch  <konqueror@gmx.de>
5806
5807         * configure.in: Create links to architecture dependent files,
5808         introduced PLATFORMNET variable (set to NoNet for newlib usage).
5809         * configure: Regenerated.
5810         * java/net/natInetAddressNoNet.cc,
5811         java/net/natInetAddressPosix.cc,
5812         java/net/natInetAddressWin32.cc,
5813         java/net/natNetworkInterfaceNoNet.cc,
5814         java/net/natNetworkInterfacePosix.cc,
5815         java/net/natNetworkInterfaceWin32.cc,
5816         java/net/natPlainDatagramSocketImplNoNet.cc,
5817         java/net/natPlainDatagramSocketImplPosix.cc,
5818         java/net/natPlainDatagramSocketImplWin32.cc,
5819         java/net/natPlainSocketImplNoNet.cc,
5820         java/net/natPlainSocketImplPosix.cc,
5821         java/net/natPlainSocketImplWin32.cc: New files.
5822
5823 2003-03-18  Michael Koch  <konqueror@gmx.de>
5824
5825         * java/io/BufferedReader.java,
5826         java/io/BufferedWriter.java,
5827         java/io/ByteArrayOutputStream.java,
5828         java/io/FileFilter.java,
5829         java/io/FilePermission.java,
5830         java/io/FileReader.java,
5831         java/io/FileWriter.java,
5832         java/io/FilenameFilter.java,
5833         java/io/FilterInputStream.java,
5834         java/io/FilterOutputStream.java,
5835         java/io/FilterReader.java,
5836         java/io/FilterWriter.java,
5837         java/io/ObjectInput.java,
5838         java/io/ObjectInputValidation.java,
5839         java/io/ObjectOutput.java,
5840         java/io/ObjectStreamField.java,
5841         java/io/PipedInputStream.java,
5842         java/io/PipedReader.java,
5843         java/io/PrintWriter.java,
5844         java/io/PushbackReader.java,
5845         java/io/Reader.java,
5846         java/io/SerializablePermission.java,
5847         java/io/StringReader.java,
5848         java/io/Writer.java:
5849         Merged from classpath.
5850
5851 2003-03-17  Michael Koch  <konqueror@gmx.de>
5852
5853         * java/awt/ScrollPaneAdjustable.java:
5854         Compile fixes.
5855         
5856 2003-03-17  Michael Koch  <konqueror@gmx.de>
5857
5858         * java/net/DatagramSocket.java
5859         (connect): Fixed comment.
5860         * java/nio/ByteBuffer.java
5861         (hasArray): Fixed comment.
5862
5863 2003-03-17  Michael Koch  <konqueror@gmx.de>
5864
5865         * java/beans/Beans.java:
5866         Explicitely import classes not packages.
5867         * java/beans/FeatureDescriptor.java
5868         (preferred): New member variable.
5869         (isPreferred): New method.
5870         (setPreferred): New method.
5871         * java/beans/PropertyEditorManager.java:
5872         Explicitely import used classes.
5873         * java/beans/beancontext/BeanContextChild.java:
5874         Added line wrapping.
5875         * java/beans/beancontext/BeanContextChildSupport.java:
5876         Reindented.
5877         * java/beans/beancontext/BeanContextEvent.java:
5878         Reindented.
5879
5880 2003-03-17  Michael Koch  <konqueror@gmx.de>
5881
5882         * java/awt/Dialog.java
5883         (Dialog): New constructor, changed implementations, added
5884         documentation.
5885         * java/awt/ScrollPaneAdjustable.java
5886         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
5887         Serializable.
5888         (serialVersionUID): New member variable.
5889         (sp): New member variable.
5890         (orientation): New member variable.
5891         (value): New member variable.
5892         (minimum): New member variable.
5893         (maximum): New member variable.
5894         (visibleAmount): New member variable.
5895         (unitIncrement): New member variable.
5896         (blockIncrement): New member variable.
5897         (AdjustmentListener): New member variable.
5898         (ScrollPaneAdjustable): New implementation.
5899         (addAdjustmentListener): New method.
5900         (removeAdjustmentListener): New method.
5901         (getAdjustmentListeners): New method.
5902         (getBlockIncrement): New method.
5903         (getMaximum): New method.
5904         (getMinimum): New method.
5905         (getOrientation): New method.
5906         (getUnitIncrement): New method.
5907         (getValue): New method.
5908         (getVisibleAmount): New method.
5909         (setBlockIncrement): New method.
5910         (setMaximum): Implemented.
5911         (setMinimum): Implemented.
5912         (setUnitIncrement): New method.
5913         (setValue): New method.
5914         (setVisibleAmount): Implemented. 
5915         (paramString): New stubbed method.
5916         * java/awt/Window.java
5917         (show): Call setVisible().
5918         (hide): Call setVisible().
5919         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
5920         and WINDOW_STATE_CHANGED.
5921         (processWindowFocusEvent): New method.
5922         (processWindowStateEvent): New method.
5923         (postEvent): Deprecated.
5924         (applyResourceBundle): Deprecated.
5925         * java/awt/datatransfer/DataFlavor.java
5926         (DataFlavor): Doesn't thow ClassNotFoundException.
5927
5928 2003-03-17  Michael Koch
5929
5930         * javax/print/attribute/Attribute.java,
5931         javax/print/attribute/AttributeSet.java,
5932         javax/print/attribute/PrintRequestAttributeSet.java:
5933         New files.
5934         * Makefile.am
5935         (javax_source_files): Added new files:
5936         javax/print/attribute/Attribute.java
5937         javax/print/attribute/AttributeSet.java
5938         javax/print/attribute/PrintRequestAttributeSet.java
5939         * Makefile.in: Regenerated.
5940
5941 2003-03-17  Michael Koch
5942
5943         * javax/print/attribute/Attribute.java,
5944         javax/print/attribute/AttributeSet.java,
5945         javax/print/attribute/PrintRequestAttributeSet.java:
5946         New files.
5947         * Makefile.am
5948         (awt_java_source_files): Added new files:
5949         javax/print/attribute/Attribute.java
5950         javax/print/attribute/AttributeSet.java
5951         javax/print/attribute/PrintRequestAttributeSet.java
5952         * Makefile.in: Regenerated.
5953
5954 2003-03-16  Tom Tromey  <tromey@redhat.com>
5955
5956         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
5957         Include platform.h.
5958         * java/lang/natRuntime.cc (insertSystemProperties): Use
5959         _Jv_platform_path_separator.
5960         (nativeGetLibname): Use _Jv_platform_file_separator.
5961         (_load): Use _Jv_platform_onload_names.
5962         (onload_names): New global.
5963         * include/win32.h (_Jv_platform_file_separator): New define.
5964         (_Jv_platform_path_separator): Likewise.
5965         (_Jv_platform_onload_names): Likewise.
5966         (_Jv_platform_ffi_abi): Likewise.
5967         * include/posix.h (_Jv_platform_file_separator): New define.
5968         (_Jv_platform_path_separator): Likewise.
5969         (_Jv_platform_onload_names): Likewise.
5970         (_Jv_platform_ffi_abi): Likewise.
5971
5972 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
5973
5974         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
5975
5976 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
5977
5978         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
5979         hierarchy loop.
5980         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
5981         list to Object,ObjectStreamClass, moved callReadMethod code up into
5982         readObject and added Class argument to all setXxxField calls.
5983         (callReadMethod): Changed Class argument to ObjectStreamClass to be
5984         consistent with ObjectOutputStream and to facilitate caching the
5985         Method in the future.
5986         (setBooleanField): Added Class argument.
5987         (setByteField): Likewise.
5988         (setCharField): Likewise.
5989         (setDoubleField): Likewise.
5990         (setFloatField): Likewise.
5991         (setIntField): Likewise.
5992         (setLongField): Likewise.
5993         (setShortField): Likewise.
5994         (setObjectField): Likewise.
5995         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
5996         class hierarchy loop.
5997         (defaultWriteObject): Call writeFields with new argument list.
5998         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
5999         list to Object,ObjectStreamClass, moved callWriteMethod up into
6000         writeObject and added Class argument to all getXxxField calls.
6001         (callWriteMethod): Added ObjectStreamClass argument to be able to
6002         get the proper class to call getMethod on (each class can have (or
6003         not have) its own writeObject method).
6004         (getBooleanField): Added Class argument.
6005         (getByteField): Likewise.
6006         (getCharField): Likewise.
6007         (getDoubleField): Likewise.
6008         (getFloatField): Likewise.
6009         (getIntField): Likewise.
6010         (getLongField): Likewise.
6011         (getShortField): Likewise.
6012         (getObjectField): Likewise.
6013         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
6014         facilitate caching the Method object in the future.
6015
6016 2003-03-12  Andreas Schwab  <schwab@suse.de>
6017
6018         * configure.in: Avoid trailing /. in toolexeclibdir.
6019         * configure: Rebuilt.
6020
6021 2003-03-11  Michael Koch  <konqueror@gmx.de>
6022
6023         * gnu/java/nio/ByteBufferImpl.java
6024         (putInt): Use limit() instead of limit.
6025         * gnu/java/nio/CharBufferImpl.java
6026         (slice): Fixed implementation.
6027         (subSequence): Better bounds checking.
6028         * gnu/java/nio/MappedByteFileBuffer.java:
6029         Import all needed classes directly.
6030         * java/nio/ByteBuffer.java
6031         (hashCode): New dummy method.
6032         * java/nio/CharBuffer.java
6033         (array_offset): New member variable.
6034         (hasArray): Fixed documentation.
6035         (arrayOffset): Return array_offset.
6036
6037 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
6038
6039         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
6040         setter; made return value of getter const char* instead of char*
6041         * prims.cc: removed all references to _Jv_ThisExecutable().
6042         These are in the platform-specific sections now.
6043         * posix.cc: define platform-specific _Jv_ThisExecutable().
6044         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
6045         * win32.cc: define platform-specific _Jv_ThisExecutable()
6046         using GetModuleFilename()
6047         * java/lang/natRuntime.cc: set gnu.gcj.progname property
6048         to argv[0] instead of _Jv_ThisExecutable()
6049
6050 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
6051
6052         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
6053         that is set if we are using addr2name.awk instead of addr2line.
6054         (NameFinder): Set usingAddr2name if using addr2name.awk.
6055         (getExternalLabel): New native method to convert a method 
6056         name to an external label.
6057         (lookup): Convert name given by addr2line to an external label
6058         before demangling.
6059
6060         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
6061         constant representing the prefix attached to method names to
6062         convert them to an external label.
6063         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
6064         using LABEL_PREFIX.
6065
6066 2003-03-10  Tom Tromey  <tromey@redhat.com>
6067
6068         * Makefile.in: Rebuilt.
6069         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
6070         (JC1FLAGS): Removed -Wno-deprecated.
6071
6072 2003-03-10  Michael Koch  <konqueror@gmx.de>
6073
6074         * java/nio/ByteOrder.java
6075         (nativeOrder): Working implementation, added documentation.
6076         (toString): Added documentation.
6077
6078 2003-03-10  Michael Koch  <konqueror@gmx.de>
6079
6080         * java/net/DatagramSocket.java,
6081         java/net/MulticastSocket.java,
6082         java/net/Socket.java,
6083         java/net/URL.java,
6084         java/net/URLConnection.java:
6085         Fixed some documentation tags to make javadoc and friends happy.
6086
6087 2003-03-10  Michael Koch  <koqnueror@gmx.de>
6088
6089         * java/beans/beancontext/BeanContextServicesSupport.java,
6090         java/beans/beancontext/BeanContextSupport.java: New files.
6091         * Makefile.am
6092         (awt_source_files): Added new files.
6093         * Makefile.in: Regenerated.
6094
6095 2003-03-10  Michael Koch  <konqueror@gmx.de>
6096
6097         * java/awt/FocusTraversalPolicy.java
6098         (FocusTraversalPolicy): Documentation added.
6099         (getComponentAfter): Documentation added.
6100         (getComponentBefore): Documentation added.
6101         (getFirstComponent): Documentation added.
6102         (getLastComponent): Documentation added.
6103         (getDefaultComponent): Documentation added.
6104         (getInitialComponent): Documentation added.
6105         * java/awt/ScrollPaneAdjustable.java
6106         (sp): New member variable.
6107         (orientation): New member variable.
6108         (value): New member variable.
6109         (minimum): New member variable.
6110         (maximum): New member variable.
6111         (visibleAmount): New member variable.
6112         (unitIncrement): New member variable.
6113         (blockIncrement): New member variable.
6114         (adjustmentListener): New member variable.
6115         (ScrollPaneAdjustable): Rewrote.
6116         (addAdjustmentListener): New method.
6117         (removeAdjustmentListener): New method.
6118         (getAdjustmentListeners): New method.
6119         (getBlockIncrement): New method.
6120         (getMaximum): New method.
6121         (getMinimum): New method.
6122         (getOrientation): New method.
6123         (getUnitIncrement): New method.
6124         (getValue): New method.
6125         (getVisibleAmount): New method.
6126         (setBlockIncrement): New method.
6127         (setUnitIncrement): New method.
6128         (setMaximum): Implemented.
6129         (setMinimum): Implemented.
6130         (setValue): New method.
6131         (setVisibleAmount): Implemented.
6132         (paramString): New method.
6133         * java/awt/Window.java
6134         (show): Use setVisible(true) instead of super.show().
6135         (hide): Use sevVisible(false) instead of super.hide().
6136         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
6137         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
6138         (postEvent): Deprecated.
6139         (applyResourceBundle): Deprecated.
6140         (processWindowFocusEvent): New method.
6141         (processWindowStateEvent): New method.
6142         * java/awt/datatransfer/DataFlavor.java: Reindented.
6143         * java/awt/font/TextHitInfo.java
6144         (charIndex): New member variable.
6145         (leadingEdge): New member variable.
6146         (TextHitInfo): New constructor.
6147         (getCharIndex): Implemented.
6148         (isLeadingEdge): Implemented.
6149         (getInsertionIndex): Implemented.
6150         (hashCode): Access charIndex directly.
6151         (equals): Reformated.
6152         (leading): Implemented.
6153         (trailing): Implemented.
6154         (beforeOffset): Implemented.
6155         (afterOffset): Implemented.
6156         (getOtherHit): Implemented.
6157         (getOffsetHit): Implemented.
6158         (toString): Implemented.
6159         * java/awt/image/BufferedImage.java
6160         (BufferedImage): Implements WritableRenderedImage.
6161         (observers): New member variable.
6162         (addTileObserver): New method.
6163         (removeTileObserver): New method.
6164
6165 2003-03-09  Tom Tromey  <tromey@redhat.com>
6166
6167         PR libgcj/9934:
6168         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
6169         to lseek.  Return 0 if we can't compute the value.
6170
6171 2003-03-03  Michael Koch  <konqueror@gmx.de>
6172
6173         * java/net/NetworkInterface.java: Merged with classpath.
6174
6175 2003-03-03  Tom Tromey  <tromey@redhat.com>
6176
6177         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
6178         of bytecode.
6179         (handle_ret_insn): Fail if returning to jsr that appears at end of
6180         bytecode.
6181
6182 2003-03-03  Michael Koch  <konqueror@gmx.de>
6183
6184         * Makefile.am
6185         (ordinary_java_source_files):
6186         Added gnu/java/nio/MappedByteFileBuffer.java.
6187         (nat_source_files):
6188         Added gnu/java/nio/natMappedByteFileBuffer.cc.
6189         * Makefile.in: Regenerated.
6190
6191 2003-03-03  Michael Koch  <konqueror@gmx.de>
6192
6193         * java/net/DatagramSocket.java
6194         (connect): Merged comment from classpath.
6195         (receive): Merged documentation from classpath.
6196         * java/net/Socket.java
6197         (setSoTimeout): Clarified documentation.
6198         * java/net/URL.java
6199         (getPath): Merged from classpath.
6200         (getUserInfo): Merged from classpath.
6201         (getQuery): Merged from classpath.
6202         * java/net/URLStreamHandler.java
6203         (toExternalForm): Merged from classpath.
6204
6205 2003-03-02  Mark Wielaard  <mark@klomp.org>
6206
6207         * java/util/Properties.java (load): Only skip line if the first
6208         character is a comment, whitespaces don't count.
6209
6210 2003-03-02  Michael Koch  <konqueror@gmx.de>
6211
6212         * java/net/NetPermission.java:
6213         Merged copyright with classpath.
6214
6215 2003-03-02  Michael Koch  <konqueror@gmx.de>
6216
6217         * java/lang/Package.java:
6218         Remerged from classpath.
6219
6220 2003-03-02  Michael Koch  <konqueror@gmx.de>
6221
6222         * java/net/HttpURLConnection.java
6223         (HTTP_SERVER_ERROR): Deprecated.
6224         * java/net/MulticastSocket.java
6225         (send): Replaced checkMulticast with appropriate checkPermission call,
6226         deprecated.
6227         * java/net/URLDecoder.java
6228         (decode): Deprecated.
6229         * java/net/URLEncoder.java
6230         (encode): Deprecated.
6231
6232 2003-03-02  Michael Koch  <konqueror@gmx.de>
6233
6234         * javax/swing/text/Caret.java
6235         (getMagicCaretPosition): Fixed typo in method name.
6236         * javax/swing/text/DefaultCaret.java
6237         (getMagicCaretPosition): Fixed typo in method name.
6238
6239 2003-03-02  Michael Koch  <konqueror@gmx.de>
6240
6241         * java/awt/List.java
6242         (setMultipleSelections): Deprecated.
6243         (delItem): Deprecated.
6244         * java/awt/MenuComponent.java
6245         (getPeer): Deprecated.
6246         * java/awt/ScrollPane.java
6247         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
6248         * java/awt/dnd/MouseDragGestureRecognizer.java
6249         (mouseClicked): Added comment.
6250         (mousePressed): Added comment.
6251         (mouseReleased): Added comment.
6252         (mouseEntered): Added comment.
6253         (mouseExited): Added comment.
6254         (mouseDragged): Added comment.
6255         (mouseMoved): Added comment.
6256         * java/awt/event/KeyEvent.java
6257         (KeyEvent): Deprecated.
6258         (setModifiers): Deprecated.
6259         
6260 2003-03-02  Michael Koch  <konqueror@gmx.de>
6261
6262         * gnu/java/nio/FileChannelImpl.java
6263         (fd): Type FileDescriptor instead of int.
6264         (lengthInternal): Removed.
6265         (FileChannelImpl): Fixed arguments, check type of file object.
6266         (size): Made it native.
6267         (implPosition): New native method.
6268         (implTruncate): New native method.
6269         (position): Implemented.
6270         (truncate): Implemented.
6271         (nio_mmap_file): Changed arguments.
6272         (nio_munmap_file): Changed arguments.
6273         (nio_msync): Changed arguments.
6274         * gnu/java/nio/natFileChannelImpl.cc
6275         (lengthInternal): Removed.
6276         (size): New method.
6277         (implPosition): New method.
6278         (implTruncate): New method.
6279         (nio_mmap_file): Changed arguments.
6280         (nio_munmap_file): Changed arguments.
6281         (nio_msync): Changed arguments.
6282
6283 2003-03-02  Michael Koch  <konqueror@gmx.de>
6284
6285         * java/awt/dnd/DropTargetContext.java:
6286         Compile fix: Forgot to commit import.
6287         
6288 2003-03-02  Michael Koch  <konqueror@gmx.de>
6289
6290         * java/awt/Component.java,
6291         java/awt/ScrollPane.java:
6292         Fixed typos.
6293
6294 2003-03-02  Michael Koch  <konqueror@gmx.de>
6295
6296         * java/awt/dnd/DnDEventMulticaster.java: New file.
6297         * java/awt/dnd/DragSource.java
6298         (flavorMap): New member variable.
6299         (dragSourceListener): New member variable.
6300         (dragSourceMotionListener): New member variable.
6301         (getFlavorMap): Implemented.
6302         (createDragGestureRecognizer): Implemented.
6303         (addDragSourceListener): Implemented.
6304         (removeDragSourceListener): Implemented.
6305         (getDragSourceListeners): Implemented.
6306         (addDragSourceMotionListener): Implemented.
6307         (removeDragSourceMotionListener): Implemented.
6308         (getDragSourceMotionListeners): Implemented.
6309         (getListeners): Implemented.
6310         * java/awt/dnd/DragSourceContext.java
6311         (peer): New member variable.
6312         (cursor): New member variable.
6313         (transferable): New member variable.
6314         (trigger): New member variable.
6315         (dragSourceListener): New member variable.
6316         (image): New member variable.
6317         (offset): New member variable.
6318         (DragSourceContext): Implemented.
6319         (getDragSource): Implemented.
6320         (getComponent): Implemented.
6321         (getTrigger): Implemented.
6322         (getSourceActions): Implemented.
6323         (setCursor): Implemented.
6324         (getCursor): Implemented.
6325         (addDragSourceListener): Implemented.
6326         (removeDragSourceListener): Implemented.
6327         (getTransferable): Implemented.
6328         * java/awt/dnd/DropTarget.java
6329         (DropTargetAutoScroller.component): New member variable.
6330         (DropTargetAutoScroller.point): New member variable.
6331         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
6332         (DropTargetAutoScroller.updateLocation): Implemented.
6333         (active): Renamed from isActive, defaults to true now.
6334         (component): New member variable.
6335         (flavorMap): New member variable.
6336         (actions): New member variable.
6337         (dropTargetContext): New member variable.
6338         (dropTargetListener): New member variable.
6339         (DropTarget): Implemented.
6340         (getComponent): Implemented.
6341         (setComponent): Implemented.
6342         (setDefaultActions): Implemented.
6343         (getDefaultActions): Implemented.
6344         (setActive): Use active instead of isActive.
6345         (isActive): Use active instead of isActive.
6346         (addDropTargetListener): Implemented.
6347         (removeDropTargetListener): Implemented.
6348         (getFlavorMap): Implemented.
6349         (setFlavorMap): Implemented.
6350         (getDropTargetContext): Implemented.
6351         (createDropTargetContext): Implemented.
6352         (createDropTargetAutoScroller): Implemented.
6353         * java/awt/dnd/DropTargetContext.java
6354         (TransferableProxy.getTransferDataFlavors): Implemented.
6355         (TransferableProxy.isDataFlavorSupported): Implemented.
6356         (TransferableProxy.getTransferData): Implemented.
6357         (dropTarget):  New member variable.
6358         (dtcp): New member variable.
6359         (DropTargetContext): New package private constructor.
6360         (getDropTarget): Implemented.
6361         (getComponent): Implemented.
6362         (addNotify): Implemented.
6363         (removeNotify): Implemented.
6364         (getCurrentDataFlavorsAsList): Implemented.
6365         (isDataFlavorSupported): Implemented.
6366         * java/awt/dnd/MouseDragGestureRecognizer.java
6367         (registerListeners): Implemented.
6368         (unregisterListeners): Implemented.
6369         * Makefile.am
6370         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
6371         * Makefile.in: Regenerated.
6372
6373 2003-03-02  Michael Koch  <konqueror@gmx.de>
6374
6375         * java/awt/Component.java
6376         (eventTypeEnabled): New method.
6377         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
6378         * java/awt/Container.java
6379         (changeSupport): New member variable.
6380         (addPropertyChangeListener): New methods.
6381         * java/awt/ContainerOrderFocusTraversalPolicy.java
6382         (ContainerOrderFocusTraversalPolicy): Added comment.
6383         (getComponentAfter): Throw exception, documentation added.
6384         (getComponentBefore): Throw exception, documentation added.
6385         (getFirstComponent): Throw exception, documentation added.
6386         (getLastComponent): Throw exception, documentation added.
6387         (getDefaultComponent): Throw exception, documentation added.
6388         * java/awt/EventQueue.java: Reindented.
6389         * java/awt/FocusTraversalPolicy.java:
6390         (FocusTraversalPolicy): Added comment.
6391         (getComponentAfter): Documentation added.
6392         (getComponentBefore): Documentation added.
6393         (getFirstComponent): Documentation added.
6394         (getLastComponent): Documentation added.
6395         (getDefaultComponent): Documentation added.
6396         (getInitialComponent): Documentation added.
6397         * java/awt/ScrollPane.java
6398         (wheelScrollingEnabled): New member variable.
6399         (ScrollPane): Initialize wheelScollingEnabled.
6400         (eventTypeEnabled): New method.
6401         (isWheelScrollingEnabled): New method.
6402         (setWheelScrollingEnabled): New method.
6403
6404 2003-03-02  Michael Koch  <konqueror@gmx.de>
6405
6406         * java/net/DatagramSocket.java
6407         (closed): New member variable.
6408         (close): Use closed variable.
6409         (getInetAddress): No need to call isConnected().
6410         (getPort): No need to call isConnected().
6411         (disconnect): Reset remoteAddress and remotePort, fixed typo.
6412         (isClosed): Reimplemented.
6413         
6414 2003-03-02  Michael Koch  <konqueror@gmx.de>
6415
6416         * configure.in: Added check for memory mapping of files.
6417         * configure: Regenerated.
6418         * config.h.in: Regenerated.
6419
6420 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
6421
6422         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
6423         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
6424
6425 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
6426
6427         * java/io/File.java (normalizePath): Remove trailing separator
6428         on Windows only if path is not of the form "x:\".
6429
6430         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
6431         (java::io::File::attr): Change formatting a bit and use
6432         WIN32_EPOCH_MILLIS instead of magic numbers.
6433         (java::io::File::isAbsolute): Path must have at least 3 
6434         characters for a UNC network path.
6435         (java::io::File::init_native): Define.
6436         (java::io::File::performCreate): Likewise.
6437         (java::io::File::performSetReadOnly): Likewise.
6438         (java::io::File::performSetLastModified): Likewise.
6439         (java::io::File::performListRoots): Likewise.
6440
6441 2003-03-01  Tom Tromey  <tromey@redhat.com>
6442
6443         * java/lang/natObject.cc: Don't include assert.h.
6444         (heavy_lock_obj_finalization_proc): Use JvAssert.
6445         (remove_all_heavy): Likewise.
6446         (_Jv_MonitorEnter): Likewise.
6447         (_Jv_MonitorExit): Likewise.
6448         (wait): Likewise.
6449
6450 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
6451
6452         * java/io/File (getAbsolutePath): Prefix drive specifier on
6453         Windows for paths starting with a '\'.
6454         (toURL): Make URL more consistent with what Sun's JDK returns.
6455
6456         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
6457         true only if the path is a UNC network path or it starts with a
6458         drive specifier.
6459
6460         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
6461         Be prepared to handle either '/' or '\\' in the file path for
6462         Windows if using the "file" protocol.
6463         Canonicalise the file path if using a relative path in the given
6464         context and the "file" protocol.
6465
6466 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
6467
6468         * java/lang/natWin32Process.cc (startProcess): Double-quote each
6469         program array element passed to CreateProcess.
6470
6471 2003-03-01  Tom Tromey  <tromey@redhat.com>
6472
6473         * java/rmi/registry/RegistryHandler.java: Deprecate.
6474
6475 2003-03-01  Tom Tromey  <tromey@redhat.com>
6476
6477         * javax/accessibility/AccessibleEditableText.java,
6478         javax/accessibility/AccessibleHyperlink.java: New versions from
6479         Classpath.
6480
6481         * gnu/java/locale/LocaleInformation_af_ZA.java,
6482         gnu/java/locale/LocaleInformation_ar_AE.java,
6483         gnu/java/locale/LocaleInformation_ar_BH.java,
6484         gnu/java/locale/LocaleInformation_ar_DZ.java,
6485         gnu/java/locale/LocaleInformation_ar_EG.java,
6486         gnu/java/locale/LocaleInformation_ar_IN.java,
6487         gnu/java/locale/LocaleInformation_ar_IQ.java,
6488         gnu/java/locale/LocaleInformation_ar_JO.java,
6489         gnu/java/locale/LocaleInformation_ar_KW.java,
6490         gnu/java/locale/LocaleInformation_ar_LB.java,
6491         gnu/java/locale/LocaleInformation_ar_LY.java,
6492         gnu/java/locale/LocaleInformation_ar_MA.java,
6493         gnu/java/locale/LocaleInformation_ar_OM.java,
6494         gnu/java/locale/LocaleInformation_ar_QA.java,
6495         gnu/java/locale/LocaleInformation_ar_SD.java,
6496         gnu/java/locale/LocaleInformation_ar_SY.java,
6497         gnu/java/locale/LocaleInformation_ar_TN.java,
6498         gnu/java/locale/LocaleInformation_ar_YE.java,
6499         gnu/java/locale/LocaleInformation_be_BY.java,
6500         gnu/java/locale/LocaleInformation_bn_IN.java,
6501         gnu/java/locale/LocaleInformation_br_FR.java,
6502         gnu/java/locale/LocaleInformation_bs_BA.java,
6503         gnu/java/locale/LocaleInformation_ca_ES.java,
6504         gnu/java/locale/LocaleInformation_cs_CZ.java,
6505         gnu/java/locale/LocaleInformation_cy_GB.java,
6506         gnu/java/locale/LocaleInformation_da_DK.java,
6507         gnu/java/locale/LocaleInformation_de_AT.java,
6508         gnu/java/locale/LocaleInformation_de_BE.java,
6509         gnu/java/locale/LocaleInformation_de_CH.java,
6510         gnu/java/locale/LocaleInformation_de_DE.java,
6511         gnu/java/locale/LocaleInformation_de_LU.java,
6512         gnu/java/locale/LocaleInformation_el_GR.java,
6513         gnu/java/locale/LocaleInformation_en_AU.java,
6514         gnu/java/locale/LocaleInformation_en_BW.java,
6515         gnu/java/locale/LocaleInformation_en_CA.java,
6516         gnu/java/locale/LocaleInformation_en_DK.java,
6517         gnu/java/locale/LocaleInformation_en_GB.java,
6518         gnu/java/locale/LocaleInformation_en_HK.java,
6519         gnu/java/locale/LocaleInformation_en_IE.java,
6520         gnu/java/locale/LocaleInformation_en_IN.java,
6521         gnu/java/locale/LocaleInformation_en_NZ.java,
6522         gnu/java/locale/LocaleInformation_en_PH.java,
6523         gnu/java/locale/LocaleInformation_en_SG.java,
6524         gnu/java/locale/LocaleInformation_en_US.java,
6525         gnu/java/locale/LocaleInformation_en_ZA.java,
6526         gnu/java/locale/LocaleInformation_en_ZW.java,
6527         gnu/java/locale/LocaleInformation_es_AR.java,
6528         gnu/java/locale/LocaleInformation_es_BO.java,
6529         gnu/java/locale/LocaleInformation_es_CL.java,
6530         gnu/java/locale/LocaleInformation_es_CO.java,
6531         gnu/java/locale/LocaleInformation_es_CR.java,
6532         gnu/java/locale/LocaleInformation_es_DO.java,
6533         gnu/java/locale/LocaleInformation_es_EC.java,
6534         gnu/java/locale/LocaleInformation_es_ES.java,
6535         gnu/java/locale/LocaleInformation_es_GT.java,
6536         gnu/java/locale/LocaleInformation_es_HN.java,
6537         gnu/java/locale/LocaleInformation_es_MX.java,
6538         gnu/java/locale/LocaleInformation_es_NI.java,
6539         gnu/java/locale/LocaleInformation_es_PA.java,
6540         gnu/java/locale/LocaleInformation_es_PE.java,
6541         gnu/java/locale/LocaleInformation_es_PR.java,
6542         gnu/java/locale/LocaleInformation_es_PY.java,
6543         gnu/java/locale/LocaleInformation_es_SV.java,
6544         gnu/java/locale/LocaleInformation_es_US.java,
6545         gnu/java/locale/LocaleInformation_es_UY.java,
6546         gnu/java/locale/LocaleInformation_es_VE.java,
6547         gnu/java/locale/LocaleInformation_et_EE.java,
6548         gnu/java/locale/LocaleInformation_eu_ES.java,
6549         gnu/java/locale/LocaleInformation_fa_IR.java,
6550         gnu/java/locale/LocaleInformation_fi_FI.java,
6551         gnu/java/locale/LocaleInformation_fo_FO.java,
6552         gnu/java/locale/LocaleInformation_fr_BE.java,
6553         gnu/java/locale/LocaleInformation_fr_CA.java,
6554         gnu/java/locale/LocaleInformation_fr_CH.java,
6555         gnu/java/locale/LocaleInformation_fr_FR.java,
6556         gnu/java/locale/LocaleInformation_fr_LU.java,
6557         gnu/java/locale/LocaleInformation_ga_IE.java,
6558         gnu/java/locale/LocaleInformation_gd_GB.java,
6559         gnu/java/locale/LocaleInformation_gl_ES.java,
6560         gnu/java/locale/LocaleInformation_gv_GB.java,
6561         gnu/java/locale/LocaleInformation_he_IL.java,
6562         gnu/java/locale/LocaleInformation_hi_IN.java,
6563         gnu/java/locale/LocaleInformation_hr_HR.java,
6564         gnu/java/locale/LocaleInformation_hu_HU.java,
6565         gnu/java/locale/LocaleInformation_id_ID.java,
6566         gnu/java/locale/LocaleInformation_it_CH.java,
6567         gnu/java/locale/LocaleInformation_it_IT.java,
6568         gnu/java/locale/LocaleInformation_iw_IL.java,
6569         gnu/java/locale/LocaleInformation_ja_JP.java,
6570         gnu/java/locale/LocaleInformation_ka_GE.java,
6571         gnu/java/locale/LocaleInformation_kl_GL.java,
6572         gnu/java/locale/LocaleInformation_ko_KR.java,
6573         gnu/java/locale/LocaleInformation_kw_GB.java,
6574         gnu/java/locale/LocaleInformation_lt_LT.java,
6575         gnu/java/locale/LocaleInformation_lv_LV.java,
6576         gnu/java/locale/LocaleInformation_mi_NZ.java,
6577         gnu/java/locale/LocaleInformation_mk_MK.java,
6578         gnu/java/locale/LocaleInformation_mr_IN.java,
6579         gnu/java/locale/LocaleInformation_mt_MT.java,
6580         gnu/java/locale/LocaleInformation_nl_BE.java,
6581         gnu/java/locale/LocaleInformation_nl_NL.java,
6582         gnu/java/locale/LocaleInformation_nn_NO.java,
6583         gnu/java/locale/LocaleInformation_no_NO.java,
6584         gnu/java/locale/LocaleInformation_oc_FR.java,
6585         gnu/java/locale/LocaleInformation_pl_PL.java,
6586         gnu/java/locale/LocaleInformation_pt_BR.java,
6587         gnu/java/locale/LocaleInformation_pt_PT.java,
6588         gnu/java/locale/LocaleInformation_ro_RO.java,
6589         gnu/java/locale/LocaleInformation_ru_RU.java,
6590         gnu/java/locale/LocaleInformation_ru_UA.java,
6591         gnu/java/locale/LocaleInformation_se_NO.java,
6592         gnu/java/locale/LocaleInformation_sk_SK.java,
6593         gnu/java/locale/LocaleInformation_sl_SI.java,
6594         gnu/java/locale/LocaleInformation_sq_AL.java,
6595         gnu/java/locale/LocaleInformation_sr_YU.java,
6596         gnu/java/locale/LocaleInformation_sv_FI.java,
6597         gnu/java/locale/LocaleInformation_sv_SE.java,
6598         gnu/java/locale/LocaleInformation_ta_IN.java,
6599         gnu/java/locale/LocaleInformation_te_IN.java,
6600         gnu/java/locale/LocaleInformation_tg_TJ.java,
6601         gnu/java/locale/LocaleInformation_tl_PH.java,
6602         gnu/java/locale/LocaleInformation_tr_TR.java,
6603         gnu/java/locale/LocaleInformation_uk_UA.java,
6604         gnu/java/locale/LocaleInformation_ur_PK.java,
6605         gnu/java/locale/LocaleInformation_uz_UZ.java,
6606         gnu/java/locale/LocaleInformation_vi_VN.java,
6607         gnu/java/locale/LocaleInformation_yi_US.java,
6608         gnu/java/locale/LocaleInformation_zh_CN.java,
6609         gnu/java/locale/LocaleInformation_zh_HK.java,
6610         gnu/java/locale/LocaleInformation_zh_SG.java,
6611         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
6612         info; from Classpath.
6613
6614         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
6615         isPaintPending): New methods.
6616         * gnu/awt/xlib/XFramePeer.java (getState, setState,
6617         setMaximizedBounds): New methods.
6618         (beginLayout, endLayout, isPaintPending): Likewise.
6619         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
6620         (requestFocus): Likewise.
6621         (isObscured): Likewise.
6622         (canDetermineObscurity): Likewise.
6623         (coalescePaintEvent): Likewise.
6624         (updateCursorImmediately): Likewise.
6625         (createVolatileImage): Likewise.
6626         (handlesWheelScrolling): Likewise.
6627         (createBuffers): Likewise.
6628         (getBackBuffer): Likewise.
6629         (flip): Likewise.
6630         (destroyBuffers): Likewise.
6631
6632         * Makefile.in: Rebuilt.
6633         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
6634         RobotPeer.java.
6635         * gnu/java/awt/GLightweightPeer.java,
6636         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
6637         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6638         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
6639         gnu/java/awt/peer/gtk/GtkFramePeer.java,
6640         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
6641         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
6642         java/awt/dnd/peer/DragSourceContextPeer.java,
6643         java/awt/dnd/peer/DropTargetContextPeer.java,
6644         java/awt/peer/ButtonPeer.java,
6645         java/awt/peer/CheckboxMenuItemPeer.java,
6646         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
6647         java/awt/peer/ComponentPeer.java,
6648         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
6649         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
6650         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
6651         java/awt/peer/MenuBarPeer.java,
6652         java/awt/peer/MenuComponentPeer.java,
6653         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
6654         java/awt/peer/PopupMenuPeer.java,
6655         java/awt/peer/ScrollPanePeer.java,
6656         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
6657         java/awt/peer/TextComponentPeer.java,
6658         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
6659         New versions from Classpath.
6660         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
6661         * java/awt/peer/RobotPeer.java: Likewise.
6662
6663 2003-03-01  Mark Wielaard  <mark@klomp.org>
6664
6665         * java/io/ObjectInputStream.java: Reindent.
6666         * java/io/ObjectOutputStream.java: Likewise.
6667
6668 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
6669
6670         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
6671         jvalue for each argument. Simplify.
6672         * testsuite/libjava.jni/calls.c (docall),
6673         testsuite/libjava.jni/calls.java (longpb_f): check for argument
6674         misalignment.
6675
6676 2003-02-28  Mark Wielaard  <mark@klomp.org>
6677
6678         * Makefile.am (nat_source_files): Remove
6679         java/io/natObjectOutputStream.cc.
6680         * Makefile.in: Regenerated.
6681         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
6682         * java/io/ObjectStreamField.java (typename): New field.
6683         (ObjectStreamField(String, Class)): Initialize new field.
6684         (ObjectStreamField(String, String)): New Constructor.
6685         (getTypeCode): Use new field.
6686         (getTypeString): Use new field.
6687         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
6688         ObjectStreamExceptions. Remember and reset old BlockDataMode.
6689         Handle reading of Proxy classes. Never drain(), just write
6690         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
6691         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
6692         (flush): Call flush(), not just drain().
6693         (writeBoolean): Always use blockDataOutput.
6694         (writeByte): Likewise.
6695         (writeShort): Likewise.
6696         (writeChar): Likewise.
6697         (writeInt): Likewise.
6698         (writeLong): Likewise.
6699         (writeFloat): Likewise.
6700         (writeDouble): Likewise.
6701         (writeBytes): Likewise.
6702         (putfield (put(String,Object))): Throw IllegalArgumentException if
6703         field cannot be found.
6704         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
6705         (writeArraySizeAndElements): Write byte[] in one go.
6706         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
6707         set BlockDataMode to false.
6708         (annotateProxyClass): New method.
6709         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
6710         (getField): No longer native.
6711         (getMethod): Likewise.
6712         (setBlockDataMode): Always drain() on switch, return old mode.
6713         (static): New static code block.
6714         * java/io/natObjectOutputStream.cc: Removed.
6715         * java/io/ObjectInputStream.java (getField): No longer native.
6716         (getMethod): Likewise.
6717         (readObject): Remember and reset old BlockDataMode. Track whether
6718         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
6719         TC_LONGSTRING.
6720         (defaultReadObject): Set BlockDataMode to false during readFields.
6721         (resolveClass): Create new SecurityManager if necessary.
6722         Use Class.forName() if null ClassLoader found.
6723         (read(byte[],int,int): Copy remaining bytes to data before calling
6724         readNextBlock().
6725         (readFields): Set and reset BlockDataMode on call_read_method.
6726         Catch NoSuchFieldErrors.
6727         (setBlockDataMode): Return old mode.
6728         (static): New static code block.
6729         * java/io/natObjectInputStream.cc (getField): Removed.
6730         (getMethod): Likewise.
6731
6732 2003-02-27  Michael Koch  <konqueror@gmx.de>
6733
6734         * java/beans/Beans.java,
6735         java/beans/FeatureDescriptor.java
6736         java/beans/PropertyEditorManager.java:
6737         Reformated to GNU style.
6738
6739 2003-02-25  Michael Koch  <konqueror@gmx.de>
6740
6741         * gnu/java/nio/MappedByteFileBuffer.java,
6742         gnu/java/nio/natMappedByteFileBuffer.cc:
6743         New files, both are not compiled yet to get not noncompiling CVS.
6744
6745 2003-02-24  Tom Tromey  <tromey@redhat.com>
6746
6747         * java/util/prefs/AbstractPreferences.java (isUserNode):
6748         Implemented.
6749
6750 2003-02-24  Tom Tromey  <tromey@redhat.com>
6751
6752         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
6753         Deprecate.
6754         * java/lang/Thread.java (resume): Deprecate.
6755         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
6756         in @deprecated.
6757
6758 2003-02-23  Tom Tromey  <tromey@redhat.com>
6759
6760         * Makefile.in: Rebuilt.
6761         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
6762
6763 2003-02-23  Tom Tromey  <tromey@redhat.com>
6764
6765         * java/lang/natRuntime.cc (libraries_size, libraries_count,
6766         libraries): Removed.
6767         (add_library): Removed.
6768         (_load): Don't call add_library.
6769         (loadLibraryInternal): Likewise.
6770         (init): Likewise.
6771         (lookup_data): New struct.
6772         (find_symbol): New function.
6773         (_Jv_FindSymbolInExecutable): Use it.
6774
6775 2002-02-21  Anthony Green  <green@redhat.com>
6776
6777         * java/lang/Thread.java (Thread): New constructor taking stack
6778         size parameter (ignored for now).
6779         * Many methods: Merged GNU Classpath documentation.
6780
6781         * java/lang/Class.java (finalize): throws a Throwable.
6782
6783 2003-02-21  Mark Wielaard  <mark@klomp.org>
6784
6785         * java/util/zip/ZipEntry.java (setComment): Don't check length when
6786         argument is null.
6787
6788 2003-02-21  Mark Wielaard  <mark@klomp.org>
6789
6790         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
6791         then 65535 chars throw IllegalArgumentException.
6792
6793 2003-02-21  Mark Wielaard  <mark@klomp.org>
6794
6795         * java/util/zip/ZipFile.java (finalize): New method.
6796
6797 2003-02-21  Michael Koch  <konqueror@gmx.de>
6798
6799         * gnu/java/nio/natSocketChannelImpl.cc:
6800         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
6801         <cato@df.lth.se> for pointing to it.
6802
6803 2003-02-20  Raif S. Naffah <raif@fl.net.au>
6804
6805         * java/math/BigInteger.java (euclidInv): Take result array as an
6806         argument.  Updated all callers.
6807         (modInverse): Removed unused variables.
6808
6809 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
6810
6811         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
6812         config.status.
6813         * configure: Rebuilt.
6814
6815 2003-02-19  Michael Koch  <konqueror@gmx.de>
6816
6817         * gnu/java/nio/natSocketChannelImpl.cc:
6818         Added support for platforms without network support.
6819
6820 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
6821
6822         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
6823         after config.h.  Use <> for consistency.
6824         * java/lang/natObject.cc: Likewise.
6825         * java/lang/natRuntime.cc: Likewise.
6826         * java/lang/natSystem.cc: Likewise.
6827         * java/util/natTimeZone.cc: Likewise.
6828         * win32.cc: Likewise.
6829         * include/posix.h (fcntl, socket, connect, close, bind, accept,
6830         listen, write, read): Undef to avoid interference from OS macros.
6831
6832 2003-02-19  Michael Koch  <konqueror@gmx.de>
6833
6834         * gnu/java/nio/ByteBufferImpl.java
6835         (ByteBufferImpl): Renamed two variables.
6836         * gnu/java/nio/CharBufferImpl.java
6837         (CharBufferImpl): Renamed two variables.
6838         * gnu/java/nio/DoubleBufferImpl.java
6839         (DoubleBufferImpl): Renamed two variables.
6840         * gnu/java/nio/FloatBufferImpl.java
6841         (FloatBufferImpl): Renamed two variables.
6842         * gnu/java/nio/IntBufferImpl.java
6843         (IntBufferImpl): Renamed two variables.
6844         * gnu/java/nio/LongBufferImpl.java
6845         (LongBufferImpl): Renamed two variables.
6846         * gnu/java/nio/ShortBufferImpl.java
6847         (ShortBufferImpl): Renamed two variables.
6848         * java/nio/CharBuffer.java
6849         (wrap): Fixed arguments to CharBufferImpl constructor.
6850         (hasArray): Only not read-only buffers have backing arrays.
6851         (length): Documentation added.
6852         (subSequence): Documentation added.
6853         * java/nio/DoubleBuffer.java
6854         (hasArray): Only not read-only buffers have backing arrays.
6855         * java/nio/FloatBuffer.java
6856         (hasArray): Only not read-only buffers have backing arrays.
6857         * java/nio/IntBuffer.java
6858         (hasArray): Only not read-only buffers have backing arrays.
6859         * java/nio/LongBuffer.java
6860         (hasArray): Only not read-only buffers have backing arrays.
6861         * java/nio/ShortBuffer.java
6862         (hasArray): Only not read-only buffers have backing arrays.
6863         
6864 2003-02-19  Michael Koch  <konqueror@gmx.de>
6865
6866         * javax/accessibility/AccessibleContext.java
6867         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
6868
6869 2003-02-19  Michael Koch  <konqueror@gmx.de>
6870
6871         * java/awt/ScrollPaneAdjustable.java: Reformated.
6872
6873 2003-02-19  Michael Koch <konqueror@gmx.de>
6874
6875         * gnu/awt/j2d/Graphics2DImpl.java
6876         (getFontRenderContext): New method.
6877         (drawGlyphVector): New method.
6878         * java/awt/Graphics2D.java
6879         (getFontRenderContext): New abstract method.
6880         (drawGlyphVector): New abstract method.
6881         
6882 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
6883
6884         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
6885         if necessary.
6886         
6887         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6888         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6889         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
6890         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
6891         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
6892         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
6893         (setFont, gtkSetFont): add.
6894         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
6895         Propagate font to peer.  (setFont): add FIXME comment.
6896
6897         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6898         (gtkTextGetSize): fix height, width computation.
6899
6900         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
6901         Make X font name a bit less bogus.
6902
6903         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
6904         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
6905
6906         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
6907         (processAdjustmentEvent): Adjust value.
6908
6909         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
6910         logic errors.
6911
6912         * java/awt/Component.java (setVisible, show, hide): Call show and
6913         hide methods in subclasses.
6914         (getPreferredSize): don't set prefSize before we have peer.
6915
6916         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
6917         Guess (0,0) if we don't have peer.
6918
6919
6920 2003-02-18  Michael Koch  <konqueror@gmx.de>
6921
6922         * java/nio/channels/FileChannel.java
6923         (toString): New implementation, added documentation.
6924         (map): Added exception documentation.
6925         (size): Added exception documentation.
6926         (write): New methods, documentation work.
6927         (read): New methods, documentation work.
6928         (implCloseChannel): Rewrote exception documentation.
6929         (force): Throws IOException, added documentation.
6930         (lock): New methods.
6931         (tryLock): New methods.
6932         (position): New methods.
6933         (transferTo): New method.
6934         (transferFrom): New method.
6935         (truncate): New method.
6936         * java/nio/channels/spi/SelectorProvider.java
6937         (provider): Implemented.
6938         * Makefile.am
6939         (ordinary_java_source_files): Added the following files:
6940         gnu/java/nio/DatagramChannelImpl.java
6941         gnu/java/nio/FileChannelImpl.java
6942         gnu/java/nio/PipeImpl.java
6943         gnu/java/nio/SelectionKeyImpl.java
6944         gnu/java/nio/SelectorImpl.java
6945         gnu/java/nio/SelectorProviderImpl.java
6946         gnu/java/nio/ServerSocketChannelImpl.java
6947         gnu/java/nio/SocketChannelImpl.java
6948         java/nio/channels/FileLock.java
6949         (nat_java_source_files): Added the following files:
6950         gnu/java/nio/natFileChannelImpl.cc
6951         gnu/java/nio/natSelectorImpl.cc
6952         gnu/java/nio/natSocketChannelImpl.cc
6953         * Makefile.in: Regenerated.
6954
6955 2003-02-17  Tom Tromey  <tromey@redhat.com>
6956
6957         * java/awt/image/ColorModel.java: Re-merged with Classpath.
6958         * java/awt/image/ImageFilter.java: Likewise.
6959
6960 2003-02-17  Raif S. Naffah <raif@fl.net.au>
6961
6962         * java/math/BigInteger.java (euclidInv): Return array of
6963         `BigInteger's.  Changed all callers.
6964
6965 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
6966
6967         * java/util/Properties.java (store): Move the code formerly in
6968         list(), into this method.
6969         (list (PrintStream)): Just call list (PrintWriter) with a 
6970         PrintWriter object constructed from the given PrintStream object.
6971         (list (PrintWriter)): Emulate the output of Properties.list()
6972         as found in JDK 1.3/1.4.
6973
6974 2003-02-17  Michael Koch  <konqueror@gmx.de>
6975
6976         * java/net/DatagramSocket.java
6977         (connect): Merged with classpath.
6978         (disconnect): Merged documentation with classpath.
6979         (receice): Merged documentation with classpath.
6980         (send): Merged documentation with classpath.
6981         
6982 2003-02-17  Michael Koch  <konqueror@gmx.de>
6983
6984         * java/awt/dnd/DragSourceContext.java
6985         (addDragSourceListener): Added documentation.
6986         * java/awt/dnd/DragSourceDragEvent.java
6987         (serialVersionUID): New member variable.
6988         (getDropAction): Reformated.
6989         * java/awt/dnd/DragSourceDropEvent.java
6990         (serialVersionUID): New member variable.
6991         (dropSuccess): Renamed from success for serialization issues.
6992         * java/awt/dnd/DragSourceEvent.java
6993         (serialVersionUID): New member variable.
6994         * java/awt/dnd/DropTarget.java
6995         (serialVersionUID): New member variable.
6996         (DropTarget): Implemented, documentation reworked.
6997         (setComponent): Documentation added.
6998         (getComponent): Documentation added.
6999         (setDefaultActions): Documentation added.
7000         (getDefaultActions): Documentation added.
7001         (addDropTargetListener): Documentation added.
7002         * java/awt/dnd/DropTargetContext.java
7003         (DropTargetContext): Documentation added.
7004         (TransferableProxy.TransferableProxy): New method.
7005         (dropComplete): Fixed documentation.
7006         (getTransferable): Fixed documentation.
7007         (createTransferableProxy): Implemented.
7008         * java/awt/dnd/DropTargetDragEvent.java
7009         (DropTargetDragEvent): Documentation added.
7010         (serialVersionUID): New member variable.
7011         (DropTargetDragEvent): Throw exceptions, documentation added.
7012         (acceptDrag): Implemented.
7013         (getCurrentDataFlavors): Implemented.3yy
7014         (getCurrentDataFlavorsAsList): Implemented.
7015         (isDataFlavorSupported): Implemented.
7016         (rejectDrag): Implemented.
7017         * java/awt/dnd/DropTargetDropEvent.java
7018         (DropTargetDropEvent): Documentation added.
7019         (serialVersionUID): New member variable.
7020         (actions): Renamed from srcActions for serialization issues.
7021         (isLocalTx): Renamed from isLocalTx for serialization issues.
7022         (DropTargetDropEvent): New implementation, throw exceptions,
7023         documentation added.
7024         (getCurrentDataFlavors): Implemented.
7025         (getCurrentDataFlavorsAsList): Implemented.
7026         (isDataFlavorSupported): Implemented.
7027         (getSourceActions): Implemented.
7028         (getDropAction): Implemented.
7029         (getTransferable): Implemented.
7030         (acceptDrop): Implemented.
7031         (rejectDrop): Implemented.
7032         * java/awt/dnd/DropTargetListener.java
7033         (drop): Fixed documentation.
7034         * java/awt/dnd/MouseDragGestureRecognizer.java
7035         (MouseDragGestureRecognizer): Documentation added.
7036
7037 2003-02-17  Michael Koch  <konqueror@gmx.de>
7038
7039         * java/awt/font/FontRenderContext.java,
7040         java/awt/font/ShapeGraphicAttribute.java,
7041         java/awt/font/MultipleMaster.java,
7042         java/awt/font/TransformAttribute.java,
7043         java/awt/font/GlyphJustificationInfo.java,
7044         java/awt/font/LineBreakMeasurer.java,
7045         java/awt/font/TextMeasurer.java,
7046         java/awt/font/TextLayout.java,
7047         java/awt/font/LineMetrics.java,
7048         java/awt/font/TextAttribute.java,
7049         java/awt/font/GlyphMetrics.java,
7050         java/awt/font/OpenType.java,
7051         java/awt/font/GlyphVector.java,
7052         java/awt/font/GraphicAttribute.java,
7053         java/awt/font/ImageGraphicAttribute.java,
7054         java/awt/font/NumericShaper.java: New files.
7055         * Makefile.am
7056         (awt_java_source_files): Added the following files:
7057         java/awt/font/FontRenderContext.java
7058         java/awt/font/ShapeGraphicAttribute.java
7059         java/awt/font/MultipleMaster.java
7060         java/awt/font/TransformAttribute.java
7061         java/awt/font/GlyphJustificationInfo.java
7062         java/awt/font/LineBreakMeasurer.java
7063         java/awt/font/TextMeasurer.java
7064         java/awt/font/TextLayout.java
7065         java/awt/font/LineMetrics.java
7066         java/awt/font/TextAttribute.java
7067         java/awt/font/GlyphMetrics.java
7068         java/awt/font/OpenType.java
7069         java/awt/font/GlyphVector.java
7070         java/awt/font/GraphicAttribute.java
7071         java/awt/font/ImageGraphicAttribute.java
7072         java/awt/font/NumericShaper.java
7073         * Makefile.in: Regenerated.
7074
7075 2003-02-17  Michael Koch  <konqueror@gmx.de>
7076
7077         * java/awt/print/Paper.java
7078         (Paper): Implements Cloneable.
7079         * java/awt/print/PrinterJob.java
7080         (setJobName): Return value must be void.
7081         (print): Throws PrinterException.
7082         
7083 2003-02-16  Tom Tromey  <tromey@redhat.com>
7084
7085         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
7086         variable.
7087
7088 2003-02-15  Michael Koch  <konqueror@gmx.de>
7089
7090         * java/awt/datatransfer/DataFlavor.java
7091         (isRepresentationClassByteBuffer): Removed try-catch block.
7092         (isRepresentationClassCharBuffer): Removed try-catch block.
7093         (isRepresentationClassReader): Removed try-catch block.
7094
7095 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7096
7097         * java/nio/charset/Charset.java
7098         (isRegistered): Fixed method args and implementation.
7099         * java/nio/charset/CharsetEncoder.java
7100         (unmappableCharacterAction): New method.
7101
7102 2003-02-15  Michael Koch  <konqueror@gmx.de>
7103
7104         * java/awt/CheckboxMenuItem.java
7105         (CheckBoxMenuItem): Dont implement Serializable.
7106         (getListeners): New method,
7107         (getItemListeners): New method.
7108         * java/awt/Choice.java
7109         (getListeners): New method,
7110         (getItemListeners): New method.
7111         * java/awt/Container.java
7112         (getListeners): Added exception documentation.
7113         (setFocusTraversalKeys): Throw exceptions, added documentattion.
7114         (getFocusTraversalKeys): Added documentation.
7115         (areFocusTraversalKeysSet): Added documentation.
7116         (applyComponentOrientation): Added documentation.
7117         * java/awt/ContainerOrderFocusTraversalPolicy.java
7118         (implicitDownCycleTraversal): Renamed from downCycle for
7119         serialization.
7120         (ContainerOrderFocusTraversalPolicy): Added documentation.
7121         (accept): Reformated.
7122         * java/awt/Dialog.java
7123         (Dialog): Dont implement Serializable.
7124         (Dialog): Added documentation.
7125         * java/awt/Font.java
7126         (Font): Dont use absolute class name.
7127         * java/awt/Frame.java
7128         (Frame): Font implement Serializable.
7129         * java/awt/List.java
7130         (getListeners): New method,
7131         (getActionListeners): New method.       
7132         (getItemListeners): New method.
7133         * java/awt/Menu.java
7134         (countItems): New deprecated method.
7135         * java/awt/Scrollbar.java
7136         (getListeners): New method,
7137         (getAdjustmentListeners): New method,
7138         * java/awt/TextComponent.java
7139         (getListeners): New method,
7140         (getTextListeners): New method,
7141         * java/awt/TextField.java
7142         (getListeners): New method,
7143         (getActionListeners): New method.       
7144         * java/awt/Window.java
7145         (windowFocusListener): New member variable.
7146         (windowStateListener): New member variable.
7147         (getWindowFocusListeners): New method.
7148         (getWindowStateListeners): New method.
7149         (addWindowFocusListener): New method.
7150         (addWindowStateListener): New method.
7151         (removeWindowFocusListener): New method.
7152         (removeWindowStateListener): New method.
7153         * java/awt/datatransfer/DataFlavor.java
7154         (isRepresentationClassByteBuffer): New method.
7155         (isRepresentationClassCharBuffer): New method.
7156         (isRepresentationClassReader): New method.
7157
7158 2003-02-14  Mark Wielaard  <mark@klomp.org>
7159
7160         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
7161         zero when there is an exponent and the significant is zero.
7162         (divide): Always set scale to newScale even in special ZERO case.
7163
7164 2003-02-14  Tom Tromey  <tromey@redhat.com>
7165
7166         * java/lang/System.java (properties): Use Properties.clone.
7167         (setProperties): Likewise.
7168
7169 2003-02-14  Michael Koch  <konqueror@gmx.de>
7170
7171         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
7172         * gnu/java/nio/ServerSocketChannelImpl.java
7173         (SocketAccept): Removed.
7174         (accept): Commented out use of SocketAccept.
7175
7176 2003-02-13  Tom Tromey  <tromey@redhat.com>
7177
7178         * verify.cc (state::seen_subrs): New field.
7179         (state::state): Initialize it.
7180         (state::clean_subrs): New method.
7181         (state::~state): Call it.
7182         (state::copy): Copy subroutine list.
7183         (state::add_subr): New method.
7184         (state::merge): Only register a change if the current subroutine
7185         hasn't yet been noted.
7186
7187 2003-02-13  Mark Wielaard  <mark@klomp.org>
7188
7189         * java/io/InputStreamReader.java (getEncoding): Return null when
7190         closed.
7191         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
7192
7193 2003-02-13  Mark Wielaard  <mark@klomp.org>
7194  
7195         * java/util/zip/InflaterInputStream.java (read): Return zero when len
7196         is zero.
7197
7198 2003-02-13  Mark Wielaard  <mark@klomp.org>
7199
7200         * java/io/BufferedOutputStream.java (write(int)): Only flush when
7201         next byte cannot be buffered.
7202
7203 2003-02-13  Michael Koch  <konqueror@gmx.de>
7204  
7205         * java/awt/Label.java
7206         (Label): Don't implement Serializable directly.
7207         (addNotify): Fixed typo in documentation.
7208         * java/awt/List.java
7209         (List): Don't implement Serializable directly.
7210         * java/awt/PopupMenu.java
7211         (PopupMenu): Don't implement Serializable directly.
7212         * java/awt/ScrollPane.java
7213         (ScrollPane): Don't implement Serializable directly.
7214         * java/awt/Scrollbar.java
7215         (Scrollbar): Don't implement Serializable directly.
7216         * java/awt/TextArea.java
7217         (preferredSize): Fixed method arguments.
7218         * java/awt/TextField.java
7219         (TextField): Don't implement Serializable directly.
7220         * java/awt/color/ICC_ColorSpace.java
7221         (fromCIOXYZ): Documentation added.
7222         (getMinValue): Documentation added.
7223         (getMaxValue): Documentation added.
7224         * java/awt/datatransfer/DataFlavor.java
7225         (isMimeTypeEqual): May not be final.
7226         (clone): Throws CloneNotSupportedException.
7227         (getReaderForText): Don't throws UnsupportedEncodingException.
7228
7229 2003-02-13  Michael Koch  <konqueror@gmx.de>
7230  
7231         * gnu/java/awt/peer/gtk/GdkGraphics.java
7232         (drawString): New stubbed method.
7233         * java/awt/Graphics.java
7234         (drawString): New method.
7235
7236 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
7237
7238         PR libgcj/9271:
7239         * java/security/SecureRandom.java (next): Avoid bias in results.
7240
7241 2003-02-13  Michael  <konqueror@gmx.de>
7242
7243         * gnu/java/nio/FileChannelImpl.java
7244         (lengthInternal): Must be native.
7245         (size): Check if channel is already closed.
7246         (implCloseChannel): Reformated.
7247         (read): w was unused, removed it.
7248         (read): Removed.
7249         (read): New method.
7250         (write): New method.
7251         (map): Check arguments.
7252         (force): Throws IOException, check if channel is closed.
7253         (transferTo): New method.
7254         (transferFrom): New method.
7255         (lock): New method.
7256         (tryLock): New method.
7257         (position): New method.
7258         (truncate): New method.
7259         (nio_mmap_file): Uncommented.
7260         (nio_munmap_file): Uncommented.
7261         (nio_msync): Uncommented.
7262         * gnu/java/nio/natFileChannelImpl.cc: New file.
7263         
7264 2003-02-13  Michael Koch  <konqueror@gmx.de>
7265
7266         * java/nio/ByteBuffer.java
7267         (endian): New member variable.
7268         (get): New methods.
7269         (equals): New method.
7270         (compareTo): New method.
7271         (order): New methods.
7272         (compact): New method.
7273         (isDirect): New method.
7274         (slice): New method.
7275         (duplicate): New method.
7276         (asReadOnlyBuffer): New method.
7277         (asCharBuffer): New method.
7278         (asDoubleBuffer): New method.
7279         (asFloatBuffer): New method.
7280         (asIntBuffer): New method.
7281         (asLongBuffer): New method.
7282         (asShortBuffer): New method.
7283         (get*): New methods.
7284         (put*): New methods.
7285         (toString): New method.
7286         * java/nio/CharBuffer.java
7287         (CharBuffer): Implement Comparable instead of Cloneable.
7288         (get): May not be final.
7289         (put): May not be final.
7290         
7291 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
7292
7293         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
7294         lastIndexOf( ) instead of indexOf( ) to find the colon before
7295         the line number, because Win32 file names might contain a 
7296         drive letter and a colon at the start of an absolute path.
7297
7298 2003-02-13  Michael Koch  <konqueror@gmx.de>
7299
7300         * gnu/java/nio/natSocketChannelImpl.cc
7301         (SocketConnect): This is not implemented yet.
7302         (SocketBind): This is not implemented yet.
7303
7304 2003-02-13  Michael Koch  <konqueror@gmx.de>
7305
7306         * gnu/java/nio/natByteBufferImpl.cc,
7307         gnu/java/nio/natCharBufferImpl.cc,
7308         gnu/java/nio/natDoubleBufferImpl.cc,
7309         gnu/java/nio/natFloatBufferImpl.cc,
7310         gnu/java/nio/natIntBufferImpl.cc,
7311         gnu/java/nio/natLongBufferImpl.cc,
7312         gnu/java/nio/natShortBufferImpl.cc:
7313         Added copyright and license.
7314         * java/nio/DoubleBuffer.java,
7315         java/nio/FloatBuffer.java,
7316         java/nio/IntBuffer.java,
7317         java/nio/LongBuffer.java,
7318         java/nio/ShortBuffer.java
7319         (array): Throw exceptions.
7320         (arrayOffset): Throw exceptions.
7321
7322 2003-02-13  Michael Koch  <konqueror@gmx.de>
7323  
7324         * gnu/java/util/prefs/FileBasedFactory.java,
7325         gnu/java/util/prefs/MemmoryBasedFactory.java,
7326         gnu/java/util/prefs/MemoryBasedPreferences.java,
7327         gnu/java/util/prefs/NodeReader.java,
7328         gnu/java/util/prefs/NodeWriter.java,
7329         java/util/prefs/AbstractPreferences.java,
7330         java/util/prefs/BackingStoreException.java,
7331         java/util/prefs/InvalidPreferencesFormatException.java,
7332         java/util/prefs/NodeChangeEvent.java,
7333         java/util/prefs/NodeChangeListener.java,
7334         java/util/prefs/PreferenceChangeEvent.java,
7335         java/util/prefs/PreferenceChangeListener.java,
7336         java/util/prefs/Preferences.java,
7337         java/util/prefs/PreferencesFactory.java:
7338         New files, all merged from classpath.
7339         * Makefile.am
7340         (ordinary_java_source_files): Added the following files:
7341         gnu/java/util/prefs/FileBasedFactory.java,
7342         gnu/java/util/prefs/MemmoryBasedFactory.java,
7343         gnu/java/util/prefs/MemoryBasedPreferences.java,
7344         gnu/java/util/prefs/NodeReader.java,
7345         gnu/java/util/prefs/NodeWriter.java,
7346         (core_java_source_files): Added the following files:
7347         java/util/prefs/AbstractPreferences.java,
7348         java/util/prefs/BackingStoreException.java,
7349         java/util/prefs/InvalidPreferencesFormatException.java,
7350         java/util/prefs/NodeChangeEvent.java,
7351         java/util/prefs/NodeChangeListener.java,
7352         java/util/prefs/PreferenceChangeEvent.java,
7353         java/util/prefs/PreferenceChangeListener.java,
7354         java/util/prefs/Preferences.java,
7355         java/util/prefs/PreferencesFactory.java
7356         * Makefile.in: Regenerated.
7357  
7358 2003-02-13  Michael Koch  <konqueror@gmx.de>
7359
7360         * java/net/NetPermission.java
7361         (NetPermission): Make doucmentation match the method declaration.
7362         * java/net/NetworkInterface.java
7363         (equals): Reformated for GNU coding style.
7364         * java/net/ServerSocket.java: Merged with classpath.
7365         * java/net/Socket.java: Partly merged with classpath (Added some @since).
7366         * java/net/SocketImpl.java
7367         (localPort): Merged with classpath (initialize with -1).
7368         * java/net/SocketPermission.java: Merged with classpath (reindented).
7369         * java/net/URLDecoder.java: Merged with classpath (reindented).
7370
7371 2003-02-13  Michael Koch  <konqueror@gmx.de>
7372
7373         * java/awt/GridBagConstraints.java
7374         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
7375         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
7376         * java/awt/KeyboardFocusManager.java
7377         (setGlobalCurrentFocusCycleRoot): Must be public.
7378         * java/awt/MenuComponent.java
7379         (MenuComponent): Must be public.
7380         * java/awt/Toolkit.java:
7381         Added some empty lines to make documentation more readable.
7382         (getFontPeer): Added @deprecated.
7383         (getColorModel): Added exception documentation.
7384         (getProperty): Fixed documentation.
7385  
7386 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
7387
7388         * configure.host (alpha*-*): Default to -mieee.
7389         * configure.in (IEEESPEC): New.
7390         * libgcj.spec.in (jc1): Add IEEESPEC.
7391         * configure: Rebuild.
7392
7393 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
7394
7395         * include/win32.h: Include ws2tcpip.h instead of
7396         winsock.h to obtain definition of the socklen_t type.
7397         Remove IP_TOS definition - not needed with ws2tcpip.h
7398         (_Jv_connect): Correct slight formatting error.
7399
7400 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
7401
7402         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
7403         size of the arguments for a JNI function. For Win32,
7404         modify to search for all forms of possible exported
7405         names of an stdcall JNI function.
7406         (_Jv_JNIMethod::call): Modify to calculate the size
7407         of the arguments passed to a JNI function and pass
7408         it to _Jv_LookupJNIMethod.
7409
7410 2003-02-12  Michael Koch  <konqueror@gmx.de>
7411
7412         * java/nio/channels/Channels.java: New file.
7413         * Makefile.am
7414         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
7415         * Makefile.in: Regenerated.
7416
7417 2003-02-12  Michael Koch  <konqueror@gmx.de>
7418
7419         * java/nio/ByteBuffer.java
7420         (allocate): Implemented.
7421         (wrap): Implemented.
7422         * java/nio/CharBuffer.java:
7423         Some documentation added and reworked.
7424         (endian): Removed.
7425         (allocate): Implemented.
7426         (wrap): Implemented.
7427         (array): Throw exceptions.
7428         (arrayOffset): Throw exceptions.
7429         (toString): Implemented.
7430         (length): Implemented.
7431         (put): Implemented.
7432         (charAt): Implemented.
7433
7434 2003-02-11  John Leuner  <jewel@debian.org>
7435
7436         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
7437         reads from end of file.
7438
7439 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
7440
7441         * java/io/natFileDescriptorWin32.cc 
7442         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
7443         returns with Win32 error code ERROR_BROKEN_PIPE.
7444
7445 2003-02-11  Michael Koch  <konqueror@gmx.de>
7446
7447         * Makefile.in
7448         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
7449
7450 2003-02-11  Michael Koch  <konqueror@gmx.de>
7451
7452         * gnu/java/nio/ByteBufferImpl.java:
7453         Reformated and removed some code.
7454         (backing_buffer): Removed.      
7455         (array_offset): Removed.
7456         (ro): Renamed to readOnly.
7457         (ByteBufferImpl): Use parent constructor, initialize readOnly.
7458         * gnu/java/nio/CharBufferImpl.java:
7459         Reformated and removed some code.
7460         (array_offset): Removed.
7461         (ro): Renamed to readOnly.
7462         (CharBufferImpl): Use parent constructor, initialize readOnly.
7463         (inc_pos): Removed.
7464         (order): New method.
7465         * gnu/java/nio/DoubleBufferImpl.java:
7466         Reformated and removed some code.
7467         (array_offset): Removed.
7468         (ro): Renamed to readOnly.
7469         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
7470         (inc_pos): Removed.
7471         (order): New method.
7472         * gnu/java/nio/FloatBufferImpl.java:
7473         Reformated and removed some code.
7474         (array_offset): Removed.
7475         (ro): Renamed to readOnly.
7476         (FloatBufferImpl): Use parent constructor, initialize readOnly.
7477         (inc_pos): Removed.
7478         (order): New method.
7479         * gnu/java/nio/IntBufferImpl.java:
7480         Reformated and removed some code.
7481         (array_offset): Removed.
7482         (ro): Renamed to readOnly.
7483         (IntBufferImpl): Use parent constructor, initialize readOnly.
7484         (inc_pos): Removed.
7485         (order): New method.
7486         * gnu/java/nio/LongBufferImpl.java:
7487         Reformated and removed some code.
7488         (array_offset): Removed.
7489         (ro): Renamed to readOnly.
7490         (LongBufferImpl): Use parent constructor, initialize readOnly.
7491         (inc_pos): Removed.
7492         (order): New method.
7493         * gnu/java/nio/ShortBufferImpl.java:
7494         Reformated and removed some code.
7495         (array_offset): Removed.
7496         (ro): Renamed to readOnly.
7497         (ShortBufferImpl): Use parent constructor, initialize readOnly.
7498         (inc_pos): Removed.
7499         (order): New method.
7500         * Makefile.am
7501         (ordinary_java_source_files): Added the following files:
7502         gnu/java/nio/ByteBufferImpl.java
7503         gnu/java/nio/CharBufferImpl.java
7504         gnu/java/nio/DoubleBufferImpl.java
7505         gnu/java/nio/FloatBufferImpl.java
7506         gnu/java/nio/IntBufferImpl.java
7507         gnu/java/nio/LongBufferImpl.java
7508         gnu/java/nio/ShortBufferImpl.java
7509         java/nio/DoubleBuffer.java
7510         java/nio/FloatBuffer.java
7511         java/nio/IntBuffer.java
7512         java/nio/LongBuffer.java
7513         java/nio/ShortBuffer.java
7514         (nat_source_files): Added the following files:
7515         gnu/java/nio/natByteBufferImpl.cc
7516         gnu/java/nio/natCharBufferImpl.cc
7517         gnu/java/nio/natDoubleBufferImpl.cc
7518         gnu/java/nio/natFloatBufferImpl.cc
7519         gnu/java/nio/natIntBufferImpl.cc
7520         gnu/java/nio/natLongBufferImpl.cc
7521         gnu/java/nio/natShortBufferImpl.cc
7522         * Makefile.in: Regenerated.
7523
7524 2003-02-11  Michael Koch  <konqueror@gmx.de>
7525
7526         * gnu/java/nio/natCharBufferImpl.cc
7527         (nio_cast): Removed.
7528         (nio_put_*): Removed.
7529         (nio_get_*): Removed.
7530         * gnu/java/nio/natDoubleBufferImpl.cc
7531         (nio_cast): Removed.
7532         (nio_put_*): Removed.
7533         (nio_get_*): Removed.
7534         * gnu/java/nio/natFloatBufferImpl.cc
7535         (nio_cast): Removed.
7536         (nio_put_*): Removed.
7537         (nio_get_*): Removed.
7538         * gnu/java/nio/natIntBufferImpl.cc
7539         (nio_cast): Removed.
7540         (nio_put_*): Removed.
7541         (nio_get_*): Removed.
7542         * gnu/java/nio/natLongBufferImpl.cc
7543         (nio_cast): Removed.
7544         (nio_put_*): Removed.
7545         (nio_get_*): Removed.
7546         * gnu/java/nio/natShortBufferImpl.cc
7547         (nio_cast): Removed.
7548         (nio_put_*): Removed.
7549         (nio_get_*): Removed.
7550         * gnu/java/nio/SelectorProviderImpl.java
7551         (openDatagramChannel): Throws IOException.
7552         (openPipe): Throws IOException.
7553         (openSelector): Throws IOException.
7554         (openServerSocketChannel): Throws IOException.
7555         (openSocketChannel): Throws IOException.
7556         * gnu/java/nio/ServerSocketChannelImpl.java
7557         (ServerSocketChannelImpl): Throws IOException.
7558         (implCloseSelectableChannel): Throws IOException.
7559         (implConfigureBlocking): Throws IOException.
7560         * java/nio/ByteBuffer.java
7561         (readOnly): Removed.
7562         (hasArray): Use isReadOnly() instead of readOnly.
7563         (array): Use isReadOnly() instead of readOnly.
7564         (arrayOffset): Use isReadOnly() instead of readOnly.
7565         * java/nio/CharBuffer.java
7566         (CharBuffer): Implements Cloneable and CharSequence.
7567
7568 2003-02-11  Michael Koch  <konqueror@gmx.de>
7569
7570         * java/nio/DoubleBuffer.java
7571         (DoubleBuffer): Implements Comparable.
7572         (endian): Removed.
7573         (array_offset): New member variable.
7574         (DoubleBuffer): New constuctor.
7575         (get): May not be final.
7576         (put): May not be final.
7577         (arrayOffset): Implemented.
7578         (order): Made abstract.
7579         (order): Removed.
7580         (as*Buffer): Removed.
7581         (get*): Removed.
7582         (put*): Removed.
7583         * java/nio/FloatBuffer.java
7584         (FloatBuffer): Implements Comparable.
7585         (endian): Removed.
7586         (array_offset): New member variable.
7587         (FloatBuffer): New constuctor.
7588         (get): May not be final.
7589         (put): May not be final.
7590         (arrayOffset): Implemented.
7591         (order): Made abstract.
7592         (order): Removed.
7593         (as*Buffer): Removed.
7594         (get*): Removed.
7595         (put*): Removed.
7596         * java/nio/IntBuffer.java
7597         (IntBuffer): Implements Comparable.
7598         (endian): Removed.
7599         (array_offset): New member variable.
7600         (IntBuffer): New constuctor.
7601         (get): May not be final.
7602         (put): May not be final.
7603         (arrayOffset): Implemented.
7604         (order): Made abstract.
7605         (order): Removed.
7606         (as*Buffer): Removed.
7607         (get*): Removed.
7608         (put*): Removed.
7609         * java/nio/LongBuffer.java
7610         (LongBuffer): Implements Comparable.
7611         (endian): Removed.
7612         (array_offset): New member variable.
7613         (LongBuffer): New constuctor.
7614         (get): May not be final.
7615         (put): May not be final.
7616         (arrayOffset): Implemented.
7617         (order): Made abstract.
7618         (order): Removed.
7619         (as*Buffer): Removed.
7620         (get*): Removed.
7621         (put*): Removed.
7622         * java/nio/ShortBuffer.java
7623         (ShortBuffer): Implements Comparable.
7624         (endian): Removed.
7625         (array_offset): New member variable.
7626         (ShortBuffer): New constuctor.
7627         (get): May not be final.
7628         (put): May not be final.
7629         (arrayOffset): Implemented.
7630         (order): Made abstract.
7631         (order): Removed.
7632         (as*Buffer): Removed.
7633         (get*): Removed.
7634         (put*): Removed.
7635
7636 2003-02-11   Michael Koch  <konqueror@gmx.de>
7637
7638         * java/nio/channels/SelectionKey.java
7639         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
7640         values.
7641
7642 2003-02-11  Michael Koch  <konqueror@gmx.de>
7643
7644         * java/nio/channels/DatagramChannel.java
7645         (write): Throws IOException.
7646         (connect): Throws IOException.
7647         (disconnect): Throws IOException.
7648         (read): Throws IOException.
7649         (receive): Throws IOException.
7650         (send): Throws IOException.
7651         * java/nio/channels/Pipe.java
7652         (open): Throws IOException.
7653         * java/nio/channels/SelectableChannel.java
7654         (configureBlocking): Throws IOException.
7655         * java/nio/channels/ServerSocketChannel.java
7656         (accept): Throws IOException.
7657         * java/nio/channels/SocketChannel.java
7658         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
7659         GatheringByteChannel.
7660         (read): Throws IOException.
7661         (write): Throws IOException.
7662         (finishConnect): Throws IOException.
7663         * java/nio/channels/spi/AbstractInterruptibleChannel.java
7664         (end): Throws AsynchronousCloseException.
7665         * java/nio/channels/spi/AbstractSelectableChannel.java
7666         (configureBlocking): Throws IOException.
7667         (implCloseChannel): Throws IOException.
7668         (implCloseSelectableChannel): Throws IOException.
7669         (implConfigureBlocking): Throws IOException.
7670         * java/nio/channels/spi/SelectorProvider.java
7671         (openDatagramChannel): Throws IOException.
7672         (openPipe): Throws IOException.
7673         (openSelector): Throws IOException.
7674         (openServerSocketChannel): Throws IOException.
7675         (openSocketChannel): Throws IOException.
7676
7677 2003-02-11  Michael Koch  <konqueror@gmx.de>
7678
7679         * gnu/java/nio/FileLockImpl.java,
7680         java/nio/channels/FileLock.java: New files.
7681
7682 2003-02-11  Michael Koch  <konqueror@gmx.de>
7683
7684         * java/nio/charset/IllegalCharsetNameException.java
7685         (serialVersionUID): New member variable.
7686         (charsetName): New member variable.
7687         (IllegalCharsetException): New implementation.
7688         (getCharsetName): New implementation.
7689         * java/nio/charset/UnsupportedCharsetException.java
7690         (serialVersionUID): New member variable.
7691         (charsetName): New member variable.
7692         (UnsupportedCharsetException): New implementation.
7693         (getCharsetName): New implementation.
7694
7695 2003-02-10  Tom Tromey  <tromey@redhat.com>
7696
7697         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
7698         (ex): Renamed from sqlException.
7699
7700 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
7701
7702         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
7703         method used to ensure seeding has occurred and that a specific 
7704         seed can be set and used.
7705
7706 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
7707
7708         * java/lang/Win32Process.java (destroy): Declare as native.
7709         (hasExited): New native method.
7710         (exitValue): Define.
7711         (getErrorStream): Likewise.
7712         (getInputStream): Likewise.
7713         (getOutputStream): Likewise.
7714         (waitFor): Declare as native.
7715         (startProcess): New native method.
7716         (cleanup): Likewise.
7717         (ConcreteProcess): Define.
7718         (outputStream, inputStream, errorStream): New members.
7719         (procHandle, exitCode): Likewise.
7720
7721         * java/lang/natWin32Process.cc
7722         (java::lang::ConcreteProcess::cleanup): Define.
7723         (java::lang::ConcreteProcess::destroy): Likewise.
7724         (java::lang::ConcreteProcess::hasExited): Likewise.
7725         (java::lang::ConcreteProcess::waitFor): Likewise.
7726         (new_string): Likewise.
7727         (java::lang::ConcreteProcess::startProcess): Likewise.
7728
7729 2003-02-10  Raif S. Naffah <raif@fl.net.au>
7730
7731         * java/math/BigInteger.java:
7732         Updated notice to include years 2002 and 3.
7733         Added 2 private (int) arrays with values from the HAC (Handbook of
7734         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
7735         and t[] that contains nbr. of tests --used in isProbablePrime().
7736
7737         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
7738
7739         * java/math/BigInteger.java (make(int[],int), add(int,int),
7740         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
7741         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
7742         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
7743         make(long).
7744
7745         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
7746         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
7747         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
7748         BIs and returns void.
7749         (modInverse(BI)): Use new signatures of euclidInv().
7750
7751         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
7752         static small primes instead of remainder().
7753         Use pre-computed max nbr of trials based on bitlength of BI to test.
7754         Use pre-computed small primes for the trial tests instead of random
7755         numbers.
7756
7757         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
7758         not used.
7759
7760         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
7761         invoacation of MPN.chars_per_word().  not used.
7762
7763         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
7764         local var and used where needed.
7765
7766         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
7767         Combined declaration with initialisation of locals.
7768         Removed unused var.
7769
7770         * java/math/BigInteger.java: Style changes
7771         (pow(int)): Removed 'else' keyword.
7772         (toString(int)): idem.
7773         (doubleValue()): idem.
7774         (bitLength()): idem.
7775         (equals(Object)): Use static methods name in same class w/o prepending
7776         class name.
7777         (doubleValue()): idem.
7778         (setNegative(BI)): idem.
7779         (negate()): idem.
7780         (and(BI,int)): idem.
7781         (and(BI)): idem.
7782         (gcd(BI)): idem.
7783         (byteArrayToIntArray()): Removed casting to (int). this is
7784         std. behaviour.
7785         (canonicalize()): idem.
7786         (alloc(int)): Always instantiate a new BI.
7787
7788 2003-02-10  Tom Tromey  <tromey@redhat.com>
7789
7790         * java/sql/Timestamp.java (compareTo(Object)): New method.
7791         (compareTo(Timestamp)): Likewise.
7792         (serialVersionUID): Updated.
7793
7794 2003-02-07  Mark Wielaard  <mark@klomp.org>
7795
7796         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
7797         when verify is true.
7798         (JarFile(File, boolean)): Likewise.
7799         (manifestRead): Set manifestRead field correctly.
7800
7801 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
7802
7803         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
7804         tests; see patch #1016 on Savannah.
7805
7806 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
7807
7808         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
7809         (toString): do not return Strings starting with . and - erroneously.
7810         Improves Mauve results to 12 of 600 instead of 16 of 338 on
7811         DiagBigDecimal.
7812
7813 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
7814
7815         * java/beans/PropertyDescriptor.java
7816         (PropertyDescriptor(String, Class)): Sanity check getter and setter
7817         methods.
7818         (PropertyDescriptor(String, Class, String, String)): Likewise.
7819         (PropertyDescriptor(String, Method, Method): Factor out getter and
7820         setter method sanity checks into new method.
7821         (findMethods): Don't do parameter sanity checking of get method here.
7822         (checkMethods): New method.
7823
7824 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
7825
7826         * java/beans/PropertyDescriptor.java: Reformat.
7827
7828 2003-02-04  Tom Tromey  <tromey@redhat.com>
7829
7830         * java/io/PipedOutputStream.java (flush): Declare as throwing
7831         IOException.
7832         (close): Likewise.
7833         * java/io/PipedWriter.java (close): Declare as throwing
7834         IOException.
7835         * java/io/StringWriter.java (close): Declare as throwing
7836         IOException.
7837
7838 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
7839
7840         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
7841         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
7842         could also have been exported as "JNI_OnLoad@8" (MinGW) or
7843         "_JNI_OnLoad@8" (MSVC).
7844
7845 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
7846
7847         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
7848         convention on Win32 to invoke native JNI methods.
7849
7850 2003-02-03  Andrew Haley  <aph@redhat.com>
7851
7852         * configure.host (x86_64): Enable interpreter.
7853
7854 2003-02-03  Andrew Haley  <aph@redhat.com>
7855
7856         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
7857         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
7858         * configure.in (BACKTRACESPEC): New.
7859         * configure: Regenerate.
7860
7861 2003-02-02  Tom Tromey  <tromey@redhat.com>
7862
7863         * configure: Rebuilt.
7864         * configure.in (TOOLKIT) [xlib]: Set correctly.
7865
7866         * Makefile.in: Rebuilt.
7867         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
7868         libstdc++.
7869
7870 2003-01-31  Mark WIelaard  <mark@klomp.org>
7871
7872         * Makefile.in: Rebuilt.
7873         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
7874
7875 2003-01-31  Tom Tromey  <tromey@redhat.com>
7876
7877         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
7878         cast to element type.
7879         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
7880         (_Jv_JNI_GetObjectArrayElement): Likewise.
7881
7882         * Makefile.in: Rebuilt.
7883         * Makefile.am (cond_x_ltlibrary): Renamed library to
7884         lib-gnu-awt-xlib.la.
7885         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
7886         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
7887         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
7888         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
7889         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
7890         (lib_gnu_awt_xlib_la_LINK): Likewise.
7891         (install-exec-hook): Removed.
7892         (lib-gnu-awt-xlib.la): Renamed.
7893
7894 2003-01-31  Tom Tromey  <tromey@redhat.com>
7895
7896         * aclocal.m4, configure, include/config.h.in: Rebuilt.
7897         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
7898         aclocal.m4 and lost in some merge.
7899
7900         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
7901         Don't try to find graphics configuration.
7902         * java/awt/Toolkit.java (default_toolkit_name): Use new
7903         Configuration entry.
7904         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
7905         New global.
7906         * configure: Rebuilt.
7907         * configure.in (TOOLKIT): New subst.
7908         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
7909         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
7910         directory.  Make output directories for .c files.
7911         * Makefile.in: Rebuilt.
7912         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
7913         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
7914         (all_java_source_files): Added new sources.
7915         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
7916         (gtk_c_files): New macro.
7917         (gtk_c_source_files): New macro.
7918         (cond_gtk_ltlibrary): New macro.
7919         ($(gtk_c_files)): New target.
7920         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
7921         (gtk_awt_peer_sources): New macro.
7922         (gtk_c_headers): New macro.
7923         ($(gtk_c_headers)): New target.
7924         (ACLOCAL_AMFLAGS): New macro.
7925         * gtk.m4, glib.m4, libart.m4: New files.
7926         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
7927         gnu/java/awt/peer/gtk/GdkGraphics.java,
7928         gnu/java/awt/peer/gtk/GtkArg.java,
7929         gnu/java/awt/peer/gtk/GtkArgList.java,
7930         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
7931         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
7932         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
7933         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
7934         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
7935         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
7936         gnu/java/awt/peer/gtk/GtkClipboard.java,
7937         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7938         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
7939         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
7940         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
7941         gnu/java/awt/peer/gtk/GtkFontPeer.java,
7942         gnu/java/awt/peer/gtk/GtkFramePeer.java,
7943         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
7944         gnu/java/awt/peer/gtk/GtkImage.java,
7945         gnu/java/awt/peer/gtk/GtkImagePainter.java,
7946         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
7947         gnu/java/awt/peer/gtk/GtkListPeer.java,
7948         gnu/java/awt/peer/gtk/GtkMainThread.java,
7949         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
7950         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
7951         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
7952         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
7953         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
7954         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
7955         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
7956         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
7957         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
7958         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
7959         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
7960         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
7961         gnu/java/awt/peer/gtk/GtkToolkit.java,
7962         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
7963         gnu/java/awt/peer/gtk/TestAWT.java,
7964         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
7965         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
7966         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
7967         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
7968         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
7969         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
7970         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
7971         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
7972         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
7973         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
7974         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
7975         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
7976         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
7977         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
7978         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
7979         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
7980         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
7981         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
7982         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
7983         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
7984         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
7985         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
7986         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
7987         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
7988         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
7989         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
7990         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
7991         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
7992         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
7993         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
7994         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
7995         jni/classpath/native_state.c, jni/classpath/native_state.h,
7996         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
7997
7998 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
7999
8000         * java/util/Properties.java (load): Ignore backslash before EOF.
8001
8002 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
8003
8004         * java/lang/natClass.cc (initializeClass): Check tables when
8005         (state == JV_STATE_IN_PROGRESS).
8006         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
8007         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
8008         interpreted classes.
8009         (linkClass0): Use _Jv_WaitForState.
8010
8011 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
8012
8013         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
8014         object when finished.
8015
8016 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
8017
8018         * libjava/configure.host: Disable can_unwind_signal on darwin.
8019
8020 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
8021
8022         Fixes PR java/9254:
8023         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
8024         additionally containing id of the owner thread as well as
8025         the number of nested times the thread has acquired the mutex.
8026         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
8027         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
8028         (_Jv_MutexUnlock): Check if really the owner thread, reset
8029         owner thread id to 0 before leaving, if leaving for the last
8030         time.
8031         (_Jv_MutexLock): Set owner thread id in the mutex and increment
8032         refcount.
8033         (_Jv_ThreadYield): Yield using a call to Sleep(0).
8034         * win32-threads.cc (_Jv_CondWait): Check if really owner of
8035         the passed mutex.
8036         Pass handle of the broadcast event, instead of a pointer to it
8037         in Win32 ResetEvent( ) call.
8038         Remove incorrect return values.
8039         (_Jv_CondDestroy): Close both event handles and delete
8040         critical section.
8041         (_Jv_CondNotify): Check if really the owner thread.
8042         (_Jv_CondNotifyAll): Check if really the owner thread.
8043         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
8044         (really_start): Use SetEvent( ) to signal daemon_cond.
8045         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
8046         WaitForSingleObject( ) instead to wait for daemon_cond to be
8047         signalled.
8048
8049 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
8050
8051         * configure.in: Specifically define HAVE_BACKTRACE if building
8052         for MinGW.
8053         * include/win32.h: Remove HAVE_BACKTRACE definition.
8054         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
8055         * configure: Rebuilt.
8056
8057 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
8058
8059         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
8060         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
8061         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
8062         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
8063         * Makefile.in, configure: Rebuilt.
8064
8065 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
8066
8067         Fixes PR java/9253:
8068         * java/io/natFileWin32.cc (performList): Append only "*.*"
8069         if the canonical file path already has a "\" at the end.
8070
8071 2003-01-24  Tom Tromey  <tromey@redhat.com>
8072
8073         * defineclass.cc (handleMethodsEnd): Precompute code for static
8074         method.
8075         (handleCodeAttribute): Likewise.
8076         * resolve.cc (ncode): Use run_class for unsynchronized static
8077         methods.
8078         * include/java-interp.h (class _Jv_InterpMethod): Declare
8079         run_class.
8080         * interpret.cc (run_synch_class): Initialize class.
8081         (run) [insn_invokestatic]: Don't initialize class.
8082         [insn_anewarray]: Likewise.
8083         [insn_multianewarray]: Likewise.
8084         (run_class): New function.
8085
8086 2003-01-24  Tom Tromey  <tromey@redhat.com>
8087
8088         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
8089         comment.
8090
8091 2003-01-22  Andrew Haley  <aph@redhat.com>
8092
8093         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
8094         * configure.host (CHECKREFSPEC): Define for x86_64.
8095
8096 2003-01-21  Tom Tromey  <tromey@redhat.com>
8097
8098         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
8099         search at 2, not 3.
8100
8101 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
8102
8103         * java/io/natFileWin32.cc (isAbsolute): Check path length before
8104         looking at any characters.
8105         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
8106         be used.
8107         (isAbsolute): Check path's length as well.
8108
8109 2003-01-17  Mark Wielaard  <mark@klomp.org>
8110
8111         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
8112         (nat_source_files): Add natVMObjectStreamClass.cc.
8113         * Makefile.in: Regenerated.
8114         * gcj/javaprims.h (namespace java): Regenerated.
8115         * java/io/ObjectStreamClass.java (getClassUID): Call
8116         VMObjectStreamClass.hasClassInitializer().
8117         (hasClassInitializer): Removed.
8118         * java/io/VMObjectStreamClass.java: New class.
8119         * java/io/natVMObjectStreamClass.cc: New file.
8120         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
8121
8122 2003-01-16  Mark Wielaard  <mark@klomp.org>
8123
8124         * java/net/SocketImpl.java (toString): Don't explicitly call
8125         toString() on possible null address.
8126
8127 2003-01-16  Michael Koch  <konqueror@gmx.de>
8128
8129         * java/net/MulticastSocket.java
8130         (setInterface): Reindented.
8131
8132 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
8133
8134         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
8135         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
8136         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
8137         translateY arguments.  Implement.
8138         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
8139         down translation arguments.
8140         (drawPolyline, drawPolygon): Fix incorrect tests.
8141         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
8142         translateX and translateY arguments.
8143
8144 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
8145
8146         * Makefile.in: Rebuilt.
8147         * Makefile.am (xlib_includes): New macro.
8148         (INCLUDES): Use it.
8149
8150 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
8151
8152         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
8153         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
8154         16-bit display mode.
8155
8156 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
8157
8158         * java/awt/CardLayout.java (show): Rewrote.
8159         (gotoComponent): Removed `target' argument.  Simplified code.
8160         Don't pre-compute `choice' unless `what' is FIRST or LAST.
8161         Changed all callers.
8162         (NONE): Removed.
8163         
8164 2003-01-14  Michael Koch  <konqueror@gmx.de>
8165
8166         * java/net/InetSocketAddress.java
8167         (serialVersionUID): New member variable.
8168         * java/net/NetPermission.java
8169         (NetPermission): Dont implement java.io.Serialization directly.
8170         * java/net/SocketAddress.java:
8171         (serialVersionUID): Documentation added.
8172         
8173 2003-01-14  Michael Koch  <konqueror@gmx.de>
8174
8175         * java/awt/Label.java
8176         (Label): Implements javax.accessibility.Accessible;
8177         * java/awt/List.java
8178         (List): Implements javax.accessibility.Accessible;
8179         * java/awt/ScrollPane.java
8180         (ScrollPane): Implements javax.accessibility.Accessible;
8181         * java/awt/Scrollbar.java
8182         (Scrollbar): Implements javax.accessibility.Accessible;
8183         * java/awt/TextComponent.java
8184         (setCaretPosition): Throw exception, documentation added.
8185         * java/awt/Toolkit.java:
8186         Added some newlines in method documentations.
8187         (createButton): Exception documentation added.
8188         (createTextField): Exception documentation added.
8189         (createLabel): Exception documentation added.
8190         (createList): Exception documentation added.
8191         (createCheckbox): Exception documentation added.
8192         (createScrollbar): Exception documentation added.
8193         (createScrollPane): Exception documentation added.
8194         (createTextArea): Exception documentation added.
8195         (createChoice): Exception documentation added.
8196         (createFrame): Exception documentation added.
8197         (createWindow): Exception documentation added.
8198         (createDialog): Exception documentation added.
8199         (createMenuBar): Exception documentation added.
8200         (createMenu): Exception documentation added.
8201         (createMenuItem): Exception documentation added.
8202         (createFileDialog): Exception documentation added.
8203         (createCheckboxMenuItem): Exception documentation added.
8204         (loadSystemColors): Exception documentation added.
8205         (setDynamicLayout): Exception documentation added.
8206         (isDynamicLayoutSet): Exception documentation added.
8207         (isDynamicLayoutActive): Exception documentation added.
8208         (getScreenSize): Exception documentation added.
8209         (getScreenResolution): Exception documentation added.
8210         (getScreenInsets): Exception documentation added.
8211         (getColorModel): Exception documentation added.
8212         (getSystemClipboard): Exception documentation added.
8213         (getSystemSelection): Exception documentation added.
8214         (getMenuShortcutKeyMask): Exception documentation added.
8215         (getSystemEventQueue): Exception documentation added.
8216         * java/awt/Window.java:
8217         Reindented some code.
8218         (Window): Centralized implementation, documentation added.
8219         (finalize): Documentation added.
8220         (hide): Fixed typo in comment.
8221         (getWindowListeners): Documentation added.
8222         * java/awt/color/ColorSpace.java
8223         (toRGB): Documentation added.
8224         * java/awt/color/ICC_ColorSpace.java
8225         (ICC_ColorSpace): Documentation added.
8226         (toRGB): Throw exception, documentation added.
8227         (fromRGB): Throw exception, documentation added.
8228         (toCIEXYZ): Documentation added.
8229         (fromCIEXYZ): Documentation added.
8230         (getMinValue): Documentation added.
8231         (getMaxValue): Documentation added.
8232         * java/awt/geom/Dimension2D.java
8233         (clone): Documentation added.
8234         * java/awt/geom/GeneralPath.java
8235         (clone): Documentation added.
8236         * java/awt/geom/Line2D.java
8237         (clone): Documentation added.
8238         * java/awt/geom/QuadCurve2D.java
8239         (clone): Documentation added.
8240         * java/awt/image/ColorModel.java
8241         (ColorModel): Throw exception, documentation added.
8242         * java/awt/image/ImageFilter.java
8243         (clone): Doesnt throw CloneNotSupportedException.
8244
8245 2003-01-14  Andrew Haley  <aph@redhat.com>
8246
8247         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
8248         in a try block.
8249
8250 2003-01-10  Andrew Haley  <aph@redhat.com>
8251
8252         * include/dwarf2-signal.h: Remove x86_64.
8253         * configure.host (x86_64 DIVIDESPEC): Remove.
8254         * include/x86_64-signal.h: New file.
8255         * configure.in: Regenerate.
8256
8257 2003-01-10  Michael Koch  <konqueror@gmx.de>
8258
8259         * java/net/DatagramSocket.java
8260         (ch): Description added.
8261         (remotePort): Initialize with -1.
8262         (connect): Doesnt throws SocketException.
8263         * java/net/MulticastSocket.java
8264         (setInterface): Merge with Classpath.
8265         * java/net/ServerSocket.java
8266         (closed): New member variable.
8267         (bind): Check if socket is closed.
8268         (close): Close an associated channel too, set new value to closed.
8269         (isBound): Reindented.
8270         (isClosed): Implemented.
8271         * java/net/Socket.java
8272         (closed): New member variable.
8273         (bind): Check if socket is closed.
8274         (connect): Check if socket is closed.
8275         (close): Close an associated channel too, set new value to closed.
8276         (isClosed): Implemented.
8277
8278 2003-01-10  Michael Koch  <konqueror@gmx.de>
8279
8280         * java/awt/DisplayMode.java
8281         (equals): Fixed argument type and implementation.
8282
8283 2003-01-07  Tom Tromey  <tromey@redhat.com>
8284
8285         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
8286         JV_HASH_SYNCHRONIZATION.
8287         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
8288         JV_HASH_SYNCHRONIZATION.
8289
8290 2003-01-07  Michael Koch  <konqueror@gmx.de>
8291  
8292         * java/net/DatagramSocket.java:
8293         Added classpath license info.
8294         (DatagramSocket): Merged description with classpath.
8295         (close): Merged description with classpath.
8296         (getChannel): Merged description with classpath.
8297         (getInetAddress): Merged description with classpath.
8298         (getPort): Merged description with classpath.
8299         (getLocalAddress): Merged description with classpath.
8300         (getLocalPort): Merged description with classpath.
8301         (getSoTimeout): Merged description with classpath.
8302         (setSoTimeout): Merged description with classpath.
8303         (getSendBufferSize): Merged description with classpath.
8304         (setSendBufferSize): Merged description with classpath.
8305         (getReceiveBufferSize): Merged description with classpath.
8306         (setReceiveBufferSize): Merged description with classpath.
8307         
8308 2003-01-04  Tom Tromey  <tromey@redhat.com>
8309
8310         * java/awt/List.java: Merged with Classpath.
8311
8312 2003-01-03  Mark Wielaard  <mark@klomp.org>
8313
8314         * java/io/FileDescriptor.java (position): New private field.
8315         * java/io/natFileDescriptorPosix.cc (write): Up position.
8316         (setLength): Use and set position.
8317         (seek): Set position.
8318         (getFilePointer): Return position.
8319         (read): Up position.
8320
8321 2003-01-03  Mark Wielaard  <mark@klomp.org>
8322
8323         Merge with Classpath:
8324         * java/io/ObjectStreamClass.java (lookup): Split method and call
8325         lookupForClassObject().
8326         (lookupForClassObject): New method.
8327         (isProxyClass): New field.
8328         (setClass): Set isProxyClass, add object to classLookupTable, set
8329         superClass and calculateOffsets.
8330         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
8331         and not a proxy class.
8332         (setFields): Set accessible true for serialPersistentFields.
8333         (getClassUID): Same for suid. And check if suid is of type long.
8334         (hasClassInitializer): Don't throw NoSuchMethodError.
8335
8336 2003-01-03  Mark Wielaard  <mark@klomp.org>
8337
8338         * java/io/FileInputStream.java (finalize): Don't explicitly
8339         finalize FileDescriptor.
8340
8341 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
8342
8343         * configure.host (sparc*-*): Enable bytecode interpreter.
8344
8345 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
8346
8347         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
8348         Don't throw RemoteException.
8349         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
8350         throw RemoteException.
8351
8352 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
8353
8354         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
8355         proxyHost): New static fields.
8356         (<clinit>): Initialize new fields.
8357         (connect): Use proxy if necessary.
8358         (usingProxy): Implement.
8359
8360 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
8361
8362         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
8363         (TreeIterator.remove): Prefer IllegalStateException over
8364         ConcurrentModificationException, to match Sun.
8365
8366 2002-12-22  Anthony Green  <green@redhat.com>
8367
8368         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
8369
8370 2003-01-02  Mark Wielaard  <mark@klomp.org>
8371
8372         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
8373         public.
8374         (HTTP_USE_PROXY): Add field.
8375         (getResponseVals): Only set responseCode when not yet explicitly
8376         set by subclass.
8377
8378 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
8379             Mark Wielaard  <mark@klomp.org>
8380
8381         * java/util/zip/ZipFile.java (entries): Now HashMap.
8382         (readLeShort(DataInput, byte[])): Read from given byte array.
8383         (readLeInt(DataInput, byte[]): Likewise.
8384         (readLeShort(byte[] b, int off)): New method.
8385         (readLeInt(byte[] b, int off)): Likewise.
8386         (readEntries): Use byte arrays to read info in bigger chunks.
8387         (getEntries): Return HashMap.
8388         (getEntry): Use HashMap.
8389         (locBuf): New private field.
8390         (checkLocalHeader): Use locBuf to read info in one chunk.
8391         (getInputStream): Use entries HashMap, wrap PartialInputStream
8392         in BufferedInputStream.
8393         (ZipEntryEnumeration): Use HashMap and Interator.
8394
8395 2003-01-02  Mark Wielaard  <mark@klomp.org>
8396             Jeroen Frijters  <jeroen@sumatra.nl>
8397
8398         * java/net/URLClassLoader.java (Resource.getCodeSource):
8399         Fix check certs == null.
8400         (getCanonicalFileURL): Removed method.
8401         (JarURLLoader): Don't call removed method.
8402         (FileURLLoader): Likewise.
8403         (FileURLLoader.getResource): Don't canonicalize file name.
8404
8405 2003-01-01  Tom Tromey  <tromey@redhat.com>
8406
8407         * Makefile.in: Rebuilt.
8408         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
8409         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
8410         java/awt/BufferCapabilities.java, java/awt/Button.java,
8411         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
8412         java/awt/Container.java, java/awt/Cursor.java,
8413         java/awt/EventQueue.java, java/awt/FileDialog.java,
8414         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
8415         java/awt/MenuBar.java, java/awt/MenuComponent.java,
8416         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
8417         java/awt/Scrollbar.java, java/awt/TextArea.java,
8418         java/awt/TextField.java, java/awt/color/CMMException.java,
8419         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
8420         java/awt/color/ProfileDataException.java,
8421         java/awt/datatransfer/Clipboard.java,
8422         java/awt/datatransfer/DataFlavor.java,
8423         java/awt/datatransfer/FlavorMap.java,
8424         java/awt/datatransfer/SystemFlavorMap.java,
8425         java/awt/dnd/DragGestureEvent.java,
8426         java/awt/dnd/DragGestureRecognizer.java,
8427         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
8428         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
8429         java/awt/im/InputMethodHighlight.java,
8430         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
8431         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
8432
8433         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
8434         `op' to BufferedImageOp.
8435
8436 2002-12-31  Tom Tromey  <tromey@redhat.com>
8437
8438         Fix for PR libgcj/7416:
8439         * javax/naming/InitialContext.java (init): Use
8440         gnu.classpath.home.url.
8441         * java/security/Security.java: Use new properties.
8442         (loadProviders): Accept base url; use it.
8443         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
8444         gnu.classpath.home.url.
8445         (gnu.classpath.home.url): Define.
8446         (gnu.classpath.vm.shortname): Likewise.
8447
8448 2002-12-31  Tom Tromey  <tromey@redhat.com>
8449             Ranjit Mathew  <rmathew@hotmail.com>
8450
8451         Fix for PR libgcj/8997:
8452         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
8453         Include platform.h.
8454         * include/posix.h (_Jv_platform_usleep): New function.
8455         * include/win32.h (_Jv_platform_usleep): New function.
8456
8457 2002-12-29  Tom Tromey  <tromey@redhat.com>
8458
8459         * gcj/javaprims.h: Updated.
8460         * scripts/classes.pl (scan): Removed stray semicolon.
8461
8462 2002-12-30  Mark Wielaard  <mark@klomp.org>
8463
8464         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
8465         if zero or smaller.
8466
8467 2002-12-30  Mark Wielaard  <mark@klomp.org>
8468
8469         * java/util/Properties (formatForOutput): Don't fall through to
8470         default case after escaping character.
8471
8472 2002-12-30  Mark Wielaard  <mark@klomp.org>
8473
8474         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
8475         against count.
8476
8477 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
8478
8479         * boehm.cc: Remove stray semicolon.
8480         * interpret.cc: Likewise.
8481         * prims.cc: Likewise.
8482         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
8483         earlier to ensure default arguments are processed.
8484         * gcj/array.h (JArray): Add forward declaration.
8485         (elements): Likewise.
8486         * gcj/javaprim.h: Remove stray semicolons.
8487         * include/bohm-gc.h: Likewise.
8488         * include/jni.h: Likewise.
8489         * include/jvm.h: Likewise.
8490         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
8491         
8492 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
8493
8494         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
8495         of catch_type.
8496         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
8497         idt tables after initializing superclass.
8498         * java/lang/natClassLoader.cc (uaddr): New typedef.
8499         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
8500         if they are constant pool indicies.  Don't link vtable, otable yet.
8501
8502 2002-12-21  Anthony Green  <green@redhat.com>
8503
8504         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
8505         libraries.
8506         * Makefile.in: Rebuilt.
8507
8508 2002-12-19  Anthony Green  <green@redhat.com>
8509
8510         * Makefile.am (ordinary_java_source_files): Add
8511         org/xml/sax/helpers/NewInstance.java.
8512         * Makefile.in: Rebuilt.
8513         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
8514         org/xml/sax/helpers/package.html: New files.
8515         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
8516         http://www.saxproject.org.
8517
8518 2002-12-19  Andrew Haley  <aph@redhat.com>
8519
8520         * java/util/natResourceBundle.cc: Include
8521         ArrayIndexOutOfBoundsException.h.
8522         (getCallingClassLoader): Don't put upper bound on stack search.
8523         Catch ArrayIndexOutOfBoundsException.
8524
8525 2002-12-19  Tom Tromey  <tromey@redhat.com>
8526
8527         * libtool-version: Increased `current'.
8528
8529 2002-12-19  Tom Tromey  <tromey@redhat.com>
8530
8531         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
8532         comment.
8533         * java/lang/ClassLoader.java (defineClass): Use chained
8534         exception when rethrowing.
8535         * defineclass.cc (handleClassBegin): Mark class as interpreted.
8536         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
8537         constants.
8538         * resolve.cc (_Jv_PrepareMissingMethods): New function.
8539         (_Jv_PrepareClass): Use it.
8540         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
8541         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
8542         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
8543         (Class): _Jv_PrepareMissingMethods now friend.
8544         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
8545         Record `NULL' for system class loader.
8546         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
8547         system class loader.
8548         (_Jv_FindClassInCache): Likewise.
8549         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
8550         (_Jv_FindClass): Special case system class loader.
8551         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
8552         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
8553         vtable slots.
8554         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
8555         in a final class.
8556         (_getDeclaredMethod): Don't return synthetic methods.
8557         (getDeclaredMethods): Likewise.
8558         (_getMethod): Likewise.
8559         (_getMethods): Likewise.
8560
8561 2002-12-18  Raif Naffah  <raif@fl.net.au>
8562
8563         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
8564         canonical form after divide().
8565         (modInverse): Likewise.
8566
8567 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
8568             Mark Wielaard  <mark@klomp.org>
8569
8570         * java/security/SecurityRandom (digest): Removed field.
8571         (SecureRandom): Check all providers for case-insensitive SecureRandom
8572         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
8573         if necessary.
8574         (getInstance(String,Provider,boolean): New method.
8575         (getInstance(String)): Use new method.
8576         (getInstance(String,String)): Likewise.
8577         (getInstance(String,Provider)): Likewise.
8578
8579 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
8580
8581         * java/security/Security.java (loadProviders): Increment i only once.
8582
8583 2002-12-12  Mark Wielaard  <mark@klomp.org>
8584
8585         * java/lang/ClassLoader.java (resolveClass0): Transform
8586         ClassNotFoundException to NoClassDefFoundError. Transform all other
8587         throwables to LinkageError.
8588
8589 2002-12-11  Tom Tromey  <tromey@redhat.com>
8590
8591         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
8592
8593         * java/lang/ClassLoader.java (loadedClasses): New field.
8594         (defineClass): Fixed indentation.  Put new class in
8595         loadedClasses.
8596         (findLoadedClass): Implement here.
8597         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
8598
8599 2002-12-10  Tom Tromey  <tromey@redhat.com>
8600
8601         * Makefile.in: Rebuilt.
8602         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
8603         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
8604         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
8605         * java/lang/natClassLoader.cc
8606         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
8607
8608 2002-12-10  Mark Wielaard  <mark@klomp.org>
8609             Tom Tromey  <tromey@redhat.com>
8610
8611         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
8612         (JarURLLoader): Use it.
8613         (FileURLLoader): Likewise.
8614         (JarURLResource.getURL): Use chained exception.
8615         (FileResource.getURL): Likewise.
8616         (FileURLLoader.getResource): Use canonical file name.
8617         (addURL): Indentation fix.
8618
8619 2002-12-10  Tom Tromey  <tromey@redhat.com>
8620
8621         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
8622         From Laurent Bardet <l.bardet@magic.fr>.
8623
8624 2002-12-09  Tom Tromey  <tromey@redhat.com>
8625
8626         * include/win32.h (_Jv_platform_solib_prefix): New define.
8627         (_Jv_platform_solib_suffix): Likewise.
8628         * include/posix.h (_Jv_platform_solib_prefix): New define.
8629         (_Jv_platform_solib_suffix): Likewise.
8630         * java/lang/natRuntime.cc: Include StackTrace.h.
8631         (_load): Use findLibrary and new platform defines.
8632         (nativeGetLibname): Use new platform defines.
8633
8634         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
8635         `t' won't be null.
8636
8637 2002-12-08  Mark Wielaard  <mark@klomp.org>
8638
8639         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
8640         cache remote jar files.
8641         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
8642         add File.separator to URL when it is a directory.
8643         * java/lang/ClassLoader.java: Add Classpath javadoc.
8644         (parent): final.
8645         (getParent): Add (disabled) security check.
8646         (findLibrary): New default method.
8647         * java/net/JarURLConnection.java (getManifest): Implement.
8648         (getInputStream): Only create InputStream when entry exists.
8649         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
8650         when they exist.
8651         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
8652
8653 2002-12-08  Mark Wielaard  <mark@klomp.org>
8654
8655         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
8656         (lastDefaultLocale): New field.
8657         (getBundle): When Locale.getDefault != lastDefaultLocale reset
8658         resourceBundleCache.
8659
8660 2002-12-06  Mark Wielaard  <mark@klomp.org>
8661
8662         * java/net/InetAddress.java (toString): Use hostname when not null,
8663         don't do an explicit reverse getHostName() lookup.
8664         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
8665         NullPointerException.
8666
8667 2002-12-06  Tom Tromey  <tromey@redhat.com>
8668
8669         * include/java-interp.h (class _Jv_InterpMethod): Added
8670         JV_MARKOBJ_DECL.
8671         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
8672         mark `prepared' field of interpreted method.
8673         * interpret.cc (compile): Use _Jv_AllocBytes.
8674
8675 2002-12-05  Andrew Haley  <aph@redhat.com>
8676
8677         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
8678         #ifdef (HAVE_BACKTRACE) around the whole function body.
8679
8680 2002-12-05  Tom Tromey  <tromey@redhat.com>
8681
8682         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
8683         * resolve.cc: Don't include AbstractMethodError.h.
8684         (_Jv_abstractMethodError): Removed.
8685         * defineclass.cc (handleMethodsBegin): Initialize method index to
8686         -1.
8687         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
8688         method index for "new" final method.
8689         (_Jv_SetVTableEntries): Compare index against -1 instead of using
8690         isVirtualMethod.  Added `flags' argument.
8691         (_Jv_MakeVTable): Throw exception for abstract method in concrete
8692         class.
8693
8694 2002-12-04  Tom Tromey  <tromey@redhat.com>
8695
8696         * java/net/SocketPermission.java (hashCode): Rewrote.
8697
8698 2002-12-04  Tom Tromey  <tromey@redhat.com>
8699
8700         * Makefile.in: Rebuilt.
8701         * Makefile.am (nat_source_files): Added natVMSecurityManager,
8702         natResourceBundle.
8703         * java/util/ResourceBundle.java (Security): Removed.
8704         (getCallingClassLoader): Now native.
8705         * java/util/natResourceBundle.cc: New file.
8706         * java/lang/natVMSecurityManager.cc: New file.
8707         * java/lang/VMSecurityManager.java (getClassContext): Now native.
8708
8709 2002-12-03  Mark Wielaard  <mark@klomp.org>
8710
8711         * java/util/jar/JarFile.java (manifest): Not final.
8712         (manifestRead): New field.
8713         (JarFile): Don't read Manifest in constructor.
8714         (getManifest): New method.
8715         (JarEnumeration.nextElement): Use new method.
8716         (getEntry): Likewise.
8717         * java/util/zip/ZipFile.java (name): Final.
8718         (raf): Likewsie.
8719         (entries): Change type to Hashtable.
8720         (closed): New field.
8721         (ZipFile): Don't read enties in constructor.
8722         (readEntries): Use Hashtable.
8723         (close): Set new close flag and set entries to null inside
8724         synchronized block.
8725         (entries): Contruct enumeration using new getEntries() method and
8726         entries Hashtable.
8727         (getEntryIndex): Removed.
8728         (getEntries): New method.
8729         (getEntry): Use new getEntries() method and entries Hastable.
8730         (getInputStream): Likewise.
8731         (size): Return getEntries().size().
8732         (ZipEntryEnumeration): Wrap entries Hashtable elements.
8733         * java/util/zip/ZipEntry.java (cal): Don't initialize.
8734         (time): Removed
8735         (dostime): New field.
8736         (zipFileIndex): Removed.
8737         (ZipEntry(ZipEntry)): Copy dostime.
8738         (setDOSTime): Now final and doesn't convert dos time.
8739         (getDOSTime): Likewise.
8740         (setTime): Convert dos time.
8741         (getTime): Likewise.
8742         (getCalendar): New method.
8743         (setExtra): Use setTime().
8744         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
8745
8746 2002-12-03  Tom Tromey  <tromey@redhat.com>
8747
8748         * java/lang/Character.java (forDigit): Formatting fix.
8749
8750 2002-12-03  Raif Naffah  <raif@fl.net.au>
8751
8752         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
8753         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
8754         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
8755
8756 2002-12-03  Andrew Haley  <aph@redhat.com>
8757
8758         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
8759         _Jv_PushClass.
8760         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
8761         (_Jv_PopClass): New.
8762         (_Jv_PushClass): New.
8763         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
8764         discover the ClassLoader of our caller.
8765         (_Jv_CheckArrayStore): Don't check that a class is assignment
8766         compatible with Object.
8767         * java/lang/natVMTHrowable.cc: Delete.
8768         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
8769         java.lang.VMThrowable.
8770         (StackTrace(), StackTrace(int)): New constructors.
8771         (classAt, methodAt, update, methodAtAddress): New methods.
8772         (map): New field.
8773         * java/lang/VMThrowable.java: Use StackTrace instead of
8774         natVMTHrowable.
8775         * java/lang/Class.h (getClassLoaderInternal): New.
8776         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
8777         Be friendly with gnu::gcj::runtime::StackTrace.
8778         (Object.chain): New field.
8779         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
8780         gnu::gcj::runtime::StackTrace.
8781         * gnu/gcj/runtime/natStackTrace.cc: New file.
8782         * gnu/gcj/runtime/MethodRef.java: New file.
8783         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
8784         instead of getClassLoader().
8785         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
8786         java::lang::VMThrowable.
8787         * Makefile.am (core_java_source_files): Add MethodRef.java,
8788         StackTrace.java.
8789         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
8790         * Makefile.in: Rebuild.
8791
8792 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
8793
8794         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
8795         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
8796         yes also for sh-linux* and sh[34]*-linux*.
8797         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
8798         set SIGNAL_HANDLER to use DWARF2 exception for them.
8799         * configure: Regenerate.
8800
8801 2002-12-02  Tom Tromey  <tromey@redhat.com>
8802
8803         * jni.cc: Added `name' argument.
8804         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
8805         `const char *' argument.
8806         (class _Jv_JNIEnv) [DefineClass]: Likewise.
8807
8808 2002-12-01  Tom Tromey  <tromey@redhat.com>
8809
8810         Bug compatibility, for PR libgcj/8738:
8811         * java/io/CharArrayWriter.java (close): Do nothing.
8812         (flush): Likewise.
8813         (reset): Don't touch `closed'.
8814         (write(int)): Don't throw IOException.
8815         (write(char[],int,int)): Likewise.
8816         (write(String,int,int)): Likewise.
8817         (closed): Removed.
8818
8819 2002-12-01  Mark Wielaard  <mark@klomp.org>
8820
8821         * java/lang/SecurityManager.java: Remerge comments, indenting and
8822         checkXXX methods with Classpath.
8823
8824 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
8825
8826         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
8827         getNormalizedComponents): Fix calculation which was using one too
8828         many bits in the unnormalized format.
8829
8830 2002-11-29  Gary Benson  <gbenson@redhat.com>
8831
8832         For PR libgcj/8759:
8833         * java/beans/Introspector.java (flushCaches): New method.
8834         (flushFromCaches): Likewise.
8835
8836 2002-11-29  Michael Koch <konqueror@gmx.de>
8837
8838         * java/nio/channels/DatagramChannel.java
8839         (open): Added exception documentation.
8840         (write): Added exception documentation.
8841         (connect): Added exception documentation.
8842         (disconnect): Added exception documentation.
8843         (isConnected): Added exception documentation.
8844         (read): Added exception documentation.
8845         (receive): Added exception documentation.
8846         (send): Added exception documentation.
8847         (validOps): Added exception documentation.
8848         * java/nio/channels/SocketChannel.java
8849         (open): Added exception documentation.
8850         (read): Added exception documentation.
8851         (write): Added exception documentation.
8852         (connect): Added exception documentation.
8853         (finishConnect): Added exception documentation.
8854
8855 2002-11-29  Michael Koch <konqueror@gmx.de>
8856
8857         * gnu/java/nio/DatagramChannelImpl:
8858         (fd): New member variable to store file descriptor of socket.
8859         * gnu/java/nio/SelectionKeyImpl.java:
8860         (ops): Removed.
8861         (readyOps): New member variable.
8862         (interestOps): New member variable.
8863         (readyOps): Implemented.
8864         (readyOps): New method to set member variable readyOps.
8865         (interestOps): Replaced ops by interestOps.
8866         * gnu/java/nio/SelectorImpl.java:
8867         (SelectorImpl): Initialize key sets.
8868         (select): Call select with -1 instead of Long.MAX_VALUE).
8869         (java_do_select): Make it a native method.
8870         (getFDsAsArray): New helper method.
8871         (select): Remove canceled keys, give only interested file discriptors
8872         to java_do_select, set ready ops.
8873         (add): No need to initialize keys set here.
8874         (add_selected): No need to initialize selected set here.
8875         (deregisterCanceledKeys): New helper method.
8876         (register): Set interest ops, set attachments, added handling of datagram
8877         channels.
8878         * gnu/java/nio/ServerSocketChannelImpl:
8879         (SocketAccept): Renamed from NioSocketAccept.
8880         (implConfigureBlocking): Implemented.
8881         (accept): Use SocketAccept instead of NioSocketAccept.
8882         * gnu/java/nio/SocketChannelImpl:
8883         Reactivate native methods.
8884
8885 2002-11-29  Michael Koch <konqueror@gmx.de>
8886
8887         * gnu/java/nio/natByteBufferImpl.cc,
8888         gnu/java/nio/natCharBufferImpl.cc,
8889         gnu/java/nio/natDoubleBufferImpl.cc,
8890         gnu/java/nio/natFloatBufferImpl.cc,
8891         gnu/java/nio/natIntBufferImpl.cc,
8892         gnu/java/nio/natLongBufferImpl.cc,
8893         gnu/java/nio/natSelectorImpl.cc,
8894         gnu/java/nio/natServerSocketChannelImpl.cc,
8895         gnu/java/nio/natShortBufferImpl.cc,
8896         gnu/java/nio/natSocketChannelImpl.cc:
8897         New files that implement native functionalities.
8898
8899 2002-11-29  Michael Koch <konqueror@gmx.de>
8900
8901         * gnu/java/nio/ByteBufferImpl.java
8902         (ByteBufferImpl): Moved position() after limit.
8903         (nio_*): Use native implementation.
8904         * gnu/java/nio/CharBufferImpl.java:
8905         Reformated.
8906         (endian): New member variable string endianess of buffer.
8907         (CharBufferImpl): Moved position() after limit.
8908         (nio_*): Use native implementation.
8909         (subSequence): Implemented.
8910         * gnu/java/nio/DoubleBufferImpl.java
8911         (DoubleBufferImpl): Moved position() after limit.
8912         (nio_*): Use native implementation.
8913         * gnu/java/nio/FloatBufferImpl.java
8914         Reformated.
8915         (FloatBufferImpl): Moved position() after limit.
8916         (nio_*): Use native implementation.
8917         * gnu/java/nio/IntBufferImpl.java
8918         Added needed imports, Reformated.
8919         (IntBufferImpl): Moved position() after limit.
8920         (nio_*): Use native implementation.
8921         * gnu/java/nio/LongBufferImpl.java
8922         Reformated.
8923         (LongBufferImpl): Moved position() after limit.
8924         (nio_*): Use native implementation.
8925         * gnu/java/nio/ShortBufferImpl.java
8926         Reformated.
8927         (ShortBufferImpl): Moved position() after limit.
8928         (nio_*): Use native implementation.
8929
8930 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
8931
8932         * java/util/Locale.java (toString): Improve efficiency if country
8933         and variant are both empty.
8934
8935 2002-11-26  Tom Tromey  <tromey@redhat.com>
8936
8937         * verify.cc (pop_init_ref): New method.
8938         (verify_instructions_0) [op_iaload, op_laload, op_faload,
8939         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
8940         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
8941         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
8942         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
8943         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
8944         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
8945         let `this' argument be uninitialized.  Don't let `null' be passed
8946         as `this' to construtor.
8947
8948 2002-11-26  Mark Wielaard  <mark@klomp.org>
8949
8950         * javax/transaction/HeuristicCommitException.java: Classpath merge.
8951         * javax/transaction/HeuristicMixedException.java: Likewise.
8952         * javax/transaction/HeuristicRollbackException.java: Likewise.
8953         * javax/transaction/InvalidTransactionException.java: Likewise.
8954         * javax/transaction/NotSupportedException.java: Likewise.
8955         * javax/transaction/RollbackException.java: Likewise.
8956         * javax/transaction/Status.java: Likewise.
8957         * javax/transaction/Synchronization.java: Likewise.
8958         * javax/transaction/SystemException.java: Likewise.
8959         * javax/transaction/Transaction.java: Likewise.
8960         * javax/transaction/TransactionManager.java: Likewise.
8961         * javax/transaction/TransactionRequiredException.java: Likewise.
8962         * javax/transaction/TransactionRolledbackException.java: Likewise.
8963         * javax/transaction/UserTransaction.java: Likewise.
8964         * javax/transaction/xa/XAException.java: Likewise.
8965         * javax/transaction/xa/XAResource.java: Likewise.
8966         * javax/transaction/xa/Xid.java: Likewise.
8967
8968 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
8969
8970         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
8971         define.
8972         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
8973         * include/posix.h (socklen_t): Define if not already defined.
8974
8975 2002-11-25  Tom Tromey  <tromey@redhat.com>
8976
8977         * verify.cc (type::compatible): Backed out broken change.
8978
8979         * verify.cc (type::compatible): Check initialization status
8980         first.
8981         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
8982         Don't use NULLCHECK.
8983
8984 2002-11-23  H.J. Lu <hjl@gnu.org>
8985
8986         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
8987         Include ../config/accross.m4.
8988         * aclocal.m4; Rebuild.
8989         * configure: Likewise.
8990
8991 2002-11-23  Mark Wielaard  <mark@klomp.org>
8992
8993         * javax/naming/AuthenticationException.java: Update copyright header.
8994         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
8995         * javax/naming/Binding.java: Likewise.
8996         * javax/naming/CannotProceedException.java: Likewise.
8997         * javax/naming/CommunicationException.java: Likewise.
8998         * javax/naming/CompositeName.java: Likewise.
8999         * javax/naming/CompoundName.java: Likewise.
9000         * javax/naming/ConfigurationException.java: Likewise.
9001         * javax/naming/Context.java: Likewise.
9002         * javax/naming/ContextNotEmptyException.java: Likewise.
9003         * javax/naming/InitialContext.java: Likewise.
9004         * javax/naming/InsufficientResourcesException.java: Likewise.
9005         * javax/naming/InterruptedNamingException.java: Likewise.
9006         * javax/naming/LimitExceededException.java: Likewise.
9007         * javax/naming/LinkException.java: Likewise.
9008         * javax/naming/LinkLoopException.java: Likewise.
9009         * javax/naming/LinkRef.java: Likewise.
9010         * javax/naming/MalformedLinkException.java: Likewise.
9011         * javax/naming/NameAlreadyBoundException.java: Likewise.
9012         * javax/naming/NameClassPair.java: Likewise.
9013         * javax/naming/NameNotFoundException.java: Likewise.
9014         * javax/naming/NameParser.java: Likewise.
9015         * javax/naming/NamingEnumeration.java: Likewise.
9016         * javax/naming/NamingSecurityException.java: Likewise.
9017         * javax/naming/NoInitialContextException.java: Likewise.
9018         * javax/naming/NoPermissionException.java: Likewise.
9019         * javax/naming/NotContextException.java: Likewise.
9020         * javax/naming/OperationNotSupportedException.java: Likewise.
9021         * javax/naming/PartialResultException.java: Likewise.
9022         * javax/naming/Reference.java: Likewise.
9023         * javax/naming/Referenceable.java: Likewise.
9024         * javax/naming/ReferralException.java: Likewise.
9025         * javax/naming/ServiceUnavailableException.java: Likewise.
9026         * javax/naming/SizeLimitExceededException.java: Likewise.
9027         * javax/naming/TimeLimitExceededException.java: Likewise.
9028         * javax/naming/directory/Attribute.java: Likewise.
9029         * javax/naming/directory/AttributeInUseException.java: Likewise.
9030         * javax/naming/directory/AttributeModificationException.java: Likewise.
9031         * javax/naming/directory/Attributes.java: Likewise.
9032         * javax/naming/directory/BasicAttribute.java: Likewise.
9033         * javax/naming/directory/BasicAttributes.java: Likewise.
9034         * javax/naming/directory/DirContext.java: Likewise.
9035         * javax/naming/directory/InitialDirContext.java: Likewise.
9036         * javax/naming/directory/InvalidAttributeIdentifierException.java:
9037         Likewise.
9038         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
9039         * javax/naming/directory/InvalidAttributesException.java: Likewise.
9040         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
9041         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
9042         * javax/naming/directory/ModificationItem.java: Likewise.
9043         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
9044         * javax/naming/directory/SchemaViolationException.java: Likewise.
9045         * javax/naming/directory/SearchControls.java: Likewise.
9046         * javax/naming/directory/SearchResult.java: Likewise.
9047         * javax/naming/event/EventContext.java: Likewise.
9048         * javax/naming/event/EventDirContext.java: Likewise.
9049         * javax/naming/event/NamespaceChangeListener.java: Likewise.
9050         * javax/naming/event/NamingEvent.java: Likewise.
9051         * javax/naming/event/NamingExceptionEvent.java: Likewise.
9052         * javax/naming/event/NamingListener.java: Likewise.
9053         * javax/naming/event/ObjectChangeListener.java: Likewise.
9054         * javax/naming/ldap/Control.java: Likewise.
9055         * javax/naming/ldap/ControlFactory.java: Likewise.
9056         * javax/naming/ldap/ExtendedRequest.java: Likewise.
9057         * javax/naming/ldap/ExtendedResponse.java: Likewise.
9058         * javax/naming/ldap/HasControls.java: Likewise.
9059         * javax/naming/ldap/InitialLdapContext.java: Likewise.
9060         * javax/naming/ldap/LdapContext.java: Likewise.
9061         * javax/naming/ldap/LdapReferralException.java: Likewise.
9062         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
9063         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
9064         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
9065         * javax/naming/spi/DirObjectFactory.java: Likewise.
9066         * javax/naming/spi/DirStateFactory.java: Likewise.
9067         * javax/naming/spi/DirectoryManager.java: Likewise.
9068         * javax/naming/spi/InitialContextFactory.java: Likewise.
9069         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
9070         * javax/naming/spi/NamingManager.java: Likewise.
9071         * javax/naming/spi/ObjectFactory.java: Likewise.
9072         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
9073         * javax/naming/spi/ResolveResult.java: Likewise.
9074         * javax/naming/spi/Resolver.java: Likewise.
9075         * javax/naming/spi/StateFactory.java: Likewise.
9076
9077         * javax/naming/spi/NamingManager.java (ofb): Package private.
9078
9079 2002-11-21  Mark Wielaard  <mark@klomp.org>
9080
9081         * java/net/URL.java: Merge with Classpath (partly).
9082         * java/net/URLStreamHandler: Merge with Classpath.
9083
9084 2002-11-22  Michael Koch <konqueror@gmx.de>
9085
9086         * include/posix.h:
9087         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
9088         * include/win32.h:
9089         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
9090         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
9091
9092 2002-11-21  Michael Koch <konqueror@gmx.de>
9093
9094         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
9095         Only the new network functions should be in it.
9096
9097 2002-11-21  Michael Koch <konqueror@gmx.de>
9098
9099         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
9100         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
9101
9102 2002-11-21  Michael Koch <konqueror@gmx.de>
9103
9104         * java/nio/channels/AsynchronousCloseException.java,
9105         java/nio/channels/CancelledKeyException.java,
9106         java/nio/channels/ClosedByInterruptException.java,
9107         java/nio/channels/ConnectionPendingException.java,
9108         java/nio/channels/FileLockInterruptionException.java,
9109         java/nio/channels/IllegalSelectorException.java,
9110         java/nio/channels/NoConnectionPendingException.java,
9111         java/nio/channels/NonReadableChannelException.java,
9112         java/nio/channels/NonWritableChannelException.java,
9113         java/nio/channels/NotYetBoundException.java,
9114         java/nio/channels/NotYetConnectedException.java,
9115         java/nio/channels/OverlappingFileLockException.java,
9116         java/nio/channels/UnresolvedAddressException.java,
9117         java/nio/channels/UnsupportedAddressTypeException.java:
9118         New files.
9119         * Makefile.am (ordinary_java_source_files): Added new files.
9120         * Makefile.in: Regenerated.
9121
9122 2002-11-21  Michael Koch <konqueror@gmx.de>
9123
9124         * include/posix.h
9125         (_Jv_socket): New method.
9126         (_Jv_connect): New method.
9127         (_Jv_close): New method.
9128         (_Jv_platform_close_on_exec): Prefixed system function with "::".
9129         (_Jv_bind): New method.
9130         (_Jv_listen): New method.
9131         (_Jv_write): New method.
9132         (_Jv_read): New method.
9133         * include/win32.h
9134         (_Jv_socket): New method.
9135         (_Jv_connect): New method.
9136         (_Jv_close): New method.
9137         (_Jv_bind): New method.
9138         (_Jv_listen): New method.
9139         (_Jv_write): New method.
9140         (_Jv_read): New method.
9141         * java/net/natNetworkInterface.cc:
9142         Include platform.h, removed inclusion of socket.h
9143         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
9144         ::close() by _Jv_close().
9145         * java/net/natPlainDatagramSocketImpl.cc:
9146         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
9147         added some new lines to make code more readable.
9148         (create): Replaced ::socket() by _Jv_socket().
9149         (close): Replaced NATIVE_CLOSE() by _Jv_close().
9150         * java/net/natPlainSocketImpl.cc:
9151         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
9152         removed include of socket.h, removed some windows defines
9153         (now in include/win32.h).
9154         (create): Replaced ::socket() by _Jv_socket().
9155         (close): Replaced NATIVE_CLOSE() by _Jv_close().
9156         (write): Replaced ::read by _Jv_write().
9157         (read): Replaced ::read by _Jv_read().
9158
9159 2002-11-20  Michael Koch <konqueror@gmx.de>
9160
9161         * Makefile.am (ordinary_java_source_files):
9162         Added java/nio/channels/FileChannel.java.
9163         * Makefile.in: Regenerated.
9164
9165 2002-11-20  Michael Koch <konqueror@gmx.de>
9166
9167         * java/io/FileInputStream.java
9168         (getChannel): New method.
9169         * java/io/FileOutputStream.java
9170         (getChannel): New method.
9171         * java/net/ServerSocket.java
9172         (bind): Removed duplicate code and called another bind method instead.
9173         * java/nio/channels/SelectionKey.java
9174         (isValid): Removed wrong exception documentation.
9175         * java/nio/channels/ServerSocketChannel.java
9176         (accept): Added exception documentation.
9177         (open): Fixed typo, added exception documentation.
9178         * java/nio/channels/spi/AbstractSelectableChannel.java
9179         (implCloseChannel): Added exception documentation.
9180         (add): Reformated.
9181         (register): Added exception documentation.
9182
9183 2002-11-20  Andreas Jaeger  <aj@suse.de>
9184
9185         * configure: Regenerated with new libtool.m4.
9186
9187 2002-11-19  Tom Tromey  <tromey@redhat.com>
9188
9189         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
9190         `referent'.
9191         (finalize_referred_to_object): Don't modify `referent' or `copy'
9192         fields.
9193         (add_to_hash): Correctly set `n->next' when updating list.
9194         * java/lang/ref/Reference.java (enqueue): Return false if already
9195         enqueued.
9196
9197 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
9198
9199         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
9200         to function and function pointer declarations in accordance with
9201         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
9202         based on whether __GCJ_JNI_IMPL__ has been defined or not.
9203         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
9204         JNI function definitions.
9205
9206 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
9207
9208         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
9209         that was causing CoderResults to be cached, not WeakReferences
9210         to CoderResults.
9211
9212 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
9213
9214         * java/security/KeyStore.java (getInstance): Fix
9215         comment and throw IllegalArgumentException if
9216         given provider is null.
9217         (getInstance): New method for jdk1.4 compatibility.
9218
9219 2002-11-18  Michael Koch <konqueror@gmx.de>
9220
9221         * java/net/PlainSocketImpl.java: Fix imports.
9222
9223 2002-11-18  Michael Koch <konqueror@gmx.de>
9224
9225         * java/nio/channels/SelectionKey.java
9226         (isValid): Added exception documentation.
9227         * java/nio/channels/Selector.java
9228         (open): Declare "throws IOException".
9229
9230 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
9231
9232         * java/nio/charset/Charset.java
9233         (<clinit>): New method.
9234         (encode): Synchronize use of cached encoder object.
9235         (decode): Synchronize use of cached encoder object.
9236
9237 2002-11-18  Michael Koch <konqueror@gmx.de>
9238
9239         * gnu/java/nio/ByteBufferImpl.java,
9240         gnu/java/nio/CharBufferImpl.java,
9241         gnu/java/nio/DatagramChannelImpl.java,
9242         gnu/java/nio/DoubleBufferImpl.java,
9243         gnu/java/nio/FileChannelImpl.java,
9244         gnu/java/nio/FloatBufferImpl.java,
9245         gnu/java/nio/IntBufferImpl.java,
9246         gnu/java/nio/LongBufferImpl.java,
9247         gnu/java/nio/PipeImpl.java,
9248         gnu/java/nio/SelectionKeyImpl.java,
9249         gnu/java/nio/SelectorImpl.java,
9250         gnu/java/nio/SelectorProviderImpl.java,
9251         gnu/java/nio/ServerSocketChannelImpl.java,
9252         gnu/java/nio/ShortBufferImpl.java,
9253         gnu/java/nio/SocketChannelImpl.java,
9254         java/nio/DoubleBuffer.java,
9255         java/nio/FloatBuffer.java,
9256         java/nio/IntBuffer.java,
9257         java/nio/LongBuffer.java,
9258         java/nio/ShortBuffer.java,
9259         java/nio/channels/FileChannel.java: New files.
9260
9261 2002-11-18  Michael Koch <konqueror@gmx.de>
9262
9263         * Makefile.am (ordinary_java_source_files):
9264         Added java/nio/ReadOnlyBufferException.java and
9265         java/nio/channels/ClosedSelectorException.java.
9266         * Makefile.in: Regenerated.
9267
9268 2002-11-18  Michael Koch <konqueror@gmx.de>
9269
9270         * java/net/PlainSocketImpl.java: Reworked imports.
9271         * java/net/ServerSocket.java
9272         (ServerSocket): Create socket.
9273         * java/net/SocketAddress.java: Documentation added.
9274         * java/net/natPlainSocketImpl.cc: Reindented.
9275         * java/nio/ReadOnlyBufferException.java: New file
9276         * java/nio/channels/ClosedChannelException.java: Documentation added.
9277         * java/nio/channels/ClosedSelectorException.java: New file.
9278
9279 2002-11-17  Mark Wielaard  <mark@klomp.org>
9280
9281         * java/net/HttpURLConnection.java ((getPermission): Take port
9282         into consideration.
9283         (getErrorStream): Implement.
9284
9285 2002-11-17  Mark Wielaard  <mark@klomp.org>
9286
9287         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
9288
9289 2002-11-16  Mark Wielaard  <mark@klomp.org>
9290
9291         Integrate work by Raif S. Naffah (raif@fl.net.au)
9292         * java/security/DummyKeyPairGenerator.java (clone): New method.
9293         * java/security/DummyMessageDigest.java (clone): New method.
9294         (engineUpdate): Now public.
9295         (engineReset): Likewise.
9296         (engineDigest): Likewise.
9297         (engineGetDigestLength): New method.
9298         * java/security/DummySignature.java (clone): New method.
9299         * java/security/KeyPairGenerator.java (provider): Now package private.
9300         (getInstance(String)): Use getInstance(String,Provider).
9301         (getInstance(String,String): Use getInstance(String,Provider)
9302         (getInstance(String,Provider): New method.
9303         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
9304         * java/security/KeyPairGeneratorSpi.java (clone): New method.
9305         * java/security/MessageDigest.java (provider): Now package private.
9306         (getInstance(String): Use getInstance(String,Provider).
9307         (getInstance(String,String): Use getInstance(String,Provider)
9308         (getInstance(String,Provider): New method.
9309         * java/security/Provider.java (toCanonicalKey): New method.
9310         (get): New method that uses toCanonicalKey().
9311         (put): Use toCanonicalKey().
9312         (remove): Likewise.
9313         * java/security/Security.java (insertProviderAt): Provider index is one
9314         based, not zero based.
9315         (addProvider): Likewise.
9316         (removeProvider): Likewise.
9317         * java/security/Signature.java (provider): Now package private.
9318         (getInstance(String)): Use getInstance(String,Provider).
9319         (getInstance(String,String): Use getInstance(String,Provider)
9320         (getInstance(String,Provider): New method.
9321         (getInstance(String,String,Provider): Don't cast DummySignature.
9322
9323 2002-11-15  Tom Tromey  <tromey@redhat.com>
9324
9325         For PR libgcj/8593:
9326         * java/util/zip/GZIPInputStream.java (read): Check file size.
9327         Look in inflater for remaining input bytes.
9328         (read4): Added buf and offset arguments.
9329
9330 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
9331
9332         * java/applet/AppletContext.java: Fix typo and remove redundant
9333         modifiers.
9334
9335 2002-11-14  Tom Tromey  <tromey@redhat.com>
9336
9337         * java/lang/natRuntime.cc (insertSystemProperties): Set
9338         gnu.classpath.home.
9339
9340 2002-11-13  Michael Koch <konqueror@gmx.de>
9341
9342         * java/nio/ByteBuffer.java
9343         (allocate): New method.
9344         (wrap): New method.
9345         (put): New method.
9346         (get): New method.
9347
9348 2002-11-13  Michael Koch <konqueror@gmx.de>
9349
9350         * java/nio/channels/AlreadyConnectedException.java:
9351         Removed unneeded import.
9352         (AlreadyConnectedException): Documentation added.
9353         * java/nio/channels/Pipe.java
9354         (SinkChannel.SinkChannel): Documentation added.
9355         (SinkChannel.validOps): New method.
9356         (SourceChannel.SourceChannel): Documentation added.
9357         (SourceChannel.validOps): New method.
9358         (Pipe): Documentation added.
9359         (open): Documentation added.
9360         (SinkChannel.channel): Documentation added.
9361         (SourceChannel.channel): Documentation added.
9362         * java/nio/channel/SelectableChannel.java
9363         (SelectableChannel): Documentation added.
9364         (blockingLock): Documentation added.
9365         (configureBlocking):Documentation added.
9366         (isBlocking):Documentation added.
9367         (isRegistered):Documentation added.
9368         (keyFor):Documentation added.
9369         (provider):Documentation added.
9370         (register): Documentation added.
9371         (validOps): Documentation added.
9372         * jaba/nio/channels/SelectionKey.java
9373         (SelectionKey): Documentation added.
9374         (attach): Documentation added.
9375         (attachment): Documentation added.
9376         (isAcceptable): Documentation added.
9377         (isConnetable): Documentation added.
9378         (isReadable): Documentation added.
9379         (isWritable): Documentation added.
9380         (cancel): Documentation added.
9381         (channel): Documentation added.
9382         (interestOps): Documentation added.
9383         (isValid): Documentation added.
9384         (readyOps): Documentation added.
9385         (selector): Documentation added.
9386         * jaba/nio/channels/Selector.java
9387         (Selector): Documentation added.
9388         (open): Documentation added.
9389         (close): Documentation added.
9390         (isOpen): Documentation added.
9391         (keys): Documentation added.
9392         (provider): Documentation added.
9393         (select): Documentation added.
9394         (selectedKeys): Documentation added.
9395         (selectNow): Documentation added.
9396         (wakeup): Documentation added.
9397         * java/nio/channels/spi/AbstractInterruptibleChannel.java
9398         (AbstractInterruptibleChannel): Documentation added.
9399         (opened): Default to true;
9400         (begin): Documentation added.
9401         (close): Set opened to false, documentation added.
9402         (isOpen): Documentation added.
9403         * java/nio/channels/spi/AbstractSelectionKey.java
9404         (AbstractSelectionKey): Documentation added.
9405         (cancel): Documentation added.
9406         (isValid): Documentation added.
9407         * java/nio/channels/spi/AbstractSelector.java
9408         (AbstractSelector): Documentation added.
9409         (begin): Documentation added.
9410         (close): Documentation added.
9411         (isOpen): Documentation added.
9412         (deregister): Documentation added.
9413         (end): Documentation added.
9414         (provider): Documentation added.
9415         (implCloseSelector): Documentation added.
9416         (register): Documentation added.
9417         * java/nio/channels/spi/SelectorProvider.java
9418         (SelectorProvider): Documentation added.
9419         (openDatagramChannel): Documentation added.
9420         (openPipe): Documentation added.
9421         (openSelector): Documentation added.
9422         (openServerSocketChannel): Documentation added.
9423         (openSocketChannel): Documentation added.
9424         (provider): Documentation added.
9425
9426 2002-11-12  Michael Koch <konqueror@gmx.de>
9427
9428         * java/nio/Buffer.java: Implemented.
9429         * java/nio/CharBuffer.java: New file.
9430         * java/nio/InvalidMarkException.java: New file.
9431         * java/nio/channels/DatagramChannel.java: Implemented.
9432         * java/nio/channels/ServerSocketChannel.java: Implemented.
9433         * java/nio/channels/SocketChannel.java: Implemented.
9434         * java/nio/channels/spi/AbstractChannel.java: Removed.
9435         * java/nio/channels/spi/AbstractSelectableChannel.java:
9436         Implemented.
9437         * java/nio/charset/Charset.java:
9438         Merge from Classpath.
9439         * java/nio/charset/CharsetDecoder.java: New file.
9440         * java/nio/charset/CharsetEncoder.java: New file.
9441         * java/nio/charset/CoderResult.java: New file.
9442         * Makefile.am (ordinary_java_source_files): Added new files.
9443         * Makefile.in: Regenerated.
9444
9445 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
9446
9447         * gnu/java/nio/charset/ISO_8859_1.java,
9448         gnu/java/nio/charset/Provider.java,
9449         gnu/java/nio/charset/US_ASCII.java,
9450         gnu/java/nio/charset/UTF_16.java,
9451         gnu/java/nio/charset/UTF_16BE.java,
9452         gnu/java/nio/charset/UTF_16Decoder.java,
9453         gnu/java/nio/charset/UTF_16Encoder.java,
9454         gnu/java/nio/charset/UTF_16LE.java,
9455         gnu/java/nio/charset/UTF_8.java: New files.
9456
9457 2002-11-11  Michael Koch <konqueror@gmx.de>
9458
9459         * java/nio/charset/CharacterCodingException.java:
9460         This class must be public.
9461         * java/nio/charset/CoderMalfunctionError.java:
9462         This class must be public.
9463         * java/nio/charset/CodingErrorAction.java:
9464         This class must be public.
9465         * java/nio/charset/IllegalCharsetNameException.java:
9466         This class must be public, better implementation.
9467         * java/nio/charset/MalformedInputException.java:
9468         This class must be public, better implementation.
9469         * java/nio/charset/UnmappableCharacterException.java:
9470         This class must be public, better implementation.
9471         * java/nio/charset/UnsupportedCharsetException.java:
9472         This class must be public, better implementation.
9473
9474 2002-11-11  Michael Koch <konqueror@gmx.de>
9475
9476         * java/nio/BufferOverflowException.java,
9477         java/nio/BufferUnderflowException.java: New file.
9478         * Makefile.am (ordinary_java_source_files):
9479         Added new files.
9480         * Makefile.in: Regenerated.
9481
9482 2002-11-10  Tom Tromey  <tromey@redhat.com>
9483
9484         * java/awt/Container.java (validate): Use tree lock.
9485         (getComponent): Likewise.
9486         (getComponents): Likewise.
9487         (addImpl): Likewise.
9488         (remove): Likewise.
9489         (removeAll): Likewise.
9490         (processEvent): Fixed indentation.
9491         (getComponentAt): Use tree lock.
9492         (findComponentAt): Likewise.
9493         (removeNotify): Likewise.
9494         (isAncestorOf): Likewise.
9495         (list): Likewise.
9496         (visitChildren): Likewise.
9497         (findNextFocusComponent): Likewise.
9498         (addNotifyContainerChildren): Likewise.
9499         (getAccessibleChildrenCount): Likewise.
9500         (getAccessibleChild): Likewise.
9501
9502         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
9503         (getSize): Likewise.
9504         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
9505         (getSize): Likewise.
9506         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
9507         (calcSize): Likewise.
9508         * java/awt/CardLayout.java (getSize): Use tree lock.
9509         (gotoComponent): Likewise.
9510         (layoutContainer): Likewise.
9511
9512         * java/io/natFileDescriptorWin32.cc (read): Handle case where
9513         count is 0.
9514         * java/io/natFileDescriptorPosix.cc (read): Handle case where
9515         count is 0.
9516
9517         * java/io/Externalizable.java, java/io/FilePermission.java,
9518         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
9519         java/io/SerializablePermission.java, java/text/Format.java,
9520         java/util/AbstractMap.java, java/util/HashMap.java,
9521         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
9522         versions from Classpath.
9523
9524 2002-11-10  Anthony Green  <green@redhat.com>
9525
9526         * java/util/jar/Attributes.java (Name): Fix name check.
9527
9528 2002-11-10  Mark Wielaard  <mark@klomp.org>
9529
9530         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
9531         with getName() as message.
9532         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
9533         type as message.
9534
9535         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
9536         unused.
9537
9538 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
9539
9540         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
9541         for Win32. JNICALL has been defined to __stdcall to be compatible
9542         with Sun's JDKs.
9543
9544 2002-11-10  Tom Tromey  <tromey@redhat.com>
9545
9546         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
9547         (setRows): Check newRows, not rows.
9548
9549         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
9550
9551 2002-11-09  Tom Tromey  <tromey@redhat.com>
9552
9553         * java/applet/Applet.java, java/applet/AppletContext.java,
9554         java/applet/AppletStub.java, java/applet/AudioClip.java,
9555         java/awt/CardLayout.java,
9556         java/awt/ContainerOrderFocusTraversalPolicy.java,
9557         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
9558         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
9559         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
9560         java/awt/color/ICC_ColorSpace.java,
9561         java/awt/color/ICC_Profile.java,
9562         java/awt/color/ICC_ProfileGray.java,
9563         java/awt/color/ICC_ProfileRGB.java,
9564         java/awt/datatransfer/DataFlavor.java,
9565         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
9566         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
9567         New versions from Classpath.
9568         * Makefile.in: Rebuilt.
9569         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
9570         ICC_ProfileRGB.
9571
9572         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
9573         display policy.
9574
9575         * java/awt/List.java (processEvent): Added missing `else's.
9576
9577         * java/awt/Window.java (show): validate() before showing.  Make
9578         parent displayable.
9579         (isDisplayable): New method.
9580
9581 2002-11-07  Mark Wielaard  <mark@klomp.org>
9582
9583         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
9584         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
9585
9586         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
9587         annotation.
9588         (loadClass): Take String as codebases.
9589         (getClassAnnotation): Use MyClassLoader annotations.
9590         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
9591         call exportObject(this).
9592
9593         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
9594         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
9595         (setAnnotation): Don't set locBytesStream and locStream.
9596         (replaceObject): Removed.
9597         (flush): Don't test locStream.
9598         (getLocBytes): LikeWise.
9599         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
9600         (leaseCache): New field.
9601         (dirty): Use leaseCache.
9602         (LeaseRecord): New inner class.
9603         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
9604         explicitly call exportObject().
9605         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
9606         false to communicate with Sun JDK130.
9607         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
9608         * gnu/java/rmi/server/RMIObjectInputStream.java
9609         (UnicastConnectionManager): Removed field.
9610         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
9611         Use UnicastServer.getExportedRef().
9612         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
9613         (expireTime): Likewise.
9614         (CONNECTION_TIMEOUT): Likewise.
9615         (disconnect): Call sock.close().
9616         (isExpired): New method.
9617         (resetTime): Likewise.
9618         (run): Use do while loop and catch Exception for discardConnection().
9619         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
9620         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
9621         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
9622         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
9623         (exportObject): Use refcache.
9624         (unexportObject): Likewise.
9625         (getExportedRef): New method.
9626         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
9627         constructor.
9628         (exportObject): Save manager.serverobj.
9629         (getStub): New method.
9630
9631 2002-11-07  Mark Wielaard  <mark@klomp.org>
9632
9633         * java/lang/reflect/natField.cc (getBoolean): Use getType().
9634         (getByte): Likewise.
9635         (getShort): Likewise.
9636         (getInt): Likewise.
9637         (getLong): Likewise.
9638         (getFloat): Likewise.
9639         (getDouble): Likewise.
9640         (get): Likewise.
9641         (setChar): Likewise.
9642         (setByte): Likewise.
9643         (setShort): Likewise.
9644         (setInt): Likewise.
9645         (setLong): Likewise.
9646         (setFloat): Likewise.
9647         (setDouble): Likewise.
9648
9649 2002-11-07  Michael Koch <konqueror@gmx.de>
9650
9651         * java/awt/Choice.java,
9652         java/awt/Container.java,
9653         java/awt/GridBagLayout.java:
9654         Fixed documentation.
9655         * java/awt/peer/ContainerPeer.java:
9656         Reindented.
9657
9658 2002-11-07  Michael Koch <konqueror@gmx.de>
9659
9660         * java/awt/color/ICC_Profile.java:
9661         Added missing constants.
9662         * java/awt/color/ICC_ColorSpace.java
9663         (getMinValue): Added dummy implementation.
9664         (getMaxValue): Added dummy implementation.
9665         * java/awt/datatransfer/DataFlavor.java
9666         (imageFlavor): Added.
9667         (isMimeTypeEqual): Must be final.
9668         (getDefaultRepresentationClass): Must be non-static.
9669         (getDefaultRepresentationClassAsString): Must be non-static.
9670         * java/awt/dnd/DragSourceContext.java
9671         (dragExit): Corrected argument.
9672         (dragDropEnd): Corrected argument.
9673         * java/awt/dnd/DragSourceListener.java.java
9674         (dragExit): Corrected argument.
9675         (dragDropEnd): Corrected argument.
9676         * java/awt/font/TextHitInfo.java
9677         (toString): Added stubbed implementation.
9678         * java/awt/geom/PathIterator.java:
9679         The constants must be static.
9680         * java/awt/image/VolatileImage.java
9681         (IMAGE_INCOMPATIBLE): Fixed typo.
9682         * java/awt/image/renderable/RenderableImage.java
9683         (HINTS_OBSERVED): Must be static.
9684         * java/beans/BeanInfo.java:
9685         Constants must be final.
9686
9687 2002-11-06  Tom Tromey  <tromey@redhat.com>
9688
9689         From svens@it.uu.se.  For PR libgcj/8481.
9690         * java/util/Random.java (nextInt(int)): Only use 31 bits.
9691
9692 2002-11-06  Tom Tromey  <tromey@redhat.com>
9693
9694         * jni.cc (array_from_valist): Assume that jlong won't be
9695         promoted.
9696
9697 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
9698
9699         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
9700         Return 20.
9701         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
9702         Return 16.
9703
9704 2002-11-03  Tom Tromey  <tromey@redhat.com>
9705
9706         * java/lang/ClassLoader.java (loadClass): Call loadClass on
9707         VMClassLoader, not findClass.
9708
9709 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
9710
9711         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
9712         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
9713         _Jv_DetermineVTableIndex, to determine vtable offset.
9714         (_Jv_DetermineVTableIndex): Remove.
9715         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
9716
9717         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
9718
9719 2002-11-03  Tom Tromey  <tromey@redhat.com>
9720
9721         * java/nio/channels/AlreadyConnectedException.java: Extend
9722         IllegalStateException, per spec.
9723
9724 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
9725
9726         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
9727
9728 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
9729
9730         * java/util/ArrayList.java (readObject, writeObject): Only read/write
9731         size items.
9732
9733 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
9734
9735         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
9736         initial estimated size to avoid enlarge buffer frequently.
9737
9738 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
9739
9740         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
9741         ClassLoader when null.
9742         (ProxyType.hashCode): Loader null check no longer needed.
9743         (ProxyType.sameTypes): New method.
9744         (ProxyType.equals): Use new method.
9745
9746 2002-10-31  Mark Wielaard  <mark@klomp.org>
9747
9748         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
9749         length of String.
9750         * java/net/URLEncoder.java (encode): Likewise.
9751
9752 2002-10-31  Mark Wielaard  <mark@klomp.org>
9753
9754         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
9755         when stream is closed.
9756         (closeEntry): Likewise.
9757         (read): Likewise.
9758         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
9759         ZipException when no entry active.
9760         (closeEntry): Likewise.
9761         (write): Likewise.
9762
9763 2002-11-02  Tom Tromey  <tromey@redhat.com>
9764
9765         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
9766         * java/lang/natClass.cc (initializeClass): Don't return just
9767         because self==thread.
9768
9769         For PR java/8415:
9770         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
9771         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
9772
9773 2002-11-02  Andreas Schwab  <schwab@suse.de>
9774
9775         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
9776         pass GCJFLAGS.
9777         (FLAGS_TO_PASS): Define.
9778         * Makefile.in: Regenerated.
9779
9780 2002-11-01  Michael Koch  <konqueror@gmx.de>
9781
9782         * java/nio/ByteOrder.java: New file.
9783         * java/nio/channels/DatagramChannel.java:
9784         (DatagramChannel): New constructor.
9785         * java/nio/channels/Pipe.java: New file.
9786         * java/nio/channels/SelectableChannel.java: New file.
9787         * java/nio/channels/SelectionKey.java: New file.
9788         * java/nio/channels/Selector.java: New file.
9789         * java/nio/channels/ServerSocketChannel.java
9790         (ServerSocketChannel): New constructor.
9791         * java/nio/channels/SocketChannel.java
9792         (SocketChannel): New constructor.
9793         * java/nio/channels/Pipe.java: New file.
9794         * java/nio/channels/spi/AbstractChannel.java: New file.
9795         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
9796         * java/nio/channels/spi/AbstractSelectableChannel.java:
9797         License added
9798         (AbstractSelectableChannel): New stubbed method.
9799         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
9800         * java/nio/channels/spi/AbstractSelector.java: New file.
9801         * java/nio/channels/spi/SelectorProvider.java: New file.
9802         * java/nio/charset/Charset.java: New file.
9803         * java/nio/charset/CoderMalfunctionError.java: New file.
9804         * java/nio/charset/CodingErrorAction.java: New file.
9805         * java/nio/charset/spi/CharsetProvider.java
9806         (charsetForName): Uncommented.
9807         * Makefile.am (java_native_source_files): Added new files.
9808         * Makefile.in: Regenerated.
9809
9810 2002-11-01  Michael Koch  <konqueror@gmx.de>
9811
9812         * java/net/InetAddress.java:
9813         (isAnyLocalAddress): Implemented.
9814         (isLoopbackAddress): Implemented, comment added.
9815         (isLinkLocalAddress): Implemented, documentation added.
9816         (isSiteLocalAddress): Implemented, documentation added.
9817         (isMCGlobal): Implemented, documentation added.
9818         (isMCNodeLocal): Implemented, documentation added.
9819         (isMCLinkLocal): Implemented, documentation added.
9820         (isMCSiteLocal): Implemented, documentation added.
9821         (isMCOrgLocal): Implemented, documentation added.
9822         (getHostName): Documentation added.
9823         (getCanonicalHostName): Implemented, documentation added.
9824         (getAddress): Documentation added.
9825         (hashCode): Documentation added.
9826         (equals): Documentation added.
9827         (toString): Fixed implementation.
9828         (getByAddress): Use Inet4Address and Inet6Address.
9829         (lookup): New linewrap.
9830         (getByName): SecurityManager check added, support Inet4Address and
9831         Inet6address, comments added.
9832         (getAllByName): SecurityManager check added, comments added.
9833         * java/net/Inet6Address.java:
9834         (Inet6Address): Initialize parent class with addr instead of null.
9835         * java/net/URL.java
9836         (equals): Documentation added.
9837         (getFile): Documentation added.
9838         (hashCode): Documentation added.
9839         * java/net/natInetAddress.cc:
9840         (aton): Fix IPv6 support.
9841         * java/net/natPlainDatagramSocketImpl.cc:
9842         (peek): Throw PortUnreachableException when suitable.
9843         (peekData): Throw PortUnreachableException when suitable.
9844         (send): Throw PortUnreachableException when suitable.
9845         (receive): Throw PortUnreachableException when suitable.
9846
9847 2002-10-27  Mark Wielaard  <mark@klomp.org>
9848
9849         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
9850         argument.
9851         (readLeShort): Likewise and use byte[].
9852         (readLeInt): Likewise.
9853         (readEntries): Use new versions of methods and use byte[] for reading
9854         a complete zip entry. Add ZipFile name to exceptions.
9855         (entries): Add ZipFile name to exceptions.
9856         (getEntry): Likewise.
9857         (checkLocalHeader): Use new versions of methods and add ZipFile name
9858         to exceptions.
9859
9860 2002-10-31  Mark Anderson  <mark@panonet.net>
9861
9862         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
9863         added
9864
9865 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
9866
9867         * configure.in: Disable hash sync when not using threads.
9868         * configure: Regenerated.
9869
9870 2002-10-24  Tom Tromey  <tromey@redhat.com>
9871
9872         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
9873         (_Jv_FindSymbolInExecutable): Removed argument name.
9874         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
9875         java.library.path is set.
9876
9877         * gij.cc (help): Document --showversion.
9878         (version): Don't exit.
9879         (main): Handle --showversion.  Exit if --version given.
9880
9881 2002-10-23  Tom Tromey  <tromey@redhat.com>
9882
9883         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
9884         (array_from_valist): Correctly handle promotion for jint, jlong,
9885         jfloat, and jdouble.
9886
9887 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
9888
9889         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
9890         GetFileAttributesEx( ) to find file length and modification times,
9891         as the latter is not present on Windows 95.
9892
9893 2002-10-21  Michael Koch  <konqueror@gmx.de>
9894
9895         * java/net/URL.java
9896         (URL): Activate SecurityManager checks.
9897         (equals): Use URLStreamHandler implementation instead of doing it
9898         alone. This allows special protocol stream handlers to change default
9899         behaviour.
9900         (hashCode): Use URLStreamHandler implementation instead of doing it
9901         alone. This allows special protocol stream handlers to change default
9902         behaviour.
9903         * java/net/URLStreamHandler.java
9904         (equals): Implemented default URL equality check.
9905         (hostsEqual): Implemented default URL equality check.
9906         (hashCode): Implemented default URL hashCode algorithm.
9907         * java/net/natPlainDatagramSocketImpl.cc:
9908         No lines longer then 80 characters.
9909
9910 2002-10-20  Adam Megacz <adam@xwt.org>
9911
9912         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
9913         * configure.in: enabled hash sync on Win32
9914         * include/win32-threads.h (_Jv_ThreadId_t): added.
9915         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
9916         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
9917         removed some posix-isms, use Thread::sleep() instead of usleep,
9918         added code to clear bottom three bits if platform has a broken
9919         linker.
9920         * include/win32-threads.h (_Jv_ThreadId_t): added.
9921
9922 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
9923
9924         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
9925         runtime property "gnu.gcj.progname" containing the name used to
9926         invoke the current Java program (similar to argv[0] for C
9927         programs).
9928
9929 2002-10-15  Tom Tromey  <tromey@redhat.com>
9930
9931         Fix for PR libgcj/8234:
9932         * java/util/zip/natInflater.cc (reset): Reset avail_in.
9933         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
9934
9935 2002-10-13  Mark Wielaard  <mark@klomp.org>
9936
9937         * mauve-libgcj: Enable Mauve tests that compile now.
9938
9939 2002-10-11  Mark Wielaard  <mark@klomp.org>
9940
9941         Fix for PR libgcj/8142
9942         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
9943         loading native modules.
9944
9945 2002-10-10  Michael Koch  <konqueror@gmx.de>
9946
9947         * javax/swing/AbstractListModel.java
9948         (getListDataListeners): New stubbed method.
9949         javax/swing/DefaultBoundedRangeModel.java
9950         (getChangeListeners): New stubbed method.
9951         javax/swing/DefaultSingleSelectionModel.java
9952         (getChangeListeners): New stubbed method.
9953
9954 2002-10-10  Michael Koch  <konqueror@gmx.de>
9955
9956         * gcj/.cvsignore: New file to ignore files generated during build.
9957         * include/.cvsignore: New file to ignore files generated during build.
9958
9959 2002-10-10  Michael Koch  <konqueror@gmx.de>
9960
9961         * java/net/HttpURLConnection.java
9962         (getPermission): New method.
9963         (getErrorStream): New stub method.
9964         (getHeaderFieldDate): New stub method.
9965         * java/net/Inet4Address.java:
9966         (isLinkLocalAddress): Typo fixed.
9967         * java/net/InetAddress.java:
9968         (readResolve): New stubbed method (for serialization).
9969         (isAnyLocalAddress): New stubbed method.
9970         (isLoopbackAddress): New stubbed method.
9971         (isLinkLocalAddress): New stubbed method.
9972         (isSiteLocalAddress): New stubbed method.
9973         (isMCGlobal): New stubbed method.
9974         (isMCNodeGlobal): New stubbed method.
9975         (isMCLinkLocal): New stubbed method.
9976         (isMCSiteLocal): New stubbed method.
9977         (isMCOrgLocal): New stubbed method.
9978         (getCanonicalHostName): New stubbed method.
9979         (getByAddress): Create instances of Inet4Address/Inet6Address,
9980         instead of InetAddress, documentation added.
9981         * java/net/MulticastSocket.java
9982         (getInterface): Removed FIXME.
9983         (getNetworkInterface): New method.
9984         (setNetworkInterface): New method.
9985         * java/net/NetworkInterface.java:
9986         (toString): Use property "line.separator" instead of "\n".
9987         * java/net/URLConnection.java
9988         (getContent): New stubbed method.
9989         * java/net/URLStreamHandler.java:
9990         (equals): New stubbed method.
9991         (hostsEqual): New stubbed method.
9992         (hashCode): New stubbed method.
9993         * java/net/natNetworkInterface.cc:
9994         (getRealNetworkInterfaces): Create Inet4Address object
9995         instead of InetAddress.
9996
9997 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
9998
9999         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
10000         unsigned long temporary to implement insn_iushr shifts.
10001
10002 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
10003
10004         * configure.host [s390*-*]: Enable Java interpreter.
10005         Enable hash synchronization.  Add sysdeps dir.
10006         * sysdep/s390/locks.h: New file.
10007
10008 2002-10-06  Mark Wielaard  <mark@klomp.org>
10009
10010         * java/lang/Thread.java (setDaemon): Check startable_flag,
10011         not isAlive().
10012
10013 2002-10-07  Michael Koch  <konqueror@gmx.de>
10014
10015         * java/nio/Buffer.java: New stub file.
10016         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
10017         of class Charset.
10018         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
10019         * Makefile.in: Regenerated.
10020
10021 2002-10-07  Michael Koch  <konqueror@gmx.de>
10022
10023         * java/nio/ByteBuffer.java:
10024         removed import of not commited class.
10025
10026 2002-10-07  Michael Koch  <konqueror@gmx.de>
10027
10028         * java/nio/ByteBuffer.java,
10029         java/nio/MappedByteBuffer.java:
10030         New files, forgot to add these dummies.
10031         * Makefile.am (java_native_source_files): Added new files.
10032         * Makefile.in: Regenerated.
10033
10034 2002-10-07  Michael Koch  <konqueror@gmx.de>
10035
10036         * java/nio/channels/AlreadyConnectedException.java,
10037         java/nio/channels/ClosedChannelException.java,
10038         java/nio/channels/ReadableByteChannel.java,
10039         java/nio/channels/InterruptibleChannel.java,
10040         java/nio/channels/Channel.java,
10041         java/nio/channels/ByteChannel.java,
10042         java/nio/channels/GatheringByteChannel.java,
10043         java/nio/channels/ScatteringByteChannel.java,
10044         java/nio/channels/WritableByteChannel.java,
10045         java/nio/charset/CharacterCodingException.java,
10046         java/nio/charset/IllegalCharsetNameException.java,
10047         java/nio/charset/MalformedInputException.java,
10048         java/nio/charset/UnmappableCharacterException.java,
10049         java/nio/charset/UnsupportedCharsetException.java,
10050         java/nio/charset/spi/CharsetProvider.java: New file.
10051         These files are exceptions or interfaces,
10052         no real or abstract classes.
10053         * Makefile.am (java_native_source_files): Added new files.
10054         * Makefile.in: Regenerated.
10055
10056 2002-10-05  Michael Koch  <konqueror@gmx.de>
10057
10058         * java/net/InetAddress.java
10059         (getByAddress): Fixed documentation.
10060         (getByAddress): New method.
10061         * java/net/Inet4Address.java: New file.
10062         * java/net/URL.java
10063         (URL): Documentation added.
10064         (getContent): Documentation added.
10065         (getContent): New stubbed method.
10066         (getQuery): New method.
10067         (openConnection): Documentation added.
10068         (openStream): Documentation added.
10069         (setURLStreamHandlerFactory): Documentation added.
10070         * java/net/URI.java: New stub file.
10071         * Makefile.am
10072         (java_native_source_files): Added java/net/Inet4Address.java,
10073         java/net/Inet6Address.java and java/net/URI.java.
10074         * Makefile.in: Regenerated.
10075
10076 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
10077
10078         * java/lang/ProtectionDomain.java (linesep): Remove field.
10079         (toString): Use System.getProperty("line.separator").
10080
10081 2002-10-04  Michael Koch  <konqueror@gmx.de>
10082
10083         * java/security/Identity.java: Added serialVersionUID.
10084         * java/security/KeyPair.java: Added serialVersionUID.
10085         * java/security/Provider.java: Added serialVersionUID.
10086         * java/security/SecureRandom.java: Added serialVersionUID.
10087         * java/security/SecureRandomSpi.java: Added serialVersionUID.
10088         * java/security/SignedObject.java: Added serialVersionUID.
10089         * java/security/cert/Certificate.java: Added serialVersionUID.
10090
10091 2002-10-04  Mark Wielaard <mark@klomp.org>
10092
10093         * java/security/Security.java: Use java.home or gnu.classpath.home
10094         to load providers.
10095         (loadProviders): Extra dir argument.
10096         (getProvider): Return null when not found.
10097
10098 2002-10-04  Mark Wielaard  <mark@klomp.org>
10099
10100         * java/lang/Throwable.java: Remerge with Classpath.
10101
10102 2002-10-04  Michael Koch  <konqueror@gmx.de>
10103
10104         * java/net/InetAddress.java:
10105         (isMulticastAddress): Added documentation.
10106         (getHostAddress): Added documentation.
10107         (toString): Added documentation.
10108         (getByAddress): Fixed documentation.
10109         (getByName): Added documentation.
10110         (getAllByName): Added documentation.
10111         (getLocalHost): Added documentation.
10112
10113 2002-10-04  Michael Koch  <konqueror@gmx.de>
10114
10115         * java/beans/beancontext/BeanContextChildSupport.java:
10116         Added serialVersionUID.
10117         * java/text/Collator.java: (compare): Made documentation HTML-aware.
10118         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
10119         * javax/naming/Name.java: Added serialVersionUID.
10120
10121 2002-10-03  Adam Megacz <adam@xwt.org>
10122
10123         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
10124         some functionality that isn't supported yet on WIN32.
10125
10126 2002-10-03  Tom Tromey  <tromey@redhat.com>
10127
10128         * Makefile.in: Rebuilt.
10129         * Makefile.am (awt_java_source_files): Added new files.
10130
10131 2002-10-03  Michael Koch  <konqueror@gmx.de>
10132
10133         * java/net/InetAddress.java
10134         (class InetAddress): Removed final keyword.
10135         (equals): Fixed typo.
10136         (getByAddress): New method.
10137
10138 2002-10-03  Michael Koch  <konqueror@gmx.de>
10139
10140         * java/awt/dnd/Autoscroll.java:
10141         New file, merge from Classpath.
10142         * java/awt/dnd/DragSourceAdapter.java:
10143         (dragExit): Fixed typos in argument type.
10144         (dragDropEnd): Fixed typos in argument type.
10145         * java/awt/dnd/DragSourceDropEvent.java:
10146         New file, merge from Classpath.
10147         * java/awt/dnd/DropTarget.java:
10148         Added stubs, merge from Classpath.
10149         * java/awt/dnd/DropTargetAdapter.java:
10150         New file, merge from Classpath.
10151         * java/awt/dnd/DropTargetContext.java:
10152         New file, merge from Classpath.
10153         * java/awt/dnd/DropTargetDragEvent.java:
10154         New file, merge from Classpath.
10155         * java/awt/dnd/DropTargetDropEvent.java:
10156         New file, merge from Classpath.
10157         * java/awt/dnd/DropTargetEvent.java:
10158         New file, merge from Classpath.
10159         * java/awt/dnd/DropTargetListener.java:
10160         New file, merge from Classpath.
10161         * java/awt/dnd/MouseDragGestureRecognizer.java:
10162         New file, merge from Classpath.
10163         * java/awt/dnd/peer/DropTargetContextPeer.java:
10164         New file, merge from Classpath.
10165
10166 2002-10-03  Michael Koch  <konqueror@gmx.de>
10167
10168         * java/net/DatagramPacket.java
10169         (setLength): Fixed typo and be HTML-aware.
10170         * java/net/InetSocketAddress.java
10171         (InetSocketAddress): Correct initialization of hostname, fixed typo.
10172         (equals): Added comment about equality of InetSocketAddress objects.
10173         * java/net/ServerSocket.java
10174         (accept): Added checks.
10175         (isClosed): New stubbed method.
10176         * java/net/SocketOptions.java: Reindention.
10177         * java/net/SocketPermission
10178         (SocketPermission): Documentation fixed.
10179
10180 2002-10-03  Michael Koch  <konqueror@gmx.de>
10181
10182         * java/net/DatagramSocket.java
10183         (receive): Check with SecurityManager AFTER the packet is received,
10184         check if connected to multicast address, documentation added.
10185         (send): Only check SecurityManager if connected, check address of
10186         packet to send.
10187         (connect): Implemented, documentation added.
10188         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
10189         * java/net/InetSocketAddress.java
10190         (whole file): Reindented.
10191         (hostname): New attribute.
10192         (InetSocketAddress): Initialize new attribute.
10193         (getAddress): Documentation added.
10194         (getHostName): Documentation added.
10195         (getPort): Documentation added.
10196         (hashCode): Documentation added.
10197         (isUnresolved): Documentation added.
10198         (toString): Conform to output of JDK 1.4.1, documentation added.
10199         * java/net/MulticastSocket.java
10200         (joinGroup): Removed FIXME, documentation added.
10201         (leaveGroup): Removed FIXME, documentation added.
10202         (send): Documentation added.
10203         * java/net/Socket.java
10204         (inputShutdown): New variable.
10205         (outputShutdown): New variable.
10206         (Socket): Initialize new variables.
10207         (getRemoteSocketAddress): Check if connected.
10208         (shutdownInput): Set new variable.
10209         (shutdownOutput): Set new variable.
10210         (isConnected): New method.
10211         (isClosed): New method.
10212         (isInputShutdown): New method.
10213         (isOutputShutdown): New method.
10214         * java/net/URLStreamHandler.java
10215         (URLStreamHandler): New method.
10216         (openConnection): Added documentation.
10217         (parseURL): Added documentation.
10218         (getHostAddress): New method.
10219         (getDefaultPort): New method.
10220
10221 2002-10-02  Tom Tromey  <tromey@redhat.com>
10222
10223         * java/rmi/activation/ActivationDesc.java,
10224         java/rmi/activation/ActivationGroupDesc.java,
10225         java/rmi/activation/ActivationGroupID.java,
10226         java/rmi/activation/ActivationID.java: New versions from
10227         Classpath.
10228
10229 2002-09-30  Bo Thorsen  <bo@suse.de>
10230
10231         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
10232
10233 2002-09-30  Tom Tromey  <tromey@redhat.com>
10234
10235         * java/io/ObjectInputStream.java (resolveProxyClass): New method
10236         from Classpath.
10237         * Makefile.in: Rebuilt.
10238         * Makefile.am (rmi_java_source_files): Added new files.
10239         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
10240         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
10241         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
10242         Classpath.
10243         * gnu/java/rmi/dgc/DGCImpl.java,
10244         gnu/java/rmi/dgc/DGCImpl_Skel.java,
10245         gnu/java/rmi/dgc/DGCImpl_Stub.java,
10246         gnu/java/rmi/registry/RegistryImpl_Skel.java,
10247         gnu/java/rmi/registry/RegistryImpl_Stub.java,
10248         gnu/java/rmi/server/RMIHashes.java,
10249         gnu/java/rmi/server/RMIObjectInputStream.java,
10250         gnu/java/rmi/server/RMIObjectOutputStream.java,
10251         gnu/java/rmi/server/UnicastConnection.java,
10252         gnu/java/rmi/server/UnicastConnectionManager.java,
10253         gnu/java/rmi/server/UnicastRef.java,
10254         gnu/java/rmi/server/UnicastServer.java,
10255         gnu/java/rmi/server/UnicastServerRef.java,
10256         java/rmi/MarshalledObject.java,
10257         java/rmi/server/RMIClassLoader.java,
10258         java/rmi/server/RemoteObject.java,
10259         java/rmi/server/UnicastRemoteObject.java,
10260         java/security/SecureClassLoader.java: Merged from Classpath.
10261
10262 2002-09-29  Anthony Green  <green@redhat.com>
10263
10264         * java/lang/reflect/UndeclaredThrowableException.java: New file.
10265         Imported from GNU Classpath.
10266         * java/lang/reflect/natProxy.cc: New file.
10267         * java/lang/reflect/InvocationHandler.java: New file.  Imported
10268         from GNU Classpath.
10269         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
10270         Classpath.
10271         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
10272         Classpath.
10273         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
10274         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
10275         New statics.
10276         * gcj/javaprims.h ("Java"): Add new classes.
10277         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
10278         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
10279         java/lang/reflect/Proxy$$ProxyType.h): And this.
10280         (inner_nat_headers): Add these new headers.
10281         (ordinary_java_source_files): Add new files.
10282         (nat_source_files): Add new file.
10283         * Makefile.in: Rebuilt.
10284
10285 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
10286
10287         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
10288         a single configuration.
10289
10290 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
10291
10292         * java/util/TimeZone.java (getDSTSavings): New method.
10293         Fixes PR libgcj/7786.
10294
10295 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
10296
10297         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
10298         to see if `the_method == 0' before looking up vtable index.
10299         Fixes PR libgcj/7709.
10300
10301 2002-09-25  Tom Tromey  <tromey@redhat.com>
10302
10303         * java/lang/natClassLoader.cc:
10304         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
10305         * resolve.cc: Include NoClassDefFoundError.h, not
10306         ClassNotFoundException.h.
10307         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
10308
10309         * defineclass.cc: Don't include ClassNotFoundException.h.
10310
10311         * resolve.cc: Include StringBuffer.
10312         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
10313
10314         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
10315         allocated but not initialized.
10316
10317 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
10318
10319         Fix for PR libgcj/7766:
10320         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
10321         (getNextEntry): Set it.
10322         (closeEntry): Likewise.
10323         (read): Likewise.
10324         (close): Likewise.
10325         (available): Use it.
10326
10327 2002-09-25  Michael Koch  <konqueror@gmx.de>
10328
10329         * java/net/DatagramSocket.java
10330         (DatagramSocket): Initialize new instance variables.
10331         (close): Reset new instance variables.
10332         (getLocalAddress): Remove unneeded SecurityManager usage.
10333         (getLocalPort): Check if socket is already bound.
10334         (isConnected): New method.
10335         (getInetAddress): Implemented.
10336         (getPort): Better Implementation, documentation fixed.
10337         (getRemoteSocketAddress): New method.
10338         * java/net/JarURLConnection.java
10339         (element): Typo fixed.
10340         (getMainAttributes): New method.
10341         (getAttributes): New method (stub only).
10342         (getManifest): New method (stub only).
10343         * java/net/NetPermission.java: Added serialVersionsUID.
10344         * java/net/Socket.java
10345         (connect): Check blocking mode of associated channel,
10346         documentation added.
10347         (getLocalSocketAddress): Better implementation.
10348         (getRemoteSocketAddress): Implemented.
10349         (isBound): New method.
10350         (setSendBufferSize): Documentation added.
10351         * java/net/SocketAddress.java: Added serialVersionsUID.
10352         * java/net/SocketPermission.java: Added serialVersionsUID.
10353         * java/net/URL.java
10354         (URL): Wrap for shorter lines, initialize new instance variables,
10355         documentation added.
10356         (equals): Check new instance variables too.
10357         (getContent): Documentation added.
10358         (getPath): Documentation added.
10359         (getAuthority): New method.
10360         (getHost): Documentation added.
10361         (getPort): Documentation added.
10362         (getDefaultPort): New method.
10363         (getProtocol): Documentation added.
10364         (getUserInfo): Documentation added.
10365         (set): Initialize new instance variables, documentation added.
10366         * java/net/URLStreamHandler.java
10367         (setURL): New method.
10368         * java/net/natPlainDatagramSocketImpl.cc
10369         (connect): Fix exception name.
10370         (disconnect): Fix exception name.
10371
10372 2002-09-25  Michael Koch  <konqueror@gmx.de>
10373
10374         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
10375         * java/nio/channels/DatagramChannel.java:
10376         extends AbstractSelectableChannel
10377         * java/nio/channels/ServerSocketChannel.java:
10378         extends AbstractSelectableChannel
10379         * java/nio/channels/SocketChannel.java:
10380         extends AbstractSelectableChannel
10381         * Makefile.am (ordinary_java_source_files):
10382         java/nio/channels/spi/AbstractSelectableChannel.java added.
10383         * Makefile.in: Regenerated.
10384
10385 2002-09-25  Michael Koch  <konqueror@gmx.de>
10386
10387         * java/net/DatagramSocket.java
10388         (DatagramSocket): Exception documentation added.
10389         (bind): Exception documentation added, addded SecurityManager check,
10390         added SocketAddress type check.
10391         (getSoTimeout): Check impl.
10392         (receive): Fix SecurityManager check, check impl, documentation added.
10393         (send): Check channel mode, documentation added.
10394         (connect): New method.
10395         (disconnect): Implemented.
10396         (getLocalSocketAddress): New method.
10397         (getReceiveBufferSize): Check impl.
10398         (setReuseAddress): Check impl.
10399         (getReuseAddress): Check impl.
10400         (setBroadcast): Check impl.
10401         (getBroadcast): Check impl.
10402         (setTrafficClass): Check impl, Documentation cleared.
10403         (getTrafficClass): Check impl.
10404         (getSendBufferSize): Check impl.
10405         (setReceiveBufferSize): Check impl, documentation added.
10406         (setSendBufferSize): Documentation added.
10407         (setDatagramSocketImplFactory): New method.
10408         * java/net/HttpURLConnection.java
10409         (HTTP_INTERNAL_ERROR): The correct code is 500.
10410         (HTTP_NOT_IMPLEMENTED): Added new constant.
10411         (setFollowRedirects): Documentation added.
10412         (getInstanceFollowRedirects): New method.
10413         (setInstanceFollowRedirects): New method.
10414         (setRequestMethod): Documentation added.
10415         (getResponseCode): Documentation added.
10416         (getResponseMessage): Documentation added.
10417         * java/net/JarURLConnection.java
10418         (JarURLConnection): protected since JDK 1.4.
10419         (getJarEntry): java.io.IOException to IOException, documentation added.
10420         (getJarFile): Documentation added.
10421         * java/net/ServerSocket.java
10422         (ServerSocket): Private to public, exception added.
10423         (ServerSocket): java.io.IOException to IOException, documentation added.
10424         (bind): Check socket address type, documentation added.
10425         (bind): java.io.IOException to IOException, documentation added.
10426         (accept): Documentation added.
10427         (implAccept): Check ch is not non-blocking, documentation added.
10428         (setSoTimeout): Documentation fixed.
10429         (setReceiveBufferSize): Documentation added.
10430         * java/net/Socket.java
10431         (Socket): Documentation added.
10432         (bind): Documentation added.
10433         (connect): Check socket address type, documentation added.
10434         (getRemoteSocketAddress): New method.
10435         (getLocalSocketAddress): New method.
10436         (setSoLinger): Documentation added.
10437         (getReuseAddress): New method.
10438         (setReuseAddress): New method.
10439         (getTrafficClass): New method.
10440         (setTrafficClass): New method.
10441         * java/net/URLStreamHandler.java
10442         (openConnection): java.io.IOException to IOException.
10443         (parseURL): Documentation added.
10444         (sameFile): public to protected, documentation added.
10445         (setURL): Documentation added.
10446         * java/nio/IllegalBlockingModeException.java: New file.
10447         * Makefile.am (ordinary_java_source_files):
10448         added java/nio/IllegalBlockingModeException.java
10449         * Makefile.in: Regenerated.
10450
10451 2002-09-25  Michael Koch  <konqueror@gmx.de>
10452
10453         * java/net/DatagramPacket
10454         (DatagramPacket): Exception documentation added.
10455         (setData): Likewise.
10456         (setSocketAddress): Likewise.
10457         * java/net/DatagramSocketImpl.java
10458         (peek): Documentation addded.
10459         (peekData): Documentation addded.
10460         (send): Documentation addded.
10461         (receive): Documentation addded.
10462         (connect): New method.
10463         (disconnect): New method.
10464         (joinGroup): New abstract method.
10465         (leaveGroup): New abstract method.
10466         * java/net/InetSocketAddress.java
10467         (InetSocketAddress): Documentation added.
10468         (equals): final keyword added.
10469         (getAddress): final keyword added.
10470         (getHostName): final keyword added.
10471         (getPort): final keyword added.
10472         (hashCode): final keyword added.
10473         (isUnresolved): final keyword added.
10474         * java/net/MulticastSocket.java
10475         (MulticastSocket): Documentation added.
10476         (MulticastSocket): New method.
10477         (joinGroup): Documentation added.
10478         (joinGroup): New method.
10479         (leaveGroup): Documentation added.
10480         (leaveGroup): New method.
10481         (send): Documentation added.
10482         * java/net/NetworkInterface.java
10483         (getByName): Documentation added.
10484         (getByInetAddress): Documentation added.
10485         (getNetworkInterfaces): Documentation added.
10486         * java/net/PlainDatagramSocketImpl.java
10487         (connect): New method.
10488         (disconnect): New method.
10489         * java/net/SocketImpl.java
10490         (create): Documentation added.
10491         (shutdownInput): Convert public to protected, as it always was.
10492         (shutdownOutput): Convert public to protected, as it always was.
10493         * java/net/SocketOptions.java
10494         (whole file): Reintented.
10495         * java/net/URLClassLoader.java
10496         (URLClassLoader): SecurityManager check added, documentation added.
10497         (findResources): Documentation added.
10498         (findClass): Documentation added.
10499         (newInstance): More correct method arguments.
10500         * java/net/URLConnection.java
10501         (connect): Documentation added.
10502         (getContent): Documentation added.
10503         (getPermission): Documentation added.
10504         (getInputStream): Documentation added.
10505         (getOutputStream): Documentation added.
10506         (setDoInput): Throw correct exception, documentation added.
10507         (setDoOutput): Throw correct exception, documentation added.
10508         (setAllowUserInteraction): Throw correct exception, documentation added.
10509         (setUseCaches): Throw correct exception, documentation added.
10510         (setIfModifiedSince): Throw correct exception, documentation added.
10511         (setRequestProperty): Throw exception, documentation added.
10512         (addRequestProperty): Throw exception, documentation added.
10513         (getRequestProperty): Throw exception, documentation added.
10514         (getRequestProperties): Documentation added.
10515         (setContentHandlerFactory): Documentation added.
10516         (guessContentTypeFromName): protected to public.
10517         (setFileNameMap): Documentation added.
10518         * java/net/URLDecoder.java
10519         (URLDecoder): New method.
10520         (decode): Documentation added.
10521         (whole file): Reindented.
10522         * java/net/URLEncoder.java
10523         (encode): Documentation added.
10524         * java/net/natPlainDatagramSocketImpl.cc
10525         (connect): New method.
10526         (disconnect): New method.
10527         * javax/naming/RefAddr:
10528         (addrType): addrType was never final.
10529         (equals): Fix typo in method name.
10530         * javax/naming/BinaryRefAddr:
10531         (equals): Fix typo in method name.
10532
10533 2002-09-22  Tom Tromey  <tromey@redhat.com>
10534
10535         Fix for PR libgcj/6576:
10536         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
10537         didn't find a given bundle.
10538         (getBundle): Don't require base bundle.
10539         (setParent): Removed old comment.
10540         (tryLocalBundle): Try components even if preceding components were
10541         empty.
10542
10543 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10544
10545         * Makefile.am (all-multi): Fix multilib parallel build.
10546
10547 2002-09-21  Michael Koch  <konqueror@gmx.de>
10548
10549         * java/net/Socket.java
10550         (sendUrgentData): New method.
10551         (getChannel): New method.
10552         * java/net/ServerSocket.java
10553         (getChannel): New method.
10554         (isBound): New method.
10555         * java/net/DatagramSocket.java
10556         (DatagramSocket): Two new methods.
10557         (bind): New method.
10558         (getChannel): New method.
10559         (isBound): New method.
10560         (send): Added newline to to make shorter lines.
10561         * java/net/PlainDatagramSocketImpl.java
10562         (mcastGrp): Added argument.
10563         (join): Use new mcastGrp.
10564         (leave): Use new mcastGrp.
10565         (joinGroup): New method.
10566         (leaveGroup): New method.
10567         * java/net/natPlainDatagramSocketImpl.cc
10568         (mcastGrp): Added argument, no yet really implemented.
10569         (getOption): Added newline for shorter lines.
10570         * java/net/natPlainSocketImpl.cc
10571         (read, setOption, getOption): Added newline for shorter lines.
10572
10573 2002-09-19  Tom Tromey  <tromey@redhat.com>
10574
10575        * java/lang/ClassLoader.java (resolveClass0): Set cause for
10576        newly-created exception.
10577
10578 2002-09-18  Michael Koch  <konqueror@gmx.de>
10579
10580         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
10581         java/util/regex/PatternSyntaxException.java:
10582         Merge with classpath, new files.
10583         * Makefile.am (core_java_source_files):
10584         Added java/util/regex/Matcher.java,
10585         java/util/regex/Pattern.java,
10586         java/util/regex/PatternSyntaxException.java
10587         * Makefile.in: Regenerated.
10588         * include/config.h.in: Added HAVE_NET_IF_H.
10589         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
10590         Removed #if 0 ... #endif.
10591
10592 2002-09-17  Michael Koch  <konqueror@gmx.de>
10593
10594         * java/net/natNetworkInterface.cc:
10595         Removed unneed and yet wrong includes.
10596
10597 2002-09-17  Michael Koch  <konqueror@gmx.de>
10598
10599         * java/net/NetworkInterface.java: New file.
10600         * java/net/natNetworkInterface.java: New file.
10601         * configure.in: Added check for net/if.h.
10602         * configure: Regenerated.
10603         * Makefile.am
10604         (ordinary_java_source_files): Added NetworkInterface.java.
10605         (nat_source_files): Added natNetworkInterface.cc.
10606         * Makefile.in: Regenerated.
10607
10608 2002-09-16  Tom Tromey  <tromey@redhat.com>
10609
10610         * java/net/URLClassLoader.java (findClass): Code source for a
10611         class from a jar is not necessarily a jar: URL.
10612
10613 2002-09-16  Michael Koch  <konqueror@gmx.de>
10614
10615         * java/lang/AssertionError.java:
10616         Merge with classpath, fixes HTML.
10617         * java/rmi/server/LogStream.java:
10618         Merge with classpath, fixes some constants.
10619         * java/net/server/RemoteServer.java:
10620         Merge with classpath, adds serialVersionUID.
10621         * javax/naming/BinaryRefAddr.java:
10622         Merge with classpath, s/equal/equals/.
10623         * javax/naming/NamingException.java:
10624         Merge with classpath, fixed typo.
10625         * javax/naming/RefAddr.java:
10626         Merge with classpath, s/equal/equals/.
10627         * java/awt/Toolkit.java:
10628         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
10629         and typo fixed.
10630
10631 2002-09-15  Adam Megacz <adam@xwt.org>
10632
10633         * java/net/natPlainSocketImpl.cc: fixed typo.
10634
10635 2002-09-15  Adam Megacz <adam@xwt.org>
10636
10637         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
10638         which don't work on Win32 (yet).
10639
10640 2002-09-14  Adam Megacz <adam@xwt.org>
10641
10642         * java/net/natPlainDatagramSocket.cc: removed #include
10643         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
10644         * include/win32.h: included definition for IP_TOS to satisfy
10645         natPlainDatagramSocket.cc
10646
10647 2002-09-13  Michael Koch  <konqueror@gmx.de>
10648
10649         * java/net/DatagramPacket.java (DatagramPacket):
10650         Added linebreak for 80 chars per line.
10651         * java/net/JarURLConection.java
10652         (getInputStreami, getJarEntry): Likewise.
10653         * java/net/SocketPErmission.java
10654         (SocketPermission class docu, implies): Likewise.
10655         * java/net/URLClassLoader.java (findResources): Likewise.
10656         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
10657
10658 2002-09-13  Michael Koch  <konqueror@gmx.de>
10659
10660         * java/nio/channels/DatagramChannel.java,
10661         java/nio/channels/ServerSocketChannel.java
10662         java/nio/channels/SocketChannel.java:
10663         New dummy files to make java.net fully JDK 1.4 compatible
10664         * Makefile.am (ordinary_java_source_files): Added
10665         java/net/DatagramSocketImplFactory.java (long forgotten),
10666         java/nio/SocketChannel.java,
10667         java/nio/ServerSocketChannel.java,
10668         java/nio/DatagramChannel.java
10669         * Makefile.in: Regenrated.
10670
10671 2002-09-12  Michael Koch  <konqueror@gmx.de>
10672
10673         * java/net/DatagramSocketImpl.java
10674         (peekData): New method.
10675         * java/net/PlainDatagramSocketImpl.java
10676         (peekData): New method.
10677         * java/net/natPlainDatagramSocketImpl.cc
10678         (peekData): New method.
10679         * java/net/URLConnection
10680         (getPermission): New method.
10681         (addRequestProperty): New method.
10682         (getRequestProperties): New method.
10683         (guessContentTypeFromStream): New method, not really implemented.
10684         (URLConnection): Added/updated documentation.
10685         (connect): Added/updated documentation.
10686         (getURL): Added/updated documentation.
10687         (getContentLength): Added/updated documentation.
10688         (getContentType: Added/updated documentation.
10689         (getContentEncoding): Added/updated documentation.
10690         (getExpiration): Added/updated documentation.
10691         (getDate): Added/updated documentation.
10692         (getLastModified): Added/updated documentation.
10693         (getHeaderField): Added/updated documentation.
10694         (getHeaderFields): Added/updated documentation.
10695         (getHeaderFieldInt): Added/updated documentation.
10696         (getHeaderFieldDate): Added/updated documentation.
10697         (getHeaderFieldKey): Added/updated documentation.
10698         (getContent): Added/updated documentation.
10699         (getInputStream): Added/updated documentation.
10700         (getOutputStream): Added/updated documentation.
10701         (toString): Added/updated documentation.
10702         (setDoInput): Added/updated documentation.
10703         (getDoInput): Added/updated documentation.
10704         (setDoOutput): Added/updated documentation.
10705         (getDoOutput): Added/updated documentation.
10706         (setAllowUserInteraction): Added/updated documentation.
10707         (getAllowUserInteraction): Added/updated documentation.
10708         (setDefaultAllowUserInteraction): Added/updated documentation.
10709         (getDefaultAllowUserInteraction): Added/updated documentation.
10710         (setUseCaches): Added/updated documentation.
10711         (getUseCaches): Added/updated documentation.
10712         (setIfModifiedSince): Added/updated documentation.
10713         (getIfModifiedSince): Added/updated documentation.
10714         (getDefaultUseCaches): Added/updated documentation.
10715         (setDefaultUseCaches): Added/updated documentation.
10716         (setRequestProperty): Added/updated documentation.
10717         (getRequestProperty): Added/updated documentation.
10718         (setDefaultRequestProperty): Added/updated documentation.
10719         (getDefaultRequestProperty): Added/updated documentation.
10720         (setContentHandlerFactory): Added/updated documentation.
10721         (guessContentTypeFromName): Added/updated documentation.
10722         (getFileNameMap): Added/updated documentation.
10723         (setFileNameMap): Added/updated documentation.
10724
10725 2002-09-11  Michael Koch  <konqueror@gmx.de>
10726
10727         * java/net/Socket.java
10728         (Socket): protected to public (since JDK 1.4). Added @specnote.
10729         (bind): New method.
10730         (connect): Two new methods.
10731         (getKeepalive): Get correct socket option.
10732         (setKeepalive): Set correct socket option.
10733         (getOOBInline): New method.
10734         (setOOBInline): New method.
10735         * java/net/ServerSocket.java
10736         (bind): Two new methods.
10737         (getInetAddress): Reimplemented, catch exception.
10738         (getLocalSocketAddress): New method.
10739         (setReuseAddress): New method.
10740         (getReuseAdress): New method.
10741         (setReceiveBufferSize): New method.
10742         (getReceiveBufferSize): New method.
10743         (toString): Made string JDK 1.4 compliant.
10744
10745 2002-09-10  Michael Koch  <konqueror@gmx.de>
10746
10747         * java/net/SocketImpl.java
10748         (connect): New method.
10749         (supportsUrgentData): New method.
10750         (sendUrgentData): New method.
10751         * java/net/PlainSocketImpl.java
10752         (connect): One new method and two new implementation.
10753         (sendUrgentData): New method.
10754         * java/natPlainSocketImpl.cc
10755         (connect): Arguments changed, added support for timeouts.
10756         (getOption): Another __java_boolean to jboolean.
10757
10758 2002-09-07  Adam Megacz <adam@xwt.org>
10759
10760         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
10761         definition of IP_TOS.
10762
10763 2002-09-04  Michael Koch  <konqueror@gmx.de>
10764
10765         * java/net/DatagramSocket.java
10766         (DatagramSocket): Added documentation.
10767         (close): Likewise.
10768         (getLocalAddress): Likewise.
10769         (getLocalPort): Likewise.
10770         (receive): Likewise.
10771         (send): Likewise.
10772         (setSoTimeout): Likewise.
10773         (connect): New method.
10774         (disconnect): New method.
10775         (getInetAddress): New method (FIXME)
10776         (getPort): New method.
10777         (setReuseAddress): New method.
10778         (getReuseAddress): New method.
10779         (setBroadcast): New method.
10780         (getBroadcast): New method.
10781         (setTrafficClass): New method.
10782         (getTrafficClass): New method.
10783         * java/net/MulticastSocket.java):
10784         (getTTL): Added @see in documentation.
10785         (setTTL): Added @see in documentation.
10786         (setLoopbackMode): New method.
10787         (getLoopbackMode): New method.
10788         * java/net/PlainSocketImpl.java:
10789         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
10790         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
10791         * java/net/PlainDatagramSocketImpl.java
10792         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
10793         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
10794         * java/net/natPlainSocketImpl.cc
10795         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
10796         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
10797         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
10798         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
10799         This should also fix SO_KEEPALIVE
10800         * java/net/natPlainDatagramSocketImpl.cc
10801         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
10802         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
10803         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
10804         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
10805
10806 2002-09-04  Michael Koch  <konqueror@gmx.de>
10807
10808         * java/net/SocketOptions.java: added static variables to be JDK 1.4
10809         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
10810         IP_MULTICAST_LOOP, IP_TOS
10811
10812 2002-09-03  Tom Tromey  <tromey@redhat.com>
10813
10814         * java/lang/Class.h (_getDeclaredMethod): Declare.
10815         (_getMethod): Now private.
10816         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
10817         getDeclaredMethod.  Now returns NULL on failure.
10818         * java/lang/Class.java (_getDeclaredMethod): Declare.
10819         (getDeclaredMethod): No longer native; implements access checks.
10820
10821 2002-09-01  Mark Wielaard  <mark@klomp.org>
10822
10823         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
10824         (sanitizeStack): Correctly reset unknown and interpreter counters,
10825         detect interpreter runtime frames.
10826         (demangleInterpreterMethod): New method.
10827         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
10828         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
10829         filling in addrs[].
10830
10831 2002-09-02  Michael Koch  <konqueror@gmx.de>
10832
10833         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
10834         re-indented documentation.
10835
10836 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
10837
10838         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
10839         public, per 1.4 spec.  Fixes PR libgcj/7785.
10840
10841 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
10842
10843         * Makefile.in: Rebuilt.
10844         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
10845
10846 2002-08-29  Tom Tromey  <tromey@redhat.com>
10847
10848         * java/net/JarURLConnection.java (getCertificates): New method
10849         from Classpath.
10850         * java/net/URLClassLoader.java (URLClassLoader): Extends
10851         SecureClassLoader.
10852         (definePackage): New method from Classpath.
10853         (getPermissions): Likewise.
10854         (newInstance): Likewise.
10855         (findClass): Construct CodeSource for new class (from Classpath).
10856         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
10857         methods.
10858         * java/net/URL.java (getUserInfo): New method.
10859         (set(String,String,int,String,String,String,String,String)): New
10860         method.
10861         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
10862         (shutdownInput, shutdownOutput): Declare.
10863         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
10864         Define.
10865         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
10866         (getOption): Likewise.
10867         (shutdownInput): New method.
10868         (shutdownOutput): Likewise.
10869         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
10870         keepalive.
10871         (getOption): Likewise.
10872         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
10873         * java/net/Socket.java (setKeepAlive): New method.
10874         (getKeepAlive): Likewise.
10875         (shutdownInput, shutdownOutput): New methods.
10876
10877 2002-08-29  Michael Koch  <konqueror@gmx.de>
10878
10879         * java/net/DatagramPacket.java: updated to JDK 1.4 API
10880         new methods are:
10881         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
10882           address),
10883         DatagramPacket(byte[] buf, int length, SocketAddress address),
10884         void setSocketAddress(SocketAddress address)
10885         public SocketAddress getSocketAddress()
10886
10887 2002-08-29  Tom Tromey  <tromey@redhat.com>
10888
10889         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
10890         ftruncate is missing.
10891         * configure, include/config.h.in: Rebuilt.
10892         * acconfig.h (HAVE_FTRUNCATE): Mention.
10893         * configure.in: Check for ftruncate.
10894
10895 2002-08-29  Tom Tromey  <tromey@redhat.com>
10896
10897         * include/jvm.h (struct _Jv_frame_info): New structure.
10898         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
10899         java-interp.h.
10900         (lookupInterp): New method.
10901         (getAddrAsString): Use _Jv_frame_info.
10902         (dladdrLookup): Likewise.
10903         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
10904         interpreted frame.
10905         (lookupInterp): Declare.
10906         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
10907         (fillInStackTrace): Collect information on interpreted frames.
10908         Use _Jv_frame_info.
10909         * interpret.cc: Include Thread.h.
10910         (run): Create and push _Jv_MethodChain object.
10911         (_Jv_EndOfInterpreter): New global.
10912         * java/lang/Thread.java (interp_frame): New field.
10913         * include/java-interp.h (struct _Jv_MethodChain): New structure.
10914         Include NameFinder.h.
10915
10916 2002-08-28  Tom Tromey  <tromey@redhat.com>
10917
10918         * java/lang/Class.h: Include Package.h.
10919         (Class::getProtectionDomain): Declare.
10920         (Class::getPackage): Declare.
10921
10922 2002-08-28  Michael Koch <konqueror@gmx.de>
10923
10924         * java/net/InetSocketAddress.java: Added some documentation and argument
10925         checks for the port numbers.
10926         * java/net/DatagramSocketImplFactory.java: New file.
10927
10928 2002-08-28  Michael Koch <konqueror@gmx.de>
10929
10930         * java/net/Authenticator.java: added some documentation.
10931
10932 2002-08-27  Tom Tromey  <tromey@redhat.com>
10933
10934         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
10935         class.
10936         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
10937
10938 2002-08-27  Michael Koch <konqueror@gmx.de>
10939
10940         * java/net/BindException.java,
10941         java/net/JarURLConnection.java,
10942         java/net/FileNameMap.java,
10943         java/net/HttpURLConnection.java,
10944         java/net/InetSocketAddress.java,
10945         java/net/DatagramPacket.java,
10946         java/net/DatagramSocket.java,
10947         java/net/DatagramSocketImpl.java,
10948         java/net/MulticastSocket.java,
10949         java/net/PasswordAuthentication.java,
10950         java/net/ServerSocket.java,
10951         java/net/Socket.java,
10952         java/net/URLClassLoader.java,
10953         java/net/URLConnection.java: add/update of some @since/@deprecated
10954
10955 2002-08-27  Tony Kimball <alk@pobox.com>
10956             Tom Tromey  <tromey@redhat.com>
10957
10958         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
10959         define.
10960         (::close): Removed.
10961         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
10962         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
10963         (::close): Removed.
10964         (PlainSocketImpl::close): Use NATIVE_CLOSE.
10965         * include/win32.h (getcwd): Removed declaration.  Include io.h.
10966
10967 2002-08-25  Adam Megacz <adam@xwt.org>
10968
10969         * include/win32.h (getcwd): copied function declaration as
10970         temporary fix for header confusion.
10971
10972 2002-08-24  Mark Wielaard <mark@klomp.org>
10973
10974         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
10975         (core_java_source_files): Add VMThrowable.java and NameFinder.java
10976         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
10977         and natNameFinder.cc.
10978         * Makefile.in: Regenerate.
10979         * prims.cc: Use trace_enabled from VMThrowable.
10980         * name-finder.cc: Removed.
10981         * gcj/javaprims.h: Add class VMThrowable.
10982         * gnu/gcj/runtime/NameFinder.java: New file.
10983         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
10984         * include/name-finder.h: Removed.
10985         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
10986         method stackTraceString().
10987         (printStackTrace (PrintWriter)): Likewise.
10988         (stackTraceString): Complete rewrite of old printStackTrace using
10989         StringBuffer.
10990         (stackTraceStringBuffer): New helper method for stackTraceString().
10991         (fillInStackTrace): Delegate to VMTrowable.
10992         (getStackTrace): Likewise.
10993         (getStackTrace0): Removed.
10994         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
10995         (setStackTrace): Copy given array.
10996         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
10997         * java/lang/VMThrowable.java: New class.
10998         * java/lang/natVMThrowable.cc: New file.
10999
11000 2003-08-23  Michael Koch  <konqueror@gmx.de>
11001
11002         * java/net/URLConnection.java,
11003         java/netJarURLConnection.java,
11004         gnu/gcj/protocol/core/Connection.java,
11005         gnu/gcj/protocol/file/Connection.java,
11006         gnu/gcj/protocol/http/Connection.java: Added implementation of
11007         getHeaderFields().
11008
11009 2002-08-22  Tom Tromey  <tromey@redhat.com>
11010
11011         * gij.cc (help): Document -cp and -classpath.
11012         (main): Handle -classpath.
11013
11014 2002-08-21  Tom Tromey  <tromey@redhat.com>
11015
11016         * Makefile.in: Rebuilt.
11017         * Makefile.am (ordinary_java_source_files): Added
11018         SocketAddress.java, InetSocketAddress.java.
11019         * java/net/PortUnreachableException.java: Merged with Classpath.
11020         * java/net/SocketTimeoutException.java: Likewise.
11021         * java/net/URISyntaxException.java: Likewise.
11022         * java/net/SocketAddress.java: New class from Classpath.
11023         * java/net/InetSocketAddress.java: Likewise.
11024
11025 2003-08-21  Michael Koch  <konqueror@gmx.de>
11026
11027         * java/net/Authenticator.java: updated JDK 1.4
11028         * java/net/ContentHandler.java: updated JDK 1.4
11029
11030 2002-08-20  Michael Koch  <konqueror@gmx.de>
11031
11032         * java/net/URISyntaxException.java: New file.
11033         * java/net/SocketTimeoutException.java: New file.
11034         * java/net/PortUnreachableException.java: New file.
11035         * Makefile.am: Updated.
11036         * Makefile.in: Rebuilt.
11037
11038 2002-08-18  Mark Wielaard  <mark@klomp.org>
11039
11040         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
11041         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
11042         MessageDigestSpi (fixes Classpath bug #783).
11043
11044 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
11045
11046         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
11047         (startProcess): Allocate path for chdir in async-signal-safe way.
11048
11049 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
11050
11051         Fix for PR libgcj/7570 and PR libgcj/7578:
11052         * java/lang/natPosixProcess.cc: Include java/io/File.h.
11053         (startProcess): Handle new `dir' argument.
11054         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
11055         argument.
11056         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
11057         argument.
11058         (startProcess): Likewise.
11059         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
11060         argument.
11061         * java/lang/Runtime.java (execInternal): Added `dir' argument.
11062         (exec): Don't create new environment if ENV==null.  Pass DIR to
11063         execInternal.
11064         * java/lang/natRuntime.cc: Include java/io/File.h.
11065         (execInternal): Added `dir' argument.
11066
11067 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
11068
11069         * java/io/RandomAccessFile.java (skipBytes): Return number of
11070         bytes skipped.
11071
11072 2002-08-01  Mark Wielaard  <mark@klomp.org>
11073
11074         Reenable patch since shared library troubles on powerpc are solved:
11075         * gnu/java/security/provider/Gnu.java: Reference all implementation
11076         classes by using Class.getName().
11077         * gnu/java/security/der/DEREncodingException.java,
11078         gnu/java/security/provider/DERReader.java,
11079         gnu/java/security/provider/DERWriter.java,
11080         gnu/java/security/provider/DSAKeyPairGenerator.java,
11081         gnu/java/security/provider/DSAParameterGenerator.java,
11082         gnu/java/security/provider/DSAParameters.java,
11083         gnu/java/security/provider/DSASignature.java,
11084         gnu/java/security/provider/GnuDSAPrivateKey.java,
11085         gnu/java/security/provider/GnuDSAPublicKey.java,
11086         gnu/java/security/provider/MD5.java,
11087         gnu/java/security/util/Prime.java: New classes
11088         * Makefile.am (ordinary_java_source_files): Add above files.
11089         * Makefile.in: Regenerate.
11090         * gnu/java/security/provider/DefaultPolicy.java
11091         (getPermissions): Don't maintain static class variable of Permissions.
11092         * gnu/java/security/provider/SHA.java
11093         (engineUpdate): algorithm change.
11094         (engineDigest): algorithm change.
11095
11096 2002-08-09  Mark Wielaard  <mark@klomp.org>
11097
11098         * java/awt/image/MemoryImageSource.java: Change constructor to take
11099         int[] not byte[].
11100         * java/awt/Graphics2D.java: Uncomment methods that can now be
11101         compiled.
11102         * java/awt/GridBagLayout.java: New stub implementation.
11103         * javax/swing/text/html/HTML.java: Stub implementation.
11104         * javax/swing/text/html/parser/ParserDelegator.java: New stub
11105         implementation.
11106
11107         * Makefile.am: Add new files.
11108         * Makefile.in: Rebuilt.
11109
11110 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11111
11112         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
11113         methods in Graphics2D.
11114
11115 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11116
11117         AWT/Swing merge from GNU Classpath.
11118
11119         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
11120         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
11121         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
11122         java/awt/color/ProfileDataException.java,
11123         java/awt/CompositeContext.java, java/awt/Composite.java,
11124         java/awt/ContainerOrderFocusTraversalPolicy.java,
11125         java/awt/datatransfer/FlavorTable.java,
11126         java/awt/DefaultFocusTraversalPolicy.java,
11127         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
11128         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
11129         java/awt/dnd/DragGestureListener.java,
11130         java/awt/dnd/DragGestureRecognizer.java,
11131         java/awt/dnd/DragSourceAdapter.java,
11132         java/awt/dnd/DragSourceContext.java,
11133         java/awt/dnd/DragSourceDragEvent.java,
11134         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
11135         java/awt/dnd/DragSourceListener.java,
11136         java/awt/dnd/DragSourceMotionListener.java,
11137         java/awt/dnd/DropTarget.java,
11138         java/awt/dnd/InvalidDnDOperationException.java,
11139         java/awt/dnd/peer/DragSourceContextPeer.java,
11140         java/awt/event/AWTEventListenerProxy.java,
11141         java/awt/event/MouseWheelEvent.java,
11142         java/awt/event/MouseWheelListener.java,
11143         java/awt/event/WindowFocusListener.java,
11144         java/awt/event/WindowStateListener.java,
11145         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
11146         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
11147         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
11148         java/awt/geom/FlatteningPathIterator.java,
11149         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
11150         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
11151         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
11152         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
11153         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
11154         java/awt/image/ImagingOpException.java,
11155         java/awt/image/RasterFormatException.java,
11156         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
11157         java/awt/image/VolatileImage.java,
11158         java/awt/image/WritableRenderedImage.java,
11159         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
11160         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
11161         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
11162         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
11163         java/awt/PageAttributes.java, java/awt/print/Book.java,
11164         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
11165         java/awt/print/Paper.java, java/awt/print/Printable.java,
11166         java/awt/print/PrinterAbortException.java,
11167         java/awt/print/PrinterException.java,
11168         java/awt/print/PrinterGraphics.java,
11169         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
11170         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
11171         java/awt/Stroke.java, java/awt/TexturePaint.java,
11172         javax/accessibility/AccessibleAction.java,
11173         javax/accessibility/AccessibleBundle.java,
11174         javax/accessibility/AccessibleComponent.java,
11175         javax/accessibility/AccessibleContext.java,
11176         javax/accessibility/AccessibleEditableText.java,
11177         javax/accessibility/AccessibleExtendedComponent.java,
11178         javax/accessibility/AccessibleExtendedTable.java,
11179         javax/accessibility/AccessibleHyperlink.java,
11180         javax/accessibility/AccessibleHypertext.java,
11181         javax/accessibility/AccessibleIcon.java,
11182         javax/accessibility/Accessible.java,
11183         javax/accessibility/AccessibleKeyBinding.java,
11184         javax/accessibility/AccessibleRelation.java,
11185         javax/accessibility/AccessibleRelationSet.java,
11186         javax/accessibility/AccessibleResourceBundle.java,
11187         javax/accessibility/AccessibleRole.java,
11188         javax/accessibility/AccessibleSelection.java,
11189         javax/accessibility/AccessibleState.java,
11190         javax/accessibility/AccessibleStateSet.java,
11191         javax/accessibility/AccessibleTable.java,
11192         javax/accessibility/AccessibleTableModelChange.java,
11193         javax/accessibility/AccessibleText.java,
11194         javax/accessibility/AccessibleValue.java,
11195         javax/swing/AbstractAction.java,
11196         javax/swing/AbstractButton.java,
11197         javax/swing/AbstractCellEditor.java,
11198         javax/swing/AbstractListModel.java,
11199         javax/swing/AbstractSet.java, javax/swing/Action.java,
11200         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
11201         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
11202         javax/swing/border/CompoundBorder.java,
11203         javax/swing/border/EmptyBorder.java,
11204         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
11205         javax/swing/border/LineBorder.java,
11206         javax/swing/border/MatteBorder.java,
11207         javax/swing/border/TitledBorder.java,
11208         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
11209         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
11210         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
11211         javax/swing/CellRendererPane.java,
11212         javax/swing/colorchooser/AbstractColorChooserPanel.java,
11213         javax/swing/colorchooser/ColorChooserComponentFactory.java,
11214         javax/swing/colorchooser/ColorSelectionModel.java,
11215         javax/swing/colorchooser/DefaultColorSelectionModel.java,
11216         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
11217         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
11218         javax/swing/DefaultBoundedRangeModel.java,
11219         javax/swing/DefaultButtonModel.java,
11220         javax/swing/DefaultCellEditor.java,
11221         javax/swing/DefaultCellRenderer.java,
11222         javax/swing/DefaultComboBoxModel.java,
11223         javax/swing/DefaultDesktopManager.java,
11224         javax/swing/DefaultFocusManager.java,
11225         javax/swing/DefaultListCellRenderer.java,
11226         javax/swing/DefaultListModel.java,
11227         javax/swing/DefaultListSelectionModel.java,
11228         javax/swing/DefaultSingleSelectionModel.java,
11229         javax/swing/DesktopManager.java,
11230         javax/swing/event/AncestorEvent.java,
11231         javax/swing/event/AncestorListener.java,
11232         javax/swing/event/CaretEvent.java,
11233         javax/swing/event/CaretListener.java,
11234         javax/swing/event/CellEditorListener.java,
11235         javax/swing/event/ChangeEvent.java,
11236         javax/swing/event/ChangeListener.java,
11237         javax/swing/event/DocumentEvent.java,
11238         javax/swing/event/DocumentListener.java,
11239         javax/swing/event/EventListenerList.java,
11240         javax/swing/event/HyperlinkEvent.java,
11241         javax/swing/event/HyperlinkListener.java,
11242         javax/swing/event/InternalFrameAdapter.java,
11243         javax/swing/event/InternalFrameEvent.java,
11244         javax/swing/event/InternalFrameListener.java,
11245         javax/swing/event/ListDataEvent.java,
11246         javax/swing/event/ListDataListener.java,
11247         javax/swing/event/ListSelectionEvent.java,
11248         javax/swing/event/ListSelectionListener.java,
11249         javax/swing/event/MenuDragMouseEvent.java,
11250         javax/swing/event/MenuDragMouseListener.java,
11251         javax/swing/event/MenuEvent.java,
11252         javax/swing/event/MenuKeyEvent.java,
11253         javax/swing/event/MenuKeyListener.java,
11254         javax/swing/event/MenuListener.java,
11255         javax/swing/event/MouseInputAdapter.java,
11256         javax/swing/event/MouseInputListener.java,
11257         javax/swing/event/PopupMenuEvent.java,
11258         javax/swing/event/PopupMenuListener.java,
11259         javax/swing/event/SwingPropertyChangeSupport.java,
11260         javax/swing/event/TableColumnModelEvent.java,
11261         javax/swing/event/TableColumnModelListener.java,
11262         javax/swing/event/TableModelEvent.java,
11263         javax/swing/event/TableModelListener.java,
11264         javax/swing/event/TreeExpansionEvent.java,
11265         javax/swing/event/TreeExpansionListener.java,
11266         javax/swing/event/TreeModelEvent.java,
11267         javax/swing/event/TreeModelListener.java,
11268         javax/swing/event/TreeSelectionEvent.java,
11269         javax/swing/event/TreeSelectionListener.java,
11270         javax/swing/event/TreeWillExpandListener.java,
11271         javax/swing/event/UndoableEditEvent.java,
11272         javax/swing/event/UndoableEditListener.java,
11273         javax/swing/filechooser/FileFilter.java,
11274         javax/swing/filechooser/FileSystemView.java,
11275         javax/swing/filechooser/FileView.java,
11276         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
11277         javax/swing/Icon.java, javax/swing/ImageIcon.java,
11278         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
11279         javax/swing/JApplet.java, javax/swing/JButton.java,
11280         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
11281         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
11282         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
11283         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
11284         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
11285         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
11286         javax/swing/JLayeredPane.java, javax/swing/JList.java,
11287         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
11288         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
11289         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
11290         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
11291         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
11292         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
11293         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
11294         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
11295         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
11296         javax/swing/JTextField.java, javax/swing/JTextPane.java,
11297         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
11298         javax/swing/JToolTip.java, javax/swing/JTree.java,
11299         javax/swing/JViewport.java, javax/swing/JWindow.java,
11300         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
11301         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
11302         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
11303         javax/swing/MenuSelectionManager.java,
11304         javax/swing/MutableComboBoxModel.java,
11305         javax/swing/OverlayLayout.java,
11306         javax/swing/plaf/ActionMapUIResource.java,
11307         javax/swing/plaf/basic/BasicBorders.java,
11308         javax/swing/plaf/basic/BasicButtonUI.java,
11309         javax/swing/plaf/basic/BasicCheckBoxUI.java,
11310         javax/swing/plaf/basic/BasicDefaults.java,
11311         javax/swing/plaf/basic/BasicGraphicsUtils.java,
11312         javax/swing/plaf/basic/BasicIconFactory.java,
11313         javax/swing/plaf/basic/BasicLabelUI.java,
11314         javax/swing/plaf/basic/BasicListUI.java,
11315         javax/swing/plaf/basic/BasicLookAndFeel.java,
11316         javax/swing/plaf/basic/BasicOptionPaneUI.java,
11317         javax/swing/plaf/basic/BasicPanelUI.java,
11318         javax/swing/plaf/basic/BasicRadioButtonUI.java,
11319         javax/swing/plaf/basic/BasicScrollPaneUI.java,
11320         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
11321         javax/swing/plaf/basic/BasicTextUI.java,
11322         javax/swing/plaf/basic/BasicToggleButtonUI.java,
11323         javax/swing/plaf/basic/BasicTreeUI.java,
11324         javax/swing/plaf/basic/BasicViewportUI.java,
11325         javax/swing/plaf/BorderUIResource.java,
11326         javax/swing/plaf/ButtonUI.java,
11327         javax/swing/plaf/ColorChooserUI.java,
11328         javax/swing/plaf/ColorUIResource.java,
11329         javax/swing/plaf/ComboBoxUI.java,
11330         javax/swing/plaf/ComponentInputMapUIResource.java,
11331         javax/swing/plaf/ComponentUI.java,
11332         javax/swing/plaf/DesktopIconUI.java,
11333         javax/swing/plaf/DesktopPaneUI.java,
11334         javax/swing/plaf/DimensionUIResource.java,
11335         javax/swing/plaf/FileChooserUI.java,
11336         javax/swing/plaf/FontUIResource.java,
11337         javax/swing/plaf/IconUIResource.java,
11338         javax/swing/plaf/InputMapUIResource.java,
11339         javax/swing/plaf/InsetsUIResource.java,
11340         javax/swing/plaf/InternalFrameUI.java,
11341         javax/swing/plaf/LabelUI.java,
11342         javax/swing/plaf/ListUI.java,
11343         javax/swing/plaf/MenuBarUI.java,
11344         javax/swing/plaf/MenuItemUI.java,
11345         javax/swing/plaf/OptionPaneUI.java,
11346         javax/swing/plaf/PanelUI.java,
11347         javax/swing/plaf/PopupMenuUI.java,
11348         javax/swing/plaf/ProgressBarUI.java,
11349         javax/swing/plaf/RootPaneUI.java,
11350         javax/swing/plaf/ScrollBarUI.java,
11351         javax/swing/plaf/ScrollPaneUI.java,
11352         javax/swing/plaf/SeparatorUI.java,
11353         javax/swing/plaf/SliderUI.java,
11354         javax/swing/plaf/SplitPaneUI.java,
11355         javax/swing/plaf/TabbedPaneUI.java,
11356         javax/swing/plaf/TableHeaderUI.java,
11357         javax/swing/plaf/TableUI.java,
11358         javax/swing/plaf/TextUI.java,
11359         javax/swing/plaf/ToolBarUI.java,
11360         javax/swing/plaf/ToolTipUI.java,
11361         javax/swing/plaf/TreeUI.java,
11362         javax/swing/plaf/UIResource.java,
11363         javax/swing/plaf/ViewportUI.java,
11364         javax/swing/ProgressMonitorInputStream.java,
11365         javax/swing/ProgressMonitor.java,
11366         javax/swing/Renderer.java,
11367         javax/swing/RepaintManager.java,
11368         javax/swing/RootPaneContainer.java,
11369         javax/swing/Scrollable.java,
11370         javax/swing/ScrollPaneConstants.java,
11371         javax/swing/ScrollPaneLayout.java,
11372         javax/swing/SingleSelectionModel.java,
11373         javax/swing/SizeRequirements.java,
11374         javax/swing/SizeSequence.java,
11375         javax/swing/SwingConstants.java,
11376         javax/swing/SwingUtilities.java,
11377         javax/swing/table/AbstractTableModel.java,
11378         javax/swing/table/DefaultTableCellRenderer.java,
11379         javax/swing/table/DefaultTableColumnModel.java,
11380         javax/swing/table/DefaultTableModel.java,
11381         javax/swing/table/TableCellEditor.java,
11382         javax/swing/table/TableCellRenderer.java,
11383         javax/swing/table/TableColumn.java,
11384         javax/swing/table/TableColumnModel.java,
11385         javax/swing/table/TableModel.java,
11386         javax/swing/text/AbstractDocument.java,
11387         javax/swing/text/AttributeSet.java,
11388         javax/swing/text/BadLocationException.java,
11389         javax/swing/text/Caret.java,
11390         javax/swing/text/CharacterIterator.java,
11391         javax/swing/text/ComponentView.java,
11392         javax/swing/text/DefaultCaret.java,
11393         javax/swing/text/DefaultEditorKit.java,
11394         javax/swing/text/Document.java,
11395         javax/swing/text/EditorKit.java,
11396         javax/swing/text/Element.java,
11397         javax/swing/text/GapContent.java,
11398         javax/swing/text/JTextComponent.java,
11399         javax/swing/text/Keymap.java,
11400         javax/swing/text/MutableAttributeSet.java,
11401         javax/swing/text/PlainDocument.java,
11402         javax/swing/text/PlainEditorKit.java,
11403         javax/swing/text/Position.java,
11404         javax/swing/text/Segment.java,
11405         javax/swing/text/StyledDocument.java,
11406         javax/swing/text/StyledEditorKit.java,
11407         javax/swing/text/Style.java,
11408         javax/swing/text/TextAction.java,
11409         javax/swing/text/ViewFactory.java,
11410         javax/swing/text/View.java,
11411         javax/swing/Timer.java,
11412         javax/swing/ToggleButtonModel.java,
11413         javax/swing/ToolTipManager.java,
11414         javax/swing/tree/AbstractLayoutCache.java,
11415         javax/swing/tree/DefaultMutableTreeNode.java,
11416         javax/swing/tree/DefaultTreeCellEditor.java,
11417         javax/swing/tree/DefaultTreeCellRenderer.java,
11418         javax/swing/tree/DefaultTreeModel.java,
11419         javax/swing/tree/DefaultTreeSelectionModel.java,
11420         javax/swing/tree/ExpandVetoException.java,
11421         javax/swing/tree/FixedHeightLayoutCache.java,
11422         javax/swing/tree/MutableTreeNode.java,
11423         javax/swing/tree/RowMapper.java,
11424         javax/swing/tree/TreeCellEditor.java,
11425         javax/swing/tree/TreeCellRenderer.java,
11426         javax/swing/tree/TreeModel.java,
11427         javax/swing/tree/TreeNode.java,
11428         javax/swing/tree/TreePath.java,
11429         javax/swing/tree/TreeSelectionModel.java,
11430         javax/swing/tree/VariableHeightLayoutCache.java,
11431         javax/swing/UIDefaults.java,
11432         javax/swing/UIManager.java,
11433         javax/swing/undo/AbstractUndoableEdit.java,
11434         javax/swing/undo/CannotRedoException.java,
11435         javax/swing/undo/CannotUndoException.java,
11436         javax/swing/undo/CompoundEdit.java,
11437         javax/swing/undo/StateEditable.java,
11438         javax/swing/undo/StateEdit.java,
11439         javax/swing/undo/UndoableEdit.java,
11440         javax/swing/undo/UndoableEditSupport.java,
11441         javax/swing/undo/UndoManager.java,
11442         javax/swing/UnsupportedLookAndFeelException.java,
11443         javax/swing/ViewportLayout.java,
11444         javax/swing/WindowConstants.java: New files, from GNU Classpath.
11445
11446         * java/awt/ActiveEvent.java,
11447         java/awt/Adjustable.java, java/awt/AWTError.java,
11448         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
11449         java/awt/AWTException.java, java/awt/AWTPermission.java,
11450         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
11451         java/awt/Color.java, java/awt/Component.java,
11452         java/awt/ComponentOrientation.java, java/awt/Container.java,
11453         java/awt/datatransfer/MimeTypeParseException.java,
11454         java/awt/datatransfer/Transferable.java,
11455         java/awt/datatransfer/UnsupportedFlavorException.java,
11456         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
11457         java/awt/event/ActionListener.java,
11458         java/awt/event/AdjustmentEvent.java,
11459         java/awt/event/AdjustmentListener.java,
11460         java/awt/event/AWTEventListener.java,
11461         java/awt/event/ComponentAdapter.java,
11462         java/awt/event/ComponentEvent.java,
11463         java/awt/event/ComponentListener.java,
11464         java/awt/event/ContainerAdapter.java,
11465         java/awt/event/ContainerEvent.java,
11466         java/awt/event/ContainerListener.java,
11467         java/awt/event/FocusAdapter.java,
11468         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
11469         java/awt/event/HierarchyBoundsAdapter.java,
11470         java/awt/event/HierarchyBoundsListener.java,
11471         java/awt/event/HierarchyEvent.java,
11472         java/awt/event/HierarchyListener.java,
11473         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
11474         java/awt/event/InputMethodListener.java,
11475         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
11476         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
11477         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
11478         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
11479         java/awt/event/MouseListener.java,
11480         java/awt/event/MouseMotionAdapter.java,
11481         java/awt/event/MouseMotionListener.java,
11482         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
11483         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
11484         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
11485         java/awt/event/WindowListener.java, java/awt/Font.java,
11486         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
11487         java/awt/geom/Ellipse2D.java,
11488         java/awt/geom/IllegalPathStateException.java,
11489         java/awt/geom/Line2D.java,
11490         java/awt/geom/NoninvertibleTransformException.java,
11491         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
11492         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
11493         java/awt/geom/RoundRectangle2D.java,
11494         java/awt/GraphicsConfiguration.java,
11495         java/awt/IllegalComponentStateException.java,
11496         java/awt/image/IndexColorModel.java,
11497         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
11498         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
11499         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
11500         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
11501         java/awt/MenuItem.java, java/awt/PaintContext.java,
11502         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
11503         java/awt/Polygon.java, java/awt/PrintGraphics.java,
11504         java/awt/PrintJob.java, java/awt/Rectangle.java,
11505         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
11506         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
11507         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
11508
11509         * java/awt/im/spi/InputMethod.java,
11510         java/awt/im/spi/InputMethodContext.java,
11511         java/awt/im/spi/InputMethodDescriptor.java,
11512         java/awt/image/renderable/ContextualRenderedImageFactory.java,
11513         java/awt/image/renderable/ParameterBlock.java,
11514         java/awt/image/renderable/RenderContext.java,
11515         java/awt/image/renderable/RenderableImage.java,
11516         java/awt/image/renderable/RenderableImageOp.java,
11517         java/awt/image/renderable/RenderableImageProducer.java,
11518         java/awt/image/renderable/RenderedImageFactory.java: New files from
11519         classpath.
11520
11521         * gnu/java/awt/EventModifier.java,
11522         gnu/java/awt/image/ImageDecoder.java,
11523         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
11524
11525         * gnu/awt/xlib/XGraphicsConfiguration.java,
11526         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
11527         API.
11528
11529         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
11530         GNU Classpath.
11531
11532         * Makefile.am: Add new files.
11533         * Makefile.in: Rebuilt.
11534
11535 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11536
11537         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
11538         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
11539         findResource, getResources, findResources): Add javadoc from classpath.
11540         (getSystemResources): Implemented.
11541
11542 2002-08-01  Mark Wielaard  <mark@klomp.org>
11543
11544         Revert patch that breaks libgcj shared library on powerpc:
11545         * gnu/java/security/provider/Gnu.java: Reverse referencing all
11546         implementation classes by using Class.getName(). Uses Strings again.
11547         * gnu/java/security/der/DEREncodingException.java,
11548         gnu/java/security/provider/DERReader.java,
11549         gnu/java/security/provider/DERWriter.java,
11550         gnu/java/security/provider/DSAKeyPairGenerator.java,
11551         gnu/java/security/provider/DSAParameterGenerator.java,
11552         gnu/java/security/provider/DSAParameters.java,
11553         gnu/java/security/provider/DSASignature.java,
11554         gnu/java/security/provider/GnuDSAPrivateKey.java,
11555         gnu/java/security/provider/GnuDSAPublicKey.java,
11556         gnu/java/security/provider/MD5.java,
11557         gnu/java/security/util/Prime.java: Removed.
11558         * Makefile.am (ordinary_java_source_files): Remove above files.
11559         * Makefile.in: Regenerate.
11560         * gnu/java/security/provider/DefaultPolicy.java
11561         (getPermissions): Revert to maintaining static class variable of
11562         Permissions.
11563         * gnu/java/security/provider/SHA.java
11564         (engineUpdate): Revert algorithm change.
11565         (engineDigest): Revert algorithm change.
11566
11567 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
11568
11569         * configure.host: Add SH support.
11570         * sysdep/sh/locks.h: New file.
11571
11572 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11573
11574         * java/awt/Frame.java (Frame): Remove println calls.
11575
11576 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
11577
11578         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
11579         * configure: Rebuilt.
11580
11581 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
11582
11583         * sysdep/powerpc/locks.h: Formatting.
11584         (_LARX): Define.
11585         (_STCX): Define.
11586         (compare_and_swap): Use _LARX and _STCX.
11587         (compare_and_swap_release): Likewise.
11588
11589 2002-07-26  Tom Tromey  <tromey@redhat.com>
11590
11591         * java/net/Authenticator.java: New version from Classpath.
11592         * java/net/DatagramSocketImpl.java: New version from Classpath.
11593
11594 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
11595
11596         * configure.host: Add powerpc64*-* entry.
11597
11598 2002-07-26  Tom Tromey  <tromey@redhat.com>
11599
11600         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
11601         fcntl.h.
11602
11603 2002-07-24  Tom Tromey  <tromey@redhat.com>
11604
11605         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
11606         argument to _load.
11607
11608 2002-07-24  Tom Tromey  <tromey@redhat.com>
11609             Tony Kimball <alk@pobox.com>
11610
11611         * java/io/natFileDescriptorWin32.cc (setLength): New method.
11612         * java/io/natFileDescriptorPosix.cc (setLength): New method.
11613         * java/io/RandomAccessFile.java (setLength): New method.
11614         * java/io/natFileDescriptorEcos.cc (setLength): New method.
11615         * java/io/FileDescriptor.java (setLength): New method.
11616
11617 2002-07-24  Mark Wielaard  <mark@klomp.org>
11618
11619         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
11620         * java/io/ObjectInputStream.java (setBooleanField): Before setting
11621         field call setAccessible(true).
11622         (setByteField): Likewise.
11623         (setCharField): Likewise.
11624         (setDoubleField): Likewise.
11625         (setFloatField): Likewise.
11626         (setIntField): Likewise.
11627         (setLongField): Likewise.
11628         (setShortField): Likewise.
11629         (setObjectField): Likewise.
11630
11631 2002-07-24  Tom Tromey  <tromey@redhat.com>
11632
11633         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
11634         use toString() to format array element.
11635
11636 2002-07-23  Mark Wielaard  <mark@klomp.org>
11637
11638         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
11639         MessageDigestSpi (fixes Classpath bug #783).
11640
11641 2002-07-21  Mark Wielaard  <mark@klomp.org>
11642
11643         * gnu/java/security/provider/Gnu.java: Reference all implementation
11644         classes by using Class.getName().
11645
11646 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
11647
11648         * java/lang/ieeefp.h: Add x86-64 support.
11649         * configure.in: Likewise.
11650         * configure.host: Likewise.
11651         * configure: Regenerated.
11652         * sysdep/x86-64/locks.h: New file with x86-64 locks.
11653
11654 2002-07-16  Mark Wielaard  <mark@klomp.org>
11655
11656         * java/io/StreamTokenizer.java (pushBack): Update documentation.
11657         (whitespaceChars): call resetChar().
11658
11659 2002-07-15  Tom Tromey  <tromey@redhat.com>
11660
11661         * Makefile.in: Rebuilt.
11662         * Makefile.am (awt_java_source_files): Added new files.
11663         * java/beans/ExceptionListener.java: Merged with Classpath.
11664         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
11665         * java/beans/PropertyChangeListener.java: Merged with Classpath.
11666         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
11667         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
11668         * java/beans/VetoableChangeListener.java: Merged with Classpath.
11669         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
11670         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
11671
11672 2002-07-14  Mark Wielaard  <mark@klomp.org>
11673
11674         * gnu/java/security/der/DEREncodingException.java,
11675         gnu/java/security/provider/DERReader.java,
11676         gnu/java/security/provider/DERWriter.java,
11677         gnu/java/security/provider/DSAKeyPairGenerator.java,
11678         gnu/java/security/provider/DSAParameterGenerator.java,
11679         gnu/java/security/provider/DSAParameters.java,
11680         gnu/java/security/provider/DSASignature.java,
11681         gnu/java/security/provider/GnuDSAPrivateKey.java,
11682         gnu/java/security/provider/GnuDSAPublicKey.java,
11683         gnu/java/security/provider/MD5.java,
11684         gnu/java/security/util/Prime.java: New files from Classpath.
11685         * Makefile.am (ordinary_java_source_files): Add new files.
11686         * Makefile.in: Regenerate.
11687
11688 2002-07-14  C. Brian Jones <cbj@gnu.org>
11689
11690         * gnu/java/security/provider/DefaultPolicy.java
11691         (getPermissions): do not maintain static class variable of
11692         Permissions
11693         * gnu/java/security/provider/SHA.java
11694         (engineUpdate): algorithm change
11695         (engineDigest): algorithm change
11696
11697 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
11698
11699         For PR libgcj/7292:
11700         * java/lang/Character.java (toString(char)): Now static.
11701
11702 2002-07-12  Mark Wielaard  <mark@klomp.org>
11703
11704         * java/lang/natThrowable.cc (printRawStackTrace): removed.
11705         (getStackTrace0): new method.
11706         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
11707         (printStackTrace(PrintWriter)): replace with pure java implementation.
11708         (printRawStackTrace): removed.
11709         (getStackTrace0): new method.
11710         * java/lang/StackTraceElement.java (toString): add extra whitespace.
11711         * gcj/javaprims.h: regenerate class list.
11712         * include/name-finder.h (lookup): new returns StackTraceElement*.
11713         (method_name, file_name): fields removed.
11714         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
11715         (~_Jv_name_finder): close new descriptors.
11716         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
11717         (createStackTraceElement): new method.
11718         (lookup): returns StackTraceElement*, uses createStackTraceElement().
11719
11720 2002-07-10  Tom Tromey  <tromey@redhat.com>
11721
11722         * configure: Rebuilt.
11723         * configure.in: Use `test' after `&&'.  From Chris Faylor.
11724
11725 2002-07-08  Mark Wielaard  <mark@klomp.org>
11726
11727         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
11728         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
11729         java.sql.DatabaseMetaData.TestJdbc20
11730
11731 2002-07-05  Tony Kimball  <alk@pobox.com>
11732
11733         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
11734
11735 2002-07-04  Tom Tromey  <tromey@redhat.com>
11736             Jeff Sturm  <jsturm@one-point.com>
11737
11738         Fix for PR libgcj/7060:
11739         * java/lang/Class.h (_getMethod): Renamed from getMethod.
11740         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
11741         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
11742         * java/lang/Class.java (getMethod): New Java implementation;
11743         complies with spec.
11744         (_getMethod): New native method.
11745
11746 2002-07-02  Tom Tromey  <tromey@redhat.com>
11747             David Hovemeyer  <daveho@cs.umd.edu>
11748
11749         * java/text/ChoiceFormat.java
11750         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
11751         in check loop.
11752         * java/text/MessageFormat.java
11753         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
11754         to MessageFormat.
11755
11756 2002-07-01  Tom Tromey  <tromey@redhat.com>
11757
11758         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
11759         StringTokenizer on null string.  For PR libgcj/7180.
11760         From daveho@cs.umd.edu.
11761
11762 2002-06-24  Tom Tromey  <tromey@redhat.com>
11763
11764         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
11765         (IntegerClass): Likewise.
11766         * java/lang/natClass.cc (CloneableClass): Removed.
11767         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
11768         ConstructorClass): Likewise.
11769         * java/lang/natClassLoader.cc (CloneableClass): Removed.
11770         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
11771         SerializableClass): Likewise.
11772         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
11773         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
11774         LongClass, FloatClass, DoubleClass): Likewise.
11775
11776         * verify.cc (branch_prepass): Updated for change to exception
11777         handler type.
11778         (verify_instructions_0): Likewise.
11779         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
11780         (handleExceptionTableEntry): Updated for change to exception
11781         handler type.
11782         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
11783         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
11784         (union _Jv_InterpPC): New.
11785         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
11786         (class _Jv_InterpMethod): Added new `prepared' field.
11787         (class _Jv_InterpMethod): Added `compile' method.  Removed
11788         `continue1' and `find_exception'.  Changed arguments to `run'.
11789         * interpret.cc (union insn_slot): New.
11790         (find_exception): Removed.
11791         (run_normal): Removed most logic.
11792         (run_synch_object): Likewise; also, use JvSynchronize.
11793         (run_synch_class): Likewise.
11794         (run): Removed.
11795         (continue1): Renamed as `run'.  Compile bytecode if required.
11796         Add new code to allow refinement of direct-threaded code at
11797         runtime.  Handle exceptions.
11798         (SAVE_PC): Removed.
11799         (compile): New method.
11800         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
11801         (NULLARRAYCHECK): Don't use SAVE_PC.
11802         (pc_t): New typedef.
11803         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
11804         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
11805
11806 2002-06-23  Tom Tromey  <tromey@redhat.com>
11807
11808         * configure: Rebuilt.
11809         * configure.in (INTERPRETER): New subst.
11810         (AM_RUNTESTFLAGS): Don't subst.
11811
11812         * Makefile.in: Rebuilt.
11813         * Makefile.am ($(srcdir)/java/lang/Object.h,
11814         $(srcdir)/java/lang/Class.h): Added dummy targets.
11815
11816 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11817
11818         Reformat JDBC classes and add new JDK 1.4 classes and methods.
11819
11820         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
11821         java/sql/Savepoint.java: New files.
11822         * java/sql/Array.java, java/sql/BatchUpdateException.java,
11823         java/sql/Blob.java, java/sql/CallableStatement.java,
11824         java/sql/Clob.java, java/sql/Connection.java,
11825         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
11826         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
11827         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
11828         java/sql/Ref.java, java/sql/ResultSet.java,
11829         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
11830         java/sql/SQLException.java, java/sql/SQLInput.java,
11831         java/sql/SQLOutput.java, java/sql/SQLWarning.java
11832         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
11833         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
11834         (JDK 1.4) specification.
11835         * javax/sql/ConnectionEvent.java,
11836         javax/sql/ConnectionEventListener.java,
11837         javax/sql/ConnectionPoolDataSource.java,
11838         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
11839         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
11840         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
11841         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
11842         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
11843         javax/sql/XADataSource.java: New files.
11844         * Makefile.am: Add new files.
11845         * Makefile.in: Rebuilt.
11846
11847 2002-06-20  Tom Tromey  <tromey@redhat.com>
11848
11849         For PR libgcj/7073:
11850         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
11851         exists.
11852         * defineclass.cc (handleClassBegin): Superclass for interface is
11853         `null'.
11854
11855 2002-06-18  Tom Tromey  <tromey@redhat.com>
11856
11857         * gcj/javaprims.h: Updated class declaration list.
11858         * Makefile.in: Rebuilt.
11859         * Makefile.am (core_java_source_files): Removed
11860         BasicMapEntry.java.
11861         * java/util/BasicMapEntry.java: Removed.
11862
11863 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
11864
11865         * java/net/natPlainDatagramSocketImpl.cc (receive):
11866         Check bounds of argument to FD_SET.
11867         (setOption): Throw exception if socket is closed.
11868
11869         * java/net/natPlainSocketImpl.cc (accept, read):
11870         Check bounds of argument to FD_SET.
11871         (setOption): Throw exception if socket is closed.
11872
11873 2002-06-18  Tom Tromey  <tromey@redhat.com>
11874
11875         * gcj/javaprims.h: Updated class declaration list.
11876         * Makefile.in: Rebuilt.
11877         * Makefile.am (core_java_source_files): Added
11878         PropertyPermissionCollection.java.
11879         * java/lang/Thread.java (group, name): Now package-private.
11880         * java/lang/ThreadGroup.java: Re-merge with Classpath.
11881         * java/util/AbstractList.java: Likewise.
11882         * java/util/AbstractMap.java: Likewise.
11883         * java/util/Calendar.java: Likewise.
11884         * java/util/Collections.java: Likewise.
11885         * java/util/HashMap.java: Likewise.
11886         * java/util/Hashtable.java: Likewise.
11887         * java/util/LinkedHashMap.java: Likewise.
11888         * java/util/LinkedList.java: Likewise.
11889         * java/util/List.java: Likewise.
11890         * java/util/ListResourceBundle.java: Likewise.
11891         * java/util/Map.java: Likewise.
11892         * java/util/Observable.java: Likewise.
11893         * java/util/Properties.java: Likewise.
11894         * java/util/PropertyPermission.java: Likewise.
11895         * java/util/PropertyPermissionCollection.java: Likewise.
11896         * java/util/PropertyResourceBundle.java: Likewise.
11897         * java/util/Random.java: Likewise.
11898         * java/util/SimpleTimeZone.java: Likewise.
11899         * java/util/StringTokenizer.java: Likewise.
11900         * java/util/TimerTask.java: Likewise.
11901         * java/util/TreeMap.java: Likewise.
11902         * java/util/WeakHashMap.java: Likewise.
11903         * java/util/jar/Attributes.java: Likewise.
11904         * java/util/jar/JarException.java: Likewise.
11905         * java/util/jar/Manifest.java: Likewise.
11906
11907 2002-06-17  Tom Tromey  <tromey@redhat.com>
11908
11909         * gcj/javaprims.h: Updated class declaration list.
11910         * Makefile.in: Rebuilt.
11911         * Makefile.am (core_java_source_files): Added new file.
11912         * java/util/EventListenerProxy.java: New file.
11913         * java/util/EventListener.java: Re-merge with Classpath.
11914         * java/util/EventObject.java: Re-merge with Classpath.
11915
11916 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
11917
11918         * java/lang/ClassNotFoundException.java: New Classpath version.
11919
11920 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
11921
11922         * java/rmi/activation/ActivateFailedException.java: Remerge from
11923         Classpath version.
11924         * java/rmi/activation/ActivationException.java: Ditto.
11925         * java/rmi/activation/UnknownGroupException.java: Ditto.
11926         * java/rmi/activation/UnknownObjectException.java: Ditto.
11927         * java/rmi/server/ExportException: Ditto.
11928         * java/rmi/server/ServerCloneException: Ditto.
11929         * java/rmi/server/ServerNotActiveException: Ditto.
11930         * java/rmi/server/SkeletonMismatchException: Ditto.
11931         * java/rmi/server/SkeletonNotFoundException: Ditto.
11932         * java/rmi/server/SocketSecurityException: Ditto.
11933
11934 2002-06-16  Tom Tromey  <tromey@redhat.com>
11935
11936         * gcj/javaprims.h: Updated class declaration list.
11937
11938         * java/io/LineNumberInputStream.java: Merged with Classpath.
11939
11940         * java/lang/RuntimeException.java: Re-merge with Classpath.
11941         * java/util/ArrayList.java: Likewise.
11942         * java/util/Arrays.java: Likewise.
11943         * java/util/BitSet.java: Likewise.
11944         * java/util/Dictionary.java: Likewise.
11945         * java/util/IdentityHashMap.java: Likewise.
11946         * java/util/MissingResourceException.java: Likewise.
11947         * java/util/Observer.java: Likewise.
11948         * java/util/TooManyListenersException.java: Likewise.
11949         * java/util/zip/DataFormatException.java: Likewise.
11950         * java/util/zip/ZipException.java: Likewise.
11951
11952 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
11953
11954         * java/rmi/AccessException.java: Remerge from Classpath.
11955         * java/rmi/AlreadyBoundException.java: Ditto.
11956         * java/rmi/ConnectException.java: Ditto.
11957         * java/rmi/ConnectIOException.java: Ditto.
11958         * java/rmi/MarshalException.java: Ditto.
11959         * java/rmi/NoSuchObjectException.java: Ditto.
11960         * java/rmi/NotBoundException.java: Ditto.
11961         * java/rmi/RemoteException.java: Ditto.
11962         * java/rmi/RMISecurityException.java: Ditto.
11963         * java/rmi/ServerError.java: Ditto.
11964         * java/rmi/ServerException.java: Ditto.
11965         * java/rmi/ServerRuntimeException.java: Ditto.
11966         * java/rmi/StubNotFoundException.java: Ditto.
11967         * java/rmi/UnexpectedExcpetion.java: Ditto.
11968         * java/rmi/UnknownHostException.java: Ditto.
11969         * java/rmi/UnmarshalException.java: Ditto.
11970
11971 2002-06-15  Tom Tromey  <tromey@redhat.com>
11972
11973         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
11974         * java/lang/ArithmeticException.java: Likewise.
11975         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
11976         * java/lang/ArrayStoreException.java: Likewise.
11977         * java/lang/Byte.java: Likewise.
11978         * java/lang/CharSequence.java: Likewise.
11979         * java/lang/ClassCastException.java: Likewise.
11980         * java/lang/ClassCircularityError.java: Likewise.
11981         * java/lang/ClassFormatError.java: Likewise.
11982         * java/lang/CloneNotSupportedException.java: Likewise.
11983         * java/lang/Cloneable.java: Likewise.
11984         * java/lang/Comparable.java: Likewise.
11985         * java/lang/Compiler.java: Likewise.
11986         * java/lang/Error.java: Likewise.
11987         * java/lang/ExceptionInInitializerError.java: Likewise.
11988         * java/lang/IllegalAccessError.java: Likewise.
11989         * java/lang/IllegalAccessException.java: Likewise.
11990         * java/lang/IllegalArgumentException.java: Likewise.
11991         * java/lang/IllegalMonitorStateException.java: Likewise.
11992         * java/lang/IllegalStateException.java: Likewise.
11993         * java/lang/IllegalThreadStateException.java: Likewise.
11994         * java/lang/IncompatibleClassChangeError.java: Likewise.
11995         * java/lang/IndexOutOfBoundsException.java: Likewise.
11996         * java/lang/InheritableThreadLocal.java: Likewise.
11997         * java/lang/InstantiationError.java: Likewise.
11998         * java/lang/InstantiationException.java: Likewise.
11999         * java/lang/InternalError.java: Likewise.
12000         * java/lang/InterruptedException.java: Likewise.
12001         * java/lang/LinkageError.java: Likewise.
12002         * java/lang/NegativeArraySizeException.java: Likewise.
12003         * java/lang/NoClassDefFoundError.java: Likewise.
12004         * java/lang/NoSuchFieldError.java: Likewise.
12005         * java/lang/NoSuchFieldException.java: Likewise.
12006         * java/lang/NoSuchMethodError.java: Likewise.
12007         * java/lang/NoSuchMethodException.java: Likewise.
12008         * java/lang/NullPointerException.java: Likewise.
12009         * java/lang/NumberFormatException.java: Likewise.
12010         * java/lang/OutOfMemoryError.java: Likewise.
12011         * java/lang/Process.java: Likewise.
12012         * java/lang/Runnable.java: Likewise.
12013         * java/lang/RuntimePermission.java: Likewise.
12014         * java/lang/SecurityException.java: Likewise.
12015         * java/lang/Short.java: Likewise.
12016         * java/lang/StackOverflowError.java: Likewise.
12017         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
12018         * java/lang/ThreadDeath.java: Likewise.
12019         * java/lang/ThreadLocal.java: Likewise.
12020         * java/lang/UnknownError.java: Likewise.
12021         * java/lang/UnsatisfiedLinkError.java: Likewise.
12022         * java/lang/UnsupportedClassVersionError.java: Likewise.
12023         * java/lang/UnsupportedOperationException.java: Likewise.
12024         * java/lang/VerifyError.java: Likewise.
12025         * java/lang/VirtualMachineError.java: Likewise.
12026         * java/lang/reflect/InvocationTargetException.java: Likewise.
12027         * java/net/BindException.java: Likewise.
12028         * java/net/ConnectException.java: Likewise.
12029         * java/net/MalformedURLException.java: Likewise.
12030         * java/net/NoRouteToHostException.java: Likewise.
12031         * java/net/ProtocolException.java: Likewise.
12032         * java/net/SocketException.java: Likewise.
12033         * java/net/UnknownHostException.java: Likewise.
12034         * java/net/UnknownServiceException.java: Likewise.
12035
12036         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
12037         * java/io/CharConversionException.java: Likewise.
12038         * java/io/EOFException.java: Likewise.
12039         * java/io/FileNotFoundException.java: Likewise.
12040         * java/io/IOException.java: Likewise.
12041         * java/io/InterruptedIOException.java: Likewise.
12042         * java/io/InvalidClassException.java: Likewise.
12043         * java/io/InvalidObjectException.java: Likewise.
12044         * java/io/NotActiveException.java: Likewise.
12045         * java/io/NotSerializableException.java: Likewise.
12046         * java/io/ObjectStreamException.java: Likewise.
12047         * java/io/ObjectStreamConstants.java: Likewise.
12048         * java/io/OptionalDataException.java: Likewise.
12049         * java/io/PipedInputStream.java: Likewise.
12050         * java/io/PushbackInputStream.java: Likewise.
12051         * java/io/StreamCorruptedException.java: Likewise.
12052         * java/io/SyncFailedException.java: Likewise.
12053         * java/io/UTFDataFormatException.java: Likewise.
12054         * java/io/UnsupportedEncodingException.java: Likewise.
12055         * java/io/WriteAbortedException.java: Likewise.
12056
12057 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
12058
12059         * java/text/ChoiceFormat.java: Update comments from Classpath.
12060         * java/text/ParseException.java (serialVersionUID): New
12061         field from Classpath.
12062         * java/text/ParseException.java: Update formatting & comments
12063         from Classpath.
12064
12065 2002-06-15  Tom Tromey  <tromey@redhat.com>
12066
12067         * java/util/zip/InflaterInputStream.java (read): Loop if data has
12068         been read but none output by inflater.
12069         * java/util/zip/natDeflater.cc (reset): Set is_finished.
12070         * java/util/zip/natInflater.cc (reset): Set dist_needed and
12071         is_finished.
12072         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
12073         version.
12074         * java/util/zip/ZipFile.java: Replaced with Classpath version.
12075         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
12076         * java/util/zip/ZipInputStream.java: Replaced with Classpath
12077         version.
12078         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
12079
12080 2002-06-13  Tom Tromey  <tromey@redhat.com>
12081
12082         * java/lang/natString.cc (init): Handle case where DONT_COPY is
12083         true and OFFSET!=0.
12084         * java/lang/String.java (String(char[],int,int,boolean): New
12085         constructor.
12086         * java/lang/Long.java: Imported new version from Classpath.
12087         * java/lang/Number.java: Likewise.
12088         * java/lang/Integer.java: Likewise.
12089         * java/lang/Long.java: Likewise.
12090         * java/lang/Float.java: Likewise.
12091         * java/lang/Boolean.java: Likewise.
12092         * java/lang/Double.java: Likewise.
12093         * java/lang/Void.java: Likewise.
12094
12095 2002-06-12  Tom Tromey  <tromey@redhat.com>
12096
12097         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
12098         Fixes PR libgcj/6652.
12099
12100 2002-06-10  Tom Tromey  <tromey@redhat.com>
12101
12102         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
12103         (Class::getPackagePortion): Likewise.
12104         * java/lang/Class.java (desiredAssertionStatus): New method from
12105         Classpath.
12106         (getPackagePortion): Likewise.
12107         * java/lang/VMClassLoader.java (defaultAssertionStatus,
12108         packageAssertionStatus, classAssertionStatus): New methods from
12109         Classpath.
12110         * java/lang/ClassLoader.java (defaultAssertionStatus,
12111         systemPackageAssertionStatus, packageAssertionStatus,
12112         systemClassAssertionStatus, classAssertionStatus): New fields from
12113         Classpath.
12114         (setDefaultAssertionStatus, setPackageAssertionStatus,
12115         setClassAssertionStatus, clearAssertionStatus): New methods from
12116         Classpath.
12117         * Makefile.in: Rebuilt.
12118         * Makefile.am (core_java_source_files): Added AssertionError.java.
12119         * java/lang/AssertionError.java: New from Classpath.
12120
12121 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12122
12123         * configure.host: Disable hash synchronization and slow_pthread_self
12124         for cygwin.
12125
12126 2002-06-06  Adam Megacz <adam@xwt.org>
12127
12128         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
12129         locking, just like the Sun JVM does.
12130
12131 2002-06-05  H.J. Lu  (hjl@gnu.org)
12132
12133         * Makefile.am (libgcj_convenience.la): Revert the last change.
12134         (libgcj.la): Likewise.
12135         * Makefile.in: Regenerated.
12136
12137 2002-06-04  H.J. Lu  (hjl@gnu.org)
12138
12139         * Makefile.am (libgcj_convenience.la): New target.
12140         (libgcj.la): Depend on libgcj_convenience.la.
12141         * Makefile.in: Regenerated.
12142
12143 2002-06-04  H.J. Lu  (hjl@gnu.org)
12144
12145         * configure.in (--with-newlib): New option:
12146         Check ${with_newlib} instead of ${with_cross_host} for newlib.
12147         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
12148         Linux.
12149         * configure: Regenerated.
12150
12151 2002-06-04  Tom Tromey  <tromey@redhat.com>
12152
12153         * java/util/natTimeZone.cc: Include <stdio.h>.
12154
12155 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
12156
12157         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
12158         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
12159         Set SIGNAL_HANDLER=include/s390-linux.h.
12160         * configure: Regenerate.
12161         * include/s390-linux.h: New file.
12162
12163 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12164
12165         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
12166         not "stackTrace".
12167
12168 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12169
12170         Merge JDK 1.4 java.security changes from classpath.
12171
12172         * java/security/AccessControlException.java: Merge from Classpath.
12173         * java/security/AccessController.java: Likewise.
12174         * java/security/AllPermission.java: Likewise.
12175         * java/security/BasicPermission.java: Likewise.
12176         * java/security/Certificate.java: Likewise.
12177         * java/security/CodeSource.java: Likewise.
12178         * java/security/DigestException.java: Likewise.
12179         * java/security/DigestOutputStream.java: Likewise.
12180         * java/security/DomainCombiner.java: Likewise.
12181         * java/security/GeneralSecurityException.java: Likewise.
12182         * java/security/Guard.java: Likewise.
12183         * java/security/GuardedObject.java: Likewise.
12184         * java/security/InvalidAlgorithmParameterException.java: Likewise.
12185         * java/security/InvalidKeyException.java: Likewise.
12186         * java/security/InvalidParameterException.java: Likewise.
12187         * java/security/Key.java: Likewise.
12188         * java/security/KeyException.java: Likewise.
12189         * java/security/KeyManagementException.java: Likewise.
12190         * java/security/KeyStoreException.java: Likewise.
12191         * java/security/MessageDigest.java: Likewise.
12192         * java/security/NoSuchAlgorithmException.java: Likewise.
12193         * java/security/NoSuchProviderException.java: Likewise.
12194         * java/security/Permission.java: Likewise.
12195         * java/security/PermissionCollection.java: Likewise.
12196         * java/security/Permissions.java: Likewise.
12197         * java/security/Policy.java: Likewise.
12198         * java/security/Principal.java: Likewise.
12199         * java/security/PrivateKey.java: Likewise.
12200         * java/security/PrivilegedAction.java: Likewise.
12201         * java/security/PrivilegedActionException.java: Likewise.
12202         * java/security/PrivilegedExceptionAction.java: Likewise.
12203         * java/security/ProtectionDomain.java: Likewise.
12204         * java/security/ProviderException.java: Likewise.
12205         * java/security/PublicKey.java: Likewise.
12206         * java/security/SecureClassLoader.java: Likewise.
12207         * java/security/SecurityPermission.java: Likewise.
12208         * java/security/SignatureException.java: Likewise.
12209         * java/security/UnrecoverableKeyException.java: Likewise.
12210         * java/security/UnresolvedPermission.java: Likewise.
12211         * java/security/acl/AclNotFoundException.java: Likewise.
12212         * java/security/acl/LastOwnerException.java: Likewise.
12213         * java/security/acl/NotOwnerException.java: Likewise.
12214         * java/security/cert/CRLException.java: Likewise.
12215         * java/security/cert/CertificateEncodingException.java: Likewise.
12216         * java/security/cert/CertificateException.java: Likewise.
12217         * java/security/cert/CertificateExpiredException.java: Likewise.
12218         * java/security/cert/CertificateFactory.java: Likewise.
12219         * java/security/cert/CertificateNotYetValidException.java: Likewise.
12220         * java/security/cert/CertificateParsingException.java: Likewise.
12221         * java/security/spec/InvalidKeySpecException.java: Likewise.
12222         * java/security/spec/InvalidParameterSpecException.java: Likewise.
12223
12224         * java/security/cert/CertPath.java: New file.
12225         * java/security/cert/CertPathBuilderException.java: New file.
12226         * java/security/cert/CertPathValidatorException.java: New file.
12227         * java/security/cert/CertStoreException.java: New file.
12228
12229         * Makefile.am: Add new CertPath classes.
12230         * Makefile.in: Rebuilt.
12231
12232         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
12233
12234 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12235
12236         Merge JDK 1.4 exception chaining support from classpath.
12237
12238         * java/lang/Throwable.java: Merge 1.4 support from classpath.
12239         (stackTraceBytes): Rename from stackTrace.
12240         * java/lang/Exception.java: Merge from classpath.
12241         * java/lang/StackTraceElement: New file from classpath.
12242         * gcj/javaprims.h: Rebuild CNI namespace declarations.
12243         * Makefile.am: Add StackTraceElement.
12244         * Makefile.in: Rebuilt.
12245
12246 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12247
12248         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
12249         they build first.
12250         * Makefile.in: Rebuilt.
12251
12252 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
12253
12254         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
12255         * configure.in: Likewise.
12256         * aclocal.m4: Regenerate.
12257         * configure: Regenerate.
12258
12259 2002-05-13  Tom Tromey  <tromey@redhat.com>
12260
12261         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
12262         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
12263         Include platform.h.
12264
12265         Fixes PR libgcj/6389:
12266         * Makefile.in: Rebuilt.
12267         * Makefile.am (nat_source_files): Added natTimeZone.cc.
12268         * java/util/natTimeZone.cc: New file.
12269         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
12270         * java/lang/System.java: Merged with Classpath.
12271         * java/lang/Runtime.java: Merged with Classpath.
12272         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
12273         security check.
12274         (setIn0): Renamed from setIn; don't run security check.
12275         (setOut0): Renamed from setOut; don't run security check.
12276         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
12277         init_properties): Moved to natRuntime.cc.
12278         Moved many includes to natRuntime.cc.
12279         (isWordsBigEndian): New method.
12280         * java/lang/natRuntime.cc: Include Long.h, also other includes
12281         previously in natSystem.cc.
12282         (maxMemory): New function.
12283         (exitInternal): Renamed from `_exit'.
12284         (exit): Removed.
12285         (init): Don't set finalize_on_exit.
12286         (exitInternal): Use `finalizeOnExit'.
12287         (file_encoding, getpwuid_adaptor): New functions from
12288         natSystem.cc.
12289         (insertSystemProperties): New method, renamed from
12290         System::init_properties.  Don't set user.timezone.
12291         (_load): Don't call checkLink.
12292         (execInternal): New method.
12293         (availableProcessors): Likewise.
12294         (nativeGetLibname): Likewise.
12295
12296 2002-05-11  Mark Wielaard  <mark@klomp.org>
12297
12298         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
12299         space characters.
12300         (previous_internal): Likewise.
12301
12302 2002-05-09  Tom Tromey  <tromey@redhat.com>
12303
12304         * jni.cc (_Jv_JNIFunctions): Fixed typo.
12305
12306         * java/util/ResourceBundle.java: New version from Classpath.
12307         * java/util/Locale.java: Likewise.
12308
12309 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
12310
12311         * testsuite/lib/libjava.exp (libjava_arguments): Append all
12312         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
12313         LD_LIBRARY_PATH.
12314
12315 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
12316
12317         * libjava/Makefile.am (all_java_source_files): New variable.
12318         (all_java_class_files): Likewise.
12319         .java.class: New rule.
12320         (CLEANFILES): Remove tmp-list.
12321         * libjava/Makefile.in: Regenerated.
12322
12323 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
12324
12325         * testsuite/lib/libjava.exp (test_libjava_from_javac):
12326         Append .exe to executable names.  Fix for cygwin.
12327
12328 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
12329
12330         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
12331         script entry, and set LD to it when configuring multilibs.
12332         * configure: Rebuilt.
12333
12334 2002-05-07  Tom Tromey  <tromey@redhat.com>
12335
12336         * java/lang/natString.cc (unintern): Fixed typo.
12337
12338 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
12339
12340         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
12341         with -no-install on *-*-cygwin*.
12342
12343 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
12344
12345         * testsuite/lib/libjava.exp (test_libjava_from_source):
12346         Add comment explaining last patch
12347
12348 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
12349
12350         * testsuite/lib/libjava.exp (test_libjava_from_source):
12351         Append .exe to executable names.  If no suffix is present,
12352         then ".exe" is added by default on win32.  Harmless
12353         elsewhere so always do it.
12354
12355 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
12356             Tom Tromey  <tromey@redhat.com>
12357
12358         * java/lang/natSystem.cc (getSystemTimeZone): Use
12359         HAVE_UNDERSCORE_TIMEZONE.
12360         * include/config.h.in: Rebuilt.
12361         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
12362         * aclocal.m4, configure: Rebuilt.
12363         * acinclude.m4: Run AC_EXEEXT.
12364         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
12365         Add test for `_timezone'.
12366
12367 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
12368
12369         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12370         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
12371         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
12372         * Makefile.in: Rebuilt.
12373
12374 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
12375
12376         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
12377         use sigaction instead of __libc_sigaction.
12378
12379 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
12380
12381         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
12382         (libjava_init): Use it to find libgcj.spec.
12383         (libjava_arguments): Likewise.
12384
12385 2002-05-02  David S. Miller  <davem@redhat.com>
12386
12387         PR bootstrap/6525
12388         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
12389         __libc_sigaction on Sparc.
12390
12391 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
12392
12393         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
12394         sys/filio.h, if present.
12395
12396 2002-04-30  Tom Tromey  <tromey@redhat.com>
12397
12398         * java/io/BufferedReader.java (fill): Handle case where markPos
12399         point to ignored \n.  Fixes PR libgcj/6301.
12400
12401 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
12402
12403         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
12404
12405 2002-04-29  Adam King <aking@dreammechanics.com>
12406
12407         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
12408         of file in APPEND mode.
12409
12410 2002-04-25  David S. Miller  <davem@redhat.com>
12411
12412         PR target/6422
12413         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
12414         program counter to next program counter minus 8.  Update
12415         comments in this macro to explain why.
12416
12417 2002-04-26  Tom Tromey  <tromey@redhat.com>
12418
12419         * verify.cc (construct_primitive_array_type) [void_type]: New
12420         case.
12421         (branch_prepass): Added dummy entries for unused instruction
12422         values.
12423         (verify_instructions_0): Likewise.
12424         * interpret.cc (continue1): Comment fix.
12425         * include/java-insns.h (op_xxxunusedxxx1): Removed.
12426         * Makefile.in: Rebuilt.
12427         * Makefile.am: Added -Wswitch-enum.
12428
12429 2002-04-24  Tom Tromey  <tromey@redhat.com>
12430
12431         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
12432         correct length of UTF-8 encoded name.  Strip leading `/'.
12433         (_Jv_RegisterResource): Use _Jv_Malloc.
12434
12435 2002-04-23  Adam Megacz <adam@xwt.org>
12436
12437         * win32.cc, include/win32.cc (backtrace): Added this function
12438         because Win32 does not supply it.
12439
12440 2002-04-21  David S. Miller  <davem@redhat.com>
12441
12442         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
12443         magic instruction reading sequence.
12444
12445 2002-04-21  Mark Wielaard  <mark@klomp.org>
12446
12447         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
12448
12449 2002-04-19  David S. Miller  <davem@redhat.com>
12450
12451         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
12452         arg.
12453         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
12454         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
12455         on Sparc too.
12456         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
12457         for 64-bit sparc.
12458         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
12459         * sysdeps/sparc/locks.h: New file.
12460         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
12461         on all sparc Solaris configurations.  Set to
12462         include/dwarf2-signal.h on sparc Linux.
12463         * configure: Regenerate
12464         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
12465
12466 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
12467
12468         * configure: Rebuilt.
12469         * configure.in (backtrace): Function doesn't work on IA-64.
12470
12471 2002-04-17  Adam King <aking@dreammechanics.com>
12472
12473         * java/io/File.java (normalizePath): Add Win32 support for auto
12474         conversion of a '/' path separator to Win32's '\' separator.
12475
12476 2002-04-16  Tom Tromey  <tromey@redhat.com>
12477
12478         Fix for PR libgcj/6081:
12479         * Makefile.in: Rebuilt.
12480         * Makefile.am (install-data-local): Use GNU make trick to avoid
12481         shell limit.
12482
12483 2002-04-16  Adam King <aking@dreammechanics.com>
12484             Tom Tromey  <tromey@redhat.com>
12485
12486         * java/io/natFileWin32.cc (performList): Return the correct array
12487         type.  Don't duplicate the creation of a File since it's already
12488         done earlier in the method and the existing code would cause a
12489         ArrayStoreException.  Don't use fixed-size array.
12490         (_access, _stat, attr, getCanonicalPath, performMkdir,
12491         performRenameTo): Don't use fixed-size array.
12492         (getCanonicalPath): Use throw, not _Jv_Throw.
12493
12494 2002-04-15  DJ Delorie  <dj@redhat.com>
12495
12496         * configure.in: Allow building in $srcdir.
12497         * configure: Regenerated.
12498
12499 2002-04-14  Mark Wielaard <mark@klomp.org>
12500
12501         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
12502         * java/net/natSocketImpl.cc (close): Likewise.
12503
12504 2002-04-14  Mark Wielaard <mark@klomp.org>
12505
12506         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
12507
12508 2002-04-13  Adam King <aking@dreammechanics.com>
12509
12510         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
12511         the f/F/d/D modifiers.
12512
12513 2002-04-12  Anthony Green  <green@redhat.com>
12514
12515         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
12516         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
12517         * Makefile.in: Rebuilt.
12518         * configure.in: Substitute gcc_version.
12519         * configure: Rebuilt.
12520
12521 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12522
12523         * configure.host: Set can_unwind_signal on hosts which support it.
12524         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
12525         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
12526         exceptions and can_unwind_signal isn't set.
12527         * configure: Rebuilt.
12528
12529 2002-04-11  Tom Tromey  <tromey@redhat.com>
12530
12531         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
12532
12533 2002-04-11  Adam King <aking@dreammechanics.com>
12534             Tom Tromey  <tromey@redhat.com>
12535
12536         * include/jvm.h (_Jv_ThrowBadArrayIndex,
12537         _Jv_ThrowNullPointerException): Mark as noreturn.
12538         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
12539         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
12540         fixes.
12541
12542 2002-04-10  Tom Tromey  <tromey@redhat.com>
12543
12544         * Makefile.in: Rebuilt.
12545         * Makefile.am (java/lang/Thread.h): Mark
12546         _Jv_AttachCurrentThreadAsDaemon as friend.
12547         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
12548         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
12549         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
12550         function.
12551         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
12552         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
12553         (_Jv_JNI_InvokeFunctions): Added
12554         _Jv_JNI_AttachCurrentThreadAsDaemon.
12555         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
12556         (JNI_GetDefaultJavaVMInitArgs): Likewise.
12557         (JNI_CreateJavaVM): Likewise.
12558         (_Jv_JNI_AttachCurrentThread): Likewise.
12559         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
12560         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
12561         (_Jv_JNIFunctions): Initialize new fields.
12562         (_Jv_JNI_NewDirectByteBuffer): New function.
12563         (_Jv_JNI_GetDirectBufferAddress): Likewise.
12564         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
12565         * include/jni.h (JNI_VERSION_1_4): New macro.
12566         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
12567         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
12568         (JNINativeInterface::NewDirectByteBuffer): New field.
12569         (JNINativeInterface::GetDirectBufferAddress): New field.
12570         (JNINativeInterface::GetDirectBufferCapacity): New field.
12571         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
12572         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
12573         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
12574
12575 2002-04-09  Tom Tromey  <tromey@redhat.com>
12576
12577         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
12578
12579 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
12580
12581         Fix for PR libgcj/6187:
12582         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
12583         distance.
12584
12585 2002-04-07  Mark Wielaard <mark@klomp.org>
12586
12587         * java/util/AbstractMap.java (putAll): Use entrySet size.
12588         (toString): Explicitly use getKey() and getValue().
12589
12590 2002-04-07  Mark Wielaard <mark@klomp.org>
12591
12592         * java/util/Hashtable.java (contains): Remove NullPointer check.
12593         (containsValue): Add NullPointer check.
12594         (remove): Always throw NullPointerException when key
12595         is null.
12596
12597 2002-04-07  Adam King <aking@dreammechanics.com>
12598
12599         * java/lang/natSystem.cc (init_properties): Call new function
12600         _Jv_platform_initProperties.
12601         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
12602         support for the System properties os.name, os.arch, os.version,
12603         user.name, user.home, and user.dir.
12604         * include/posix.h, include/win32.h, posix.cc: New function
12605         _Jv_platform_initProperties.
12606
12607 2002-04-06  Mark Wielaard <mark@klomp.org>
12608
12609         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
12610
12611 2002-04-06  Mark Wielaard <mark@klomp.org>
12612
12613         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
12614         all of the remaining elements.
12615         * java/util/Vector.java (addAll(int,Collection)): Likewise.
12616         (removeRange): If toIndex == fromIndex do
12617         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
12618         (removeAll): Always throw NullPointerException when collection is
12619         null.
12620         (retrainAll): Likewise.
12621
12622 2002-04-05  Mark Wielaard <mark@klomp.org>
12623
12624         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
12625         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
12626
12627 2002-04-05  Adam Megacz <adam@xwt.org>
12628
12629         * exception.cc (abort): added static modifier
12630
12631 2002-04-04  Adam Megacz <adam@xwt.org>
12632
12633         * include/win32.h (_Jv_platform_close_on_exec): added inline
12634         modifier.
12635
12636 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
12637
12638         * configure.host: Add case statement to support generic port
12639         properties.  Add *-*-freebsd* section.
12640
12641 2002-04-04  Mark Wielaard  <mark@klomp.org>
12642
12643         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
12644         test.
12645         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
12646         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
12647         that depend on awt code and BufferedByteOutputStream.interrupt.
12648
12649 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12650
12651         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
12652         incorrect "hi" value when count > 40.
12653
12654 2002-04-03  Mark Wielaard  <mark@klomp.org>
12655
12656         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
12657         ordering.
12658
12659 2002-04-02  Tom Tromey  <tromey@redhat.com>
12660
12661         * java/lang/natClassLoader.cc (findClass): Compare against `3',
12662         not `0'.
12663
12664 2002-04-02  Mark Wielaard  <mark@klomp.org>
12665
12666         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
12667         list of testsuite crashers.
12668
12669 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12670
12671         * java/util/IdentityHashMap.java (put): Set new threshold correctly
12672         when resizing table.
12673
12674 2002-04-01  Mark Wielaard  <mark@klomp.org>
12675
12676         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
12677         NegativeArraySizeException
12678         (clear(int)): Use sign extended shift.
12679         (flip(int)): Likewise.
12680         (get(int)): Likewise.
12681         (nextClearBit(int)): Likewise.
12682         (nextSetBit(int)): Likewise.
12683         (set(int)): Likewise.
12684
12685 2002-04-01  Mark Wielaard  <mark@klomp.org>
12686
12687         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
12688         that can be compiled now and add testsuite crashers to ignore list.
12689
12690 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
12691
12692         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
12693
12694         * libgcj.spec.in: Override libgcc, not lib.
12695         * libgcj-test.spec.in: Likewise.
12696
12697 2002-03-29  Tom Tromey  <tromey@redhat.com>
12698
12699         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
12700         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
12701
12702 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
12703
12704         * java/net/PlainDatagramSocketImpl.java
12705         (close): Use native implementation.
12706         (finalize): New method.
12707
12708         * java/net/PlainSocketImpl.java (finalize): New method.
12709
12710         * java/net/natPlainDatagramSocketImpl.cc
12711         (java/io/FileDescriptor.h): Don't include.
12712         (close): Implement method here.
12713         (create): Don't assign fd.
12714
12715         * java/net/natPlainSocketImpl.cc
12716         (java/io/FileDescriptor.h): Don't include.
12717         (create): Don't assign fd.
12718         (accept): Likewise.
12719         (close): Synchronize.
12720
12721 2002-03-27  Richard Henderson  <rth@redhat.com>
12722
12723         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
12724
12725 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
12726
12727         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
12728         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
12729         instead of syscall on IA-64.
12730         Add FIXME comment.
12731
12732 2002-03-27  Anthony Green  <green@redhat.com>
12733
12734         * libgcj.spec.in: Add CHECKREFSPEC.
12735         * configure.in: Ditto.
12736         * configure.host: Ditto.  Check references for xscale-elf.
12737         * configure: Rebuilt.
12738
12739 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
12740
12741         * include/dwarf2-signal.h: Temporarily back out last change.
12742
12743 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
12744
12745         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
12746
12747 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
12748
12749         * configure.in, configure: enable dwarf2-exception-style
12750         exception handling on IA-64.
12751         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
12752         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
12753         Add FIXME comment.
12754
12755 2002-03-25  Tom Tromey  <tromey@redhat.com>
12756
12757         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
12758         (jv_convert_LDFLAGS): Likewise.
12759         (gij_LDFLAGS): Likewise.
12760         (rmic_LDFLAGS): Likewise.
12761         (rmiregistry_LDFLAGS): Likewise.
12762         * configure.in (THREADLDFLAGS): New subst; set correctly for
12763         *BSD.
12764
12765 2002-03-25  Tom Tromey  <tromey@redhat.com>
12766
12767         For PR libgcj/5303:
12768         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
12769         and --version.
12770         (help): New method.
12771         (version): Likewise.
12772         * gnu/gcj/convert/Convert.java (version): Removed extraneous
12773         "GNU".
12774         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
12775         "GNU".
12776
12777 2002-03-25  Tom Tromey  <tromey@redhat.com>
12778
12779         * java/awt/Component.java (processEvent): Check ComponentEvent
12780         after KeyEvent.
12781
12782 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12783
12784         * java/io/PushbackReader.java: Reformat.
12785
12786         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
12787         calculate correct number of bytes skipped.
12788
12789         Based on patch from Intel's ORP team:
12790         * java/io/PushbackInputStream.java (available): Calculate correct
12791         number of bytes in buffer.
12792         (read): Remove redundant bound check. Return bytes from both the
12793         buffer and the stream.
12794
12795 2002-03-24  Tom Tromey  <tromey@redhat.com>
12796
12797         * java/awt/TextComponent.java (TextComponent): Editable by
12798         default.
12799
12800         * java/awt/MenuItem.java (eventMask): No longer private.
12801         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
12802         superclass if we didn't handle event.
12803         * java/awt/Checkbox.java (dispatchEventImpl): New method.
12804         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
12805         * java/awt/Choice.java (dispatchEventImpl): New method.
12806         * java/awt/List.java (dispatchEventImpl): New method.
12807         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
12808         * java/awt/TextComponent.java (dispatchEventImpl): New method.
12809         * java/awt/TextField.java (dispatchEventImpl): New method.
12810
12811 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
12812
12813         * java/beans/IntrospectionException.java: Update to 1.4.
12814         * java/beans/PropertyVetoException.java: Ditto.
12815
12816 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
12817
12818         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
12819         Arrays.equals instead of ArrayHelper.equalsArray.
12820
12821 2002-03-24  C. Brian Jones <cbj@gnu.org>
12822
12823         * java/beans/Introspector.java: added new static final fields
12824         introduced in 1.2, lots of other updates remain to be done
12825
12826 2002-03-24  C. Brian Jones <cbj@gnu.org>
12827
12828         * java/beans/Introspector.java: reformatting
12829
12830 2002-03-24  C. Brian Jones <cbj@gnu.org>
12831
12832         * java/beans/Introspector.java: default beanInfoSearchPath will
12833         not include sun.beans.infos given we provide no such package and
12834         the API doesn't really require it; gnu.java.beans.info is the
12835         default.
12836
12837 2002-03-24  Mark Wielaard  <mark@klomp.org>
12838
12839         Thanks to Orp developers
12840         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
12841         switch TRUE and FALSE return values.
12842
12843 2002-03-23  Tom Tromey  <tromey@redhat.com>
12844
12845         * include/name-finder.h (_Jv_name_finder::myclose): New method.
12846         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
12847
12848 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
12849
12850         * java/util/GregorianCalendar.java (minimums, maximums): Correct
12851         MONTH entry.  Fixes PR libgcj/6045.
12852
12853 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
12854
12855         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
12856
12857 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12858
12859         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
12860         not release_set.
12861         * sysdep/powerpc/locks.h (write_barrier): New function.
12862         * sysdep/i386/locks.h (write_barrier): New function.
12863
12864 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
12865
12866         * include/jni.h Use correct C comments.
12867
12868 2002-03-18  Tom Tromey  <tromey@redhat.com>
12869
12870         * include/jni.h (JNIIMPORT): New macro.
12871         (JNIEXPORT): Likewise.
12872         (JNICALL): Likewise.
12873
12874 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
12875
12876         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
12877         systems.
12878
12879 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
12880
12881         * include/i386-signal.h (old_i386_kernel_sigaction): New.
12882         INIT_SEGV: Use old_i386_kernel_sigaction.
12883         INIT_FP: Likewise.
12884
12885 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12886
12887         * java/lang/natSystem.cc (init_properties): Update VM version
12888         properties.
12889         * configure.in: Set GCJVERSION.
12890         * acconfig.h: Add GCJVERSION.
12891         * configure: Rebuilt.
12892         * include/config.h.in: Rebuilt.
12893
12894 2002-03-17  Anthony Green  <green@redhat.com>
12895
12896         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
12897
12898 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12899
12900         Build a single libgcj.so, without separate gc and zlib libraries.
12901         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
12902         SYS_ZLIBS if system zlib is used.
12903         * configure: Rebuilt.
12904         * Makefile.am: Use boehm-gc and zlib convenience libraries.
12905         * Makefile.in: Rebuilt.
12906         * libtool-version: Increment .so version number.
12907
12908         * Makefile.am: Escape quotes in echo.
12909         * Makefile.in: Rebuilt.
12910
12911 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12912
12913         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
12914         * Makefile.in: Rebuilt.
12915
12916 2002-03-15  Anthony Green  <green@redhat.com>
12917
12918         * configure.host (FILE): New macro for specifing File
12919         implementation.
12920         * configure: Rebuilt.
12921         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
12922
12923 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
12924
12925         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
12926         already implicitly brought in from libgcj.la.
12927         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
12928         * Makefile.in: Rebuilt.
12929
12930 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
12931
12932         * THANKS: Fix punctuation, alphabetization.
12933
12934 2002-03-15  Tom Tromey  <tromey@redhat.com>
12935             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12936
12937         Fix for PR libgcj/5944.
12938         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
12939
12940 2002-03-15  Anthony Green  <green@redhat.com>
12941
12942         * configure.in (tool_include_dir): Define.
12943         * configure: Rebuilt.
12944         * gcj/Makefile.am: Install libgcj-config.h relative to
12945         tool_include_dir.
12946         * gcj/Makefile: Rebuilt.
12947         * gcj/libgcj-config.h: Add warning comment.
12948
12949 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
12950
12951         * configure.host (powerpc*-darwin*): Enable interpreter.
12952
12953 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12954
12955         * include/posix.h: Add multiple include header protection.
12956         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
12957
12958 2002-03-10  Adam Megacz <adam@xwt.org>
12959
12960         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
12961
12962 2002-03-10  Tom Tromey  <tromey@redhat.com>
12963
12964         * java/awt/GridLayout.java (layoutContainer): Handle case where
12965         there are no items in container.
12966
12967         * java/lang/Win32Process.java: Added comment.
12968         * include/posix.h (_Jv_platform_close_on_exec): New function.
12969         Include fcntl.h.
12970         * include/win32.h (_Jv_platform_close_on_exec): New function.
12971         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
12972         flag.
12973         (accept): Likewise.
12974         * java/net/natPlainDatagramSocketImpl.cc (create): Set
12975         close-on-exec flag.
12976         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
12977         flag.
12978
12979 2002-03-09  Tom Tromey  <tromey@redhat.com>
12980
12981         * verify.cc (state::NO_STACK): New constant.
12982         (state::is_unmerged_ret_state): Handle case where stacktop is
12983         NO_STACK.
12984         (state::merge): Handle NO_STACK merges.
12985         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
12986         for instruction following jsr.
12987         (stacktop, stackdepth): Removed unused variables.
12988         (pop_jump): Ignore case where all remaining states are skipped.
12989
12990 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12991
12992         * java/awt/ImageMediaEntry: Removed.
12993         * java/awt/MediaEntry: Removed.
12994
12995 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12996
12997         Hashtable synchronization for PowerPC.
12998         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
12999         slow_pthread_self. Set up symlink for sysdeps directory.
13000         * configure: Rebuild.
13001         * configure.host: Document more shell variables. Set sysdeps_dir
13002         for most platforms. Set slow_pthread_self for i686. Set
13003         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
13004         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
13005         that memory barrier is emitted where required.
13006         * prims.cc: 64-bit align static primitive class instances.
13007         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
13008         read_barrier() to enforce ordering of reads.
13009         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
13010         primitives for PowerPC.
13011         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
13012         moved from natObject.cc.
13013         * sysdep/alpha/locks.h: Likewise.
13014         * sysdep/ia64/locks.h: Likewise.
13015         * sysdep/generic/locks.h: Likewise.
13016         * java/lang/natObject.cc: Move thread synchronization primitives to
13017         system-dependent headers.
13018
13019 2002-03-09  Adam Megacz  <adam@xwt.org>
13020
13021         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
13022         bytes read and no failure code returned.
13023
13024 2002-03-09  Adam Megacz  <adam@xwt.org>
13025
13026         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
13027         definitions to simulate -mthreads.
13028
13029 2002-03-09  Adam Megacz  <adam@xwt.org>
13030
13031         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
13032         avoid precision loss.
13033
13034 2002-03-09  Per Bothner  <per@bothner.com>
13035
13036         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
13037         * gnu/gcj/xlib/XImage.java:  Likewise.
13038         * gnu/gcj/xlib/XColor.java:  Likewise.
13039
13040 2002-03-09  Adam Megacz  <adam@xwt.org>
13041
13042         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
13043         IOException so that Throwable.printStackTrace fails correctly.
13044
13045 2002-03-08  Adam Megacz  <adam@xwt.org>
13046
13047         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
13048         fixed.
13049
13050 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13051
13052         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
13053         truncated to int.
13054
13055 2002-03-08  Tom Tromey  <tromey@redhat.com>
13056
13057         * include/jni.h: Include stdio.h.
13058
13059 2002-03-08  Tom Tromey  <tromey@redhat.com>
13060
13061         * posix.cc (internal_gettimeofday): New function.
13062         (_Jv_select): Use it.
13063
13064 2002-03-07  Adam Megacz  <adam@xwt.org>
13065
13066         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
13067         WIN32, and added thunks for read(), write(), and close().
13068         * java/net/natPlainSocketImpl.cc (accept, read, read):
13069         Disabled timeouts on WIN32 pending discussion.
13070
13071 2002-03-07  Adam Megacz  <adam@xwt.org>
13072
13073         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
13074         returns jlong. Added implementation
13075         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
13076         returns jlong.
13077         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
13078         returns jlong.
13079         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
13080         returns jlong.
13081         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
13082         _Jv_platform_gettimeofday signature.
13083
13084 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13085
13086         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
13087         (read): Call recv() directly, not _Jv_recv().
13088
13089 2002-03-06  Tom Tromey  <tromey@redhat.com>
13090
13091         * java/io/natFileDescriptorEcos.cc (init): Don't use
13092         GetStdHandle.
13093         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
13094         is negative.
13095         (init): Don't use GetStdHandle.
13096
13097         * include/config.h.in: Rebuilt.
13098         * configure: Rebuilt.
13099         * Makefile.in: Rebuilt.
13100
13101 2002-03-06  Adam Megacz  <adam@xwt.org>
13102
13103         * java/io/FileDescriptor.java: Initialize in/out/err in init().
13104         * java/io/natFileDescriptorWin32.cc (init()): Added function.
13105         * java/io/natFileDescriptorPosix.cc (init()): Added function.
13106         * java/io/natFileDescriptorEcos.cc (init()): Added function.
13107
13108 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
13109
13110         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
13111         the code for generating include/java-chartables.h.
13112         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
13113         merge with Classpath.
13114         * scripts/unicode-muncher.pl: Copy from Classpath.
13115         * scritps/MakeCharTables.java: New file.
13116         * gnu/gcj/convert/Blocks-3.txt: New file.
13117         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
13118         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
13119         * gnu/java/lang/CharData.java: Copy from Classpath.
13120         * Makefile.am (ordinary_java_source_files): Add
13121         gnu/java/lang/CharData.java.
13122         * configure.in: Remove --enable-fast-character option.
13123         * java/lang/Character.java: Merge algorithms and Javadoc with
13124         Classpath.
13125         * java/lang/natCharacter.cc: Implement Unicode lookup table more
13126         efficiently.
13127         * include/java-chardecomp.h: Regenerate.
13128         * include/java-chartables.h: Regenerate.
13129
13130 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13131
13132         * java/awt/MediaTracker.java: Implemented.
13133         * Makefile.am: Add MediaTracker.
13134         * Makefile.in: Rebuilt.
13135
13136 2002-03-05  Tom Tromey  <tromey@redhat.com>
13137
13138         * java/lang/natPosixProcess.cc (fail): Removed.
13139         (startProcess): Simplified error-handling.  Preserve
13140         LD_LIBRARY_PATH across exec.
13141
13142         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
13143         AbstractMethodError.
13144
13145 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13146
13147         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
13148         * Makefile.in: Rebuilt.
13149
13150 2002-03-03 Mark Wielaard <mark@klomp.org>
13151
13152         * java/util/Timer (TaskQueue.stop): set elements to zero.
13153
13154 2002-02-28  Anthony Green  <green@redhat.com>
13155
13156         * java/lang/reflect/natMethod.cc (result): Add void* element.
13157         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
13158         constructor test.
13159
13160 2002-02-27  Adam Megacz <adam@xwt.org>
13161
13162         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
13163         '#undef STRICT'.
13164
13165 2002-02-26  Tom Tromey  <tromey@redhat.com>
13166
13167         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
13168         * gij.cc (version): Use __VERSION__.
13169         * include/config.h.in: Rebuilt.
13170         * acconfig.h (GCJVERSION): Removed.
13171         * configure: Rebuilt.
13172         * configure.in (GCJVERSION): Removed.
13173
13174 2002-02-26  Andreas Schwab  <schwab@suse.de>
13175
13176         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
13177         glibcpp_CXX, since libjava uses even another CXX.
13178         * aclocal.m4, configure: Regenerated.
13179
13180 2002-02-26  Tom Tromey  <tromey@redhat.com>
13181
13182         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
13183         `1'.
13184
13185 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13186
13187         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
13188         dependency tracking for .java files.
13189         * Makefile.in: Rebuilt.
13190
13191 2002-02-24  Adam Megacz  <adam@xwt.org>
13192
13193         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
13194         typo. Sorry.
13195
13196 2002-02-24  Adam Megacz  <adam@xwt.org>
13197
13198         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
13199         for Win32, changed #ifdefs to check WIN32 instead of the
13200         (now-obsolete) USE_WINSOCK, and removed support for socket
13201         timeouts on Win32 pending further discussion.
13202
13203 2002-02-24  Adam Megacz  <adam@xwt.org>
13204
13205         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
13206         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
13207         delete
13208
13209 2002-02-24  Adam Megacz  <adam@xwt.org>
13210
13211         * java/lang/Win32Process.java: Created a dummy class to allow
13212         build process to run to completion.
13213
13214 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
13215
13216         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
13217         Define ffi_result union for ffi_call result.  Cast
13218         ffi_result members to jvalue.
13219
13220 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
13221
13222         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
13223         * testsuite/Makefile.in: Likewise.
13224
13225 2002-02-20  Per Bothner  <per@bothner.com>
13226
13227         * java/net/URL.java (getPath):  New JDK 1.3 method.
13228
13229         * java/net/URLStreamHandler.java (parseURL):
13230         It is wrong to prepend '/' to the file part of a relative url.
13231
13232         * java/net/URLStreamHandler.java (parseURL):
13233         Minor optizations - append '/' rather than "/".
13234
13235         * java/net/URLStreamHandler.java (parseURL):
13236         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
13237         We probably should canonicalize for a context-relative url, though.
13238         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
13239         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
13240         (sameFile):  New method.  Uses canonicalizeFilename.
13241
13242 2002-02-22  Tom Tromey  <tromey@redhat.com>
13243
13244         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
13245         java.vendor and java.vm.vendor.
13246         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
13247         recent copyright date.
13248         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
13249         * gij.cc (version): Print `Inc'.
13250
13251 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
13252
13253         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
13254         * aclocal.m4, configure: Rebuilt.
13255
13256 2002-02-20  Per Bothner  <per@bothner.com>
13257
13258         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
13259         and/or output streams immediately here, instead of using File.exists.
13260         (inputStream, outputStream):  New fields to save open streams.
13261         (getInputStream, getOutputStream):  Use already-opened streams.
13262
13263 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
13264
13265         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
13266         Use it.
13267         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
13268         * aclocal.m4, configure, Makefile.in: Rebuilt.
13269
13270 2002-02-19  Tom Tromey  <tromey@redhat.com>
13271
13272         Fix for PR libgcj/5696:
13273         * verify.cc (is_assignable_from_slow): Never call
13274         _Jv_IsAssignableFrom.
13275         (verify_instructions_0): Added new debug statement.
13276         (state::print): Print information about whether local has
13277         changed.
13278         (state::merge): Don't call note_variable when merging locals.
13279         (state::set_exception): Removed old FIXME comment.
13280
13281 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13282
13283         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
13284         enable SO_BROADCAST.
13285
13286 2002-02-18  Jason Merrill  <jason@redhat.com>
13287
13288         * name-finder.cc (toHex): Use word mode, not long long.
13289
13290         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
13291
13292 2002-02-15  Tom Tromey  <tromey@redhat.com>
13293
13294         Fix for PR libgcj/5695:
13295         * verify.cc (is_assignable_from_slow): Check to see if target is
13296         an Object before checking to see if source is an interface.
13297         (verify_instructions_0) [op_invokeinterface]: Handle case where
13298         we're making an interface call on Object.
13299
13300 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13301
13302         * Makefile.in: Rebuilt with Eric's change below.
13303
13304         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
13305         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
13306         Removed functions which are now implemented in Math.java.
13307
13308 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
13309
13310         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
13311         * Makefile.am (core_java_source_files): Add
13312         java/lang/StrictMath.java.
13313         * java/lang/Math.java: Merge with Classpath.
13314         * java/lang/StrictMath.java: New file - merge with Classpath.
13315
13316 2002-02-14  Mark Wielaard  <mark@klomp.org>
13317
13318         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
13319         package as a workaround for gcj 3.0.x
13320
13321 2002-02-14  Mark Wielaard <mark@klomp.org>
13322
13323         * java/security/BasicPermission.java: extends with fully qualified
13324         classname as workaround for gcj 3.0.4.
13325
13326 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
13327
13328         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
13329         around gcj bug of wrong emitted qualifier for inherited method.
13330         * java/net/SocketImpl.java (setOption, getOption): Ditto.
13331         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
13332         constructor to reduce amount of emitted bytecode. While this
13333         happens to work around a jikes 1.15 bug, it is still a useful
13334         patch even for correct compilers.
13335         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
13336         * gnu/java/rmi/server/UnicastRemoteCall.java
13337         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
13338
13339 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
13340
13341         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
13342         * java/net/SocketImpl.java: Ditto.
13343         * java/rmi/server/RMIClassLoader.java: Ditto.
13344         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
13345
13346 2002-02-14  Mark Wielaard <mark@klomp.org>
13347
13348         Thanks to Takashi Okamoto
13349         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
13350         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
13351         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
13352
13353 2002-02-13  Todd Stock  <toddastock@yahoo.com>
13354
13355         Fix for PR libgcj/5670:
13356         * verify.cc (is_assignable_from_slow): If `source' is interface,
13357         recursively look for merge with `target'.
13358
13359 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
13360
13361         * include/jni.h: Fix typo.
13362
13363 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
13364
13365         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
13366         correctly.
13367
13368 2002-02-13  Todd Stock  <toddastock@yahoo.com>
13369
13370         Fix for PR libgcj/5671:
13371         * verify.cc (state::merge): Handle case where we're merging
13372         against an interface.
13373
13374 2002-02-12  Tom Tromey  <tromey@redhat.com>
13375
13376         * exception.cc (std::abort): Mark as noreturn.
13377
13378 2002-02-12  Adam Megacz <adam@xwt.org>
13379
13380         * java/lang/Win32Process.java: Filled in a placeholder
13381         implementation so Win32 will build.
13382
13383 2002-02-12  Adam Megacz <adam@xwt.org>
13384
13385         * java/io/natFilePosix.cc: Copied this from natFile.cc.
13386         * java/io/natFile.cc: Removed from repository.
13387         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
13388
13389 2002-02-12  Adam Megacz <adam@xwt.org>
13390
13391         * win32.cc: Added two #includes to make win32.cc compile.
13392
13393 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13394
13395         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
13396         declarations.
13397         (_Jv_InitGC): Don't bother locking, as this is always called from a
13398         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
13399
13400 2002-02-11  Adam Megacz <adam@xwt.org>
13401
13402         * include/win32.h: Added _Jv_platform_gettimeofday.
13403         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
13404
13405 2002-02-11  Adam Megacz <adam@xwt.org>
13406
13407         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
13408         Added #undef STRICT to make windows.h and
13409         java/lang/reflect/Modifier.h cooperate.
13410
13411 2002-02-11  Adam Megacz <adam@xwt.org>
13412
13413         * java/io/natFileWin32.cc: Created a placeholder class with lots
13414         of FIXMEs.
13415
13416 2002-02-11  Adam Megacz <adam@xwt.org>
13417
13418         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
13419         std::abort() to simply abort(). Also added "fake" std::abort() so
13420         we can #include unwind-pe.h without having to link against
13421         libstdc++-v3.
13422
13423 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
13424
13425         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
13426
13427 2002-02-08  Tom Tromey  <tromey@redhat.com>
13428
13429         * interpret.cc (convert): New function.
13430         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
13431         convert.
13432         Include Long.h.
13433
13434 2002-02-08  Anthony Green  <green@redhat.com>
13435
13436         * configure.host: Add support for xscale-elf embedded target.
13437
13438 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
13439
13440         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
13441         dereferenced.
13442         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
13443         frame.
13444
13445 2002-02-07  Tom Tromey  <tromey@redhat.com>
13446
13447         * java/io/natFile.cc (_access): Use __builtin_alloca.
13448         (_stat): Likewise.
13449         (attr): Likewise.
13450         (getCanonicalPath): Likewise.
13451         (performList): Likewise.
13452         (performMkdir): Likewise.
13453         (performSetReadOnly): Likewise.
13454         (performRenameTo): Likewise.
13455         (performSetLastModified): Likewise.
13456         (performCreate): Likewise.
13457         (performDelete): Likewise.
13458
13459 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13460
13461         * HACKING: Fix URL for the automake-gcj.
13462
13463 2002-02-07  Tom Tromey  <tromey@redhat.com>
13464
13465         * java/lang/natThrowable.cc: Updated copyright.
13466         * java/io/natFileWin32.cc: Updated copyright.
13467         * java/io/natFileDescriptorWin32.cc: Updated copyright.
13468         * win32-threads.cc: Updated copyright.
13469         * name-finder.cc: Updated copyright.
13470         * include/name-finder.h: Updated copyright.
13471
13472         * include/name-finder.h: Conditionally include sys/wait.h.
13473         * include/config.h.in: Rebuilt.
13474
13475         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
13476         Size buffer based on real size of string.
13477         (_stat): Likewise.
13478         (attr): Likewise.
13479         (getCanonicalPath): Likewise.
13480         (performList): Likewise.
13481         (performMkdir): Likewise.
13482         (performSetReadOnly): Likewise.
13483         (unixroot): Removed.
13484         (performRenameTo): Likewise.
13485         (performSetLastModified): Likewise.
13486         (performCreate): Likewise.
13487         (performDelete): Likewise.
13488         (performListRoots): Always return new array.
13489
13490         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
13491         * win32.cc (win32_exception_handler): Now static.
13492         * include/win32.h (_Jv_platform_initialize): Declare.
13493         (win32_exception_handler): Don't declare.
13494         * java/lang/natSystem.cc (currentTimeMillis): Use
13495         _Jv_platform_gettimeofday.
13496         * posix.cc (_Jv_platform_gettimeofday): Renamed.
13497         (_Jv_select): Use new name.
13498         (_Jv_platform_initialize): New function.
13499         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
13500         _Jv_gettimeofday.
13501         (_Jv_platform_initialize): Declare.
13502
13503         * configure: Rebuilt.
13504         * configure.in: Removed unnecessary parens.
13505
13506 2002-02-06  Adam Megacz <adam@xwt.org>
13507
13508        * configure.in: Changed mingw) to *mingw*).
13509        * win32.cc: Created this file.
13510        * win32.h: Created this file.
13511        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
13512        win32_exception_handler from prims.cc to win32.cc, added
13513        header in win32.h.
13514        * prims.cc: removed some #ifdef-WIN32'd headers which are no
13515        longer needed now that we have platform.h
13516
13517 2002-02-06  Adam Megacz <adam@xwt.org>
13518
13519         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
13520         use uint<n>_t instead of LONG and BYTE
13521
13522 2002-02-06  Adam Megacz <adam@xwt.org>
13523
13524         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
13525
13526 2002-02-06  Anthony Green  <green@redhat.com>
13527
13528         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
13529         Implement missing method stubs.
13530         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
13531         targets.
13532         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
13533         concept of timezones.
13534         (init_properties): Don't refer to _Jv_Environment_Properties
13535         when this feature is not available.
13536         * include/config.h.in: Rebuilt.
13537         * acconfig.h: Add DISABLE_MAIN_ARGS.
13538         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
13539         * configure: Rebuilt.
13540         * configure.in: Add --disable-main-args option.  Test for
13541           opendir function.  Replace AC_CHECK_SIZEOF with
13542           AC_COMPILE_CHECK_SIZEOF.
13543         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
13544         * aclocal.m4: Rebuilt.
13545         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
13546
13547 2002-02-06  Tom Tromey  <tromey@redhat.com>
13548
13549         * verify.cc (require_array_type): If argument is a null array of
13550         references, return null as the element type.
13551
13552 2002-02-06  Mark Wielaard  <mark@klomp.org>
13553
13554         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
13555         duplicate of a wide type.
13556
13557 2002-02-06  Tom Tromey  <tromey@redhat.com>
13558
13559         * verify.cc (type::isnull): New method.
13560         (require_array_type): Handle case where array is null.
13561         (verify_instructions_0) [op_arraylength]: Likewise.
13562
13563 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13564
13565         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
13566         Symlink PLATFORMH to platform.h.
13567         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
13568         PLATFORMOBJS.
13569         * java/lang/natSystem.cc: #include platform.h not posix.h.
13570         * Makefile.in: Rebuilt with libgcj automake.
13571         * configure: Rebuilt.
13572
13573 2002-02-05  Richard Henderson  <rth@redhat.com>
13574
13575         * Makefile.in: Undo munging last change.
13576
13577 2002-02-04  Adam Megacz <adam@xwt.org>
13578
13579         * win32.cc: Created it.
13580         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
13581         which is set to posix.cc or win32.cc.
13582         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
13583
13584 2002-02-04  Adam Megacz <adam@xwt.org>
13585
13586         * configure.in: Corrected mingw case branches; added * before
13587         and after.
13588
13589 2002-02-04  Adam Megacz <adam@xwt.org>
13590
13591         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
13592         if compiling for win32
13593
13594 2002-02-04  Adam Megacz <adam@xwt.org>
13595
13596         * win32-threads.cc: #undef STRICT after gc.h inclusion
13597
13598 2002-02-02  Tom Tromey  <tromey@redhat.com>
13599
13600         * Makefile.in: Rebuilt.
13601
13602 2002-02-02  Jason Merrill  <jason@redhat.com>
13603
13604         * Makefile.am (clean-nat): New target.
13605
13606 2002-02-02  Tom Tromey  <tromey@redhat.com>
13607
13608         * java/io/natFile.cc: Removed old "FIXME" comments.
13609
13610 2002-02-01  Tom Tromey  <tromey@redhat.com>
13611
13612         * java/lang/natPosixProcess.cc (myclose): New function.
13613         (fail): Use it.
13614         (startProcess): Likewise.
13615
13616 2002-02-01  Adam Megacz <adam@xwt.org>
13617
13618         * prims.cc: Added #undef STRICT after #include<windows.h>.
13619
13620 2002-02-01  Adam Megacz <adam@xwt.org>
13621
13622         * prims.cc
13623         (_Jv_CreateJavaVM): We now use WIN32 instead of
13624         USE_WIN32_SIGNALLING and USE_WINSOCK.
13625         (win32_exception_handler): Now throws an exception out of
13626         the signal handler; assumes SJLJ.
13627
13628 2002-02-01  Adam Megacz <adam@xwt.org>
13629
13630         * win32-threads.cc:
13631         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
13632         wait() algorithm to make it safe.
13633         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
13634         Added lazy creation of Win32 Events for better performance
13635         (really_start): This now uses GC_CreateThread so boehm-gc
13636         knows about new threads even when statically linked.
13637
13638 2002-02-01  Adam Megacz <adam@xwt.org>
13639
13640         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
13641         enable safer wait() algorithm.
13642         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
13643         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
13644         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
13645         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
13646         instead of mutex.
13647         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
13648
13649 2002-02-01  Adam Megacz <adam@xwt.org>
13650
13651         * configure.in: Added support for mingw.
13652         * java/lang/Win32Process.java: Created as empty file.
13653         * java/lang/natWin32Process.cc: Created as empty file.
13654
13655 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
13656
13657         PR java/4972
13658         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
13659         for libiconv in LIBICONV variable.
13660         * configure: Regenerated.
13661
13662 2002-01-31  Tom Tromey  <tromey@redhat.com>
13663
13664         * verify.cc (state::enter_subroutine): New method.
13665         (handle_jsr_insn): Use it.
13666         (state::merge): When processing a `ret', correctly use
13667         subroutine's state to determine which local variables have
13668         changed.
13669         (push_exception_jump): Don't let stack overflow.
13670
13671 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
13672
13673         * gnu/gcj/convert/Convert.java: Only include one copyright year in
13674         --version output.
13675
13676 2002-01-30  Tom Tromey  <tromey@redhat.com>
13677
13678         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
13679         parameter for `recv' return type.
13680
13681         * verify.cc (handle_ret_insn): Check for subroutine merge here...
13682         (state::merge): ... not here.
13683         (subr_entry_info): New structure.
13684         (entry_points): New field.
13685         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
13686         entry_points.
13687
13688 2002-01-29  Tom Tromey  <tromey@redhat.com>
13689
13690         * java/awt/List.java (addNotify): Correctly check to see if peer
13691         does not exist.
13692
13693         * java/awt/GridLayout.java (layoutContainer): Use number of rows
13694         to compute height of each cell, and number of columns to compute
13695         width of each cell.
13696         * java/awt/Window.java (getOwnedWindows): Don't return null.
13697         * java/awt/FlowLayout.java (layoutContainer): Set width and height
13698         of component.  Increment x using horizontal gap, not vertical
13699         gap.
13700
13701 2002-01-28  Tom Tromey  <tromey@redhat.com>
13702
13703         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
13704         `nargs' byte is number of words, not number of arguments.
13705
13706 2002-01-27  Tom Tromey  <tromey@redhat.com>
13707
13708         * java/awt/event/MouseEvent.java (modifiers): Removed field.
13709         (when): Likewise.
13710         * java/awt/event/InputEvent.java (modifiers, when): Now
13711         package-private.
13712
13713         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
13714         and to-do list.
13715         (state::merge): Use current class' class loader.
13716         (state::print): Print subroutine.
13717         (state::merge): Don't look at subroutine of unmerged `ret'.
13718
13719 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
13720
13721         * nogc.cc: Remove warnings.
13722         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
13723         New functions.
13724
13725 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13726
13727         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
13728         int, int):  Remove empty "if" statement to work around compiler bug.
13729         (newPixels(int[], ColorModel, int, int): Likewise.
13730
13731 2002-01-25  Per Bothner  <per@bothner.com>
13732
13733         * verify.cc (verify_fail):  Change from being a top-level function
13734         to e method of _Jv_BytecodeVerifier.  Emit current method name.
13735         Pass the current verifier to type: and state: methods as needed,
13736         for better error messages, and for resolve.
13737         (resolve):  Pass current class's loader for Class.forName and
13738         _Jv_FindClassFromSignature, rather than using the default loader.
13739         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
13740         (get_type_val_for_signature):  Make non-static.
13741         (various methods):  Pass start_PC implicitly, not explicitly.
13742
13743 2002-01-25  Tom Tromey  <tromey@redhat.com>
13744
13745         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
13746         loop termination condition.
13747         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
13748         width.
13749
13750 2002-01-24  Tom Tromey  <tromey@redhat.com>
13751
13752         * java/awt/Shape.java: Merged with Classpath.
13753         * java/awt/Scrollbar.java: Merged with Classpath.
13754
13755         * java/awt/Container.java (addNotify): Unconditionally call
13756         addNotifyContainerChildren and superclass addNotify.
13757
13758         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
13759         getAlpha, not getBlue.
13760
13761 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13762
13763         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
13764
13765         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
13766         (grabPixels(long)): Wait to be notified that the ImageProducer has
13767         completed.
13768
13769 2002-01-24  Per Bothner  <per@bothner.com>
13770
13771         * verify.cc (is_assignable_from_slow): If target is an interface,
13772         we must still check the source's superclass before giving up.
13773
13774 2002-01-24  Tom Tromey  <tromey@redhat.com>
13775
13776         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
13777
13778 2002-01-23  Tom Tromey  <tromey@redhat.com>
13779
13780         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
13781         `else'.
13782
13783         * Makefile.in: Rebuilt.
13784         * Makefile.am (awt_java_source_files): Added new files.
13785         * java/awt/Toolkit.java: Merged with Classpath.
13786         * java/awt/PrintGraphics.java: New file from Classpath.
13787         * java/awt/PrintJob.java: New file from Classpath.
13788         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
13789         * java/awt/datatransfer/ClipboardOwner.java: New file from
13790         Classpath.
13791         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
13792         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
13793         * java/awt/datatransfer/MimeTypeParseException.java: New file from
13794         Classpath.
13795         * java/awt/datatransfer/StringSelection.java: New file from
13796         Classpath.
13797         * java/awt/datatransfer/SystemFlavorMap.java: New file from
13798         Classpath.
13799         * java/awt/datatransfer/Transferable.java: New file from
13800         Classpath.
13801         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
13802         from Classpath.
13803
13804         * Makefile.in: Rebuilt.
13805         * Makefile.am (awt_java_source_files): Added new files.
13806         * java/awt/image/AreaAveragingScaleFilter.java: New file from
13807         Classpath.
13808         * java/awt/image/CropImageFilter.java: New file from Classpath.
13809         * java/awt/image/FilteredImageSource.java: New file from
13810         Classpath.
13811         * java/awt/image/ImageFilter.java: New file from Classpath.
13812         * java/awt/image/MemoryImageSource.java: New file from Classpath.
13813         * java/awt/image/PixelGrabber.java: New file from Classpath.
13814         * java/awt/image/RGBImageFilter.java: New file from Classpath.
13815         * java/awt/image/ReplicateScaleFilter.java: New file from
13816         Classpath.
13817         * java/awt/image/ImageProducer.java: Replaced with Classpath
13818         version.
13819         * java/awt/image/ImageObserver.java: Replaced with Classpath
13820         version.
13821         * java/awt/image/ImageConsumer.java: Replaced with Classpath
13822         version.
13823         * java/awt/GridBagConstraints.java (clone): Catch
13824         CloneNotSupportedException.
13825
13826 2002-01-23  Per Bothner  <per@bothner.com>
13827
13828         * java/lang/reflect/natField.cc (setAddr):  New function.
13829         Calls getAddr and then checks that the field isn't final.
13830         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
13831         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
13832         (set):  Call setAddr before check that new value has right type,
13833         to better match specified semantics.
13834
13835 2002-01-22  Tom Tromey  <tromey@redhat.com>
13836
13837         * java/awt/TextField.java: Replaced with Classpath version.
13838         * java/awt/TextArea.java: Replaced with Classpath version.
13839         * java/awt/TextComponent.java: Replaced with Classpath version.
13840
13841         * java/awt/GridBagConstraints.java: Updated copyright.
13842
13843 2002-01-22  Mark Wielaard <mark@klomp.org>
13844
13845         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
13846         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
13847         java/awt/Dialog.java java/awt/FileDialog.java
13848         java/awt/Font.java java/awt/FontMetrics.java
13849         java/awt/Image.java java/awt/ImageMediaEntry.java
13850         java/awt/Insets.java java/awt/List.java
13851         java/awt/MediaEntry.java java/awt/MediaTracker.java
13852         java/awt/Menu.java java/awt/MenuBar.java
13853         java/awt/MenuContainer.java java/awt/MenuShortcut.java
13854         java/awt/PaintContext.java java/awt/Panel.java
13855         java/awt/PopupMenu.java java/awt/SystemColor.java
13856         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
13857         java/awt/peer/CheckboxMenuItemPeer.java
13858         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
13859         java/awt/peer/ComponentPeer.java
13860         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
13861         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
13862         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
13863         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
13864         java/awt/peer/MenuBarPeer.java
13865         java/awt/peer/MenuComponentPeer.java
13866         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
13867         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
13868         java/awt/peer/ScrollPanePeer.java
13869         java/awt/peer/ScrollbarPeer.java
13870         java/awt/peer/TextAreaPeer.java
13871         java/awt/peer/TextComponentPeer.java
13872         java/awt/peer/TextFieldPeer.java
13873         java/awt/peer/WindowPeer.java: Add license clarification.
13874
13875 2002-01-22  Mark Wielaard <mark@klomp.org>
13876
13877         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
13878         gnu/gcj/runtime/StringBuffer.java
13879         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
13880         gnu/java/awt/ComponentDataBlitOp.java
13881         gnu/java/awt/GLightweightPeer.java
13882         gnu/java/beans/BeanInfoEmbryo.java
13883         gnu/java/beans/EmptyBeanInfo.java
13884         gnu/java/beans/ExplicitBeanInfo.java
13885         gnu/java/beans/IntrospectionIncubator.java
13886         gnu/java/beans/editors/ColorEditor.java
13887         gnu/java/beans/editors/FontEditor.java
13888         gnu/java/beans/editors/NativeBooleanEditor.java
13889         gnu/java/beans/editors/NativeByteEditor.java
13890         gnu/java/beans/editors/NativeDoubleEditor.java
13891         gnu/java/beans/editors/NativeFloatEditor.java
13892         gnu/java/beans/editors/NativeIntEditor.java
13893         gnu/java/beans/editors/NativeLongEditor.java
13894         gnu/java/beans/editors/NativeShortEditor.java
13895         gnu/java/beans/editors/StringEditor.java
13896         gnu/java/beans/info/ComponentBeanInfo.java
13897         gnu/java/io/ClassLoaderObjectInputStream.java
13898         gnu/java/io/NullOutputStream.java
13899         gnu/java/io/ObjectIdentityWrapper.java
13900         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
13901         gnu/java/lang/reflect/TypeSignature.java
13902         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
13903         gnu/java/locale/Calendar_en.java
13904         gnu/java/locale/Calendar_nl.java
13905         gnu/java/locale/LocaleInformation.java
13906         gnu/java/locale/LocaleInformation_de.java
13907         gnu/java/locale/LocaleInformation_en.java
13908         gnu/java/locale/LocaleInformation_nl.java
13909         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
13910         gnu/java/rmi/registry/RegistryImpl.java
13911         gnu/java/rmi/rmic/Compile_gcj.java
13912         gnu/java/rmi/rmic/Compiler.java
13913         gnu/java/rmi/rmic/CompilerProcess.java
13914         gnu/java/rmi/rmic/RMIC.java
13915         gnu/java/rmi/rmic/TabbedWriter.java
13916         gnu/java/rmi/server/ProtocolConstants.java
13917         gnu/java/rmi/server/RMIDefaultSocketFactory.java
13918         gnu/java/rmi/server/RMIHashes.java
13919         gnu/java/rmi/server/RMIObjectInputStream.java
13920         gnu/java/rmi/server/RMIObjectOutputStream.java
13921         gnu/java/rmi/server/UnicastConnection.java
13922         gnu/java/rmi/server/UnicastConnectionManager.java
13923         gnu/java/rmi/server/UnicastRef.java
13924         gnu/java/rmi/server/UnicastRemoteCall.java
13925         gnu/java/rmi/server/UnicastRemoteStub.java
13926         gnu/java/rmi/server/UnicastServer.java
13927         gnu/java/rmi/server/UnicastServerRef.java
13928         gnu/java/security/provider/DefaultPolicy.java
13929         gnu/java/security/provider/Gnu.java
13930         gnu/java/security/provider/SHA.java
13931         gnu/java/security/provider/SHA1PRNG.java
13932         gnu/java/text/BaseBreakIterator.java
13933         gnu/java/text/CharacterBreakIterator.java
13934         gnu/java/text/LineBreakIterator.java
13935         gnu/java/text/SentenceBreakIterator.java
13936         gnu/java/text/WordBreakIterator.java
13937         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
13938         java/applet/AppletContext.java java/applet/AppletStub.java
13939         java/applet/AudioClip.java java/awt/AWTError.java
13940         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
13941         java/awt/AWTException.java java/awt/AWTPermission.java
13942         java/awt/ActiveEvent.java java/awt/BorderLayout.java
13943         java/awt/Button.java java/awt/Canvas.java
13944         java/awt/CardLayout.java java/awt/Checkbox.java
13945         java/awt/CheckboxGroup.java java/awt/Component.java
13946         java/awt/ComponentOrientation.java java/awt/Container.java
13947         java/awt/Dimension.java java/awt/Event.java
13948         java/awt/EventDispatchThread.java java/awt/EventQueue.java
13949         java/awt/FlowLayout.java java/awt/Frame.java
13950         java/awt/Graphics.java java/awt/Graphics2D.java
13951         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
13952         java/awt/IllegalComponentStateException.java
13953         java/awt/ItemSelectable.java java/awt/Label.java
13954         java/awt/LayoutManager.java java/awt/LayoutManager2.java
13955         java/awt/MenuComponent.java java/awt/MenuItem.java
13956         java/awt/Paint.java java/awt/Point.java
13957         java/awt/Rectangle.java java/awt/RenderingHints.java
13958         java/awt/Transparency.java java/awt/Window.java
13959         java/awt/color/ColorSpace.java
13960         java/awt/color/ICC_ColorSpace.java
13961         java/awt/color/ICC_Profile.java
13962         java/awt/event/HierarchyBoundsAdapter.java
13963         java/awt/event/HierarchyBoundsListener.java
13964         java/awt/event/HierarchyEvent.java
13965         java/awt/event/HierarchyListener.java
13966         java/awt/geom/AffineTransform.java
13967         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
13968         java/awt/geom/IllegalPathStateException.java
13969         java/awt/geom/Line2D.java
13970         java/awt/geom/NoninvertibleTransformException.java
13971         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
13972         java/awt/geom/Rectangle2D.java
13973         java/awt/geom/RectangularShape.java
13974         java/awt/geom/RoundRectangle2D.java
13975         java/awt/image/BufferedImage.java
13976         java/awt/image/ColorModel.java
13977         java/awt/image/ComponentColorModel.java
13978         java/awt/image/ComponentSampleModel.java
13979         java/awt/image/DataBuffer.java
13980         java/awt/image/DataBufferByte.java
13981         java/awt/image/DataBufferInt.java
13982         java/awt/image/DataBufferUShort.java
13983         java/awt/image/DirectColorModel.java
13984         java/awt/image/PackedColorModel.java
13985         java/awt/image/Raster.java java/awt/image/RasterOp.java
13986         java/awt/image/SampleModel.java
13987         java/awt/image/SinglePixelPackedSampleModel.java
13988         java/awt/image/WritableRaster.java
13989         java/beans/AppletInitializer.java
13990         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
13991         java/beans/Beans.java java/beans/Customizer.java
13992         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
13993         java/beans/FeatureDescriptor.java
13994         java/beans/IndexedPropertyDescriptor.java
13995         java/beans/IntrospectionException.java
13996         java/beans/Introspector.java java/beans/MethodDescriptor.java
13997         java/beans/ParameterDescriptor.java
13998         java/beans/PropertyChangeEvent.java
13999         java/beans/PropertyChangeListener.java
14000         java/beans/PropertyChangeSupport.java
14001         java/beans/PropertyDescriptor.java
14002         java/beans/PropertyEditor.java
14003         java/beans/PropertyEditorManager.java
14004         java/beans/PropertyEditorSupport.java
14005         java/beans/PropertyVetoException.java
14006         java/beans/SimpleBeanInfo.java
14007         java/beans/VetoableChangeListener.java
14008         java/beans/VetoableChangeSupport.java
14009         java/beans/Visibility.java
14010         java/beans/beancontext/BeanContext.java
14011         java/beans/beancontext/BeanContextChild.java
14012         java/beans/beancontext/BeanContextChildComponentProxy.java
14013         java/beans/beancontext/BeanContextChildSupport.java
14014         java/beans/beancontext/BeanContextContainerProxy.java
14015         java/beans/beancontext/BeanContextEvent.java
14016         java/beans/beancontext/BeanContextMembershipEvent.java
14017         java/beans/beancontext/BeanContextMembershipListener.java
14018         java/beans/beancontext/BeanContextProxy.java
14019         java/beans/beancontext/BeanContextServiceAvailableEvent.java
14020         java/beans/beancontext/BeanContextServiceProvider.java
14021         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
14022         java/beans/beancontext/BeanContextServiceRevokedEvent.java
14023         java/beans/beancontext/BeanContextServiceRevokedListener.java
14024         java/beans/beancontext/BeanContextServices.java
14025         java/beans/beancontext/BeanContextServicesListener.java
14026         java/io/BufferedInputStream.java
14027         java/io/BufferedOutputStream.java java/io/BufferedReader.java
14028         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
14029         java/io/ByteArrayOutputStream.java
14030         java/io/CharArrayReader.java java/io/CharArrayWriter.java
14031         java/io/CharConversionException.java java/io/DataInput.java
14032         java/io/DataInputStream.java java/io/DataOutput.java
14033         java/io/EOFException.java java/io/Externalizable.java
14034         java/io/FileFilter.java java/io/FileNotFoundException.java
14035         java/io/FilePermission.java java/io/FileReader.java
14036         java/io/FileWriter.java java/io/FilenameFilter.java
14037         java/io/FilterInputStream.java java/io/FilterOutputStream.java
14038         java/io/FilterReader.java java/io/FilterWriter.java
14039         java/io/IOException.java java/io/InputStream.java
14040         java/io/InterruptedIOException.java
14041         java/io/InvalidClassException.java
14042         java/io/InvalidObjectException.java
14043         java/io/NotActiveException.java
14044         java/io/NotSerializableException.java java/io/ObjectInput.java
14045         java/io/ObjectInputStream.java
14046         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
14047         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
14048         java/io/ObjectStreamConstants.java
14049         java/io/ObjectStreamException.java
14050         java/io/ObjectStreamField.java
14051         java/io/OptionalDataException.java java/io/OutputStream.java
14052         java/io/PipedInputStream.java java/io/PipedOutputStream.java
14053         java/io/PipedReader.java java/io/PipedWriter.java
14054         java/io/PrintWriter.java java/io/PushbackInputStream.java
14055         java/io/PushbackReader.java java/io/Reader.java
14056         java/io/SequenceInputStream.java java/io/Serializable.java
14057         java/io/SerializablePermission.java
14058         java/io/StreamCorruptedException.java
14059         java/io/StreamTokenizer.java
14060         java/io/StringBufferInputStream.java java/io/StringReader.java
14061         java/io/StringWriter.java java/io/SyncFailedException.java
14062         java/io/UTFDataFormatException.java
14063         java/io/UnsupportedEncodingException.java
14064         java/io/WriteAbortedException.java java/io/Writer.java
14065         java/lang/AbstractMethodError.java
14066         java/lang/ArithmeticException.java
14067         java/lang/ArrayIndexOutOfBoundsException.java
14068         java/lang/ArrayStoreException.java java/lang/Boolean.java
14069         java/lang/Byte.java java/lang/CharSequence.java
14070         java/lang/ClassCastException.java
14071         java/lang/ClassCircularityError.java
14072         java/lang/ClassFormatError.java
14073         java/lang/ClassNotFoundException.java
14074         java/lang/CloneNotSupportedException.java
14075         java/lang/Cloneable.java java/lang/Comparable.java
14076         java/lang/Compiler.java java/lang/Double.java
14077         java/lang/Error.java java/lang/Exception.java
14078         java/lang/ExceptionInInitializerError.java
14079         java/lang/Float.java java/lang/IllegalAccessError.java
14080         java/lang/IllegalAccessException.java
14081         java/lang/IllegalArgumentException.java
14082         java/lang/IllegalMonitorStateException.java
14083         java/lang/IllegalStateException.java
14084         java/lang/IllegalThreadStateException.java
14085         java/lang/IncompatibleClassChangeError.java
14086         java/lang/IndexOutOfBoundsException.java
14087         java/lang/InheritableThreadLocal.java
14088         java/lang/InstantiationError.java
14089         java/lang/InstantiationException.java java/lang/Integer.java
14090         java/lang/InternalError.java
14091         java/lang/InterruptedException.java
14092         java/lang/LinkageError.java java/lang/Long.java
14093         java/lang/NegativeArraySizeException.java
14094         java/lang/NoClassDefFoundError.java
14095         java/lang/NoSuchFieldError.java
14096         java/lang/NoSuchFieldException.java
14097         java/lang/NoSuchMethodError.java
14098         java/lang/NoSuchMethodException.java
14099         java/lang/NullPointerException.java java/lang/Number.java
14100         java/lang/NumberFormatException.java
14101         java/lang/OutOfMemoryError.java java/lang/Package.java
14102         java/lang/Process.java java/lang/Runnable.java
14103         java/lang/RuntimeException.java
14104         java/lang/RuntimePermission.java
14105         java/lang/SecurityException.java
14106         java/lang/SecurityManager.java java/lang/Short.java
14107         java/lang/StackOverflowError.java java/lang/StringBuffer.java
14108         java/lang/StringIndexOutOfBoundsException.java
14109         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
14110         java/lang/ThreadLocal.java java/lang/UnknownError.java
14111         java/lang/UnsatisfiedLinkError.java
14112         java/lang/UnsupportedClassVersionError.java
14113         java/lang/UnsupportedOperationException.java
14114         java/lang/VerifyError.java java/lang/VirtualMachineError.java
14115         java/lang/Void.java java/lang/ref/PhantomReference.java
14116         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
14117         java/lang/ref/SoftReference.java
14118         java/lang/ref/WeakReference.java
14119         java/lang/reflect/AccessibleObject.java
14120         java/lang/reflect/InvocationTargetException.java
14121         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
14122         java/lang/reflect/ReflectPermission.java
14123         java/math/BigDecimal.java java/math/BigInteger.java
14124         java/net/Authenticator.java java/net/BindException.java
14125         java/net/ConnectException.java java/net/ContentHandler.java
14126         java/net/ContentHandlerFactory.java
14127         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
14128         java/net/FileNameMap.java java/net/MalformedURLException.java
14129         java/net/MulticastSocket.java java/net/NetPermission.java
14130         java/net/NoRouteToHostException.java
14131         java/net/PasswordAuthentication.java
14132         java/net/ProtocolException.java java/net/ServerSocket.java
14133         java/net/Socket.java java/net/SocketException.java
14134         java/net/SocketImpl.java java/net/SocketImplFactory.java
14135         java/net/SocketOptions.java java/net/SocketPermission.java
14136         java/net/URLDecoder.java java/net/URLEncoder.java
14137         java/net/URLStreamHandlerFactory.java
14138         java/net/UnknownHostException.java
14139         java/net/UnknownServiceException.java
14140         java/rmi/AccessException.java
14141         java/rmi/AlreadyBoundException.java
14142         java/rmi/ConnectException.java
14143         java/rmi/ConnectIOException.java
14144         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
14145         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
14146         java/rmi/NotBoundException.java
14147         java/rmi/RMISecurityException.java
14148         java/rmi/RMISecurityManager.java java/rmi/Remote.java
14149         java/rmi/RemoteException.java java/rmi/ServerError.java
14150         java/rmi/ServerException.java
14151         java/rmi/ServerRuntimeException.java
14152         java/rmi/StubNotFoundException.java
14153         java/rmi/UnexpectedException.java
14154         java/rmi/UnknownHostException.java
14155         java/rmi/UnmarshalException.java
14156         java/rmi/activation/Activatable.java
14157         java/rmi/activation/ActivateFailedException.java
14158         java/rmi/activation/ActivationDesc.java
14159         java/rmi/activation/ActivationException.java
14160         java/rmi/activation/ActivationGroup.java
14161         java/rmi/activation/ActivationGroupDesc.java
14162         java/rmi/activation/ActivationGroupID.java
14163         java/rmi/activation/ActivationID.java
14164         java/rmi/activation/ActivationInstantiator.java
14165         java/rmi/activation/ActivationMonitor.java
14166         java/rmi/activation/ActivationSystem.java
14167         java/rmi/activation/Activator.java
14168         java/rmi/activation/UnknownGroupException.java
14169         java/rmi/activation/UnknownObjectException.java
14170         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
14171         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
14172         java/rmi/registry/Registry.java
14173         java/rmi/registry/RegistryHandler.java
14174         java/rmi/server/ExportException.java
14175         java/rmi/server/LoaderHandler.java
14176         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
14177         java/rmi/server/Operation.java
14178         java/rmi/server/RMIClassLoader.java
14179         java/rmi/server/RMIClientSocketFactory.java
14180         java/rmi/server/RMIFailureHandler.java
14181         java/rmi/server/RMIServerSocketFactory.java
14182         java/rmi/server/RMISocketFactory.java
14183         java/rmi/server/RemoteCall.java
14184         java/rmi/server/RemoteObject.java
14185         java/rmi/server/RemoteRef.java
14186         java/rmi/server/RemoteServer.java
14187         java/rmi/server/RemoteStub.java
14188         java/rmi/server/ServerCloneException.java
14189         java/rmi/server/ServerNotActiveException.java
14190         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
14191         java/rmi/server/SkeletonMismatchException.java
14192         java/rmi/server/SkeletonNotFoundException.java
14193         java/rmi/server/SocketSecurityException.java
14194         java/rmi/server/UID.java
14195         java/rmi/server/UnicastRemoteObject.java
14196         java/rmi/server/Unreferenced.java
14197         java/security/AccessControlContext.java
14198         java/security/AccessControlException.java
14199         java/security/AccessController.java
14200         java/security/AlgorithmParameterGenerator.java
14201         java/security/AlgorithmParameterGeneratorSpi.java
14202         java/security/AlgorithmParameters.java
14203         java/security/AlgorithmParametersSpi.java
14204         java/security/AllPermission.java
14205         java/security/BasicPermission.java
14206         java/security/Certificate.java java/security/CodeSource.java
14207         java/security/DigestException.java
14208         java/security/DigestInputStream.java
14209         java/security/DigestOutputStream.java
14210         java/security/DomainCombiner.java
14211         java/security/DummyKeyPairGenerator.java
14212         java/security/DummyMessageDigest.java
14213         java/security/DummySignature.java
14214         java/security/GeneralSecurityException.java
14215         java/security/Guard.java java/security/GuardedObject.java
14216         java/security/Identity.java java/security/IdentityScope.java
14217         java/security/InvalidAlgorithmParameterException.java
14218         java/security/InvalidKeyException.java
14219         java/security/InvalidParameterException.java
14220         java/security/Key.java java/security/KeyException.java
14221         java/security/KeyFactory.java java/security/KeyFactorySpi.java
14222         java/security/KeyManagementException.java
14223         java/security/KeyPair.java java/security/KeyPairGenerator.java
14224         java/security/KeyPairGeneratorSpi.java
14225         java/security/KeyStore.java
14226         java/security/KeyStoreException.java
14227         java/security/KeyStoreSpi.java
14228         java/security/MessageDigest.java
14229         java/security/MessageDigestSpi.java
14230         java/security/NoSuchAlgorithmException.java
14231         java/security/NoSuchProviderException.java
14232         java/security/Permission.java
14233         java/security/PermissionCollection.java
14234         java/security/Permissions.java java/security/Policy.java
14235         java/security/Principal.java java/security/PrivateKey.java
14236         java/security/PrivilegedAction.java
14237         java/security/PrivilegedActionException.java
14238         java/security/PrivilegedExceptionAction.java
14239         java/security/ProtectionDomain.java
14240         java/security/Provider.java
14241         java/security/ProviderException.java
14242         java/security/PublicKey.java
14243         java/security/SecureClassLoader.java
14244         java/security/SecureRandom.java
14245         java/security/SecureRandomSpi.java java/security/Security.java
14246         java/security/SecurityPermission.java
14247         java/security/Signature.java
14248         java/security/SignatureException.java
14249         java/security/SignatureSpi.java
14250         java/security/SignedObject.java java/security/Signer.java
14251         java/security/UnrecoverableKeyException.java
14252         java/security/UnresolvedPermission.java
14253         java/security/acl/Acl.java java/security/acl/AclEntry.java
14254         java/security/acl/AclNotFoundException.java
14255         java/security/acl/Group.java
14256         java/security/acl/LastOwnerException.java
14257         java/security/acl/NotOwnerException.java
14258         java/security/acl/Owner.java java/security/acl/Permission.java
14259         java/security/cert/CRL.java
14260         java/security/cert/CRLException.java
14261         java/security/cert/Certificate.java
14262         java/security/cert/CertificateEncodingException.java
14263         java/security/cert/CertificateException.java
14264         java/security/cert/CertificateExpiredException.java
14265         java/security/cert/CertificateFactory.java
14266         java/security/cert/CertificateFactorySpi.java
14267         java/security/cert/CertificateNotYetValidException.java
14268         java/security/cert/CertificateParsingException.java
14269         java/security/cert/X509CRL.java
14270         java/security/cert/X509CRLEntry.java
14271         java/security/cert/X509Certificate.java
14272         java/security/cert/X509Extension.java
14273         java/security/interfaces/DSAKey.java
14274         java/security/interfaces/DSAKeyPairGenerator.java
14275         java/security/interfaces/DSAParams.java
14276         java/security/interfaces/DSAPrivateKey.java
14277         java/security/interfaces/DSAPublicKey.java
14278         java/security/interfaces/RSAKey.java
14279         java/security/interfaces/RSAPrivateCrtKey.java
14280         java/security/interfaces/RSAPrivateKey.java
14281         java/security/interfaces/RSAPublicKey.java
14282         java/security/spec/AlgorithmParameterSpec.java
14283         java/security/spec/DSAParameterSpec.java
14284         java/security/spec/DSAPrivateKeySpec.java
14285         java/security/spec/DSAPublicKeySpec.java
14286         java/security/spec/EncodedKeySpec.java
14287         java/security/spec/InvalidKeySpecException.java
14288         java/security/spec/InvalidParameterSpecException.java
14289         java/security/spec/KeySpec.java
14290         java/security/spec/PKCS8EncodedKeySpec.java
14291         java/security/spec/RSAKeyGenParameterSpec.java
14292         java/security/spec/RSAPrivateCrtKeySpec.java
14293         java/security/spec/RSAPrivateKeySpec.java
14294         java/security/spec/RSAPublicKeySpec.java
14295         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
14296         java/sql/BatchUpdateException.java java/sql/Blob.java
14297         java/sql/CallableStatement.java java/sql/Clob.java
14298         java/sql/Connection.java java/sql/DataTruncation.java
14299         java/sql/DatabaseMetaData.java java/sql/Date.java
14300         java/sql/Driver.java java/sql/DriverManager.java
14301         java/sql/DriverPropertyInfo.java
14302         java/sql/PreparedStatement.java java/sql/Ref.java
14303         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
14304         java/sql/SQLData.java java/sql/SQLException.java
14305         java/sql/SQLInput.java java/sql/SQLOutput.java
14306         java/sql/SQLWarning.java java/sql/Statement.java
14307         java/sql/Struct.java java/sql/Time.java
14308         java/sql/Timestamp.java java/sql/Types.java
14309         java/text/Annotation.java
14310         java/text/AttributedCharacterIterator.java
14311         java/text/AttributedString.java
14312         java/text/AttributedStringIterator.java
14313         java/text/BreakIterator.java java/text/CharacterIterator.java
14314         java/text/ChoiceFormat.java java/text/Collator.java
14315         java/text/DateFormat.java java/text/DateFormatSymbols.java
14316         java/text/DecimalFormat.java
14317         java/text/DecimalFormatSymbols.java
14318         java/text/FieldPosition.java java/text/Format.java
14319         java/text/MessageFormat.java java/text/NumberFormat.java
14320         java/text/ParseException.java java/text/ParsePosition.java
14321         java/text/SimpleDateFormat.java
14322         java/text/StringCharacterIterator.java
14323         java/util/AbstractCollection.java java/util/AbstractList.java
14324         java/util/AbstractMap.java
14325         java/util/AbstractSequentialList.java
14326         java/util/AbstractSet.java java/util/ArrayList.java
14327         java/util/Arrays.java java/util/BasicMapEntry.java
14328         java/util/BitSet.java java/util/Calendar.java
14329         java/util/Collection.java java/util/Collections.java
14330         java/util/Comparator.java
14331         java/util/ConcurrentModificationException.java
14332         java/util/Date.java java/util/Dictionary.java
14333         java/util/EmptyStackException.java java/util/Enumeration.java
14334         java/util/EventListener.java java/util/EventObject.java
14335         java/util/GregorianCalendar.java java/util/HashMap.java
14336         java/util/HashSet.java java/util/Hashtable.java
14337         java/util/IdentityHashMap.java java/util/Iterator.java
14338         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
14339         java/util/LinkedList.java java/util/List.java
14340         java/util/ListIterator.java java/util/ListResourceBundle.java
14341         java/util/Locale.java java/util/Map.java
14342         java/util/MissingResourceException.java
14343         java/util/NoSuchElementException.java
14344         java/util/Observable.java java/util/Observer.java
14345         java/util/Properties.java java/util/PropertyPermission.java
14346         java/util/PropertyResourceBundle.java java/util/Random.java
14347         java/util/RandomAccess.java java/util/ResourceBundle.java
14348         java/util/Set.java java/util/SimpleTimeZone.java
14349         java/util/SortedMap.java java/util/SortedSet.java
14350         java/util/Stack.java java/util/StringTokenizer.java
14351         java/util/TimeZone.java java/util/Timer.java
14352         java/util/TimerTask.java
14353         java/util/TooManyListenersException.java
14354         java/util/TreeMap.java java/util/TreeSet.java
14355         java/util/Vector.java java/util/WeakHashMap.java
14356         java/util/jar/Attributes.java java/util/jar/JarEntry.java
14357         java/util/jar/JarException.java java/util/jar/JarFile.java
14358         java/util/jar/JarInputStream.java
14359         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
14360         java/util/zip/Adler32.java java/util/zip/CRC32.java
14361         java/util/zip/CheckedInputStream.java
14362         java/util/zip/CheckedOutputStream.java
14363         java/util/zip/Checksum.java
14364         java/util/zip/DataFormatException.java
14365         java/util/zip/Deflater.java
14366         java/util/zip/DeflaterOutputStream.java
14367         java/util/zip/GZIPInputStream.java
14368         java/util/zip/GZIPOutputStream.java
14369         java/util/zip/Inflater.java
14370         java/util/zip/InflaterInputStream.java
14371         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
14372         java/util/zip/ZipException.java java/util/zip/ZipFile.java
14373         java/util/zip/ZipInputStream.java
14374         java/util/zip/ZipOutputStream.java
14375         javax/naming/BinaryRefAddr.java
14376         javax/naming/InvalidNameException.java javax/naming/Name.java
14377         javax/naming/NamingException.java javax/naming/RefAddr.java
14378         javax/naming/StringRefAddr.java: Add license clarification.
14379
14380 2002-01-22  Tom Tromey  <tromey@redhat.com>
14381
14382         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
14383         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
14384         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
14385         version.
14386         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
14387         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
14388         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
14389         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
14390         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
14391         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
14392         * java/awt/peer/FontPeer.java: Replace with Classpath version.
14393         * java/awt/peer/FramePeer.java: Replace with Classpath version.
14394         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
14395         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
14396         * java/awt/peer/ListPeer.java: Replace with Classpath version.
14397         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
14398         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
14399         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
14400         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
14401         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
14402         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
14403         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
14404         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
14405         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
14406         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
14407         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
14408         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
14409         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
14410         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
14411         (minimumSize, preferredSize, reshape): Likewise.
14412         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
14413         getColorModel): New methods.
14414         * java/awt/PopupMenu.java: Merged with Classpath.
14415         * java/awt/MenuBar.java: Merged with Classpath.
14416         * java/awt/SystemColor.java: Replace with Classpath version.
14417         * java/awt/Panel.java: Merged with Classpath.
14418         * java/awt/PaintContext.java: Updated copyright.
14419         * java/awt/MenuShortcut.java: Merged with Classpath.
14420         * java/awt/MenuContainer.java: Merged with Classpath.
14421         * java/awt/Menu.java: Merged with Classpath.
14422         * java/awt/MediaEntry.java: New file from Classpath.
14423         * java/awt/MediaTracker.java: New file from Classpath.
14424         * java/awt/List.java: Merged with Classpath version.
14425         * java/awt/Insets.java: Merged with Classpath version.
14426         * java/awt/ImageMediaEntry.java: New file from Classpath.
14427         * java/awt/Image.java: Replaced with Classpath version.
14428         * java/awt/FontMetrics.java: Merged with Classpath version.
14429         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
14430         constant.
14431         * java/awt/Font.java: Merged with Classpath version.
14432         * java/awt/Dialog.java: Merged with Classpath version.
14433         * java/awt/Color.java: Merged with Classpath version.
14434         * java/awt/Choice.java: Merged with Classpath version.
14435         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
14436         * java/awt/Adjustable.java: Replace with Classpath version.
14437         * java/awt/MenuItem.java (paramString): Don't include class name
14438         or brackets.  Call superclass paramString.
14439         * java/awt/MenuComponent.java (toString): Call paramString.
14440         (paramString): Compute string; don't call toString.
14441         * java/awt/Label.java (paramString): Don't include class name
14442         or brackets.  Call superclass paramString.
14443         * java/awt/Checkbox.java (paramString): Don't include class name
14444         or brackets.  Call superclass paramString.
14445         * java/awt/Button.java (paramString): Don't include class name or
14446         brackets.  Call superclass paramString.
14447         * java/awt/MenuComponent.java (getTreeLock): Now protected.
14448
14449 2002-01-20  Andreas Schwab  <schwab@suse.de>
14450
14451         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
14452         function and of parameter recv_func to ssize_t, as specified by
14453         POSIX.
14454
14455 2002-01-19  Per Bothner  <per@bothner.com>
14456
14457         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
14458         uncompressed_size in readiness for next entry.
14459
14460 2002-01-18  Tom Tromey  <tromey@redhat.com>
14461
14462         * java/net/natPlainSocketImpl.cc: Include
14463         IllegalArgumentException.h.
14464         (_Jv_recv): New template function.
14465         (BooleanClass): Removed.
14466         (read): Use _Jv_recv.
14467         (setOption): Use Boolean::class$.  Throw exception if object is
14468         not Boolean or Integer.
14469
14470 2002-01-17  Tom Tromey  <tromey@redhat.com>
14471
14472         * java/awt/MenuComponent.java: Merged with Classpath.
14473         * java/awt/MenuItem.java: Merged with Classpath.
14474         * java/awt/Button.java: Merged with Classpath.
14475
14476         * java/awt/ActiveEvent.java: Updated copyright.
14477
14478         * java/awt/AWTError.java: Replaced with Classpath version.
14479         * java/awt/AWTException.java: Replaced with Classpath version.
14480         * java/awt/IllegalComponentStateException.java: Replaced with
14481         Classpath version.
14482
14483 2002-01-16  Tom Tromey  <tromey@redhat.com>
14484
14485         * java/awt/Canvas.java (serialVersionUID): New constant.
14486         Updated copyright.  Added javadoc from Classpath.
14487         * java/awt/ItemSelectable.java: Replaced with Classpath version.
14488
14489         * java/awt/CheckboxGroup.java: Merged with Classpath.
14490         * java/awt/Checkbox.java: Merged with Classpath.
14491
14492         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
14493         Classpath.
14494         * java/awt/Point.java: Updated copyright.
14495
14496         * java/awt/Point.java (toString): Use getClass().getName().
14497         Added javadoc.
14498
14499         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
14500         commented code.
14501         (hash): Correctly compute initial value for `h'.
14502
14503         * java/awt/Label.java: Merged with Classpath.
14504
14505 2002-01-15  Tom Tromey  <tromey@redhat.com>
14506
14507         * java/awt/AWTPermission.java: Updated copyright.
14508
14509         * java/awt/LayoutManager2.java: Merged with Classpath.
14510         * java/awt/LayoutManager.java: Merged with Classpath.
14511         * java/awt/GridLayout.java: Updated copyright and javadoc.
14512         (getSize): Use `parent.ncomponents'.  Handle insets.
14513         (layoutContainer): Use `parent.ncomponents'.  Handle case where
14514         there are fewer children than columns.  Correctly compute size of
14515         each cell in the grid.  Handle case where there isn't enough
14516         space.
14517         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
14518         all users.
14519         (gotoComponent): Use parent.ncomponents.  Ensure child exists
14520         before calling setVisible() on it.  Last item is `num - 1', not
14521         `num'.
14522         (layoutContainer): Hoist invariants out of loop.
14523
14524         Start of AWT merge with Classpath:
14525         * Makefile.in: Rebuilt.
14526         * Makefile.am (awt_java_source_files): Reference files in
14527         gnu/java/awt, not gnu/gcj/awt.
14528         * java/awt/image/BufferedImage.java: Updated copyright.
14529         * java/awt/image/ComponentColorModel.java: Updated copyright.
14530         * java/awt/image/ComponentSampleModel.java: Updated copyright.
14531         * java/awt/image/DataBuffer.java: Updated copyright.
14532         * java/awt/image/DataBufferByte.java: Updated copyright.
14533         * java/awt/image/DataBufferInt.java: Updated copyright.
14534         * java/awt/image/DataBufferUShort.java: Updated copyright.
14535         * java/awt/image/IndexColorModel.java: Updated copyright.
14536         * java/awt/image/PackedColorModel.java: Updated copyright.
14537         * java/awt/image/Raster.java: Updated copyright.
14538         * java/awt/image/RasterOp.java: Updated copyright.
14539         * java/awt/image/SampleModel.java: Updated copyright.
14540         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
14541         * java/awt/image/WritableRaster.java: Updated copyright.
14542         * java/awt/color/ColorSpace.java: Updated copyright.
14543         * java/awt/color/ICC_ColorSpace.java: Updated copyright
14544         * java/awt/color/ICC_Profile.java: Updated copyright.
14545         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
14546         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
14547         * java/awt/event/HierarchyEvent.java: Updated copyright.
14548         * java/awt/event/HierarchyListener.java: Updated copyright.
14549         * java/awt/geom/AffineTransform.java: Updated copyright.
14550         * java/awt/geom/Dimension2D.java: Updated copyright.
14551         * java/awt/geom/Ellipse2D.java: Updated copyright.
14552         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
14553         * java/awt/geom/Line2D.java: Updated copyright.
14554         * java/awt/geom/NoninvertibleTransformException.java: Updated
14555         copyright.
14556         * java/awt/geom/PathIterator.java: Updated copyright.
14557         * java/awt/geom/Point2D.java: Updated copyright.
14558         * java/awt/geom/Rectangle2D.java: Updated copyright.
14559         * java/awt/geom/RectangularShape.java: Updated copyright.
14560         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
14561         * java/awt/Toolkit.java: Updated import for file moves.
14562         * java/awt/Rectangle.java: Updated copyright; added javadoc from
14563         Classpath.
14564         (hashCode): New method from Classpath.
14565         * java/awt/Graphics2D.java: Updated copyright.
14566         * java/awt/Transparency.java: Updated copyright.
14567         * java/awt/Paint.java: Updated copyright.
14568         * java/awt/Graphics.java: New version from Classpath.
14569         * java/awt/EventDispatchThread.java: Updated copyright.
14570         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
14571         children.
14572         (gotoComponent): Wrap around on next/previous.
14573         * gnu/gcj/awt/BitMaskExtent.java: Removed.
14574         * gnu/gcj/awt/Buffers.java: Removed.
14575         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
14576         * gnu/gcj/awt/GLightweightPeer.java: Removed.
14577         * gnu/java/awt/BitMaskExtent.java: Added.
14578         * gnu/java/awt/Buffers.java: Added.
14579         * gnu/java/awt/ComponentDataBlitOp.java: Added.
14580         * gnu/java/awt/GLightweightPeer.java: Added.
14581         * java/awt/geom/Line2D.java (clone): Ignore
14582         CloneNotSupportedException.
14583         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
14584         * java/awt/Frame.java: Merged with Classpath.
14585         * java/awt/RenderingHints.java: Copyright update.
14586         * java/awt/Paint.java: Copyright update.
14587         * java/awt/image/DirectColorModel.java: Merged with Classpath.
14588         * java/awt/image/ColorModel.java: Merged with Classpath.
14589         * java/awt/Window.java (show): New Implementation from Classpath.
14590         (isShowing): Use super.isShowing().
14591         * java/awt/EventQueue.java: Merged with Classpath.
14592         * java/awt/AWTEventMulticaster.java (save): Throw
14593         RuntimeException.
14594         (saveInternal): Likewise.
14595         * java/awt/AWTEvent.java: Now implements Serializable.
14596         * java/awt/Event.java: Copyright update.
14597         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
14598         * java/awt/image/BufferedImage.java: Copyright update.
14599         * java/awt/GraphicsConfiguration.java: Copyright update.
14600         * java/awt/Component.java: (addNotify): Don't call
14601         addNotifyContainerChildren().
14602         (addNotifyContainerChildren): Removed.
14603         (setPeer): New method from Classpath.
14604         (setTreeLock): Likewise.
14605         (setVisible): Rewrote.
14606         (show): Use it.
14607         (hide): Likewise.
14608         (validate): Set `valid'.
14609         (checkImage(Image,ImageObserver)): Implementation from Classpath.
14610         (createImage(ImageProducer)): Likewise.
14611         (prepareImage): Likewise.
14612         * java/awt/Container.java (addImpl): Handle case where constraint
14613         is not a String.  Post event via system event queue.
14614         (remove): Post event via system event queue.
14615         (validateTree): Only validate child if it is invalid.
14616         (getAlignmentX): Call super method as default.
14617         (getAlignmentY): Likewise.
14618         (addContainerListener): Now synchronized.
14619         (removeContainerListener): Likewise.
14620         (addNotifyContainerChildren): Now private.
14621         * java/awt/ComponentOrientation.java: Updated copyright.  Added
14622         @author.
14623         * java/awt/FlowLayout.java (serialVersionUID): New field.
14624         (setAlignment): Better exception message.
14625         (layoutContainer): Don't compute component's preferred size unless
14626         we're going to use it.
14627         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
14628         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
14629         (firstLine, lastLine, firstItem, lastItem): New fields.
14630         (addLayoutComponent): Handle case where constraints is null.
14631         Also, handle relative locations.
14632         (removeLayoutComponent): Handle relative locations.
14633         (MIN, MAX, PREF): New constants.
14634         (calcCompSize): New method.
14635         (calcSize): New method.
14636         (minimumLayoutSize): Use it.
14637         (preferredLayoutSize): Likewise.
14638         (maximumLayoutSize): Likewise.
14639         (toString): Include more information.
14640         (setBounds): New method.
14641         (layoutContainer): Use libgcj implementation; extended to handle
14642         relative locations.
14643
14644 2002-01-15  Tom Tromey  <tromey@redhat.com>
14645
14646         * java/lang/Float.java (equals): Preserve old code.
14647         * java/lang/Double.java (equals): Preserve old code.
14648
14649 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
14650
14651         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
14652         * java/lang/Float.java (equals, compare): Ditto.
14653
14654 2002-01-13  Mark Wielaard  <mark@klomp.org>
14655
14656         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
14657         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
14658         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
14659         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
14660
14661 2002-01-11  Mark Wielaard  <mark@klomp.org>
14662
14663         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
14664         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
14665         InetAddress.
14666         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
14667         * java/net/Socket.java: Merge with Classpath.
14668         * java/net/ServerSocket.java: Likewise.
14669
14670 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
14671
14672         * interpret.cc (NULLARRAYCHECK): New macro.
14673         (SAVE_PC): Just store `pc'.
14674         (find_exception): Subtract one from `pc' here.
14675         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
14676         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
14677         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
14678         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
14679         don't call SAVE_PC.
14680         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
14681         call SAVE_PC.
14682
14683 2002-01-11  Tom Tromey  <tromey@redhat.com>
14684
14685         * java/lang/natSystem.cc (init_properties): Only look for default
14686         locale if LC_MESSAGES is defined.
14687         * aclocal.m4, configure, include/config.h.in: Rebuilt.
14688         * configure.in: Call AM_LC_MESSAGES.
14689         * acinclude.m4 (AM_LC_MESSAGES): New macro.
14690
14691 2002-01-10  Tom Tromey  <tromey@redhat.com>
14692
14693         For PR libgcj/5303:
14694         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
14695         --version.  Recognize GNU-style long options.  Print GNU-style
14696         error messages.
14697         (usage): Print GNU-style help.  Exit with status 0.
14698         (error): New method.
14699         (run): Print error message if no class names found.
14700         (main): Don't print usage on error.
14701
14702 2002-01-09  Tom Tromey  <tromey@redhat.com>
14703
14704         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
14705         property.
14706         (help, version): Use println(), not println("").
14707
14708         For PR libgcj/5303:
14709         * gnu/gcj/convert/Convert.java (error): Program is called
14710         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
14711         -1.
14712         (main): Handle --help and --version.
14713         (help): New method.
14714         (version): Likewise.
14715
14716 2002-01-08  Tom Tromey  <tromey@redhat.com>
14717
14718         * Makefile.in: Rebuilt.
14719         * Makefile.am (ordinary_java_source_files): Added new files.
14720         * gnu/java/locale/LocaleInformation.java: Extend
14721         LocaleInformation_en.
14722         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
14723         and time/date formats.
14724         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
14725         generated.
14726         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
14727         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
14728         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
14729         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
14730         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
14731         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
14732         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
14733         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
14734         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
14735         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
14736         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
14737         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
14738         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
14739         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
14740         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
14741         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
14742         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
14743         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
14744         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
14745         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
14746         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
14747         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
14748         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
14749         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
14750         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
14751         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
14752         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
14753         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
14754         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
14755         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
14756         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
14757         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
14758         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
14759         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
14760         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
14761         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
14762         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
14763         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
14764         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
14765         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
14766         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
14767         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
14768         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
14769         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
14770         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
14771         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
14772         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
14773         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
14774         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
14775         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
14776         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
14777         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
14778         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
14779         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
14780         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
14781         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
14782         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
14783         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
14784         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
14785         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
14786         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
14787         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
14788         * gnu/java/locale/LocaleInformation_es_US.java: New file.
14789         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
14790         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
14791         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
14792         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
14793         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
14794         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
14795         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
14796         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
14797         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
14798         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
14799         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
14800         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
14801         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
14802         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
14803         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
14804         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
14805         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
14806         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
14807         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
14808         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
14809         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
14810         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
14811         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
14812         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
14813         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
14814         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
14815         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
14816         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
14817         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
14818         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
14819         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
14820         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
14821         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
14822         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
14823         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
14824         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
14825         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
14826         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
14827         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
14828         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
14829         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
14830         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
14831         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
14832         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
14833         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
14834         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
14835         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
14836         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
14837         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
14838         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
14839         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
14840         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
14841         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
14842         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
14843         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
14844         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
14845         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
14846         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
14847         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
14848         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
14849         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
14850         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
14851         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
14852         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
14853         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
14854         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
14855         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
14856
14857         For PR libgcj/5031:
14858         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
14859         choose default locale.
14860
14861         * Makefile.in: Rebuilt.
14862         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
14863
14864 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
14865
14866         * java/net/natPlainSocketImpl.cc: Added timeout handling for
14867         sockets.
14868         (close): New function closes the socket.
14869         (write): New functions for output to socket.
14870         (read): New functions for reading from socket.
14871         * java/net/PlainSocketImpl.java: Glue for new timeout
14872         implementation.
14873         (write): Call the native impl.
14874         (read): Likewise.
14875         (getInputStream): Get a stream to read from the socket.
14876         (getOutputStream): Get a stream to write to the socket.
14877
14878 2002-01-08  Tom Tromey  <tromey@redhat.com>
14879
14880         * resolve.cc (_Jv_PrepareClass): Enable verifier.
14881
14882 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
14883
14884         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
14885         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
14886
14887 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
14888
14889         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
14890         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
14891         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
14892         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
14893         insn_bastore, insn_castore, insn_sastore]: Use it.
14894         (continue1) [insn_arraylength]: Check for null array.
14895
14896 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
14897
14898         * configure, include/config.h.in: Rebuilt.
14899         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
14900         * configure.in: Call AC_STRUCT_TIMEZONE.
14901
14902 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
14903
14904         * configure.host: Disable the interpreter for Darwin.
14905
14906 2002-01-04  Tom Tromey  <tromey@redhat.com>
14907
14908         * java/lang/Thread.java (stop): No longer synchronized.
14909         (start): Likewise.
14910
14911 2002-01-02  Tom Tromey  <tromey@redhat.com>
14912
14913         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
14914         patch.
14915
14916 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
14917
14918         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
14919         PPC Darwin, not for all of Darwin.