* name-lookup.h (cxx_scope_find_binding_for_name): Don't export.
[official-gcc.git] / libjava / ChangeLog
blob67280d95943782efb0cd8afef53436a97a60bb81
1 2003-10-13  Tom Tromey  <tromey@redhat.com>
3         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields): Removed.
4         (defineClass): Updated.
5         (_Jv_NewClass): Likewise.
6         * prims.cc (_Jv_InitPrimClass): Don't call
7         _Jv_InitNewClassFields.
9 2003-10-13  Taras Judge  <taras.judge@shaw.ca>
11         PR libgcj/12592
12         * gnu/java/net/protocol/http/Connection.java (connect): Use \r\n,
13         not just \n.
15 2003-10-13  Michael Koch  <konqueror@gmx.de>
17         * java/io/File.java: Reformated.
18         (equals): Check for obj == null.
20 2003-10-13  Michael Koch  <konqueror@gmx.de>
22         * java/net/JarURLConnection.java
23         (jarFileURL): Added dcoumentation.
24         (jarFileURLConnection): Reformated documentation.
25         (entryName): Renamed from "element", documentation rewritten.
26         (connectionCache): Renamed from "conn_cache", documentation
27         reformated.
28         (JarURLConnection): Check URL protocol.
29         (getEntryName): Use entryName.
30         (connect): Use connectionCache.
31         (getInputStream): Use entryName, fixed comment.
32         (getJarEntry): Use entryName.
33         (getHeaders): Use entryName.
34         * java/net/URLConnection.java
35         (addRequestProperty): Fixed documentation.
36         (setDefaultRequestProptery): Added comment that it does nothing since
37         JDK 1.3.
38         (getDefaultRequestProperty): Likewise.
40 2003-10-13  Michael Koch  <konqueror@gmx.de>
42         * java/net/java/net/URLStreamHandlerFactory.java
43         (createURLStreamHandler): Removed redundant "public" modifier.
44         * java/sql/DatabaseMetaData.java:
45         (DatabaseMetaData):  Readded accidently removed "public" modifier.
46         * java/sql/ParameterMetaData.java:
47         (ParameterMetaData): Readded accidently removed "public" modifier.
48         * java/sql/PreparedStatement.java:
49         (PreparedStatement): Readded accidently removed "public" modifier.
50         * java/sql/Ref.java:
51         (Ref): Readded accidently removed "public" modifier.
53 2003-10-13  Michael Koch  <konqueror@gmx.de>
55         * java/nio/Buffer.java
56         (hasRemaining): Made implementation more clear.
57         * java/nio/MappedByteBuffer.java
58         (loaded): New member variable.
59         (force): Added comment.
60         (isLoaded): Return value of loaded.
61         (load): Set loaded to true, added comment.
63 2003-10-12  Michael Koch  <konqueror@gmx.de>
65         * gnu/java/nio/PipeImpl.java
66         (SourceChannelImpl): New inner class.
67         (SinkChannelImpl): New inner class.
68         (sink): New member variable.
69         (source): New member variable.
70         (PipeImpl): Add SelectorProvider argument, implemented.
71         (nativeInit): New method.
72         (sink): Return sink channel.
73         (source): Return source channel.
74         * gnu/java/nio/SelectorProviderImpl.java
75         (openPipe): Give provider as argument to PipeImpl constructor.
76         * java/nio/channels/spi/SelectorProvider.java
77         (pr): Removed.
78         (systemDefaultProvider): New member variable.
79         (provider): Made it synchronized, use property
80         java.nio.channels.spi.SelectorProvider.
81         * gnu/java/nio/natPipeImpl.cc: New file.
82         * Makefile.am (nat_source_files): Added gnu/java/nio/natPipeImpl.cc.
83         * Makefile.in: Regenerated.
85 2003-10-12  Michael Koch  <konqueror@gmx.de>
87         * javax/swing/table/DefaultTableModel.java,
88         javax/swing/table/TableCellEditor.java,
89         javax/swing/table/TableCellRenderer.java,
90         javax/swing/table/TableColumnModel.java,
91         javax/swing/table/TableModel.java,
92         javax/swing/text/AbstractDocument.java,
93         javax/swing/text/Document.java,
94         javax/swing/text/MutableAttributeSet.java,
95         javax/swing/text/StyledDocument.java,
96         javax/swing/text/ViewFactory.java,
97         javax/swing/tree/DefaultMutableTreeNode.java,
98         javax/swing/tree/MutableTreeNode.java,
99         javax/swing/tree/RowMapper.java,
100         javax/swing/tree/TreeCellEditor.java,
101         javax/swing/tree/TreeCellRenderer.java,
102         javax/swing/tree/TreeModel.java,
103         javax/swing/tree/TreeNode.java,
104         javax/swing/tree/TreeSelectionModel.java,
105         javax/swing/undo/StateEditable.java,
106         javax/swing/undo/UndoableEdit.java:
107         Removed redundant modifiers.
109 2003-10-12  Michael Koch  <konqueror@gmx.de>
111         * javax/swing/event/AncestorListener.java,
112         javax/swing/event/CaretListener.java,
113         javax/swing/event/CellEditorListener.java,
114         javax/swing/event/ChangeListener.java,
115         javax/swing/event/DocumentEvent.java,
116         javax/swing/event/DocumentListener.java,
117         javax/swing/event/HyperlinkListener.java,
118         javax/swing/event/InternalFrameListener.java,
119         javax/swing/event/ListDataListener.java,
120         javax/swing/event/ListSelectionListener.java,
121         javax/swing/event/MenuDragMouseListener.java,
122         javax/swing/event/MenuKeyListener.java,
123         javax/swing/event/MenuListener.java,
124         javax/swing/event/MouseInputListener.java,
125         javax/swing/event/PopupMenuListener.java,
126         javax/swing/event/TableColumnModelListener.java,
127         javax/swing/event/TableModelListener.java,
128         javax/swing/event/TreeExpansionListener.java,
129         javax/swing/event/TreeModelListener.java,
130         javax/swing/event/TreeSelectionListener.java,
131         javax/swing/event/TreeWillExpandListener.java,
132         javax/swing/event/UndoableEditListener.java,
133         javax/swing/plaf/UIResource.java,
134         javax/swing/plaf/metal/MetalLookAndFeel.java:
135         Removed redundant modifiers.
137 2003-10-12  Michael Koch  <konqueror@gmx.de>
139         * javax/swing/Action.java,
140         javax/swing/BoundedRangeModel.java,
141         javax/swing/CellEditor.java,
142         javax/swing/ComboBoxEditor.java,
143         javax/swing/ComboBoxModel.java,
144         javax/swing/DesktopManager.java,
145         javax/swing/JComboBox.java,
146         javax/swing/ListCellRenderer.java,
147         javax/swing/ListSelectionModel.java,
148         javax/swing/MenuElement.java,
149         javax/swing/MutableComboBoxModel.java,
150         javax/swing/Renderer.java,
151         javax/swing/RootPaneContainer.java,
152         javax/swing/ScrollPaneConstants.java,
153         javax/swing/SingleSelectionModel.java,
154         javax/swing/SpinnerModel.java,
155         javax/swing/SwingConstants.java,
156         javax/swing/UIDefaults.java,
157         javax/swing/WindowConstants.java,
158         javax/swing/border/Border.java,
159         javax/swing/colorchooser/ColorSelectionModel.java:
160         Removed redundant modifiers.
162 2003-10-11  Michael Koch  <konqueror@gmx.de>
164         * javax/transaction/Status.java,
165         javax/transaction/Synchronization.java,
166         javax/transaction/Transaction.java,
167         javax/transaction/TransactionManager.java,
168         javax/transaction/UserTransaction.java,
169         javax/transaction/xa/XAResource.java,
170         javax/transaction/xa/Xid.java:
171         Removing redundant modifiers.
173 2003-10-11  Michael Koch  <konqueror@gmx.de>
175         * javax/print/attribute/Attribute.java,
176         javax/print/attribute/AttributeSet.java,
177         javax/print/attribute/PrintRequestAttributeSet.java:
178         Removing redundant modifiers.
180 2003-10-11  Michael Koch  <konqueror@gmx.de>
182         * javax/sql/ConnectionEventListener.java,
183         javax/sql/ConnectionPoolDataSource.java,
184         javax/sql/DataSource.java,
185         javax/sql/PooledConnection.java,
186         javax/sql/RowSet.java,
187         javax/sql/RowSetInternal.java,
188         javax/sql/RowSetListener.java,
189         javax/sql/RowSetMetaData.java,
190         javax/sql/RowSetReader.java,
191         javax/sql/RowSetWriter.java,
192         javax/sql/XAConnection.java,
193         javax/sql/XADataSource.java:
194         Removing redundant modifiers.
196 2003-10-11  Michael Koch  <konqueror@gmx.de>
198         * javax/naming/Context.java,
199         javax/naming/Name.java,
200         javax/naming/NameParser.java,
201         javax/naming/NamingEnumeration.java,
202         javax/naming/Referenceable.java,
203         javax/naming/directory/Attribute.java,
204         javax/naming/directory/Attributes.java,
205         javax/naming/directory/DirContext.java,
206         javax/naming/event/EventContext.java,
207         javax/naming/event/EventDirContext.java,
208         javax/naming/event/NamespaceChangeListener.java,
209         javax/naming/event/NamingListener.java,
210         javax/naming/event/ObjectChangeListener.java,
211         javax/naming/ldap/Control.java,
212         javax/naming/ldap/ExtendedRequest.java,
213         javax/naming/ldap/ExtendedResponse.java,
214         javax/naming/ldap/HasControls.java,
215         javax/naming/ldap/LdapContext.java,
216         javax/naming/ldap/UnsolicitedNotification.java,
217         javax/naming/ldap/UnsolicitedNotificationListener.java,
218         javax/naming/spi/DirObjectFactory.java,
219         javax/naming/spi/DirStateFactory.java,
220         javax/naming/spi/InitialContextFactory.java,
221         javax/naming/spi/InitialContextFactoryBuilder.java,
222         javax/naming/spi/ObjectFactory.java,
223         javax/naming/spi/ObjectFactoryBuilder.java,
224         javax/naming/spi/Resolver.java,
225         javax/naming/spi/StateFactory.java:
226         Removing redundant modifiers.
228 2003-10-11  Michael Koch  <konqueror@gmx.de>
230         * java/security/Key.java,
231         * java/security/PrivateKey.java,
232         * java/security/PublicKey.java,
233         * java/security/acl/Acl.java,
234         * java/security/acl/AclEntry.java,
235         * java/security/acl/Group.java,
236         * java/security/acl/Owner.java,
237         * java/security/acl/Permission.java,
238         * java/security/cert/X509Extension.java,
239         * java/security/interfaces/DSAKey.java,
240         * java/security/interfaces/DSAKeyPairGenerator.java,
241         * java/security/interfaces/DSAParams.java,
242         * java/security/interfaces/DSAPrivateKey.java,
243         * java/security/interfaces/DSAPublicKey.java,
244         * java/security/interfaces/RSAKey.java,
245         * java/security/interfaces/RSAPrivateCrtKey.java,
246         * java/security/interfaces/RSAPrivateKey.java,
247         * java/security/interfaces/RSAPublicKey.java:
248         Removed redundant modifiers.
250 2003-10-11  Michael Koch  <konqueror@gmx.de>
252         * gnu/java/rmi/server/ProtocolConstants.java,
253         gnu/java/security/der/DER.java:
254         Removing redundant modifiers.
256 2003-10-11  Michael Koch  <konqueror@gmx.de>
258         * java/util/Map.java,
259         java/util/Observer.java,
260         java/util/zip/Checksum.java,
261         java/util/zip/ZipConstants.java:
262         Removed redundant modifiers.
264 2003-10-11  Michael Koch  <konqueror@gmx.de>
266         * java/text/AttributedCharacterIterator.java,
267         java/text/CharacterIterator.java:
268         Removed redundant modifiers.
270 2003-10-11  Michael Koch  <konqueror@gmx.de>
272         * java/sql/Array.java,
273         java/sql/Blob.java,
274         java/sql/CallableStatement.java,
275         java/sql/Clob.java,
276         java/sql/Connection.java,
277         java/sql/DatabaseMetaData.java,
278         java/sql/Driver.java,
279         java/sql/ParameterMetaData.java,
280         java/sql/PreparedStatement.java,
281         java/sql/Ref.java,
282         java/sql/ResultSet.java,
283         java/sql/ResultSetMetaData.java,
284         java/sql/SQLData.java,
285         java/sql/SQLInput.java,
286         java/sql/SQLOutput.java,
287         java/sql/Savepoint.java,
288         java/sql/Statement.java,
289         java/sql/Struct.java:
290         Removed redundant modifiers.
292 2003-10-11  Michael Koch  <konqueror@gmx.de>
294         * java/nio/channels/Channel.java,
295         java/nio/channels/GatheringByteChannel.java,
296         java/nio/channels/ReadableByteChannel.java,
297         java/nio/channels/ScatteringByteChannel.java,
298         java/nio/channels/WritableByteChannel.java:
299         Removed redundant modifiers.
301 2003-10-11  Michael Koch  <konqueror@gmx.de>
303         * java/rmi/activation/ActivationInstantiator.java,
304         java/rmi/activation/ActivationMonitor.java,
305         java/rmi/activation/ActivationSystem.java,
306         java/rmi/activation/Activator.java,
307         java/rmi/dgc/DGC.java,
308         java/rmi/registry/Registry.java,
309         java/rmi/registry/RegistryHandler.java,
310         java/rmi/server/LoaderHandler.java,
311         java/rmi/server/RMIClientSocketFactory.java,
312         java/rmi/server/RMIFailureHandler.java,
313         java/rmi/server/RMIServerSocketFactory.java,
314         java/rmi/server/RemoteCall.java,
315         java/rmi/server/RemoteRef.java,
316         java/rmi/server/ServerRef.java,
317         java/rmi/server/Skeleton.java,
318         java/rmi/server/Unreferenced.java:
319         Removed redundant modifiers.
321 2003-10-11  Michael Koch  <konqueror@gmx.de>
323         * java/net/ContentHandlerFactory.java,
324         java/net/DatagramSocketImplFactory.java,
325         java/net/FileNameMap.java,
326         java/net/SocketImplFactory.java,
327         java/net/SocketOptions.java,
328         java/net/URLStreamHandlerFactory.java:
329         Removed redundant modifiers.
331 2003-10-11  Michael Koch  <konqueror@gmx.de>
333         * java/io/Externalizable.java,
334         java/io/FileFilter.java,
335         java/io/FilePermission.java,
336         java/io/ObjectInput.java,
337         java/io/ObjectInputValidation.java,
338         java/io/ObjectOutput.java,
339         java/io/ObjectStreamClass.java,
340         java/io/ObjectStreamConstants.java,
341         java/io/Serializable.java:
342         Removed redundant modifiers.
344 2003-10-11  Ingo Proetel  <proetel@aicas.com>
346         * java/rmi/server/RMIClassLoader.java: Identify cached classloaders by 
347         codebase and context classloader.
349 2003-10-11  Michael Koch  <konqueror@gmx.de>
351         * java/beans/beancontext/BeanContext.java,
352         java/beans/beancontext/BeanContextChild.java,
353         java/beans/beancontext/BeanContextChildComponentProxy.java,
354         java/beans/beancontext/BeanContextChildSupport.java,
355         java/beans/beancontext/BeanContextContainerProxy.java,
356         java/beans/beancontext/BeanContextMembershipListener.java,
357         java/beans/beancontext/BeanContextProxy.java,
358         java/beans/beancontext/BeanContextServiceProvider.java,
359         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java,
360         java/beans/beancontext/BeanContextServiceRevokedListener.java,
361         java/beans/beancontext/BeanContextServices.java,
362         java/beans/beancontext/BeanContextServicesListener.java:
363         Removed redundant modifiers.
365 2003-10-11  Michael Koch  <konqueror@gmx.de>
367         * java/beans/AppletInitializer.java,
368         java/beans/BeanInfo.java,
369         java/beans/Customizer.java,
370         java/beans/DesignMode.java,
371         java/beans/PropertyEditor.java,
372         java/beans/Visibility.java:
373         Removed redundant modifiers.
375 2003-10-11  Michael Koch  <konqueror@gmx.de>
377         * java/awt/print/Pageable.java,
378         * java/awt/print/Printable.java,
379         java/awt/print/PrinterGraphics.java:
380         Removed redundant modifiers.
382 2003-10-11  Michael Koch  <konqueror@gmx.de>
384         * java/awt/peer/ButtonPeer.java,
385         java/awt/peer/CheckboxMenuItemPeer.java,
386         java/awt/peer/CheckboxPeer.java,
387         java/awt/peer/ChoicePeer.java,
388         java/awt/peer/ComponentPeer.java,
389         java/awt/peer/ContainerPeer.java,
390         java/awt/peer/DialogPeer.java,
391         java/awt/peer/FileDialogPeer.java,
392         java/awt/peer/FramePeer.java,
393         java/awt/peer/LabelPeer.java,
394         java/awt/peer/ListPeer.java,
395         java/awt/peer/MenuBarPeer.java,
396         java/awt/peer/MenuComponentPeer.java,
397         java/awt/peer/MenuItemPeer.java,
398         java/awt/peer/MenuPeer.java,
399         java/awt/peer/PopupMenuPeer.java,
400         java/awt/peer/RobotPeer.java,
401         java/awt/peer/ScrollPanePeer.java,
402         java/awt/peer/ScrollbarPeer.java,
403         java/awt/peer/TextAreaPeer.java,
404         java/awt/peer/TextComponentPeer.java,
405         java/awt/peer/TextFieldPeer.java,
406         java/awt/peer/WindowPeer.java:
407         Removed redundant modifiers.
409 2003-10-11  Michael Koch  <konqueror@gmx.de>
411         * gnu/java/nio/NIOSocket.java (setChannel): Initialize impl.
412         * gnu/java/nio/ServerSocketChannelImpl.java
413         (serverSocket): Made it a NIOServerSocket.
414         (impl): Removed.
415         (ServerSocketChannelImpl): Initialize only serverSocket.
416         (initServerSocket): Removed.
417         (getNativeFD): Rewritten.
418         (implConfigureBlocking): Set socket timeout and removed comment.
419         (accept): Rewritten.
420         * gnu/java/nio/SocketChannelImpl.java
421         (impl): New variable.
422         (connected): Removed.
423         (SocketChannelImpl): Initialize impl too.
424         (getImpl): New method.
425         (isConnected): Rewritten.
426         (read): Rewritten, set position in buffer correctly.
427         (write): Set position in buffer correctly.
428         * java/net/ServerSocket.java (getImpl): New method.
429         * gnu/java/nio/NIOServerSocket.java,
430         gnu/java/nio/natNIOServerSocket.cc: New files.
431         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
432         * Makefile.am
433         (ordinary_java_source_files):
434         Added gnu/java/nio/NIOServerSocket.java.
435         (nat_source_files):
436         Removed gnu/java/nio/natServerSocketChannelImpl.cc
437         and added gnu/java/nio/natNIOServerSocket.cc.
438         * Makefile.in: Regenerated.
440 2003-10-11  Michael Koch  <konqueror@gmx.de>
442         * java/awt/ActiveEvent.java,
443         java/awt/datatransfer/ClipboardOwner.java,
444         java/awt/datatransfer/FlavorMap.java,
445         java/awt/datatransfer/Transferable.java,
446         java/awt/dnd/Autoscroll.java,
447         java/awt/dnd/peer/DragSourceContextPeer.java,
448         java/awt/dnd/peer/DropTargetContextPeer.java,
449         java/awt/dnd/peer/DropTargetPeer.java,
450         java/awt/font/MultipleMaster.java,
451         java/awt/font/OpenType.java,
452         java/awt/im/spi/InputMethodDescriptor.java,
453         java/awt/image/ImageObserver.java,
454         java/awt/image/ImageConsumer.java,
455         java/awt/image/ImageProducer.java,
456         java/awt/image/RGBImageFilter.java,
457         java/awt/image/RasterOp.java,
458         java/awt/image/renderable/RenderableImage.java:
459         Removed redundant modifiers.
461 2003-10-11  Michael Koch  <konqueror@gmx.de>
463         * gnu/awt/j2d/DirectRasterGraphics.java,
464         gnu/java/awt/EmbeddedWindowSupport.java:
465         Removed redundant modifiers.
467 2003-10-09  Michael Koch  <konqueror@gmx.de>
469         * gnu/java/nio/SelectorImpl.java (register):
470         Use ServerSocketChannelSelectionKey for server socket channels,
471         removed unneeded comments.
472         * gnu/java/nio/ServerSocketChannelImpl.java
473         (ServerSocketChannelImpl): Made class public final.
474         (impl): New member variable.
475         (ServerSocketChannelImpl): Initialize member variables correctly.
476         (initServerSocket): New method.
477         (getNativeFD): Likewise.
478         * gnu/java/nio/ServerSocketChannelSelectionKey.java,
479         gnu/java/nio/natServerSocketChannelImpl.cc: New files.
480         * Makefile.am (ordinary_java_source_files):
481         Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
482         (nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
483         * Makefile.in: Regenrated.
485 2003-10-09  Michael Koch  <konqueror@gmx.de>
487         * java/nio/channels/spi/AbstractSelectableChannel.java
488         (registered): Made private.
489         (blocking): Likewise.
490         (LOCK): Likewise.
491         (provider): Likewise.
492         (keys): Made it a private LinkedList.
493         (AbstractSelectableChannel): Initialize keys.
494         (isRegistered): New implementation.
495         (locate): Rewritten.
496         (register): Rewritten.
497         * java/nio/channels/spi/AbstractSelectionKey.java
498         (ok): Removed.
499         (cancelled): New member variable.
500         (cancel): Rewritten.
501         (isValid): Rewritten.
502         * java/nio/channels/spi/AbstractSelector.java:
503         Some methods moved.
504         (closed): Make private.
505         (provider): Likewise.
506         (cancelledKeys): New member variable.
507         (AbstractSelector): Initialize cancelledKeys.
508         (cancelKey): New method.
510 2003-10-09  Tom Tromey  <tromey@redhat.com>
512         * java/lang/ClassLoader.java (setSigners): Implemented.
513         * boehm.cc (_Jv_MarkObj): Mark `signers' field.
514         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
515         Initialize new fields.
516         * java/lang/Class.java (getSigners): Now native.
517         (setSigners): Declare.
518         * java/lang/natClass.cc (getSigners): New method.
519         (getSigners): Likewise.
520         * java/lang/Class.h (Class::signers): New field.
521         (Class::setSigners): New method.
523 2003-10-09  Michael Koch  <konqueror@gmx.de>
525         * java/rmi/server/RMIClassLoader.java:
526         Removed unused imports, little reformatings.
527         (getClassLoader): New method, implementation was part of old loadCLass
528         method.
529         (loadClass): Simplified by moving functionality to new method and
530         reworking the code a bit.
531         (getClassAnnotation): Merged documentation from classpath.
533 2003-10-09  Michael Koch  <konqueror@gmx.de>
535         * java/math/BigInteger.java
536         (add): Removed unused local variable len.
538 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
540         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
541         modality check.
542         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
543         Initialize insets to use latest insets.
544         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
545         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
546         field.
547         (postConfigureEvent): Update latestInsets field when insets
548         change.  Remove call to setSize.  Move validate call outside of
549         if blocks.
550         (setVisible): Call setBounds before showing window.
551         (nativeSetVisible): New native method.
552         * java/awt/Window.java (show): Show visible owned windows.
553         (hide): Hide visible owned windows.
554         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
555         (awt_event_handler): Implement modality using GTK grabs.
556         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
557         (global_gtk_window_group): New global variable.
558         (gtkInit): Initialize global_gtk_window_group.
559         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
560         Clamp width and height values to at least 1.  Add this window to
561         the global GTK window group.
562         (setVisible): Rename to nativeSetVisible.
563         (setup_window): Remove function.
564         (setSize): Clamp width and height values to at least 1.
565         (nativeSetBounds): Likewise.
566         (gdk_window_get_root_geometry): Remove function.
567         * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
568         and setup_window declarations.  Declare global_gtk_window_group.
570         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
571         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
572         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
573         (gtkWidgetSetForeground): New method.
574         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
575         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
576         (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
577         (setBackground, setForeground): Implement.
578         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
579         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
580         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
581         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
582         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
583         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
584         Position PangoLayout relative to text's baseline.
585         * jni/gtk-peer/gtkpeer.h: Define AWT font style constants.
587         * java/awt/FlowLayout.java (layoutContainer): Fix offset problem
588         for CENTER and RIGHT alignments.
590 2003-10-08  Michael Koch  <konqueror@gmx.de>
592         * java/security/Security.java: Reformated.
594 2003-10-08  Michael Koch  <konqueror@gmx.de>
596         * java/text/SimpleDateFormat.java
597         (compileFormat): Replace Character.isLetter() test with
598         Character.isLowerCase() || Character.isUpperCase().
600 2003-10-08  Tom Tromey  <tromey@redhat.com>
602         * java/lang/StrictMath.java (toDegrees): Multiply before
603         dividing.
604         (toRadians): Likewise.
606 2003-10-08  C. Brian Jones  <cbj@gnu.org>
608         * java/lang/Math.java
609         (toRadians): multiply before dividing to reduce decimal error
610         (toDegrees): ditto
612 2003-10-08  Michael Koch  <konqueror@gmx.de>
614         * gnu/gcj/protocol/core/Connection.java,
615         gnu/gcj/protocol/core/CoreInputStream.java,
616         gnu/gcj/protocol/core/Handler.java,
617         gnu/gcj/protocol/core/natCoreInputStream.cc,
618         gnu/gcj/protocol/file/Connection.java,
619         gnu/gcj/protocol/file/Handler.java,
620         gnu/gcj/protocol/gcjlib/Connection.java,
621         gnu/gcj/protocol/gcjlib/Handler.java,
622         gnu/gcj/protocol/http/Connection.java,
623         gnu/gcj/protocol/http/Handler.java,
624         gnu/gcj/protocol/jar/Connection.java,
625         gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
626         * gnu/java/net/protocol/core/Connection.java,
627         gnu/java/net/protocol/core/CoreInputStream.java,
628         gnu/java/net/protocol/core/Handler.java,
629         gnu/java/net/protocol/core/natCoreInputStream.cc,
630         gnu/java/net/protocol/file/Connection.java,
631         gnu/java/net/protocol/file/Handler.java,
632         gnu/java/net/protocol/gcjlib/Connection.java,
633         gnu/java/net/protocol/gcjlib/Handler.java,
634         gnu/java/net/protocol/http/Connection.java,
635         gnu/java/net/protocol/http/Handler.java,
636         gnu/java/net/protocol/jar/Connection.java,
637         gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
638         * gnu/gcj/runtime/FirstThread.java,
639         java/net/URL.java: Use moved protocol handlers.
640         * Makefile.am
641         (ordinary_java_source_files): Moved files.
642         (nat_source_files): Likewise.
643         * Makefile.in: Regenerated.
645 2003-10-08  Michael Koch  <konqueror@gmx.de>
647         * gnu/java/nio/SocketChannelImpl.java
648         (read): Write only read data to buffer.
650 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
652         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
653         out.
654         * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
655         (JCL_free): Attach "unused" attribute to env parameter.
656         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
657         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
658         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
659         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
660         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
661         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
662         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
663         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
664         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
665         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
666         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
667         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
668         jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
669         parameters.
670         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
671         (initNativeState): Pass 0 as info argument to
672         gtk_selection_add_target.
673         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
674         (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
675         unused method implementations.
676         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
677         (awt_event_handler): Add break statement after default label.
678         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
679         (drawPixels): Remove unused variable i.
680         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
681         (setEnabled): Remove method implementation.
682         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
683         (accel_attach): Call _gtk_accel_group_attach with G_OBJECT
684         argument.
685         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
686         unused function.
687         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
688         (menu_pos): Assign TRUE to push_in.
689         (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
690         argument.
691         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
692         (create): Remove unused variable layout.
693         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
694         Pass window_widget, rather than window, to
695         gtk_widget_set_size_request.
696         * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
697         structure initialization with NULL values.
698         * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.
700 2003-10-08  Michael Koch  <konqueror@gmx.de>
702         * java/util/LinkedList.java:
703         Removed whitespace to match classpath's version again.
705 2003-10-08  Michael Koch  <konqueror@gmx.de>
707         * java/util/prefs/Preferences.java
708         (defaultFactoryClass): Fixed class name.
709         (getFactory): Create instance of class returned by Class.forName(),
710         reformated code.
712 2003-10-08  Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
714         * javax/swing/table/AbstractTableModel.java
715         (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
716         helped stop pulling my hair on this +1 then -1 tricky thing!
718 2003-10-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
720         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
721         Remove unused parameters.
722         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
723         Likewise.
724         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
725         (keyevent_state_to_awt_mods): Export function.
726         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
727         (getCaretPosition): Fix TextArea case.
728         (textcomponent_commit_cb): Get exact event time and modifier
729         state.
730         * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.
732 2003-10-02  Guilhem Lavaux  <guilhem@kaffe.org>
734         * java/net/InetSocketAddress.java
735         (InetSocketAddress): Made exception more clear.
736         (equals): Handle case when addr is null.
737         (toString): Likewise.
738         * java/net/NetworkInterface.java
739         (static): Load native library.
740         (getNetworkInterfaces): Rewritten.
742 2003-10-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
744         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
745         field.
746         (initializeInsets): New method.
747         (GtkComponentPeer): Call initializeInsets.  Call setCursor and
748         setBounds unconditionally.
749         (setBounds): Convert coordinates if parent is a Window.
750         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
751         field to GtkComponentPeer.
752         (GtkContainerPeer): Don't initialize insets.
753         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
754         New method.
755         (create): Call new GtkWindowPeer create method.
756         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
757         New method.
758         (create): Call new GtkWindowPeer create method.
759         (setBounds): Remove method.
760         (postConfigureEvent): Likewise.
761         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
762         type constants with GDK window type constants.
763         (create(int,boolean,int,int,GtkWindowPeer)): New method.
764         (create(int,boolean)): Likewise.
765         (create()): Call create(int,boolean).
766         (nativeSetBounds): New native method declaration.
767         (setBounds): Call native method declaration.
768         (setSize): New native method declaration.
769         (setBoundsCallback): Likewise.
770         (postConfigureEvent): Handle change in insets.  Call setSize and
771         setBoundsCallback methods.
772         * java/awt/Window.java (Window): Set visible to false.
773         (setBoundsCallback): New method.
774         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
775         (gtkWidgetGetLocationOnScreen): If this component is not a
776         container, adjust the location returned based on the peer's
777         allocation.
778         (set(String,boolean)): Revert change from 2003-09-19.
779         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
780         (awt_event_handler): Fix inset calculation.
781         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
782         glue for Window.setBoundsCallback.
783         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
784         Set up stacking order, window decorations and window manager
785         hints.
786         (setBoundsCallback): New method.
787         (setSize): New method.
788         (nativeSetBounds): New method.
789         * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
791 2003-10-02  Tom Tromey  <tromey@redhat.com>
793         * java/lang/VMClassLoader.java (loadClass): Now native.
794         * java/lang/natClassLoader.cc (loadClass): Implement.
795         * prims.cc (_Jv_RunMain): Initialize ClassLoader.
797 2003-10-02  Michael Koch  <konqueror@gmx.de>
799         * java/net/InetAddress.java
800         (zeros): Removed.
801         (ANY_IF): Initalizie in static block.
802         (static): Load library with native methods here and initialize ANY_IF.
803         (isAnyLocalAddress): Check if equal to ANY_IF.
804         (equals): Use addr directly instead of addr1. Simplify for loop.
805         (toString): Rename "result" to "host" and add IP address allways.
806         (getLocalHost): Merged documentation from classpath.
807         * java/net/ServerSocket.java
808         (ServerSocket): New package-private constructor used by java.nio.
809         * java/net/URLConnection.java
810         (getRequestProperties): Check if already connected.
812 2003-10-02  Michael Koch  <konqueror@gmx.de>
814         * java/nio/ByteBufferHelper.java:
815         Rewrote all methods by suggestions from Eric Blake.
817 2003-10-02  Michael Koch  <konqueror@gmx.de>
819         * java/net/URL.java
820         (DEFAULT_SEARCH_PATH): New static variable.
821         (ph_cache): Made it a HashMap.
822         (getURLStreamHandler): Rename propVal to ph_search_path and use
823         DEFAULT_SEARCH_PATH.
825 2003-10-02  Michael Koch  <konqueror@gmx.de>
827         * javax/swing/table/AbstractTableModel.java
828         (findColumnName): Prevent from NullPointerException if argument
829         columnName is null.
831 2003-10-02  Michael Koch  <konqueror@gmx.de>
833         * javax/swing/table/AbstractTableModel.java:
834         This patch is based on a patch done by Arnaud Vandyck
835         <arnaud.vandyck@ulg.ac.be>.
836         (getColumnName): Fixed method documentation.
837         (findColumn): Likewise.
838         (getColumnClass): Likewise.
839         (isCellEditable): Likewise.
840         (setValueAt): Likewise.
841         (addTableModelListener): Likewise.
842         (removeTableModelListener): Likewise.
843         (getTableModelListeners): New method.
845 2003-10-02  Michael Koch  <konqueror@gmx.de>
847         * javax/swing/table/AbstractTableModel.java:
848         Reformated.
850 2003-10-01  Bryce McKinlay  <bryce@mckinlay.net.nz>
852         Fix PR libgcj/12475
853         * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
854         * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
856 2003-10-01  Tom Tromey  <tromey@redhat.com>
858         * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
860 2003-10-01  Andrew Haley  <aph@redhat.com>
862         * java/lang/natClass.cc (initializeClass): Check for otable and
863         atable.
864         (_Jv_LinkOffsetTable): Check for existence of atable.  Rewrite
865         loops using for().  Search superinterfaces.  Check for fields as
866         well as methods.  Initialize atable as well as otable: check for
867         static methods as well as virtual methods.
868         * java/lang/Class.h (struct _Jv_AddressTable): New.
869         (atable): New.
870         (atable_syms): New.
871         * include/jvm.h (_Jv_equalUtf8Consts): constify.
872         * prims.cc (_Jv_equalUtf8Consts): constify.
874 2003-09-29  Tom Tromey  <tromey@redhat.com>
876         PR libgcj/10596:
877         * include/jvm.h (_Jv_FinalizeString,
878         _Jv_RegisterStringFinalizer): Declare.
879         * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
880         unintern.
881         (intern): Updated.
882         (_Jv_NewStringUtf8Const): Likewise.
883         * java/lang/ref/natReference.cc (finalize_referred_to_object):
884         Add special case when finalizing a String.
885         (in_hash): New function.
886         (_Jv_RegisterStringFinalizer): Likewise.
887         (maybe_add_finalize): Likewise.
889 2003-09-29  Michael Koch  <konqueror@gmx.de>
891         * java/net/InetAddress.java:
892         (isMulticastAddress): Dont use local variable to store address length.
893         Let the compiler optimize this.
894         (getHostName): Merged dcoumentation from classpath.
895         (getAddress): Likewise.
896         (getHostAddress): Likewise.
897         (hashCode): Likewise.
898         (equals): Likewise.
899         (toString): Likewise.
900         (getByName): Likewise.
901         (getAllByName): Likewise.
903 2003-09-29  Michael Koch  <konqueror@gmx.de>
905         * java/awt/image/IndexColorModel.java: Reformated.
907 2003-09-29  Michael Koch  <konqueror@gmx.de>
909         * java/net/InetAddress.java,
910         java/net/URL.java: Reformated.
912 2003-09-29  Bryce McKinlay  <bryce@mckinlay.net.nz>
914         * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most 
915         significant bit of descriptor. Include the vtable and sync_info 
916         fields.
918 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
920         * java/text/DateFormat.java (format): Throw IllegalArgumentException
921         if `obj' is not a Number or Date instance.
922         * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
923         instead of Vector.
925 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
927         * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
928         Don't call setTimeZone on calendar.
930 2003-09-27  Michael Koch  <konqueror@gmx.de>
932         * java/net/URL.java (getURLStreamHandler): Compile fixes.
934 2003-09-27  Michael Koch  <konqueror@gmx.de>
936         * java/net/URL.java (getURLStreamHandler):
937         Check if we have to use cache before trying to retrieve handler from
938         cache. Rename facName to clsName to match classpath more. Reformated
939         some little pieces.
941 2003-09-27  Michael Koch  <konqueror@gmx.de>
943         * gnu/java/nio/SelectionKeyImpl.java
944         (ch): Make package-private again. Jikes found this bug.
945         Jeff Sturm submitted PR12426 for this to bugzilla
946         to fix this bug in gcj.
948 2003-09-26  Michael Koch  <konqueror@gmx.de>
950         * java/rmi/server/RMIClassLoader.java:
951         Reformatted file, no functional code changes.
953 2003-09-26  Sascha Brawer  <brawer@dandelis.ch>
955         * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer): 
956         Save space for some pixels at the buffer end.  Added Javadoc.
958 2003-09-26  Tom Tromey  <tromey@redhat.com>
960         * java/io/ObjectOutputStream.java (writeFields): Fixed
961         indentation.
962         (putFields): Likewise.
964 2003-09-26  Michael Koch  <konqueror@gmx.de>
966         * java/nio/ByteBufferHelper.java:
967         Totally reworked with help from Eric Blake.
969 2003-09-26  Tom Tromey  <tromey@redhat.com>
971         * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
972         * java/awt/geom/PathIterator.java: Documentation fixes.
974 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
976         * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
977         (select): Likewise.
978         (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
980 2003-09-25  Michael Koch  <konqueror@gmx.de>
982         * gnu/java/nio/DatagramChannelImpl.java
983         (getNativeFD): New method.
984         * gnu/java/nio/SelectionKeyImpl.java
985         (SelectionKeyImpl): Class made abstract.
986         (fd): Removed.
987         (SelectionKeyImpl): Remove fd argument.
988         (getNativeFD): New method.
989         * gnu/java/nio/SocketChannelImpl.java
990         (getNativeFD): New method.
991         gnu/java/nio/DatagramChannelSelectionKey.java,
992         * gnu/java/nio/SocketChannelSelectionKey.java:
993         New files.
994         * Makefile.am (ordinary_java_source_files):
995         Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
996         gnu/java/nio/SocketChannelSelectionKey.java.
997         * Makefile.in: Regenerated.
999 2003-09-25  Michael Koch  <konqueror@gmx.de>
1001         * java/lang/reflect/Proxy.java
1002         (getProxyClass): Remove workaround for gcj 3.0.x.
1004 2003-09-25  Michael Koch  <konqueror@gmx.de>
1006         * gnu/java/net/PlainDatagramSocketImpl.java
1007         (finalize): Moved to directly after constructor.
1008         (getNativeFD): New method.
1009         * gnu/java/net/PlainSocketImpl.java
1010         (getNativeFD): New method.
1012 2003-09-25  Ingo Proetel  <proetel@aicas.com>
1014         * java/io/ObjectOutputStream.java:
1015         Allow putFields be called more than once.
1017 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
1019         * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
1020         * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
1021         * java/awt/image/BufferedImage.java (toString): Implement.
1023 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
1025         * aclocal.m4: Rebuilt.
1026         * configure: Rebuilt.
1028 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
1030         * java/text/SimpleDateFormat.java (parse): Don't use class calendar
1031         field.
1033 2003-09-25  Michael Koch  <konqueror@gmx.de>
1035         * gnu/java/nio/SelectorImpl.java
1036         (implSelect): Renamed from java_do_select.
1037         (select): Call native implSelect() and add support for Thread
1038         interruption.
1039         * gnu/java/nio/natSelectorImpl.cc
1040         (implSelect): Renamed from java_do_select.
1042 2003-09-25  Michael Koch  <konqueror@gmx.de>
1044         * gnu/java/nio/SelectorImpl.java
1045         (selectNow): Made final, throws IOException.
1046         (select): Likewise.
1047         (getFDsAsArray): Made final.
1048         (selectedKeys): Likewise.
1049         (wakeup): Likewise.
1050         (deregisterCancelledKeys): Likewise.
1051         (register): Likewise.
1052         (ass): Removed.
1053         (add_selected): Removed.
1054         * gnu/java/nio/natSelectorImpl.cc:
1055         No need to include bstring.h or gcj/cni.h.
1056         (helper_put_filedescriptors): Rewritten.
1057         (helper_get_filedescriptors): Rewritten.
1059 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
1061         * java/awt/font/FontRenderContext.java (getTransform): Return
1062         copy of internal transform object. Add Javadoc.
1063         * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
1064         winding rule as Sun J2SE.
1065         * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
1067 2003-09-25  Ingo Proetel  <proetel@aicas.com>
1069         * java/rmi/Naming.java:
1070         Added comments, now accepts pseudo protocol "rmi".
1072 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
1074         * java/text/DecimalFormat.java (format): Don't immediatly round
1075         baseNumber to long.
1076         (setMinimumIntegerDigits): Call super.
1077         (setMinimumFractionDigits): Likewise.
1078         (setMaximumIntegerDigits): Likewise.
1079         (setMaximumFractionDigits): Likewise.
1081 2003-09-25  Michael Koch  <konqueror@gmx.de>
1083         * gnu/java/nio/DatagramChannelImpl.java
1084         (DatagramChannelImpl): Made class final.
1085         (blocking): Made private.
1086         (socket): Made it a NIODatagramSocket and private.
1087         (DatagramChannelImpl): create NIODatagramSocket instead of
1088         DatagramSocket.
1089         (implConfigureBlocking): Set socket timeout.
1090         (connect): Check that channel is not closed.
1091         (write): Implemented.
1092         (write): Rewritten.
1093         (read): Implemented.
1094         (read): Rewritten.
1095         (receive): Implemented.
1096         (send): Implemented.
1097         * gnu/java/nio/SelectionKeyImpl.java
1098         (readyOps): Made private.
1099         (interestOps): Made private.
1100         (impl): Made private.
1101         (ch): Made private.
1102         (readyOps): Check if selection key is valid.
1103         (interestOps): Likewise.
1104         * gnu/java/nio/SelectorImpl.java
1105         (closed): Removed.
1106         (keys): Made private.
1107         (selected): Made private.
1108         (finalize): New method.
1109         (implCloseSelector): Rewritten.
1110         (keys): Return unmodifiable Set.
1111         (deregisterCancelledKeys): Fixed typo in method name.
1112         * gnu/java/nio/SocketChannelImpl.java
1113         (SocketChannelImpl): Made class final.
1114         (socket): Made it a NIOSocket and private.
1115         (blocking): Made private.
1116         (connected): Made private.
1117         (connectionPending): New member variable.
1118         (SocketChannelImpl): New implementation.
1119         (finalizer): Use isConnected().
1120         (connect): Rewritten.
1121         (finishConnect): Throws IOException, implemented.
1122         (isConnectionPending): Return connectionPending.
1123         (read): Rewritten.
1124         (write): Rewritten.
1125         * gnu/java/nio/NIOConstants.java: New file.
1126         * Makefile.am (ordinary_java_source_files):
1127         Added gnu/java/nio/NIOConstants.java.
1128         * Makefile.in: Regenerated.
1130 2003-09-25  Michael Koch  <konqueror@gmx.de>
1132         * java/net/InetAddress.java:
1133         Reorder imports, remove implementation comment.
1134         (isMulticastAddress): Merged documentation from classpath.
1135         * java/net/URLConnection.java
1136         (setRequestProperty): Check key for null, fix documentation.
1137         (adREquestProperty): Check key for null, remove wrong implementation
1138         and replace it with comment to overwrite this method in subclasses,
1139         fix documentation.
1141 2003-09-25  Tom Tromey  <tromey@redhat.com>
1143         * java/lang/reflect/Proxy.java (generate): Uncomment protection
1144         domain code.
1145         * java/lang/natClassLoader.cc (defineClass): Added `loader'
1146         argument.
1147         (linkClass0): Now in VMClassLoader.
1148         (markClassErrorState0): Likewise.
1149         (getSystemClassLoaderInternal): New method.
1150         * java/lang/natClass.cc (initializeClass): Use
1151         VMClassLoader::resolveClass.
1152         * java/lang/ClassLoader.java: New version, from Classpath.
1153         * java/lang/Class.java (getProtectionDomain):
1154         protectionDomainPermission and unknownProtectionDomain now in
1155         VMClassLoader.
1156         * java/lang/Class.h: VMClassLoader now a friend class.
1157         * gnu/gcj/runtime/VMClassLoader.java (instance): Now
1158         package-private.
1159         * gcj/javaprims.h: Regenerated class list.
1160         * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
1161         * java/lang/VMClassLoader.java: New version from Classpath;
1162         modified for libgcj use.
1164 2003-09-25  Michael Koch  <konqueror@gmx.de>
1166         * java/nio/ByteBufferHelper.java:
1167         New file.
1168         * java/nio/ByteBufferImpl.java,
1169         java/nio/DirectByteBufferImpl.java,
1170         java/nio/MappedByteBufferImpl.java
1171         (getType,putType): Use new helper class ByteBufferHelper.
1172         * Makefile.am (ordinary_java_source_files):
1173         Added java/nio/ByteBufferHelper.java.
1174         * Makefile.in: Regenerated.
1176 2003-09-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
1178         * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
1179         PR libgcj/12388.
1181 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
1183         * java/lang/StringBuffer.java (substring): Don't set `shared' on small
1184         Strings, even if buffer is already shared.
1186 2003-09-24  Michael Koch  <konqueror@gmx.de>
1188         * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
1190 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
1192         * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
1193         (write): Likewise.
1194         (SocketInputStream): Declare `read' and `write' methods native.
1195         Remove implementations which called back into PlainSocketImpl.
1196         Remove unneccessary overridden methods.
1197         * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation 
1198         to inner class PlainSocketImpl.SocketInputStream.
1199         (write): Likewise.
1200         * gnu/java/net/natPlainSocketImplPosix.cc: As above.
1201         * gnu/java/net/natPlainSocketImplWin32.cc: As above.
1202         * gnu/java/net/SocketInputStream.java: Remove unused file.
1203         * gnu/java/net/SocketOutputStream.java: Likewise.
1204         * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
1205         and SocketOutputStream.
1206         * Makefile.in: Rebuilt.
1208 2003-09-23  Nathanael Nerode  <neroden@gcc.gnu.org>
1210         * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
1212         * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
1213         markers.
1215 2003-09-22  Anthony Green  <green@redhat.com>
1217         * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
1218         * configure: Rebuilt.
1220 2003-09-21  Ralph Loader  <suckfish@ihug.co.nz>
1222         PR java/12350:
1223         * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
1225 2003-09-22  Michael Koch  <konqueror@gmx.de>
1227         * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
1228         compiler warning but produces a different one now.
1230 2003-09-22  Michael Koch  <konqueror@gmx.de>
1232         * java/net/InetAddress.java:
1233         Moves around some code, reformats and adds documentation.
1234         No functional changes.
1236 2003-09-22  Michael Koch  <konqueror@gmx.de>
1238         * java/net/JarURLConnection.java
1239         (JarURLConnection): Modifed code to match classpath more, fixed comment.
1240         (getCertificates): Made it more error prone.
1241         (getMainAttributes): Likewise.
1242         (getAttributes): Implemented.
1243         (getManifest): Reformatted code.
1245 2003-09-20  Tom Tromey  <tromey@redhat.com>
1247         * java/awt/Component.java: Indentation cleanup from Classpath.
1249 2003-09-20  Dalibor Topic  <robilad@kaffe.org>
1251        * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
1252        checking to follow 1.4.2 spec.
1254 2003-08-11  Ingo Proetel  <proetel@aicas.com>
1256         * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject  
1257         is compatible in case client and server are running in the same VM
1258         (remerged from Classpath on 2003-09-20)
1260 2003-09-19  David Daney <ddaney@avtrex.com>
1262         * java/lang/ref/Reference.java (clear): Set referent to null and
1263         synchronize.
1265 2003-09-19  Michael Koch  <konqueror@gmx.de>
1267         * gnu/java/nio/NIODatagramSocket.java,
1268         gnu/java/nio/NIOSocket.java: New files.
1269         * Makefile.am (ordinary_java_source_files):
1270         Added gnu/java/nio/NIODatagramSocket.java and
1271         gnu/java/nio/NIOSocket.java.
1272         * Makefile.in: Regenerated.
1274 2003-09-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
1276         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
1277         top-level GTK window.
1278         (getArgs): Add "title" property.
1279         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
1280         "allow_shrink" and "allow_grow" properties.
1281         * java/awt/Dialog.java: Initialize resizable to true and change
1282         comments accordingly.  Initialize visible to false in
1283         constructors.
1284         * java/awt/Frame.java (dispose): Remove method.
1285         * java/awt/Window.java (ownedWindows): New field.
1286         (Window(Window,GraphicsConfiguration)): Add a weak reference to
1287         owner's ownedWindows vector.
1288         (finalize): Remove method.
1289         (hide): Hide owned windows.
1290         (dispose): Dispose of owned windows.
1291         (getOwnedWindows): Implement.
1292         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
1293         unused GtkArg code.
1294         (set(String,boolean)): Clamp gboolean parameter to g_object_set
1295         to TRUE or FALSE.
1296         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1297         (create): Set window's size requisition.
1298         (connectHooks): Fix indentation.
1299         (setResizable): Remove function.
1300         (static setBounds): Likewise.
1301         (setBounds): Replace call to setBounds with GTK size requisition
1302         and resize calls.
1304 2003-09-19  Mohan Embar  <gnustuff@thisiscool.com>
1306         * win32-threads.cc: (ensure_interrupt_event_initialized) New
1307         function for lazy initialization of an auto-reset event.
1308         (_Jv_CondWait) Added thread interrupt support.
1309         (_Jv_ThreadInitData) Added initialization of interrupt support
1310         members.
1311         (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
1312         (_Jv_ThreadStart) Removed unused code.
1313         (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
1314         to an external caller.
1315         (_Jv_ThreadInterrupt) Implemented.
1316         * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
1317         event for interrupt support as well as a mutex which regulates
1318         access to this.
1319         (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
1320         event to an external caller.
1321         * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
1322         process.
1323         (waitFor) Added interrupt support.
1325 2003-09-19  Michael Koch  <konqueror@gmx.de>
1327         * java/net/DatagramSocket.java (getLocalAddress):
1328         Renamed result variable to localAddr.
1329         * java/net/MulticastSocket.java:
1330         No need to import gnu.java.net.PlainDatagramSocketImpl.
1332 2003-09-18  Sascha Brawer  <brawer@dandelis.ch>
1334         * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
1335         Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
1337 2003-09-18  Tom Tromey  <tromey@redhat.com>
1339         * javax/naming/InitialContext.java: Reindented.
1341 2003-09-18  Dalibor Topic <robilad@kaffe.org>,
1342             Helmer Kraemer <hkraemer@freenet.de>
1344         * javax/naming/spi/NamingManager.java (getURLContext,
1345         getObjectInstance, getStateToBind): Always use current thread's
1346         context class loader when calling Class.forName.
1348 2003-09-18  Michael Koch  <konqueror@gmx.de>
1350         * java/util/Timer.java (finalize): Added "throws Throwable".
1352 2003-09-18  Michael Koch  <konqueror@gmx.de>
1354         * java/net/DatagramSocket.java
1355         (ch): Removed.
1356         (receive): Use getChannel() instead of ch.
1357         (send): Likewise.
1358         (getChannel): Return null.
1359         * java/net/ServerSocket.java
1360         (ch): Removed.
1361         (setChannel): Removed.
1362         (implAccept): Use getChannel() instead of ch.
1363         (close): Likewise.
1364         (getChannel): Return null.
1365         * java/net/Socket.java
1366         (ch): Removed.
1367         (connect): Use getChannel() instead of ch.
1368         (setChannel): Removed.
1369         (getChannel): Return null.
1371 2003-09-18  Mark Wielaard  <mark@klomp.org>
1373         Reported by Guilhem Lavaux and Julian Dolby
1374         * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
1375         field "serialPersistentFields", not "getSerialPersistentFields".
1377 2003-09-18  Ingo Proetel  <proetel@aicas.com>
1379         * java/util/TimeZone.java: Initialize lazily.
1380         * java/util/Locale.java (readManifest): Fix check for country.
1381         * java/util/GregorianCalendar.java: Make use of ResourceBundle better
1382         traceable 
1383         * java/util/Calendar.java: Make use of ResourceBundle better
1384         traceable.
1386 2003-09-18  Jeroen Frijters  <jeroen@frijters.net>
1388         * java/sql/Timestamp.java
1389         (valueOf): Fixed confusion of java.sql.Date and java.util.Date
1391 2003-09-18  David P Grove  <groved@us.ibm.com>
1393         * java/io/LineNumberReader (read): Don't reset pos & limit when
1394         markPos is 0.
1396 2003-09-18  Dalibor Topic  <robilad@kaffe.org>
1398         * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
1399         constant.
1400         (computeArguments): use computeTypicalArguments.
1402         * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
1403         Compile_jikes.java and RMICException.java.
1404         * gnu/java/rmi/rmic/Compile_kjc.java: New file.
1405         * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
1406         * gnu/java/rmi/rmic/RMICException.java: Likewise.
1408         * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
1410         * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
1411         (computeTypicalArguments): New method.
1412         (compile): Print compiler output to System.out. Collect compiler
1413         error output and use it in exception message.
1415         * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
1416         (destination): Initialize to null.
1417         (run): Replace file separator with '.' when processing class.
1418         (processClass): Replace '.' with file separator when compiling
1419         classes.
1420         (findClass): Use SystemClassLoader to load class.
1421         (generateStub): Use full class name for generated stub, that puts
1422         it in right path.  Replace '.' with file separator when generating
1423         stub file name. Write just the stub class name without package
1424         information as class name, and constructor name. Write only
1425         interface names for interfaces extending java.rmi.Remote as
1426         implemented.
1427         (generateSkel): Use full class name for generated skel, that puts
1428         it in right path.  Replace '.' with file separator when generating
1429         stub file name. Write just the stub class name without package
1430         information as class name.
1432 2003-09-18  Michael Koch  <konqueror@gmx.de>
1434         * Makefile.am (rmi_java_source_files):
1435         Added gnu/java/rmi/rmic/Compile_kjc.java,
1436         gnu/java/rmi/rmic/Compile_jikes.java and
1437         gnu/java/rmi/rmic/RMICException.java
1438         * Makefile.in: Regenerated.
1440 2003-09-17  Graydon Hoare  <graydon@redhat.com>
1442         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1443         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
1444         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
1445         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: 
1446         New files.
1448 2003-09-16  Graydon Hoare  <graydon@redhat.com>
1450         * java/awt/BufferedImage.java (setData): Support non-component
1451         sample models.
1452         (getData): Same.
1454 2003-09-10  Graydon Hoare  <graydon@redhat.com>
1456         * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
1457         * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
1459 2003-09-17  Mohan Embar  <gnustuff@thisiscool.com>
1461         * configure.in: Standardized help text case of
1462         --enable-hash-synchronization
1463         New configure switch --enable-libgcj-multifile and corresponding
1464         automake conditional ONESTEP.
1465         * configure: Rebuilt.
1466         * Makefile.am: Use automake conditional ONESTEP to determine
1467         whether classfiles should be compiled individually or all
1468         at once.
1469         * Makefile.in: Rebuilt.
1471 2003-09-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
1473         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
1474         Remove method declaration.
1475         (create()): Call native create.
1476         (create(int)): New method.
1477         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
1478         (create): Add window_id parameter.  Call gtk_plug_new with
1479         window_id parameter.
1480         (construct): Remove method implementation.
1482 2003-09-16  Mohan Embar  <gnustuff@thisiscool.com>
1484         * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
1485         (mostlyclean-local): New target patterned after clean-local
1486         which recursively deletes all libtool objects using 'libtool rm'.
1487         (clean-local): Slightly modified comment to alleviate monotony.
1488         (distclean-local): New target patterned after clean-local
1489         which recursively deletes all .d files.
1490         * Makefile.in: Rebuilt.
1492 2003-09-11  Tom Tromey  <tromey@redhat.com>
1494         * java/net/URLStreamHandler.java (parseURL): If original file
1495         ends with "/", so must canonical result.
1496         * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
1497         with nul-termination and finding previous "/".
1499 2003-09-11  Michael Koch  <konqueror@gmx.de>
1501         * acconfig.h: Removed most items.
1502         * configure.in: Added descriptions to AC_DEFINE macros that where in
1503         acconfig.h before.
1504         * include/config.h.in: Regenerated.
1506 2003-09-11  Sascha Brawer  <brawer@dandelis.ch>
1508         * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
1509         if one is installed. Improve Javadoc.
1510         (getSystemEventQueueImpl): Improve Javadoc.
1512 2003-09-11  Tom Tromey  <tromey@redhat.com>
1514         * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
1515         file does not exist.
1517 2003-09-10  Anthony Green  <green@redhat.com>
1519         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
1520         Specify full name when referencing ::java::net::InetAddress.
1521         * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
1522         Fix argument type.
1524 2003-09-10  Michael Koch  <konqueror@gmx.de>
1526         * acconfig.h (__NO_MATH_INLINES): Removed.
1527         * configure.in: Removed check for g++ math inlining bug from 2000.
1528         * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
1529         libgcj_cxxflags.
1530         * configure: Regenerated.
1532 2003-09-10  David Daney <ddaney@avtrex.com>
1534         * java/util/Arrays.java (equals(all variants)): Quit using
1535         NullPointerException catching to detect null valued parameters.
1537 2003-09-10  Michael Koch  <konqueror@gmx.de>
1539         * java/net/DatagramSocket.java,
1540         java/net/MulticastSocket.java,
1541         java/net/ServerSocket.java,
1542         java/net/Socket.java:
1543         Use gnu.java.net.Plain*SocketImpl instead of
1544         java.net.PlainSocketImpl.
1545         * java/net/PlainDatagramSocketImpl.java,
1546         java/net/PlainSocketImpl.java,
1547         java/net/SocketInputStream.java,
1548         java/net/SocketOutputStream.java,
1549         java/net/natPlainDatagramSocketImplNoNet.cc,
1550         java/net/natPlainDatagramSocketImplPosix.cc,
1551         java/net/natPlainDatagramSocketImplWin32.cc,
1552         java/net/natPlainSocketImplNoNet.cc,
1553         java/net/natPlainSocketImplPosix.cc,
1554         java/net/natPlainSocketImplWin32.cc:
1555         Removed.
1556         * gnu/java/net/PlainDatagramSocketImpl.java,
1557         gnu/java/net/PlainSocketImpl.java,
1558         gnu/java/net/SocketInputStream.java,
1559         gnu/java/net/SocketOutputStream.java,
1560         gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
1561         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
1562         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
1563         gnu/java/net/natPlainSocketImplNoNet.cc,
1564         gnu/java/net/natPlainSocketImplPosix.cc,
1565         gnu/java/net/natPlainSocketImplWin32.cc:
1566         New files (moved from java/net).
1567         * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
1568         instead of java/net/natPlain*SocketImpl.cc.
1569         * configure: Regenerated.
1570         * Makefile.am: Moved files from java/net to gnu/java/net.
1571         * Makefile.in: Regenerated.
1573 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
1575         * configure: Regenerate.
1577 2003-09-04  Tom Tromey  <tromey@redhat.com>
1579         * configure.host: Removed erroneous comment.
1581         * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
1582         lvalue cast; use correct rvalue cast.
1584 2003-09-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
1586         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
1587         and height arguments to GtkWindowPeer.create method call.
1588         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
1589         (create(int,int,int)): New method.
1590         (create(int)): Add call to new create method.
1591         (create()): Add width and height arguments to create method
1592         call.
1593         (GtkWindowPeer): Remove call to setBounds.
1594         * java/awt/Frame.java (Frame(String)): Initialize visible field
1595         to false.
1596         (Frame(GraphicsConfiguration)): Likewise.
1597         (Frame(String,GraphicsConfiguration)): Likewise.
1598         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
1599         Add width and height parameters.  Call
1600         gtk_window_set_default_size.
1601         (connectHooks): Remove unused name variable.
1602         (static setBounds): Call gtk_window_resize not
1603         gtk_widget_set_usize.
1604         (setBounds): Remove unused nchildren variable.
1606 2003-08-31  Ingo Proetel  <proetel@aicas.com>
1608         * java/util/logging/Logger.java: provide class and method information
1609         * java/util/logging/LogManager.java: create handlers
1610         * java/util/logging/SimpleFormatter.java: print souceClassName and
1611         sourceMethodName
1613 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
1615         * win32.cc: fixed tab, indentation and whitespace
1616         inconsistencies
1617         removed jvm.h include
1618         added includes java/lang/UnsupportedOperationException.h,
1619         java/io/IOException.h, java/net/SocketException.h
1620         (WSAEventWrapper): class implementation
1621         (_Jv_WinStrError): implemented both overloads
1622         (_Jv_ThrowIOException): implemented both overloads
1623         (_Jv_ThrowSocketException): implemented both overloads
1624         (_Jv_select): implemented
1625         * include/win32.h: fixed tab, indentation and whitespace
1626         inconsistencies
1627         wrapped <windows.h> include with  #define WIN32_LEAN_AND_MEAN
1628         added jvm.h include
1629         (WSAEventWrapper): added class declaration
1630         (_Jv_WinStrError): added both overload declarations
1631         (_Jv_ThrowIOException): added both overload declarations
1632         (_Jv_ThrowSocketException): added both overload declarations
1633         removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
1634         (_Jv_select): added declaration
1635         (_Jv_socket): removed
1636         (_Jv_connect): removed
1637         (_Jv_close): removed
1638         (_Jv_bind): removed
1639         (_Jv_accept): removed
1640         (_Jv_listen): removed
1641         (_Jv_write): removed
1642         (_Jv_read): removed
1643         * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
1644         whitespace inconsistencies
1645         replaced <windows.h> #include with <platform.h>
1646         removed jvm.h include
1647         (testCanUseGetHandleInfo): new function which tests whether Win32
1648         GetHandleInformation() call can be used with console buffer handles
1649         (only supported on >=WinNT 5.0)
1650         (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
1651         (valid): rewrote implementation using GetHandleInformation()
1652         (sync):         changed exception throwing to use error string and exception
1653         helper methods declared in include/win32.h
1654         (open): likewise
1655         (write): likewise
1656         (setLength): likewise
1657         (close): likewise
1658         (seek): likewise
1659         (getFilePointer): likewise
1660         (read): likewise
1661         * java/io/natFileWin32.cc: fixed tab, indentation and
1662         whitespace inconsistencies
1663         replaced <windows.h> #include with <platform.h>
1664         removed jvm.h include
1665         (_access): use JV_TEMP_UTF_STRING
1666         (_stat): likewise
1667         (performMkDir): use JV_TEMP_UTF_STRING
1668         (performRenameTo): likewise
1669         (performDelete): likewise
1670         (performCreate): likewise
1671         (performSetReadOnly): likewise
1672         (performSetLastModified): likewise
1673         * java/lang/natWin32Process.cc: fixed tab, indentation and
1674         whitespace inconsistencies
1675         replaced <windows.h> #include with <platform.h>
1676         removed includes gcj/cni.h, jvm.h
1677         (new_string): removed
1678         (startProcess): use JV_TEMP_UTF_STRING,
1679         changed exception throwing to use error string and exception
1680         helper methods declared in include/win32.h
1681         * java/net/natInetAddressWin32.cc: fixed tab, indentation and
1682         whitespace inconsistencies
1683         replaced <windows.h> #include with <platform.h>
1684         removed jvm.h include
1685         removed DISABLE_JAVA_NET conditional code
1686         removed POSIX conditional code not relevant to Win32
1687         (aton): use JV_TEMP_UTF_STRING
1688         removed POSIX conditional code not relevant to Win32
1689         (lookup): likewise
1690         (getLocalHostName): likewise
1691         * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
1692         whitespace inconsistencies
1693         removed unnecessary windows.h, winsock.h and gcj/cni.h includes
1694         removed DISABLE_JAVA_NET conditional code
1695         removed POSIX conditional code not relevant to Win32
1696         (winsock2GetRealNetworkInterfaces): new function to compute network
1697         interfaces via Winsock2 API
1698         (determineGetRealNetworkInterfacesFN): new function for returning
1699         a function pointer to the function used to compute network interfaces.
1700         (getRealNetworkInterfaces): implemented
1701         * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
1702         whitespace inconsistencies
1703         removed gcj/cni.h include
1704         removed DISABLE_JAVA_NET conditional code
1705         removed POSIX conditional code not relevant to Win32
1706         changed net POSIXisms to Win32isms
1707         replaced _Jv socket-related calls with their real Win32 equivalents
1708         changed exception throwing to use error string and exception
1709         helper methods declared in include/win32.h
1710         (peekData): implemented timeout support
1711         (receive): likewise
1712         * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
1713         whitespace inconsistencies
1714         removed gcj/cni.h and gcj/javaprims.h includes
1715         removed DISABLE_JAVA_NET conditional code
1716         removed POSIX conditional code not relevant to Win32
1717         changed net POSIXisms to Win32isms
1718         replaced _Jv socket-related calls with their real Win32
1719         equivalents
1720         changed exception throwing to use error string and exception
1721         helper methods declared in include/win32.h
1722         (throwConnectException): helper function for connect()
1723         (connect): implemented timeout support
1724         (accept): likewise
1725         (doRead): new helper function common to both read() method overloads,
1726         includes timeout support
1727         (read): implemented both overloads in terms of doRead()
1728         (available): implemented using ioctlsocket()
1730 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
1732         * java/net/natInetAddressWin32.cc,
1733         java/net/natNetworkInterfaceWin32.cc,
1734         java/net/natPlainDatagramSocketImplWin32.cc,
1735         java/net/natPlainSocketImplWin32.cc:
1736         Readded code enclosed in DISABLE_JAVA_NET defines
1737         in preparation for MinGW cleanup / networking
1738         patch
1740 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
1742         * Makefile.am: Fixed problems with parallel makes.
1743         (all_java_class_files): Readded definition.
1744         (all_java_class_files): New target which depends on
1745         libgcj-@gcc_version@.jar
1746         * Makefile.in: Rebuilt
1748 2003-08-28  Tom Tromey  <tromey@redhat.com>
1750         * Makefile.in: Rebuilt.
1751         * Makefile.am (ordinary_java_source_files): Added new files.
1752         * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
1753         friend.
1754         * java/net/URLClassLoader.java (findClass): Don't use
1755         findURLResource.  Use loader's getClass method.
1756         (URLLoader.getClass): New method.
1757         (addURL): Handle `gcjlib' URLs.
1758         (SoURLLoader): New class.
1759         (SoResource): Likewise.
1760         * gnu/gcj/protocol/gcjlib/Connection.java: New file.
1761         * gnu/gcj/protocol/gcjlib/Handler.java: New file.
1762         * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
1763         (_Jv_RegisterCoreHook): Declare.
1764         (_Jv_FindCore): Declare.
1765         * gnu/gcj/runtime/SharedLibHelper.java: New file.
1766         * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
1767         typedef.
1768         (core_hook): New function.
1769         (struct SharedLibDummy) [saved_core]: New field.
1770         (init): Set _Jv_RegisterCoreHook.  Throw exception on failure.
1771         (register_hook): Set protection domain and class loader on new
1772         class.
1773         (finalize): Free core chain.
1774         * gnu/gcj/Core.java (Core): New constructor.
1775         * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
1776         SharedLibHelper.
1777         * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
1778         (_Jv_create_core): New function.
1779         (create): Use it.
1780         (default_register_resource): New function.
1781         (_Jv_RegisterCoreHook): New global.
1782         (_Jv_RegisterResource): Use it.
1783         (core_chain_struct): Removed.
1784         (_Jv_FindCore): New function.
1785         (_Jv_FreeCoreChain): New function.
1787 2003-08-29  Michael Koch  <konqueror@gmx.de>
1789         * java/net/natInetAddressWin32.cc,
1790         java/net/natNetworkInterfaceWin32.cc,
1791         java/net/natPlainDatagramSocketImplWin32.cc,
1792         java/net/natPlainSocketImplWin32.cc:
1793         Removed code enclosed in DISABLE_JAVA_NET defines.
1795 2003-08-26  Mohan Embar  <gnustuff@thisiscool.com>
1797         * Makefile.am: (write_entries_to_file) New parameterized
1798         function for writing entries to a file one line at a time.
1799         (all_java_class_files): Removed definition.
1800         (.java.class) Removed.target.
1801         (libgcj-@gcc_version@.jar): Changed dependency to
1802         $(all_java_source_files); added compilation step which compiles
1803         all changed source files in one pass.
1804         (libgcj.la) Refactored to use write_entries_to_file.
1805         (lib-gnu-awt-xlib.la) Likewise.
1806         (install-data-local) Likewise.
1807         (write-entries-to-file-check) New target which tests write_entries_to_file.
1808         (all-recursive): Changed dependency from $(all_java_class_files)
1809         to libgcj-@gcc_version@.jar
1810         * Makefile.in: Rebuilt.
1812 2003-08-26  Tom Tromey  <tromey@redhat.com>
1814         * java/lang/StrictMath.java: Typo fix.
1815         * java/lang/Math.java: Typo fix.
1817 2003-08-26  Stephen Crawley  <crawley@dstc.edu.au>
1819         * java/lang/ThreadGroup.java (removeThread): null the 'group' field
1820         of the removed Thread.
1822 2003-08-26  Mark Wielaard  <mark@klomp.org>
1824         Reported by David Holmes <dholmes@dltech.com.au>.
1825         * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
1826         Collections.synchronizedMap.
1827         * java/lang/ThreadLocal.java (valueMap): Likewise.
1829 2003-08-26  Mark Wielaard  <mark@klomp.org>
1831         * java/security/acl/Acl.java: Fix broken p tag.
1832         * java/text/DateFormatSymbols.java: Correctly open and close li tags.
1833         * javax/swing/border/LineBorder.java: Close img tag alt attributes.
1834         * javax/swing/plaf/TreeUI.java: Likewise.
1835         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
1836         * java/util/Properties.java: Use the word umlaut, not &auml; in api
1837         documentation.
1838         * java/util/PropertyResourceBundle.java: Likewise and add closing code
1839         tag.
1841 2003-08-26  Tom Tromey  <tromey@redhat.com>
1843         * Makefile.in: Rebuilt.
1844         * Makefile.am: Removed all GNU-make-specific FIXME comments.
1846         * java/lang/ref/Reference.java (get): Indentation fix.
1847         (clear): Comment fix.
1848         (enqueue): Likewise.
1849         (lock): Likewise.
1850         (referent): Likewise.
1852 2003-08-26  Tom Tromey  <tromey@redhat.com>
1854         PR java/12058:
1855         * java/lang/reflect/natArray.cc (set): Allow null as argument.
1857         * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
1858         (ProxyData.getPackage): New method.
1859         (ProxyData.getProxyData): Use package name, not Package.
1860         (ClassFactory.ClassFactory): Updated.
1862 2003-08-25  Scott Gilbertson  <scottg@mantatest.com>
1863         * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
1864         * Makefile.in: re-generated.
1865         * gnu/awt/j2d/IntegerGraphicsState.java
1866         (ScreenCoupledImage): new interface.
1867         (drawImage): detect ScreenCoupledImage instances.
1868         * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
1869         * gnu/awt/xlib/XEventLoop.java
1870         (createEvent): re-formatted, and rearranged to avoid null pointer.
1871         * gnu/awt/xlib/XGraphics.java
1872         (drawImage): added XOffScreenImage handling.
1873         * gnu/awt/xlib/XOffScreenImage.java: new file.
1874         * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
1875         * gnu/gcj/xlib/GC.java (copyArea): new native method.
1876         * gnu/gcj/xlib/XAnyEvent.java
1877         (TYPE_KEY_PRESS): new constant.
1878         (TYPE_KEY_RELEASE): new constant.
1879         (TYPE_MOTION_NOTIFY): new constant.
1880         (TYPE_ENTER_NOTIFY): new constant.
1881         (TYPE_LEAVE_NOTIFY): new constant.
1882         (TYPE_FOCUS_IN): new constant.
1883         (TYPE_FOCUS_OUT): new constant.
1884         (TYPE_KEYMAP_NOTIFY): new constant.
1885         (TYPE_GRAPHICS_EXPOSE): new constant.
1886         (TYPE_NO_EXPOSE): new constant.
1887         (TYPE_VISIBILITY_NOTIFY): new constant.
1888         (TYPE_CREATE_NOTIFY): new constant.
1889         (TYPE_DESTROY_NOTIFY): new constant.
1890         (TYPE_MAP_REQUEST): new constant.
1891         (TYPE_CONFIGURE_REQUEST): new constant.
1892         (TYPE_GRAVITY_NOTIFY): new constant.
1893         (TYPE_RESIZE_REQUEST): new constant.
1894         (TYPE_CIRCULATE_NOTIFY): new constant.
1895         (TYPE_CIRCULATE_REQUEST): new constant.
1896         (TYPE_PROPERTY_NOTIFY): new constant.
1897         (TYPE_SELECTION_CLEAR): new constant.
1898         (TYPE_SELECTION_REQUEST): new constant.
1899         (TYPE_SELECTION_NOTIFY): new constant.
1900         (TYPE_COLORMAP_NOTIFY): new constant.
1901         (TYPE_MAPPING_NOTIFY): new constant.
1902         * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
1903         * gnu/gcj/xlib/natGC.cc (copyArea): new method
1904         * java/awt/Component.java (createImage): changed to use peer method.
1906 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
1908         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
1909         name, not XLFD, to native drawString.
1910         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
1911         Replace XLFD-based implementation with Pango-based
1912         implementation.
1914 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
1916         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
1917         GTK_WINDOW_DIALOG.  Set GTK_WINDOW_POPUP to 1.
1919 2003-08-21  David Daney  <ddaney@avtrex.com>
1921         Fix for PR libgcj/12013:
1922         * java/lang/ref/natReference.cc (finalize_referred_to_object):
1923         Check `cleared' field.
1924         * java/lang/ref/Reference.java (copy): Updated comments.
1925         (cleared): New field.
1926         (clear): Rewrote.
1928 2003-08-21  Scott Gilbertson  <scottg@mantatest.com>
1929             Thomas Fitzsimmons  <fitzsim@redhat.com>
1931         * Makefile.am (gtk_awt_peer_sources): Add
1932         gnu/java/awt/peer/GLightweightPeer.java.  Remove
1933         gnu/java/awt/GLightweightPeer.java.
1934         * gnu/java/awt/GLightweightPeer.java: Remove file.
1935         * gnu/java/awt/peer/GLightweightPeer.java: New file.
1936         * java/awt/Component.java (getToolkit): Add comment about
1937         lightweight components.
1938         * java/awt/Toolkit.java (createComponent): Return
1939         gnu.java.awt.peer.GLightweightPeer.
1941 2003-08-21  Richard Earnshaw  <rearnsha@arm.com>
1943         * configure.in: Fix detection of gcj when building with newlib.
1944         * configure: Regenerated.
1946 2003-08-20  Graydon Hoare  <graydon@redhat.com>
1948         * jni.cc: Replace "cheating" pointer-casting code with
1949         extract_from_jvalue<> template.
1951 2003-08-20  Andrew Haley  <aph@redhat.com>
1953         * gnu/gcj/runtime/StackTrace.java (getClass): New method.
1954         * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
1955         (classAt): Break out class lookup function into getClass().
1956         * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
1957         handlers when using -fno-assume-compiled.
1959 2003-08-20  Tom Tromey  <tromey@redhat.com>
1961         Fix for PR libgcj/9125:
1962         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
1963         object outside of loop.  Respect lib_control setting.
1964         * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
1965         field.
1966         (lib_control): New field.
1967         (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
1968         (VMClassLoader): Initialize new field.
1970         * java/lang/ref/natReference.cc (finalize_referred_to_object):
1971         Set `list->reference' to DELETED_REFERENCE when removing dead
1972         object.
1973         (find_slot): Added an assert.
1974         (DELETED_REFERENCE): New define.
1975         (add_to_hash): Check for DELETED_REFERENCE.
1976         (remove_from_hash): Just return if found slot isn't ours.
1978 2003-08-19  Andrew Haley  <aph@redhat.com>
1980         * prims.cc (unblock_signal): New function.
1981         (catch_segv): Use it.
1982         (catch_fpe): Likewise.
1984 2003-08-19  Danny Smith  <dannysmith@users.sourceforge.net>
1986         PR libgcj/11575
1987         * java/io/natFileDescriptorWin32.cc (open): Set create
1988         flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
1989         Honor EXCL when openning with WRITE flag. 
1991 2003-08-19  Mohan Embar  <gnustuff@thisiscool.com>
1993         * include/jvm.h: New class _Jv_TempUTFString (helper class for
1994         getting a temporary C string from a jstring)
1995         New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
1996         but uses a stack buffer if the string length is less than 256
1997         bytes.
1999 2003-08-18  Tom Tromey  <tromey@redhat.com>
2001         PR libgcj/11951:
2002         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
2003         void.  Throw VirtualMachineError if ffi fails.  Initialize return
2004         value.  Added is_jni_call argument; only wrap exception if not a
2005         JNI call.  Use descriptive message if operation not supported.
2006         (_Jv_GetTypesFromSignature): Use declaring class' loader to find
2007         array class.
2008         * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
2009         * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
2010         _Jv_CallAnyMethodA.
2011         (_Jv_JNI_CallAnyMethodA): Likewise.
2012         (_Jv_JNI_CallAnyVoidMethodV): Likewise.
2013         (_Jv_JNI_CallAnyVoidMethodA): Likewise.
2015 2003-08-13  Tom Tromey  <tromey@redhat.com>
2017         * gij.cc (help): Document -? and -X.
2019 2003-08-12  Graydon Hoare  <graydon@redhat.com>
2021         * java/awt/Font.java: 
2022         Stub out more recent API. 
2024 2003-08-12  Graydon Hoare  <graydon@redhat.com>
2026         * java/awt/Color.java (getAlpha): 
2027         Prevent sign-extended alpha values.
2029 2003-08-12  Tom Tromey  <tromey@redhat.com>
2031         * gij.cc (main): Handle -? and -X.
2033 2003-08-10  Jeroen Frijters  <jeroen@frijters.net>
2035         * java/awt/Container.java
2036         (getPreferredSize): Call preferredSize.
2037         (preferredSize): Moved body of getPreferredSize here.
2038         (getMinimumSize): Call minimumSize.
2039         (minimumSize): Moved body of getMinimumSize here.
2041 2003-08-11  Tom Tromey  <tromey@redhat.com>
2043         * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
2044         (postEvent): Removed FIXME comment.
2045         (isDispatchThread): Documented.
2046         (getCurrentEvent): New method.
2047         (dispatchEvent): Set currentEvent and lastWhen.
2048         (getMostRecentEventTime): Rewrote.
2049         (invokeLater): Documented.
2051 2003-08-10  Bryce McKinlay  <bryce@mckinlay.net.nz>
2053         * java/io/PrintStream.java (print): Always flush if auto_flush is
2054         set. Don't check for newline characters.
2055         (write (int)): Implement without using a temporary array.
2056         (write (byte[], int, int): Always flush if auto_flush is set. Don't
2057         check for newline characters.
2058         Fixes PR libgcj/11778.
2060 2003-08-08  Andrew Haley  <aph@redhat.com>
2062         * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
2063         * Makefile.in: Rebuild.
2064         * java/lang/natRuntime.cc (insertSystemProperties): Add
2065         "sun.boot.class.path".
2067 2003-08-07  Andrew Haley  <aph@redhat.com>
2069         * java/io/PrintStream.java: Don't crash on a null string.
2070         
2071 2003-08-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2073         * configure.in: Don't initialize GCINCS to boehm-gc/include.
2074         * configure: Regenerate.
2076 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
2078         * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
2079         SocketImpl. Update Javadoc.
2080         (bind): Call close() not impl.close() in event of exception.
2081         (connect): Likewise.
2082         Remove superfluous null checks throughout.
2083         * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
2084         Don't create an extra socket. Fix for PR libgcj/10868.
2085         (bind): Clean up exception handling.
2086         Remove superfluous null checks throughout.
2088 2003-08-07  Jacob Gladish <gladish@spinnakernet.com>
2089             Bryce McKinlay  <bryce@mckinlay.net.nz>
2091         * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
2092         ready-to-write argument to _Jv_Select. Reset the socket back to 
2093         non-blocking state after connecting.
2094         (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
2095         Throw SocketTimeoutException not InterruptedIOException.
2096         (read): Throw SocketTimeoutException not InterruptedIOException.
2098 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
2100         * java/lang/Thread.java (Thread): Check for null "name" from
2101         start of private constructor, not after calling the private
2102         constructor.
2104 2003-08-06  Tom Tromey  <tromey@redhat.com>
2106         * java/io/FilePermission.java (equals): Use correct index for
2107         last character of path.
2109 2003-08-06  Alan Modra  <amodra@bigpond.net.au>
2111         * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
2112         * configure.in: Compare with_cross_host to build_alias, not build.
2113         * aclocal.m4: Regenerate.
2114         * configure: Regenerate.
2116 2003-08-05  Tom Tromey  <tromey@redhat.com>
2118         Fix for PR libgcj/11779:
2119         * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
2120         class.
2122         * java/lang/reflect/Method.java: Updated status comment.
2123         Imported javadoc from Classpath and re-ordered methods.
2124         * java/lang/reflect/Constructor.java: Reindented.  Updated
2125         status comment.  Imported javadoc from Classpath and re-ordered
2126         methods.
2128 2003-08-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
2130         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
2131         Add keyLocation parameter.
2132         * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
2133         string.
2134         (paramString): Generate keyChar string according to keyChar, not
2135         keyCode.
2136         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2137         (state_to_awt_mods): Handle ALT key.
2138         (keyevent_state_to_awt_mods): New function.
2139         (get_first_keyval_from_keymap): New function.
2140         (keysym_to_awt_keycode): Get virtual key code from keymap.
2141         Handle missing VK_ values.
2142         (keysym_to_awt_keylocation): New function.
2143         (keyevent_to_awt_keychar): New function.
2144         (generates_key_typed_event): Handle non-text-component case.
2145         Handle GDK_KP_Delete and GDK_KP_Enter.
2146         (awt_event_handler): Call new functions to get postKeyEvent
2147         parameters.
2148         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
2149         Update postKeyEvent method signature.
2150         * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines.  Add missing
2151         VK_ defines.
2153 2003-08-05  Matthias Klose  <doko@debian.org>
2155         * aclocal.m4: check for libart-config binary
2156           under the name libart2-config as well.
2157         * configure: regenerated.
2159 2003-08-04  David P Grove  <groved@us.ibm.com>
2161         * java/text/DecimalFormat.java (format): avoid ArithmeticException
2162         when groupingSize is 0.
2163         (parse): Likewise.
2165 2003-08-04  Matthias Klose  <doko@debian.org>
2167         * libart.m4: check for libart-config binary
2168           under the name libart2-config as well.
2169         * configure, aclocal.m4: regenerated.
2171 2003-08-02  Michael Koch  <konqueror@gmx.de>
2173         * java/nio/ByteBufferImpl.java
2174         (getChar): Check remaining bytes, fixed comment about endianess.
2175         (putChar): Likewise.
2176         (getShort): Likewise.
2177         (putShort): Likewise.
2178         (getInt): Check remaining bytes, fixed conversion, fixed comment about
2179         endianess.
2180         (putInt): Likewise.
2181         (getLong): Likewise.
2182         (putLong): Likewise.
2183         (getFloat): Likewise.
2184         (putFloat): Likewise.
2185         (getDouble): Likewise.
2186         (putDouble): Likewise.
2187         * java/nio/DirectByteBufferImpl.java
2188         (getChar): Wrapped code, fixed comment about endianess.
2189         (putchar): Likewise.
2190         (getShort): Likewise.
2191         (putShort): Likewise.
2192         (getInt): Fixed conversion, fixed comment about endianess.
2193         (putInt): Likewise.
2194         (getLong): Likewise.
2195         (putLong): Likewise.
2196         (getFloat): Likewise.
2197         (putFloat): Likewise.
2198         (getDouble): Likewise.
2199         (putDouble): Likewise.
2200         * java/nio/MappedByteBufferImpl.java
2201         (compact): Implemented.
2202         (getChar): Implemented.
2203         (putChar): Implemented.
2204         (getDouble): Implemented.
2205         (putdouble): Implemented.
2206         (getFloat): Implemented.
2207         (putFloat): Implemented.
2208         (getInt): Implemented.
2209         (putInt): Implemented.
2210         (getLong): Implemented.
2211         (putLong): Implemented.
2212         (getShort): Implemented.
2213         (putShort): Implemented.
2214         * java/nio/channels/FileChannelImpl.java
2215         (read): Set position where to access file.
2216         (write): Likewise.
2217         (transferTo): Flip buffer after read and before write.
2218         (transferFrom): Likewise.
2220 2003-08-02  Michael Koch  <konqueror@gmx.de>
2222         * gnu/java/lang/ArrayHelper.java
2223         (equalsArray): Reformated, added method documentation.
2225 2003-08-02  Michael Koch  <konqueror@gmx.de>
2227         * java/net/URL.java
2228         (URL): Added paragraph about the
2229         gnu.java.net.nocache_protocol_handlers property.
2230         (ph_cache): Renamed from handlers to match classpath's implementation.
2231         Reordered it with factory and serialVersionUID member variables.
2232         (cache_handlers): New member variable.
2233         (static): New static initializer to initialize cache_handlers from
2234         gnu.java.net.nocache_protocol_handlers property.
2235         (URL): Use ph_cache instead of handlers, reformatted some code to
2236         match classpath's implementation.
2238 2003-08-01  Tom Tromey  <tromey@redhat.com>
2240         Fix for PR libgcj/11241:
2241         * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
2242         initialCapacity is 0, set it to 1.
2244 2003-08-01  Stephen Crawley <crawley@dstc.edu.au>
2246         * java/net/SocketImpl.java (toString): Display the remote address
2247         of an unconnected server socket as "0.0.0.0/0.0.0.0".
2249 2003-08-01  Sascha Brawer  <brawer@dandelis.ch>
2251         * javax/swing/border/BevelBorder.java,
2252         javax/swing/border/EtchedBorder.java,
2253         javax/swing/border/LineBorder.java,
2254         javax/swing/border/MatteBorder.java,
2255         javax/swing/border/SoftBevelBorder.java,
2256         javax/swing/plaf/BorderUIResource.java,
2257         javax/swing/plaf/ComponentUI.java,
2258         javax/swing/plaf/TreeUI.java,
2259         javax/swing/plaf/basic/BasicBorders.java,
2260         javax/swing/plaf/basic/BasicGraphicsUtils.java,
2261         javax/swing/plaf/basic/BasicTreeUI.java:
2262         Prepend "doc-files" to all paths to embedded Javadoc images, so
2263         that the generated documentation contains the correct URL.
2265 2003-08-01  Tom Tromey  <tromey@redhat.com>
2267         * configure: Rebuilt.
2268         * configure.in (tool_include_dir): Redefine to match gcc.
2270 2003-08-01  Jerry Quinn  <jlquinn@optonline.net>
2271             Mark Wielaard  <mark@klomp.org>
2272             
2273         * java/math/BigDecimal (divide): Correctly handle
2274         ROUND_HALF_EVEN when amount is greater than 0.5.
2275         Simplify and optimize code.
2277 2003-07-31  Tom Tromey  <tromey@redhat.com>
2279         More for PR libgcj/11737:
2280         * java/io/ObjectInputStream.java (processResolution): Use
2281         getMethod.
2282         (getMethod): Make method accessible.
2283         (getField): Make field accessible.
2284         (setBooleanField): Don't call setAccessible here.
2285         (setByteField, setCharField, setDoubleField, setFloatField,
2286         setIntField, setLongField, setShortField, setObjectField):
2287         Likewise.
2288         (callReadMethod): Don't check whether method is null.  Catch
2289         NoSuchMethodException.
2290         * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
2291         cause on thrown exceptions.
2293 2003-07-31  Stepan Koltsov  <yozh@mx1.ru>
2295         Fix for PR libgcj/11728:
2296         * java/util/HashMap.java (readObject): Set size.
2298 2003-07-31  Tom Tromey  <tromey@redhat.com>
2300         Fix for PR libgcj/11737:
2301         * java/io/ObjectOutputStream.java (getMethod): Make method
2302         accessible.
2303         (getField): Likewise.
2304         (writeObject): Use getMethod.
2305         Import PrivilegedAction and AccessController.
2306         (callWriteMethod): Don't check whether m is null.  Catch
2307         NoSuchMethodException.
2309         * java/awt/geom/Arc2D.java (getBounds2D): Implement.
2310         (containsAngle): Likewise.
2311         (getStartPoint): Rewrote.
2312         (getEndPoint): Likewise.
2313         (setAngleStart(Point2D)): Likewise.
2315 2003-07-31  Roger Sayle  <roger@eyesopen.com>
2316             Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2318         * configure.in: Add new THREADCXXFLAGS variable.
2319         Handle POSIX threads on alpha*-dec-osf*.
2320         * configure: Regenerate.
2321         * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
2322         * Makefile.in: Regenerate.
2324 2003-07-08  Andrew Haley  <aph@redhat.com>
2326         * include/i386-signal.h (RESTORE): New.
2327         (INIT_SEGV): Set restorer.
2328         (INIT_FPE): Likewise.
2330 2003-07-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
2332         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
2333         than getXLFD.
2334         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2335         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
2336         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2337         (gtkSetFont): Scale size parameter by PANGO_SCALE.
2338         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
2339         Likewise.
2340         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
2341         Likewise.
2343 2003-07-29  Tom Tromey  <tromey@redhat.com>
2345         * defineclass.cc (handleField): Throw exception if field name is
2346         duplicated.
2347         (handleMethod): Throw exception for duplicate method.
2349 2003-07-29  Tom Tromey  <tromey@redhat.com>
2351         * gnu/gcj/convert/natIconv.cc (write): Handle case where
2352         output buffer is too small.
2354 2003-07-28  Tom Tromey  <tromey@redhat.com>
2356         * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
2357         New method.
2358         Include gnu/gcj/runtime/StringBuffer.h.
2359         * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
2360         native method.
2361         (String(gnu.gcj.runtime.StringBuffer)): Use it.
2363 2003-07-27  Anthony Green  <green@redhat.com>
2365         * configure.in: Fix newlib check.
2366         * configure: Rebuilt.
2368 2003-07-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
2370         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
2371         Create vbox and layout for GtkPlug.
2373 2003-07-27  Michael Koch  <konqueror@gmx.de>
2375         * java/awt/Window.java
2376         (Window): Removed now unused constructor. It became oboslete with the
2377         new embedded window patch.
2379 2003-07-27  Thomas Fitzsimmons <fitzsim@redhat.com.h> 
2380             Michael Koch  <konqueror@gmx.de>
2382         * gnu/java/awt/EmbeddedWindow.java
2383         (EmbeddedWindow): Extends Frame instead of Window.
2384         (window_id): New member variable to store the native window handle.
2385         (create): Removed.
2386         (EmbeddedWindow): New constructor.
2387         (addNotify): New method.
2388         (getHandler): Likewise.
2389         (setWindowPeer): New native method.
2390         * gnu/java/awt/EmbeddedWindowSupport.java
2391         (EmbeddedWindowSupport): Fixed documentation.
2392         (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
2393         WindowPeer, give it an EmbeddedWindow instance instead of the raw
2394         window data.
2395         * gnu/java/awt/natEmbeddedWindow.cc
2396         (create): Removed.
2397         (setWindowPeer): New method.
2398         * gnu/java/awt/peer/EmbeddedWindowPeer.java,
2399         gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
2400         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
2401         New files
2402         * gnu/java/awt/peer/gtk/GtkToolkit.java
2403         (GtkToolkit): Implements EmbeddedWindowSupport.
2404         (createEmbeddedWindow): New method.
2405         * java/awt/Window.java
2406         (Window): Removed.
2407         * Makefile.am
2408         (java_source_files): Added EmbeddedWindowPeer.java.
2409         (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
2410         (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
2411         * Makefile.in: Regenerated.
2413 2003-07-26  Ranjit Mathew  <rmathew@hotmail.com>
2415         * java/lang/Win32Process.java (ConcreteProcess): Surround
2416         a command line element with quotes if it contains an
2417         embedded space or tab.
2418         * java/lang/natWin32Process.cc (startProcess): Do not
2419         surround command line elements with quotes here.
2421         * configure.host: Use -fcheck-references and 
2422         -fuse-divide-subroutine for MinGW until we fix
2423         win32_exception_handler( ) in win32.cc w.r.t. Win32 
2424         Structured Exception Handling (SEH).
2426         * win32.cc (_Jv_platform_initProperties): Use generic names
2427         like "x86" for the "os.arch" property to be consistent with
2428         what Sun's JDK produces. Use the wProcessorArchitecture
2429         member of the Win32 SYSTEM_INFO structure, filled in a call 
2430         to GetSystemInfo( ), instead of dwProcessorType.
2432 2003-07-26  Mohan Embar  <gnustuff@thisiscool.com>
2433             Ranjit Mathew  <rmathew@hotmail.com>
2435         * Makefile.am: Use cross-compiling gcjh from the path for
2436         a crossed-native build.
2437         * Makefile.in: Rebuilt.
2438         * configure.in: Include libltdl in non-newlib builds.
2439         Moved determination of gcj used to build libraries to
2440         its own section. Fixed cross-compilation issues for
2441         non-newlib builds.
2442         * configure: Rebuilt.
2444 2003-07-25  Tom Tromey  <tromey@redhat.com>
2446         * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
2447         (write): Likewise.
2448         (read): Likewise.
2449         (read): Likewise.
2451 2003-07-25  Mark Wielaard  <mark@klomp.org>
2453         * java/lang/natRuntime.cc (_load): Add library name to
2454         UnsatisfiedLinkError when thrown.
2456 2003-07-25  Mark Wielaard  <mark@klomp.org>
2458         * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
2459         added.
2460         * Makefile.in: Likewise.
2462 2003-07-25  Jeroen Frijters  <jeroen@frijters.net>
2464         * java/awt/Component.java
2465         (getPreferredSize): Call preferredSize.
2466         (preferredSize): Moved body of getPreferredSize here.
2467         (getMinimumSize): Call minimumSize.
2468         (minimumSize): Moved body of getMinimumSize here.
2469         (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
2470         (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
2471         pass -1
2472         * java/awt/Container.java
2473         (validate): Don't validate if there is no peer.
2474         (update): Clear background before calling paint.
2475         * java/awt/GridBagLayout.java
2476         Completed the implementation and fixed several bugs.
2477         * java/awt/MediaTracker.java
2478         (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
2479         combine flags.
2480         * java/awt/Window.java
2481         (Window): Don't call setVisible(false). Windows are invisible by
2482         default and calling virtual methods from constructor causes
2483         compatibility problems (e.g. subclasses may assume that the peer
2484         already exists).
2486 2003-07-25  Michael Koch  <konqueror@gmx.de>
2488         * java/awt/GridBagLayout.java:
2489         Totally reworked and partly implemented.
2490         * java/awt/GridBagLayoutInfo.java:
2491         New file.
2493 2003-07-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
2495         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
2496         Don't pack label in an event box.
2498 2003-07-24  Tom Tromey  <tromey@redhat.com>
2500         For PR libgcj/7482:
2501         * verify.cc (ref_intersection): New class.
2502         (type_val): Removed unresolved_reference_type,
2503         uninitialized_unresolved_reference_type.
2504         (is_assignable_from_slow): Rewrote.
2505         (type::data): Removed.
2506         (type::klass): New field.
2507         (type::type): Added verifier argument.
2508         (type::resolve): Removed.
2509         (type::set_uninitialized): Updated for change to type_val.
2510         (type::set_initialized): Likewise.
2511         (type::isinitialized): Likewise.
2512         (type::print): Likewise.
2513         (construct_primitive_array_type): Likewise.
2514         (type::compatible): Updated for change to type_val and to use
2515         ref_intersection.
2516         (type::isarray): Updated to use ref_intersection.
2517         (type::isinterface): Likewise.
2518         (type::element_type): Likewise.
2519         (type::to_array): Likewise.
2520         (type::verify_dimensions): Rewrote.
2521         (type::merge): Likewise.
2522         (check_class_constant): Updated for type constructor change.
2523         (check_constant): Likewise.
2524         (check_field_constant): Likewise.
2525         (get_one_type): Likewise.
2526         (initialize_stack): Likewise.
2527         (verify_instructions_0): Likewise.
2528         (verify_instructions_0) [op_invokeinterface]: Removed special
2529         case.
2530         (isect_list): New field.
2531         (_Jv_BytecodeVerifier): Initialize it.
2532         (~_Jv_BytecodeVerifier): Destroy ref_intersection objects. 
2534 2003-07-24  H. Väisänen  <hvaisane@joyx.joensuu.fi>
2536         * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
2537         unless field size is 2.
2539 2003-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
2541         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
2542         (connectHooks): New method.
2543         (handleEvent): Remove.
2544         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
2545         (createHooks): Remove declaration.
2546         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2547         (generates_key_typed_event): Change to handle only certain
2548         keyvals.
2549         (awt_event_handler): Add special handling for GtkTextView.
2550         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
2551         (textcomponent_commit_cb): New function.
2552         (textcomponent_changed_cb): Likewise.
2553         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
2554         (connectHooks): Remove.
2556 2003-07-23  Tom Tromey  <tromey@redhat.com>
2558         * java/lang/natSystem.cc (arraycopy): Check for overflow.
2560         * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
2562 2003-07-22  Tom Tromey  <tromey@redhat.com>
2564         * boehm.cc (_Jv_BuildGCDescr): Wrote.
2565         Include limits.h.
2567 2003-07-22  Tom Tromey  <tromey@redhat.com>
2569         * java/awt/Window.java (getWarningString): Just return the
2570         string.
2571         (Window): Set warningString; check with security manager.
2573 2003-07-22  Scott Gilbertson  <scottg@mantatest.com>
2575         * gnu/awt/xlib/XGraphicsConfiguration.java
2576         (FontMetricsCache): Made static.
2578 2003-07-22  Tom Tromey  <tromey@redhat.com>
2580         * java/net/URLEncoder.java (encode(String)): Use platform default
2581         encoding.
2582         (encode(String,String)): Convert to 2-digit upper-case hex
2583         number.
2584         (hex): New field.
2586 2003-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
2588         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2589         (create): Remove unused method implementation.
2590         (connectHooks): Remove debug messages.
2592 2003-07-20  Anthony Green  <green@redhat.com>
2594         * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
2595         CloneNotSupportedException.
2596         * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
2597         * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
2598         * gnu/gcj/xlib/GC.java (clone): Ditto.
2599         * gnu/awt/xlib/XGraphics.java (clone): Ditto.
2600         * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
2602         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
2603         handler.
2604         * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
2606 2003-07-20  Steve Pribyl <steve@netfuel.com.>
2608         * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
2609         String.  Put dlerror() message into exception.
2610         Include UnsatisfiedLinkError.
2611         * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
2612         String.  Now native.
2614 2003-07-20  Tom Tromey  <tromey@redhat.com>
2616         * java/lang/Runtime.java: Comment fix.
2617         * java/lang/ClassLoader.java (isAncestorOf): New method.
2618         (getParent): Uncommented security check.  Use isAncestorOf.
2619         * include/jvm.h (_Jv_CheckAccess): Declare.
2620         * java/lang/reflect/natConstructor.cc (newInstance): Perform
2621         access check.
2622         Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
2623         * java/lang/reflect/natArray.cc (newInstance): Pass caller's
2624         class loader to _Jv_GetArrayClass.
2625         Include ArrayIndexOutOfBoundsException.h.
2626         * java/lang/reflect/Field.java: Update comment to reflect status.
2627         (equals): Fixed indentation.
2628         * java/lang/Class.h (Class): Declare memberAccessCheck, not
2629         checkMemberAccess.  Make _Jv_CheckAccess a friend.
2630         * java/lang/Class.java (memberAccessCheck): New method from
2631         Classpath.
2632         (checkMemberAccess): Removed.
2633         (getDeclaredMethod): Use memberAccessCheck.
2634         (getField): Likewise.
2635         (getMethod): Likewise.
2636         * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
2637         (_Jv_SearchMethodInClass): Likewise.
2638         * prims.cc (_Jv_CheckAccess): New function.
2639         * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
2640         (_Jv_JNI_GetAnyFieldID): Likewise.
2641         * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
2642         (getClassLoader): Added security check.
2643         (getConstructor): Call memberAccessCheck.
2644         (getDeclaredClasses): Likewise.
2645         (getDeclaredField): Likewise.
2646         (getDeclaredFields): Likewise.
2647         (_getConstructors): Likewise.
2648         (getDeclaredConstructor): Likewise.
2649         (getDeclaredMethods): Likewise.
2650         (getFields): Likewise.
2651         (getMethods): Likewise.
2652         (newInstance): Likewise.
2653         (_Jv_MakeVTable): Put method name in exception.
2654         * java/lang/reflect/natMethod.cc (getType): Use
2655         getClassLoaderInternal.
2656         (_Jv_GetTypesFromSignature): Likewise.
2657         (invoke): Perform access check.
2658         (_Jv_CallAnyMethodA): Removed old FIXME comments.
2659         Include ArrayIndexOutOfBoundsException.h.
2660         * java/lang/reflect/natField.cc (getType): Use
2661         getClassLoaderInternal.
2662         (_Jv_CheckFieldAccessibility): Removed.
2663         (getAddr): Use _Jv_CheckAccess; find caller.
2664         Include ArrayIndexOutOfBoundsException.h.
2666 2003-07-20  Michael Koch  <konqueror@gmx.de>
2668         * java/net/URL.java
2669         (URL): Fixed documentation to name an argument correcty, Reformatted
2670         one method declaration.
2671         (getURLStreamHandler): Added documentation from classpath.
2673 2003-07-19  Tom Tromey  <tromey@redhat.com>
2675         * mauve-libgcj: Don't run CollationElementIterator tests.
2677 2003-07-19  Jeroen Frijters <jeroen@sumatra.nl>
2679         * java/net/URLClassLoader.java (addURL): Moved implementation to
2680         private addURLImpl() to avoid calling addURL from the constructor.
2681         (addURLImpl): Contains the code that was previously in addURL.
2682         (addURLs): Call addURLImpl(), not addURL().
2684 2003-07-18  Graydon Hoare  <graydon@redhat.com>
2686         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 
2687         Handle missing event cases, connect to "value-changed" signal.
2689 2003-07-18  Graydon Hoare  <graydon@redhat.com>
2691         * java/awt/geom/CubicCurve2D.java,
2692         java/awt/geom/Line2D.java,
2693         java/awt/geom/QuadCurve2D.java,
2694         java/awt/geom/Rectangle2D.java: 
2695         Fix path some calculations, make path iterators follow
2696         a consistent style.
2698 2003-07-18  Mark Wielaard  <mark@klomp.org>
2700         * java/util/logging/Handler.java (isLoggable): Check record level
2701         smaller or equal.
2703 2003-07-17  Michael Koch  <konqueror@gmx.de>
2705         * gnu/java/awt/peer/gtk/GtkToolkit.java:
2706         Reworked imports.
2708 2003-07-14  Michael Koch  <konqueror@gmx.de>
2710         * gnu/java/rmi/server/UnicastServerRef.java:
2711         New version from classpath.
2713 2003-07-14  Michael Koch  <konqueror@gmx.de>
2715         * java/awt/image/MemoryImageSource.java,
2716         java/beans/PropertyEditorManager.java,
2717         javax/naming/CompoundName.java,
2718         javax/naming/spi/NamingManager.java,
2719         javax/swing/AbstractButton.java,
2720         javax/swing/ButtonModel.java,
2721         javax/swing/SwingUtilities.java,
2722         javax/swing/UIManager.java,
2723         javax/swing/colorchooser/DefaultColorSelectionModel.java,
2724         javax/swing/event/AncestorEvent.java,
2725         javax/swing/event/InternalFrameEvent.java,
2726         java/util/zip/ZipFile.java:
2727         New versions from classpath.
2729 2003-07-13  Michael Koch  <konqueror@gmx.de>
2731         * gnu/java/nio/FileChannelImpl.java,
2732         gnu/java/nio/natFileChannelImpl.cc: Removed.
2733         * java/io/FileInputStream.java,
2734         java/io/FileOutputStream.java,
2735         java/io/RandomAccessFile.java,
2736         java/nio/MappedByteBufferImpl.java:
2737         Import java.nio.channels.FileChannelImpl instead of
2738         gnu.java.nio.FileChannelImpl.
2739         * java/nio/channels/FileChannelImpl.java,
2740         java/nio/channels/natFileChannelImpl.cc:
2741         New files.
2742         * Makefile.am
2743         (ordinary_java_source_files):
2744         Removed gnu/java/nio/FileChannelImpl.java and added
2745         java/nio/channels/FileChannelImpl.java.
2746         (nat source_files):
2747         Removed gnu/java/nio/natFileChannelImpl.cc and added
2748         java/nio/channels/natFileChannelImpl.cc.
2749         * Makefile.in: Regenerated.
2751 2003-07-13  Michael Koch  <konqueror@gmx.de>
2753         * javax/swing/plaf/basic/BasicBorders.java,
2754         javax/swing/plaf/basic/BasicLabelUI.java,
2755         javax/swing/plaf/basic/BasicLookAndFeel.java,
2756         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
2757         javax/swing/plaf/basic/BasicTextUI.java,
2758         javax/swing/plaf/metal/MetalLookAndFeel.java:
2759         New versions from classpath.
2761 2003-07-13  Michael Koch  <konqueror@gmx.de>
2763         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
2764         * gnu/java/awt/peer/gtk/GdkGraphics.java
2765         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
2766         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
2767         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
2768         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
2769         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
2770         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
2771         * gnu/java/awt/peer/gtk/GtkClipboard.java
2772         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
2773         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2774         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2775         * gnu/java/awt/peer/gtk/GtkGenericPeer.java
2776         * gnu/java/awt/peer/gtk/GtkImage.java
2777         * gnu/java/awt/peer/gtk/GtkImagePainter.java
2778         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
2779         * gnu/java/awt/peer/gtk/GtkListPeer.java
2780         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
2781         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
2782         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
2783         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
2784         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
2785         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
2786         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
2787         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
2788         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
2789         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
2790         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
2791         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
2793 2003-07-13  Michael Koch  <konqueror@gmx.de>
2795         * gnu/java/locale/LocaleInformation_de.java
2796         * gnu/java/locale/LocaleInformation_en.java
2797         * gnu/java/locale/LocaleInformation_nl.java
2799 2003-07-13  Michael Koch  <konqueror@gmx.de>
2801         * gnu/java/awt/EmbeddedWindow.java,
2802         gnu/java/awt/EmbeddedWindowSupport.java,
2803         gnu/java/awt/natEmbeddedWindow.cc:
2804         New files.
2805         * java/awt/Window.java
2806         (Window): New constructor to support embedded windows.
2807         * Makefile.am
2808         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
2809         gnu/java/awt/EmbeddedWindowSupport.java.
2810         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
2811         * Makefile.in: Regenerated.
2813 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
2815         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
2816         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
2817         * java/awt/im/InputContext.java: Remove a redundant
2818         partial line.
2820 2003-07-09  Tom Tromey  <tromey@redhat.com>
2822         * Makefile.in: Rebuilt.
2823         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
2825 2003-07-09  Mark Wielaard  <mark@klomp.org>
2827         * java/io/ObjectOutputStream.java (writeObject): break after
2828         calling writeClassDescriptor().
2830 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
2832         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
2834 2003-07-09  Michael Koch  <konqueror@gmx.de>
2836         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2837         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
2838         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
2839         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
2840         Explicitly import used classes.
2841         * java/awt/Container.java: New version from classpath.
2843 2003-07-09  Michael Koch  <konqueror@gmx.de>
2845         * libgcj.pc.in: New file.
2846         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
2847         * Makefile.in: Regenerated.
2848         * configure: Regenrated.
2849         * configure.in: Create libgcj.pc from libgcj.pc.in.
2851 2003-07-08  Mark Wielaard <mark@klomp.org>
2853         * gcj/cni.h: CNI now expands to Compiled Native Interface.
2855         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
2856         * java/lang/fdlibm.h: Likewise.
2858 2003-07-07  Adam Megacz <adam@xwt.org>
2860         * posix.cc: added #include<stdio.h>
2861                 
2862 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
2864         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
2865         formatting.
2867         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
2868         (setCaretPosition, setEditable): Rely entirely on native
2869         implementation.
2870         (getArgs): Remove.
2871         (postTextEvent): New method.
2872         (handleEvent): New method.
2873         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
2874         method.
2875         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
2876         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2877         (keysym_to_awt_keycode): Fix range checks.
2878         (generates_key_typed_event): New function.
2879         (awt_event_handler): Post AWT_KEY_RELEASED events to event
2880         queue.
2881         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2882         (gtkInit): Store TextComponent's postTextEvent method ID.
2883         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
2884         (setText): Post TEXT_VALUE_CHANGED event to event queue.
2886 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2888         * configure.in: Check for usleep declaration.
2889         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
2890         * configure: Regenerate.
2891         * include/config.h.in: Likewise.
2892         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
2894 2003-07-01  Michael Koch  <konqueror@gmx.de>
2896         * gnu/gcj/convert/natIconv.cc
2897         (iconv_init): Fixed possible memory leak by releasing allocated iconv
2898         handle.
2900 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2902         * glib-2.0.m4: New file.
2903         * gtk-2.0.m4: New file.
2904         * glib.m4: Remove.
2905         * gtk.m4: Remove.
2906         * configure.in: Update AM_PATH_GTK macro call to
2907         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
2908         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
2909         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
2910         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
2911         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
2912         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
2913         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2914         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
2915         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
2916         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
2917         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
2918         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
2919         jni/gtk-peer/gthread-jni.c,
2920         jni/gtk-peer/gthread-jni.h:
2921         New versions from classpath.
2922         * aclocal.m4: Regenerate.
2923         * configure: Regenerate.
2924         * Makefile.in: Regenerate.
2925         * gcj/Makefile.in: Regenerate.
2926         * include/Makefile.in: Regenerate.
2927         * testsuite/Makefile.in: Regenerate.
2929 2003-06-30  Gary Benson  <gbenson@redhat.com>
2931         For PR libgcj/11349:
2932         * javax/naming/spi/NamingManager.java (getURLContext): Use
2933         correct name for factory class.
2935 2003-06-28  Michael Koch  <konqueror@gmx.de>
2937         * java/io/PrintStream.java
2938         (checkError): Call flush() instead of direct flushing of the Writer
2939         object.
2940         (print): Call print(String) instead of direct print method of the
2941         Writer Object.
2942         (println): Call println(String) instead of direct println method of the
2943         Writer Object.
2944         (write): Simplified.
2946 2003-06-28  Michael Koch  <konqueror@gmx.de>
2948         * java/net/ServerSocket.java
2949         (setChannel): New method.
2950         * java/net/Socket.java
2951         (setChannel): New method.
2953 2003-06-27  Michael Koch  <konqueror@gmx.de>
2955         * java/beans/beancontext/BeanContextSupport.java:
2956         New version from classpath.
2958 2003-06-27  Michael Koch  <konqueror@gmx.de>
2960         * java/awt/Window.java,
2961         java/awt/font/GraphicAttribute.java,
2962         java/awt/font/ImageGraphicAttribute.java,
2963         java/awt/image/DataBufferByte.java,
2964         java/awt/image/DataBufferInt.java,
2965         java/awt/image/DataBufferUShort.java,
2966         java/awt/image/DirectColorModel.java,
2967         java/awt/image/PixelGrabber.java:
2968         New versions from classpath.
2970 2003-06-27  Michael Koch  <konqueror@gmx.de>
2972         * java/security/Certificate.java
2973         (getGuarantor): Removed wrong @deprecated tag.
2974         (getPrincipal): Likewise.
2975         (getPublicKey): Likewise.
2976         (encode): Likewise.
2977         (decode): Likewise.
2978         (getFormat): Likewise.
2979         (toString): Likewise.
2980         * java/security/cert/PolicyQualifierInfo.java
2981         (PolicyQualifierInfo): Made final.
2982         * javax/security/auth/x500/X500Principal.java
2983         (serialVersionUID): New member variable.
2985 2003-06-27  Michael Koch  <konqueror@gmx.de>
2987         * java/text/Format.java
2988         (serialVersionUID): Fixed value.
2990 2003-06-27  Michael Koch  <konqueror@gmx.de>
2992         * java/net/Inet4Address.java
2993         (Inet4Address): Made package-private.
2994         * java/net/Inet6Address.java
2995         (Inet4Address): Made package-private.
2997 2003-06-27  Michael Koch  <konqueror@gmx.de>
2999         * java/io/RandomAccessFile.java
3000         (readLine): Removed wrong @deprecated tag.
3001         (getChannel): Made final.
3003 2003-06-27  Michael Koch  <konqueror@gmx.de>
3005         * gnu/java/nio/FileChannelImpl.java
3006         (write): Removed.
3008 2003-06-27  Michael Koch  <konqueror@gmx.de>
3010         * java/nio/ByteBufferImpl.java
3011         (ByteBufferImpl): Made it a package-private class
3012         * java/nio/CharBufferImpl.java
3013         (CharBufferImpl): Made it a package-private class
3014         * java/nio/DirectByteBufferImpl.java
3015         (DirectByteBufferImpl): Made it a package-private class
3016         * java/nio/DoubleBufferImpl.java
3017         (DoubleBufferImpl): Made it a package-private class
3018         * java/nio/FloatBufferImpl.java
3019         (FloatBufferImpl): Made it a package-private class
3020         * java/nio/IntBufferImpl.java
3021         (IntBufferImpl): Made it a package-private class
3022         * java/nio/LongBufferImpl.java
3023         (LongBufferImpl): Made it a package-private class
3024         * java/nio/ShortBufferImpl.java
3025         (ShortBufferImpl): Made it a package-private class
3026         * java/nio/channels/FileChannel.java
3027         (write): Made final.
3028         * java/nio/channels/ServerSocketChannel.java
3029         (ServerSocketChanne): Made protected.
3031 2003-06-27  Michael Koch  <konqueror@gmx.de>
3033         * javax/naming/CompositeName.java
3034         (serialVersionUID): New member variable.
3035         * javax/naming/CompoundName.java
3036         (serialVersionUID): New member variable.
3037         * javax/naming/InitialContext.java
3038         (InitialContext): Throws NamingException.
3039         (init): Likewise.
3040         * javax/naming/LinkRef.java
3041         (serialVersionUID): New member variable.
3042         (gteLinkName): Throws NamingException.
3043         * javax/naming/NamingException.java
3044         (serialVersionUID): New member variable.
3045         * javax/naming/NamingSecurityException.java
3046         (NamingSecurityException): Made abstract.
3047         (serialVersionUID): New member variable.
3048         * javax/naming/ReferralException.java
3049         (serialVersionUID): New member variable.
3050         * javax/naming/StringRefAddr.java
3051         (serialVersionUID): New member variable.
3052         * javax/naming/directory/BasicAttribute.java:
3053         Reworked imports.
3054         (serialVersionUID): New member variable.
3055         (get): Throws NamingException.
3056         (getAll): Throws NamingException.
3057         * javax/naming/directory/BasicAttributes.java:
3058         Reworked imports.
3059         (serialVersionUID): New member variable.
3060         * javax/naming/ldap/UnsolicitedNotificationEvent.java
3061         (serialVersionUID): New member variable.
3063 2003-06-27  Michael Koch  <konqueror@gmx.de>
3065         * Makefile.am
3066         (awt_java_source_files): Added new files:
3067         javax/swing/Popup.java,
3068         javax/swing/PopupFactory.java
3069         * Makefile.in: Regenerated.
3071 2003-06-27  Michael Koch  <konqueror@gmx.de>
3073         * javax/swing/JWindow.java,
3074         javax/swing/event/AncestorEvent.java,
3075         javax/swing/event/HyperlinkEvent.java,
3076         javax/swing/event/InternalFrameEvent.java,
3077         javax/swing/event/ListDataEvent.java,
3078         javax/swing/event/TableModelEvent.java,
3079         javax/swing/plaf/PopupMenuUI.java,
3080         javax/swing/plaf/SplitPaneUI.java,
3081         javax/swing/plaf/TabbedPaneUI.java,
3082         javax/swing/plaf/TextUI.java,
3083         javax/swing/plaf/TreeUI.java,
3084         javax/swing/plaf/basic/BasicTextUI.java,
3085         javax/swing/plaf/basic/BasicTreeUI.java:
3086         New versions from classpath.
3087         * javax/swing/Popup.java,
3088         javax/swing/PopupFactory.jav:
3089         New source files from classpath.
3090         * javax/swing/plaf/doc-files/TreeUI-1.png:
3091         New binary files from classpath.
3093 2003-06-25  Michael Koch  <konqueror@gmx.de>
3095         * Makefile.am
3096         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
3097         * Makefile.in: Regenerated.
3099 2003-06-25  Michael Koch  <konqueror@gmx.de>
3101         * javax/swing/plaf/ActionMapUIResource.java,
3102         javax/swing/plaf/BorderUIResource.java,
3103         javax/swing/plaf/ButtonUI.java,
3104         javax/swing/plaf/ColorChooserUI.java,
3105         javax/swing/plaf/ColorUIResource.java,
3106         javax/swing/plaf/ComboBoxUI.java,
3107         javax/swing/plaf/ComponentInputMapUIResource.java,
3108         javax/swing/plaf/ComponentUI.java,
3109         javax/swing/plaf/DesktopIconUI.java,
3110         javax/swing/plaf/DesktopPaneUI.java,
3111         javax/swing/plaf/DimensionUIResource.java,
3112         javax/swing/plaf/FileChooserUI.java,
3113         javax/swing/plaf/FontUIResource.java,
3114         javax/swing/plaf/IconUIResource.java,
3115         javax/swing/plaf/InputMapUIResource.java,
3116         javax/swing/plaf/InsetsUIResource.java,
3117         javax/swing/plaf/InternalFrameUI.java,
3118         javax/swing/plaf/LabelUI.java,
3119         javax/swing/plaf/ListUI.java,
3120         javax/swing/plaf/MenuBarUI.java,
3121         javax/swing/plaf/MenuItemUI.java,
3122         javax/swing/plaf/OptionPaneUI.java,
3123         javax/swing/plaf/PanelUI.java,
3124         javax/swing/plaf/ProgressBarUI.java,
3125         javax/swing/plaf/RootPaneUI.java,
3126         javax/swing/plaf/ScrollBarUI.java,
3127         javax/swing/plaf/ScrollPaneUI.java,
3128         javax/swing/plaf/SeparatorUI.java,
3129         javax/swing/plaf/SliderUI.java,
3130         javax/swing/plaf/TableHeaderUI.java,
3131         javax/swing/plaf/TableUI.java,
3132         javax/swing/plaf/ToolBarUI.java,
3133         javax/swing/plaf/ToolTipUI.java,
3134         javax/swing/plaf/ViewportUI.java:
3135         New versions from classpath.
3136         * javax/swing/plaf/SpinnerUI.java: 
3137         New file from classpath
3139 2003-06-25  Michael Koch  <konqueror@gmx.de>
3141         * java/awt/image/ColorModel.java:
3142         New version from classpath.
3144 2003-06-25  Michael Koch  <konqueror@gmx.de>
3146         * java/net/PlainDatagramSocketImpl.java:
3147         Partly merged with classpath, this mainly adds documentation.
3149 2003-06-25  Michael Koch  <konqueror@gmx.de>
3151         * java/io/ObjectInputStream.java
3152         (readClassDescriptor): New method.
3153         (readObject): Moved functionality to readClassDescriptor().
3154         * java/io/ObjectOutputStream.java
3155         (writeClassDescriptor): New method.
3156         (writeObject): Moved functionality to writeClassDescriptor().
3158 2003-06-25  Michael Koch  <konqueror@gmx.de>
3160         * javax/swing/plaf/basic/BasicListUI.java,
3161         javax/swing/plaf/basic/BasicOptionPaneUI.java:
3162         Added missing methods.
3164 2003-06-25  Michael Koch  <konqueror@gmx.de>
3166         * javax/swing/event/AncestorEvent.java
3167         javax/swing/event/HyperlinkEvent.java
3168         javax/swing/event/InternalFrameEvent.java
3169         javax/swing/event/ListDataEvent.java
3170         javax/swing/event/TableModelEvent.java:
3171         Compile fixes.
3173 2003-06-24  Michael Koch  <konqueror@gmx.de>
3175         * java/net/URL.java:
3176         Renamed "handler" to "ph" in the whole file to match classpaths
3177         version.
3178         * java/net/URLStreamHandler.java:
3179         (equals): Renamed "handler" to "ph".
3181 2003-06-24  Michael Koch  <konqueror@gmx.de>
3183         * javax/swing/event/AncestorEvent.java,
3184         javax/swing/event/HyperlinkEvent.java,
3185         javax/swing/event/InternalFrameEvent.java,
3186         javax/swing/event/ListDataEvent.java,
3187         javax/swing/event/TableModelEvent.java,
3188         javax/swing/event/TreeWillExpandListener.java,
3189         javax/swing/plaf/ComponentUI.java,
3190         javax/swing/plaf/DesktopIconUI.java,
3191         javax/swing/plaf/DesktopPaneUI.java,
3192         javax/swing/plaf/DimensionUIResource.java,
3193         javax/swing/plaf/FileChooserUI.java,
3194         javax/swing/plaf/FontUIResource.java,
3195         javax/swing/plaf/IconUIResource.java,
3196         javax/swing/plaf/InputMapUIResource.java,
3197         javax/swing/plaf/InsetsUIResource.java,
3198         javax/swing/plaf/InternalFrameUI.java,
3199         javax/swing/plaf/LabelUI.java,
3200         javax/swing/plaf/ListUI.java,
3201         javax/swing/plaf/MenuBarUI.java,
3202         javax/swing/plaf/MenuItemUI.java,
3203         javax/swing/plaf/OptionPaneUI.java,
3204         javax/swing/plaf/PanelUI.java,
3205         javax/swing/plaf/ProgressBarUI.java,
3206         javax/swing/plaf/doc-files/ComponentUI-1.dia,
3207         javax/swing/plaf/doc-files/ComponentUI-1.png:
3208         New versions from classpath.
3210 2003-06-24  Michael Koch  <konqueror@gmx.de>
3212         * java/nio/Buffer.java
3213         (cap): Made package-private.
3214         (pos): Likewise.
3215         (limit): Likewise.
3216         (mark): Likewise.
3218 2003-06-24  Michael Koch  <konqueror@gmx.de>
3220         * java/net/SocketImpl.java
3221         (shutdownInput): Made it non-abstract method throwing an exception
3222         like in SUNs JRE.
3223         (shutdownOutput): Likewise.
3224         * java/net/SocketInputStream.java,
3225         java/net/SocketOutputStream.java:
3226         New files from classpath.
3228 2003-06-24  Michael Koch  <konqueror@gmx.de>
3230         * java/awt/Font.java,
3231         java/awt/Window.java,
3232         java/awt/color/ColorSpace.java,
3233         java/awt/datatransfer/StringSelection.java,
3234         java/awt/image/ColorModel.java:
3235         New versions from classpath.
3237 2003-06-24  Michael Koch  <konqueror@gmx.de>
3239         * Makefile.am
3240         (awt_java_source_files): Added new files:
3241         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
3242         javax/swing/plaf/basic/BasicSplitPaneUI.java
3243         * Makefile.in: Regenerated.
3245 2003-06-24  Michael Koch  <konqueror@gmx.de>
3247         * javax/swing/text/JTextComponent.java:
3248         New version from classpath.
3250 2003-06-24  Michael Koch  <konqueror@gmx.de>
3252         * javax/swing/Timer.java,
3253         javax/swing/plaf/ActionMapUIResource.java,
3254         javax/swing/plaf/ButtonUI.java,
3255         javax/swing/plaf/ColorChooserUI.java,
3256         javax/swing/plaf/ColorUIResource.java,
3257         javax/swing/plaf/ComboBoxUI.java,
3258         javax/swing/plaf/ComponentInputMapUIResource.java,
3259         javax/swing/plaf/basic/BasicBorders.java:
3260         New versions from classpath.
3261         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
3262         javax/swing/plaf/basic/BasicSplitPaneUI.java:
3263         New file from classpath.
3264         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
3265         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
3266         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
3267         javax/swing/plaf/doc-files/ComponentUI-1.dia,
3268         javax/swing/plaf/doc-files/ComponentUI-1.png:
3269         New binary files from classpath.
3271 2003-06-24  Michael Koch  <konqueror@gmx.de>
3273         * java/io/LineNumberReader.java
3274         (skip): Dont do line number accounting here as this is already done in
3275         read(), simplified.
3277 2003-06-21  Michael Koch  <konqueror@gmx.de>
3279         * java/io/File.java
3280         (static): Load javaio lib if existing (only in classpath).
3281         (File): Revised documentation to show the correct argument name.
3282         (createTempFile): Partly merged with classpath.
3283         (compareTo): Simplified.
3284         (lastModified): Throw exception if time < 0.
3285         (deleteOnExit): Revised documentation.
3287 2003-06-21  Michael Koch  <konqueror@gmx.de>
3289         * java/net/PlainSocketImpl.java:
3290         Reformatted.
3291         (PlainSocketImpl): Merged class documentaion with classpath.
3292         (in): Moved.
3293         (out): Moved.
3294         (PlainSocketImpl): New empty constructor.
3295         (finalize): Moved.
3296         (setOption): Merged documentation from classpath.
3297         (getOption): Likewise.
3298         (create): Likewise.
3299         (connect): Likewise.
3300         (bind): Likewise.
3301         (listen): Likewise.
3302         (accept): Likewise.
3303         (available): Likewise.
3304         (close): Likewise.
3305         (read): Likewise.
3306         (write): Likewise.
3307         (getInputStream): Made synchronozed to get sure that only one stream
3308         object can be created for this socket, merged documentation from
3309         classpath.
3310         (getOutputStream): Likewise.
3312 2003-06-21  Michael Koch  <konqueror@gmx.de>
3314         * java/net/PlainSocketImpl.java:
3315         Reformatting.
3316         (static): New implicit method.
3317         (read): Made package private.
3318         (write): Likewise.
3320 2003-06-21  Michael Koch  <konqueror@gmx.de>
3322         * java/util/SimpleTimeZone.java:
3323         Removed unneeded import, reformatting.
3325 2003-06-21  Michael Koch  <konqueror@gmx.de>
3327         * java/text/DateFormat.java,
3328         java/text/SimpleDateFormat.java,
3329         java/util/Locale.java:
3330         New versions from classpath.
3332 2003-06-21  Michael Koch  <konqueror@gmx.de>
3334         * javax/swing/SpinnerModel.java:
3335         New file from classpath.
3336         * javax/swing/border/LineBorder.java,
3337         javax/swing/border/SoftBevelBorder.java,
3338         javax/swing/plaf/BorderUIResource.java,
3339         javax/swing/plaf/basic/BasicBorders.java:
3340         New versions from classpath.
3341         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
3342         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
3343         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
3344         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
3345         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
3346         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
3347         New binary files from classpath.
3349 2003-06-21  Michael Koch  <konqueror@gmx.de>
3351         * java/util/logging/LogRecord.java,
3352         java/util/logging/Logger.java,
3353         java/util/logging/SocketHandler.java,
3354         java/util/logging/SimpleFormatter.java,
3355         java/util/logging/Formatter.java,
3356         java/util/logging/ErrorManager.java,
3357         java/util/logging/Handler.java,
3358         java/util/logging/FileHandler.java,
3359         java/util/logging/LogManager.java,
3360         java/util/logging/Level.java,
3361         java/util/logging/ConsoleHandler.java,
3362         java/util/logging/StreamHandler.java,
3363         java/util/logging/LoggingPermission.java,
3364         java/util/logging/Filter.java,
3365         java/util/logging/MemoryHandler.java,
3366         java/util/logging/XMLFormatter.java:
3367         New files from classpath.
3369 2003-06-20  Michael Koch  <konqueror@gmx.de>
3371         * java/io/ObjectStreamField.java
3372         (unshared): new member variable.
3373         (ObjectStreamField): New constructor.
3374         (isUnshared): New method.
3376 2003-06-20  Michael Koch  <konqueror@gmx.de>
3378         * java/net/URLStreamHandler.java
3379         (hostsEqual): Rewritten.
3381 2003-06-20  Michael Koch  <konqueror@gmx.de>
3383         * gnu/java/nio/MappedByteFileBuffer.java,
3384         gnu/java/nio/natMappedByteFileBuffer.cc:
3385         Removed
3386         * java/nio/MappedByteBufferImpl.java:
3387         New file.
3388         * gnu/java/nio/FileChannelImpl.java:
3389         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
3390         * Makefile.am
3391         (ordinary_java_source_files): Removed
3392         gnu/java/nio/MappedByteFileBuffer.java and added
3393         java/nio/MappedByteBufferImpl.java.
3394         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
3395         * Makefile.in: Regenerated.
3397 2003-06-19  Michael Koch  <konqueror@gmx.de>
3399         * gnu/java/nio/DatagramChannelImpl.java
3400         (fd): Removed.
3401         (blocking): New member variable.
3402         (socket): Likewise.
3403         (DatagramChannelImpl): Throws IOException, initialize socket.
3404         (socket):Implemented.
3405         (implCloseSelectableChannel): Throws IOException, implemented.
3406         (implConfigureBlocking): Likewise.
3407         (connect): Likewise.
3408         (disconnect): Likewise.
3409         (isConnected): Likewise.
3410         (write): Likewise.
3411         (read): Likewise.
3412         (receive): Throws IOException.
3413         (send): Likewise.
3414         * gnu/java/nio/SocketChannelImpl.java
3415         (read): Implemented.
3416         (write): Implemented.
3418 2003-06-19  Michael Koch  <konqueror@gmx.de>
3420         * javax/swing/JComponent.java,
3421         javax/swing/JInternalFrame.java,
3422         javax/swing/MenuSelectionManager.java,
3423         javax/swing/SwingUtilities.java,
3424         javax/swing/ToggleButtonModel.java:
3425         New versions from classpath.
3427 2003-06-19  Michael Koch  <konqueror@gmx.de>
3429         * java/text/CollationElementIterator.java
3430         (NULLORDER): Initialize with -1 as JDK documentation says.
3432 2003-06-19  Michael Koch  <konqueror@gmx.de>
3434         * java/net/HttpURLConnection.java,
3435         java/net/Inet4Address.java,
3436         java/net/Inet6Address.java,
3437         java/net/SocketImpl.java,
3438         java/net/URLClassLoader.java:
3439         Reworked import statements.
3440         * java/net/InetAddress.java
3441         (getByAddress): Simplified.
3442         * java/net/ServerSocket.java
3443         (ServerSocket): Moved special handling during bind operation to
3444         bind().
3445         (bind): Handle different cases when trying to bind a socket.
3446         * java/net/URLConnection.java
3447         (getHeaderFieldDate): Merged with classpath.
3448         (getHeaderFieldInt): Likewise.
3450 2003-06-19  Michael Koch  <konqueror@gmx.de>
3452         * java/util/zip/InflaterInputStream.java
3453         (InflaterInputStream): Throw NullPointerException if in is null (as
3454         JDK does).
3456 2003-06-19  Michael Koch  <konqueror@gmx.de>
3458         * java/awt/Font.java
3459         javax/swing/UIManager.java
3460         javax/swing/border/AbstractBorder.java
3461         javax/swing/border/BevelBorder.java
3462         javax/swing/border/Border.java
3463         javax/swing/border/CompoundBorder.java
3464         javax/swing/border/EmptyBorder.java
3465         javax/swing/border/EtchedBorder.java
3466         javax/swing/border/LineBorder.java
3467         javax/swing/border/MatteBorder.java
3468         javax/swing/border/TitledBorder.java
3469         javax/swing/plaf/BorderUIResource.java
3470         javax/swing/plaf/basic/BasicBorders.java
3471         javax/swing/plaf/basic/BasicButtonUI.java
3472         javax/swing/plaf/basic/BasicCheckBoxUI.java
3473         javax/swing/plaf/basic/BasicGraphicsUtils.java
3474         javax/swing/plaf/basic/BasicLabelUI.java
3475         javax/swing/plaf/basic/BasicRadioButtonUI.java
3476         javax/swing/plaf/basic/BasicToggleButtonUI.java:
3477         New versions from classpath.
3478         * javax/swing/border/SoftBevelBorder.java:
3479         New file from classpath.
3480         * javax/swing/border/doc-files/LineBorder-1.png,
3481         javax/swing/border/doc-files/BevelBorder-1.png,
3482         javax/swing/border/doc-files/BevelBorder-2.png,
3483         javax/swing/border/doc-files/BevelBorder-3.png,
3484         javax/swing/border/doc-files/EmptyBorder-1.png,
3485         javax/swing/border/doc-files/EtchedBorder-1.png,
3486         javax/swing/border/doc-files/EtchedBorder-2.png,
3487         javax/swing/border/doc-files/MatteBorder-1.png,
3488         javax/swing/border/doc-files/MatteBorder-2.png,
3489         javax/swing/border/doc-files/MatteBorder-3.png,
3490         javax/swing/border/doc-files/MatteBorder-4.png,
3491         javax/swing/border/doc-files/MatteBorder-5.png,
3492         javax/swing/border/doc-files/MatteBorder-6.png,
3493         javax/swing/border/doc-files/SoftBevelBorder-1.png,
3494         javax/swing/border/doc-files/SoftBevelBorder-2.png,
3495         javax/swing/border/doc-files/SoftBevelBorder-3.png,
3496         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
3497         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
3498         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
3499         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
3500         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
3501         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
3502         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
3503         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
3504         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
3505         New binary files from classpath.
3506         * Makefile.am
3507         (awt_java_source_files): Added
3508         javax/swing/border/SoftBevelBorder.java.
3509         * Makefile.in: Regenerated.
3511 2003-06-19  Michael Koch  <konqueror@gmx.de>
3513         * gnu/java/security/x509/X509Certificate.java
3514         (writeReplace): Merged from classpath.
3516 2003-06-19  Michael Koch  <konqueror@gmx.de>
3518         * gnu/java/nio/FileChannelImpl.java
3519         (map_address): Made public.
3520         (FileChannelImpl): Merged with classpath.
3521         * gnu/java/nio/natFileChannelImpl.cc
3522         (nio_mmap_file): Commented out unused arguments.
3523         (nio_unmmap_file): Likewise.
3524         (niu_msync): Likewise.
3526 2003-06-19  Michael Koch  <konqueror@gmx.de>
3528         * java/awt/image/IndexColorModel.java:
3529         New version from classpath.
3531 2003-06-18  Tom Tromey  <tromey@redhat.com>
3533         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
3534         on arrays.
3535         (isLoopbackAddress): Likewise.
3536         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
3537         on arrays.
3539 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
3541         * java/lang/natVMSecurityManager.cc (getClassContext):
3542         Use maxlen instead of len for loop bound.
3544 2003-06-18  Michael Koch  <konqueror@gmx.de>
3546         * gnu/java/nio/SelectorImpl.java
3547         (register): Use fd with value 0 for now, will be fixed later.
3548         * gnu/java/nio/ServerSocketChannelImpl.java
3549         (fd): Removed.
3550         (local_port): Removed.
3551         (InetSocketAddress): Removed.
3552         (ServerSocketChannelImpl): Just initialize internal socket object.
3553         (implCloseSelectableChannel): Close internal socket object.
3554         (implConfigureBlocking): Added comment.
3555         (accept): Use jaba.net stuff to accept socket.
3556         * gnu/java/nio/SocketChannelImpl.java
3557         (fd): Removed.
3558         (local_port): Removed.
3559         (InetSocketAddress): Removed.
3560         (SocketCreate): Removed.
3561         (SocketConnect): Removed.
3562         (SocketBind): Removed.
3563         (SocketListen): Removed.
3564         (SocketAvailable): Removed.
3565         (SocketClose): Removed.
3566         (SocketRead): Removed.
3567         (SocketWrite): Removed.
3568         (SocketChannelImpl): Just initialize internal socket object.
3569         (implCloseSelectableChannel): Close internal socket object.
3570         (implConfigureBlocking): Fixed implementation, added comment.
3571         (connect): Use internal socket object to connect.
3572         (socket): No need for sanity checks.
3573         (read): Comment out some stuff, this will be reimplemented in the next
3574         commit.
3575         (write): Likewise.
3576         * gnu/java/nio/natFileChannelImpl.cc
3577         (nio_mmap_file): Line wrapped.
3578         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
3579         * Makefile.am
3580         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
3581         * Makefile.in: Regenerated.
3583 2003-06-18  Michael Koch  <konqueror@gmx.de>
3585         * java/util/Locale.java
3586         (equals): Merged from classpath.
3588 2003-06-18  Michael Koch  <konqueror@gmx.de>
3590         * java/net/InetAddress.java:
3591         Reformatted to better match classpath's version.
3592         * java/net/URL.java
3593         (equals): Simplified.
3594         * java/net/URLConnection.java
3595         (setDoInput): Revised documentation.
3596         (getDefaultUseCaches): Likewise.
3597         (setRequestProperty): Added @since tag.
3599 2003-06-17  Michael Koch  <konqueror@gmx.de>
3601         * java/net/InetSocketAddress.java
3602         (InetSocketAddress): Use wildcard address if addr is null.
3603         (InetSocketAddress): Dont duplicate implementation.
3604         (InetSocketAddress): Throw exception when hostname is null.
3605         * java/net/Socket.java:
3606         Reworked imports.
3607         (Socket): Throw exception when raddr is null, handle case when laddr
3608         is null.
3610 2003-06-17  Michael Koch  <konqueror@gmx.de>
3612         * java/nio/DirectByteBufferImpl.java
3613         (address): Made package private.
3614         (DirectByteBufferImpl): New constructor.
3615         * java/nio/natDirectByteBufferImpl.cc
3616         (allocateImpl): Moved to java.nio namespace, implemented.
3617         (freeImpl): Likewise.
3618         (getImpl): Likewise.
3619         (putImpl): Likewise.
3620         * jni.cc
3621         (_Jv_JNI_NewDirectByteBuffer): Implemented.
3622         (_Jv_JNI_GetDirectBufferAddress): Implemented.
3623         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
3625 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3627         * include/powerpc-signal.h: New File.
3628         * configure.in: Use it.
3629         * configure: Regenerated.
3631 2003-06-17  Michael Koch  <konqueror@gmx.de>
3633         * java/util/Locale.java
3634         (getDisplayLanguage): Made it final.
3635         (getDisplayCountry): Likewise.
3636         (getDisplayVariant): Likewise.
3637         (getDisplayName): Likewise.
3639 2003-06-17  Michael Koch  <konqueror@gmx.de>
3641         * java/util/PropertyResourceBundle.java:
3642         Removed unneeded import.
3644 2003-06-17  Michael Koch  <konqueror@gmx.de>
3646         * java/util/prefs/AbstractPreferences.java,
3647         java/util/prefs/PreferencesFactory.java:
3648         Reworked imports, removed unused imports.
3649         * java/util/prefs/Preferences.java
3650         (systemNodeForPackage): Method takes a Class not an Object.
3651         (userNodeForPackage): Likewise.
3652         (nodeForPackage): Likewise.
3654 2003-06-17  Michael Koch  <konqueror@gmx.de>
3656         * gnu/java/security/x509/X509Certificate.java:
3657         Explicitely import used classes.
3659 2003-06-17  Michael Koch  <konqueror@gmx.de>
3661         * java/util/zip/ZipEntry.java,
3662         java/util/zip/ZipFile.java,
3663         java/util/zip/ZipInputStream.java,
3664         java/util/zip/ZipOutputStream.java:
3665         Reworked imports, only import used classes.
3667 2003-06-17  Michael Koch  <konqueror@gmx.de>
3669         * gnu/java/lang/ArrayHelper.java,
3670         gnu/java/lang/ClassHelper.java:
3671         Reformatted to match classpath's versions.
3673 2003-06-14  Michael Koch  <konqueror@gmx.de>
3675         * gnu/java/nio/FileChannelImpl.java
3676         (map_address): Removed incorrect comment.        
3677         * gnu/java/nio/SelectorImpl.java
3678         (register): Remove code duplication and code for file channel handling.        
3679         * gnu/java/nio/ServerSocketChannelImpl.java
3680         (serverSocket): Renamed from sock_object.
3681         (ServerSocketChannel): Initialize serverSocket.
3682         (socket): Return serverSocket.
3683         * gnu/java/nio/SocketChannelImpl.java
3684         (socket): Renamed from sock_object.
3685         (isConnectionPenging): Simplified.
3686         (socket): Return socket.
3687 2003-06-14  Michael Koch  <konqueror@gmx.de>
3689         * java/security/BasicPermission.java:
3690         New version from classpath.
3692 2003-06-14  Michael Koch  <konqueror@gmx.de>
3694         * javax/naming/directory/Attribute.java:
3695         New version from classpath.
3697 2003-06-14  Michael Koch  <konqueror@gmx.de>
3699         * java/io/BufferedReader.java,
3700         java/io/FileOutputStream.java:
3701         New versions from classpath.
3703 2003-06-12  Andrew Haley  <aph@redhat.com>
3705         * prims.cc (catch_segv): Create exception in handler.
3706         (catch_fpe): Likewise.  
3707         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
3708         (_Jv_ThrowSignal): Remove.
3710         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
3711         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
3712         to nullp and arithexception.
3713         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
3714         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
3715         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
3716         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
3717         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
3719 2003-06-11  Andrew Haley  <aph@redhat.com>
3721         * jni.cc (_Jv_JNI_check_types): New.
3722         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
3723         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
3724         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
3725         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
3726         
3727         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
3728         infinite loop.
3730 2003-06-11  Tom Tromey  <tromey@redhat.com>
3732         * java/lang/ClassLoader.java (loadClass): Not deprecated.
3733         * java/io/PrintStream.java: Not deprecated.
3735 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
3737         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
3738         (fillOval): implemented
3739         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
3740         (fillArc): implemented.
3741         * gnu/gcj/xlib/GC.java (drawArc): added native method.
3742         (fillArc): added native method.
3743         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
3744         (fillArc): added native method.
3746 2003-06-11  Michael Koch  <konqueror@gmx.de>
3748         * java/awt/im/InputSubset.java:
3749         New version from classpath.
3751 2003-06-11  Michael Koch  <konqueror@gmx.de>
3753         * javax/swing/AbstractAction.java,
3754         javax/swing/AbstractButton.java,
3755         javax/swing/AbstractCellEditor.java,
3756         javax/swing/AbstractListModel.java,
3757         javax/swing/BorderFactory.java,
3758         javax/swing/Box.java,
3759         javax/swing/BoxLayout.java,
3760         javax/swing/ButtonGroup.java,
3761         javax/swing/DefaultButtonModel.java,
3762         javax/swing/DefaultListModel.java,
3763         javax/swing/DefaultListSelectionModel.java,
3764         javax/swing/FocusManager.java,
3765         javax/swing/ImageIcon.java,
3766         javax/swing/InputMap.java,
3767         javax/swing/JApplet.java,
3768         javax/swing/JButton.java,
3769         javax/swing/JCheckBox.java,
3770         javax/swing/JCheckBoxMenuItem.java,
3771         javax/swing/JColorChooser.java,
3772         javax/swing/JComboBox.java,
3773         javax/swing/JComponent.java,
3774         javax/swing/JDesktopPane.java,
3775         javax/swing/JDialog.java,
3776         javax/swing/JEditorPane.java,
3777         javax/swing/JFileChooser.java,
3778         javax/swing/JFormattedTextField.java,
3779         javax/swing/JFrame.java,
3780         javax/swing/JLabel.java,
3781         javax/swing/JLayeredPane.java,
3782         javax/swing/JList.java,
3783         javax/swing/JMenuBar.java,
3784         javax/swing/JMenuItem.java,
3785         javax/swing/JOptionPane.java,
3786         javax/swing/JPanel.java,
3787         javax/swing/JPasswordField.java,
3788         javax/swing/JPopupMenu.java,
3789         javax/swing/JProgressBar.java,
3790         javax/swing/JRadioButton.java,
3791         javax/swing/JRadioButtonMenuItem.java,
3792         javax/swing/JRootPane.java,
3793         javax/swing/JScrollBar.java,
3794         javax/swing/JScrollPane.java,
3795         javax/swing/JSeparator.java,
3796         javax/swing/JSlider.java,
3797         javax/swing/JTabbedPane.java,
3798         javax/swing/JTable.java,
3799         javax/swing/JTextField.java,
3800         javax/swing/JToggleButton.java,
3801         javax/swing/JToolBar.java,
3802         javax/swing/JToolTip.java,
3803         javax/swing/JTree.java,
3804         javax/swing/JViewport.java,
3805         javax/swing/JWindow.java,
3806         javax/swing/KeyStroke.java,
3807         javax/swing/ListSelectionModel.java,
3808         javax/swing/LookAndFeel.java,
3809         javax/swing/RepaintManager.java,
3810         javax/swing/ScrollPaneLayout.java,
3811         javax/swing/SizeRequirements.java,
3812         javax/swing/SwingConstants.java,
3813         javax/swing/Timer.java,
3814         javax/swing/UIDefaults.java,
3815         javax/swing/UIManager.java,
3816         javax/swing/border/AbstractBorder.java,
3817         javax/swing/border/CompoundBorder.java,
3818         javax/swing/colorchooser/AbstractColorChooserPanel.java,
3819         javax/swing/colorchooser/ColorChooserComponentFactory.java,
3820         javax/swing/colorchooser/ColorSelectionModel.java,
3821         javax/swing/colorchooser/DefaultColorSelectionModel.java,
3822         javax/swing/event/AncestorEvent.java,
3823         javax/swing/event/HyperlinkEvent.java,
3824         javax/swing/event/InternalFrameAdapter.java,
3825         javax/swing/event/InternalFrameEvent.java,
3826         javax/swing/event/ListDataEvent.java,
3827         javax/swing/event/MouseInputAdapter.java,
3828         javax/swing/event/SwingPropertyChangeSupport.java,
3829         javax/swing/event/TableModelEvent.java,
3830         javax/swing/event/TreeWillExpandListener.java,
3831         javax/swing/event/UndoableEditEvent.java,
3832         javax/swing/filechooser/FileFilter.java,
3833         javax/swing/filechooser/FileSystemView.java,
3834         javax/swing/filechooser/FileView.java,
3835         javax/swing/plaf/BorderUIResource.java,
3836         javax/swing/plaf/basic/BasicDefaults.java,
3837         javax/swing/table/AbstractTableModel.java,
3838         javax/swing/table/DefaultTableCellRenderer.java,
3839         javax/swing/table/DefaultTableColumnModel.java,
3840         javax/swing/table/DefaultTableModel.java,
3841         javax/swing/table/TableColumn.java,
3842         javax/swing/text/JTextComponent.java,
3843         javax/swing/tree/AbstractLayoutCache.java,
3844         javax/swing/tree/DefaultMutableTreeNode.java,
3845         javax/swing/tree/DefaultTreeCellEditor.java,
3846         javax/swing/tree/DefaultTreeCellRenderer.java,
3847         javax/swing/tree/DefaultTreeModel.java,
3848         javax/swing/tree/DefaultTreeSelectionModel.java,
3849         javax/swing/tree/FixedHeightLayoutCache.java,
3850         javax/swing/tree/TreeCellEditor.java,
3851         javax/swing/tree/TreeModel.java,
3852         javax/swing/tree/TreeNode.java,
3853         javax/swing/tree/TreePath.java,
3854         javax/swing/tree/TreeSelectionModel.java,
3855         javax/swing/tree/VariableHeightLayoutCache.java,
3856         javax/swing/undo/AbstractUndoableEdit.java,
3857         javax/swing/undo/CompoundEdit.java,
3858         javax/swing/undo/StateEdit.java,
3859         javax/swing/undo/UndoManager.java,
3860         javax/swing/undo/UndoableEditSupport.java:
3861         New versions from classpath.
3862         * javax/swing/table/JTableHeader.java:
3863         New file from classpath.
3864         * Makefile.am
3865         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
3866         * Makefile.in: Regenerated.
3868 2003-06-11  Michael Koch  <konqueror@gmx.de>
3870         * java/nio/MappedByteBuffer.java,
3871         java/nio/channels/Channels.java,
3872         java/nio/channels/ServerSocketChannel.java,
3873         java/nio/channels/spi/AbstractSelector.java:
3874         Removed unneeded imports.
3876 2003-06-11  Michael Koch  <konqueror@gmx.de>
3878         * java/net/DatagramSocket.java:
3879         Partly merged with classpath.
3881 2003-06-11  Michael Koch  <konqueror@gmx.de>
3883         * java/awt/Frame.java,
3884         java/awt/Graphics.java,
3885         java/awt/Menu.java,
3886         java/awt/Robot.java,
3887         java/awt/image/ColorModel.java:
3888         New versions from classpath.
3890 2003-06-10  Michael Koch  <konqueror@gmx.de>
3892         * java/io/PrintStream.java:
3893         Merged version from classpath.
3894         (close): Removed sychronized keyword. This class is not garantied to
3895         be thread-safe.
3896         (write): Likewise.
3898 2003-06-09  Tom Tromey  <tromey@redhat.com>
3900         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
3901         field.
3902         (getDescent): Likewise, for "descent".
3904 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
3906         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
3907         (getMaxDescent): adjusted return value.
3908         (getAscent): modified to use metrics for 'O'.
3909         (getDescent): modified to use metrics for 'y'.
3911 2003-06-08  Anthony Green  <green@redhat.com>
3913         * java/net/URLStreamHandler.java (sameFile): Fix port value
3914         comparison.
3915         * java/net/URL.java (handler): Make package private.
3916         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
3918 2003-06-07  Tom Tromey  <tromey@redhat.com>
3920         For PR libgcj/11085:
3921         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
3922         Limit number of characters in numeric field when required.
3923         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
3924         Respect maximumIntegerDigits.
3926 2003-06-08  Michael Koch  <konqueror@gmx.de>
3928         * java/net/Socket.java
3929         (Socket): Dont initialize inputShutdown and outputShutdown twice,
3930         call bind() and connect() to actually do the bind and connect tasks.
3931         (bind): Connect to canonical address if bindpoint is null, create
3932         socket and bind it to bindpoint.
3933         (connect): Check for exceptions.
3935 2003-06-08  Michael Koch  <konqueror@gmx.de>
3937         * java/net/DatagramSocket.java
3938         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
3939         into the Multicast constructors.
3940         * java/net/DatagramSocketImpl.java
3941         (getOption): Removed.
3942         (setOption): Removed.
3943         * java/net/MulticastSocket.java
3944         (MulticastSocket): Call setReuseAddress (true).
3945         * java/net/SocketImpl.java
3946         (getOption): Removed.
3947         (setOption): Removed.
3949 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
3951         PR libgcj/10886:
3952         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
3953         Test for empty vector.
3955 2003-06-06  Mark Wielaard  <mark@klomp.org>
3957         * java/security/Security.java (secprops): Initialize.
3958         (loadProviders): Return boolean.
3959         (static): Check result of loadProvider calls. If necessary
3960         display WARNING and fallback to Gnu provider.
3962 2002-06-06  James Clark  <jjc@jclark.com>
3964         Fix for PR libgcj/8738:
3965         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
3966         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
3967         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
3968         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
3969         (write): Always decrease avail when count is increased.
3970         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
3971         and whether output buffer is full before increasing size.
3973 2002-06-06  Mark Wielaard  <mark@klomp dot org>
3975         * java/io/PrintStream.java (writeChars(char[],int, int)):
3976         Check converter.havePendingBytes().
3977         (writeChars(String,int,int)): Likewise.
3978         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
3979         Check converter.havePendingBytes() and flush buffer when stalled.
3981 2003-06-07  Michael Koch  <konqueror@gmx.de>
3983         * include/posix.h
3984         (O_DSYNC): Define O_DSYNC on platforms not
3985         supporting O_FSYNC (newlib).
3987 2003-06-06  Mark Wielaard  <mark@klomp.org>
3989         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
3990         AWTError.
3992 2003-06-06  Michael Koch  <konqueror@gmx.de>
3994         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3995         More compile fixes from my stupid work yesterday.
3997 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
3999         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
4000         if _IEEE_LIBM is undefined.
4002 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
4004         * libjava/include/posix.h (O_SYNC): Define if not available
4005         and a reasonable, perhaps more conservative, replacement exists.
4006         (O_DSYNC): Likewise.
4007         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
4009 2003-06-05  Michael Koch  <konqueror@gmx.de>
4011         * javax/swing/plaf/BorderUIResource.java,
4012         javax/swing/plaf/basic/BasicDefaults.java,
4013         javax/swing/plaf/basic/BasicOptionPaneUI.java:
4014         More compile fixes for latest Border commit. I should not commit
4015         something in this heat here ...
4017 2003-06-05  Michael Koch  <konqueror@gmx.de>
4019         * javax/swing/border/BevelBorder.java
4020         (BevelBorder): Removed.
4021         * javax/swing/border/EmptyBorder.java:
4022         Reformatted.
4023         (EmptyBorder): Removed.
4024         (getBorderInsets): Dont use l, r, t and b.
4025         * javax/swing/border/EtchedBorder.java
4026         (EtchedBorder): Removed.
4027         * javax/swing/border/LineBorder.java
4028         (LineBorder): Removed.
4029         * javax/swing/border/MatteBorder.java
4030         (MatteBorder): Removed.
4031         * javax/swing/border/TitledBorder.java
4032         (defaultBorder): Use other default for now.
4033         (defaultFont): Likewise.
4034         (defaultColor): Likewise.
4036 2003-06-05  Michael Koch  <konqueror@gmx.de>
4038         * javax/swing/border/Border.java:
4039         New version from classpath.
4041 2003-06-05  Michael Koch  <konqueror@gmx.de>
4043         * javax/swing/border/AbstractBorder.java,
4044         javax/swing/border/BevelBorder.java,
4045         javax/swing/border/CompoundBorder.java,
4046         javax/swing/border/EmptyBorder.java,
4047         javax/swing/border/EtchedBorder.java,
4048         javax/swing/border/LineBorder.java,
4049         javax/swing/border/MatteBorder.java,
4050         javax/swing/border/TitledBorder.java:
4051         New versions from Classpath.
4053 2003-06-05  Michael Koch  <konqueror@gmx.de>
4055         * java/awt/Button.java,
4056         java/awt/Checkbox.java,
4057         java/awt/CheckboxMenuItem.java,
4058         java/awt/Choice.java,
4059         java/awt/Container.java,
4060         java/awt/Dialog.java,
4061         java/awt/EventQueue.java,
4062         java/awt/FileDialog.java,
4063         java/awt/Frame.java,
4064         java/awt/Label.java,
4065         java/awt/List.java,
4066         java/awt/Menu.java,
4067         java/awt/MenuItem.java,
4068         java/awt/Panel.java,
4069         java/awt/PopupMenu.java,
4070         java/awt/Rectangle.java,
4071         java/awt/ScrollPane.java,
4072         java/awt/Scrollbar.java,
4073         java/awt/TextArea.java,
4074         java/awt/TextField.java,
4075         java/awt/Window.java,
4076         java/awt/datatransfer/DataFlavor.java,
4077         java/awt/dnd/DragSource.java,
4078         java/awt/dnd/DragSourceContext.java,
4079         java/awt/event/HierarchyEvent.java,
4080         java/awt/event/MouseWheelEvent.java,
4081         java/awt/im/InputContext.java,
4082         java/awt/image/BufferedImage.java,
4083         java/awt/image/ComponentColorModel.java,
4084         java/awt/image/Raster.java,
4085         java/awt/image/WritableRaster.java,
4086         java/awt/peer/ComponentPeer.java,
4087         java/awt/print/PageFormat.java,
4088         java/awt/print/PrinterJob.java:
4089         New versions from Classpath.
4091 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
4093         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
4094         numberFormat.setParseIntegerOnly(true).
4096 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
4098         * include/posix-threads.h: Include <machine/pal.h> on OSF.
4100 2003-06-03  Andrew Haley  <aph@redhat.com>
4102         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
4103         stack volatile to prevent optimization from removing it.
4105 2003-05-27  Michael Koch  <konqueror@gmx.de>
4107         * java/util/zip/Deflater.java
4108         (FILTERED): Merged documentation from classpath.
4109         * java/util/zip/DeflaterOutputStream.java
4110         (DeflaterOutputStream): Merged documentation and argument validity
4111         check from classpath.
4112         (deflate): Merged documentation from classpath.
4113         (finish): Likewise.
4114         * java/util/zip/Inflater.java
4115         (Inflater): Merged class documentation from classpath.
4116         (zstream): Reordered.
4117         (is_finished): Reordered.
4118         (dict_needed): Reordered.
4119         (Inflater): Reordered, merged documentation from classpath.
4120         (end): Likewise.
4121         (finalize): Merged documentation from classpath.
4122         (finished): Likewise.
4123         (getAdler): Likewise.
4124         (getRemaining): Likewise.
4125         (getTotalIn): Likewise.
4126         (getTotalOut): Likewise.
4127         (inflate): Likewise.
4128         (needsDictionary): Likewise.
4129         (needsInput): Likewise.
4130         (reset): Likewise.
4131         (setDictionary): Likewise.
4132         (setInput): Likewise.
4134 2003-05-27  Michael Koch  <konqueror@gmx.de>
4136         * java/net/URLConnection.java
4137         (getHeaderFieldInt): Merged with classpath.
4139 2003-05-27  Michael Koch  <konqueror@gmx.de>
4141         * java/io/PrintStream.java
4142         (PrintStream): Reformatted.
4143         (PrintStream): New method, merged from classpath.
4144         (write): Reformatted.
4146 2003-05-27  Michael Koch  <konqueror@gmx.de>
4148         * java/lang/System.java:
4149         Explicitely import needed classes.
4151 2003-05-26  Michael Koch  <konqueror@gmx.de>
4153         * java/net/NetPermission.java,
4154         java/net/NetworkInterface.java,
4155         java/net/PasswordAuthentication.java,
4156         java/net/SocketPermission.java:
4157         New versions from classpath.
4159 2003-05-25  Michael Koch  <konqueror@gmx.de>
4161         * java/io/PushbackInputStream.java,
4162         java/net/Authenticator.java,
4163         java/net/ContentHandler.java,
4164         java/net/ContentHandlerFactory.java,
4165         java/net/DatagramSocket.java,
4166         java/net/DatagramSocketImpl.java,
4167         java/net/DatagramSocketImplFactory.java,
4168         java/net/FileNameMap.java,
4169         java/net/SocketImplFactory.java,
4170         java/net/SocketOptions.java,
4171         java/net/URLStreamHandlerFactory.java:
4172         Merged new versions from classpath.
4174 2003-05-25  Michael Koch  <konqueror@gmx.de>
4176         * java/awt/Checkbox.java,
4177         java/awt/Dialog.java,
4178         java/awt/Font.java,
4179         java/awt/Frame.java,
4180         java/awt/ScrollPaneAdjustable.java,
4181         java/awt/Scrollbar.java,
4182         java/awt/Window.java:
4183         New versions from classpath.
4185 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
4187         PR libgcj/10838:
4188         * java/io/ObjectInputStream (enableResolveObject):
4189         Fixed spelling of permission name.
4191 2003-05-20  Michael Koch  <konqueror@gmx.de>
4193         * java/io/DataInputStream.java
4194         (convertFromUTF): Merged comment from classpath.
4195         * java/io/PrintStream.java
4196         (error_occured): Renamed from error, merged comment from classpath.
4197         (PrintStream): No need to initialized error.
4198         (checkError): Replace error with error_occurred.
4199         (setError): Likewise.
4201 2003-05-20  Michael Koch  <konqueror@gmx.de>
4203         * java/io/DataInputStream.java:
4204         Reformatted, Replaced < and & with html entitites in documentation.
4205         * java/io/File.java:
4206         Reformatted.
4207         * java/io/PrintWriter.java:
4208         Moved class documentation.
4210 2003-05-20  Michael Koch  <konqueror@gmx.de>
4212         * gnu/java/nio/ByteBufferImpl.java,
4213         gnu/java/nio/CharBufferImpl.java,
4214         gnu/java/nio/CharViewBufferImpl.java,
4215         gnu/java/nio/DirectByteBufferImpl.java,
4216         gnu/java/nio/DoubleBufferImpl.java,
4217         gnu/java/nio/DoubleViewBufferImpl.java,
4218         gnu/java/nio/FloatBufferImpl.java,
4219         gnu/java/nio/FloatViewBufferImpl.java,
4220         gnu/java/nio/IntBufferImpl.java,
4221         gnu/java/nio/IntViewBufferImpl.java,
4222         gnu/java/nio/LongBufferImpl.java,
4223         gnu/java/nio/LongViewBufferImpl.java,
4224         gnu/java/nio/natDirectByteBufferImpl.cc,
4225         gnu/java/nio/ShortBufferImpl.java,
4226         gnu/java/nio/ShortViewBufferImpl.java:
4227         Moved files to java/nio.
4228         * gnu/java/nio/SocketChannelImpl.java
4229         
4230         * java/nio/ByteBuffer.java,
4231         java/nio/CharBuffer.java,
4232         java/nio/DoubleBuffer.java,
4233         java/nio/FloatBuffer.java,
4234         java/nio/IntBuffer.java,
4235         java/nio/LongBuffer.java,
4236         java/nio/ShortBuffer.java:
4237         Dont import anything.
4238         * java/nio/ByteBufferImpl.java,
4239         java/nio/CharBufferImpl.java,
4240         java/nio/CharViewBufferImpl.java,
4241         java/nio/DirectByteBufferImpl.java,
4242         java/nio/DoubleBufferImpl.java,
4243         java/nio/DoubleViewBufferImpl.java,
4244         java/nio/FloatBufferImpl.java,
4245         java/nio/FloatViewBufferImpl.java,
4246         java/nio/IntBufferImpl.java,
4247         java/nio/IntViewBufferImpl.java,
4248         java/nio/LongBufferImpl.java,
4249         java/nio/LongViewBufferImpl.java,
4250         java/nio/natDirectByteBufferImpl.cc,
4251         java/nio/ShortBufferImpl.java,
4252         java/nio/ShortViewBufferImpl.java:
4253         Moved from gnu/java/nio.
4254         * Makefile.am
4255         (ordinary_java_source_files): Moved files from gnu/java/nio to
4256         java/nio.
4257         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
4258         to java/nio.
4259         * Makefile.in: Regenerated.
4261 2003-05-19  Michael Koch  <konqueror@gmx.de>
4263         * java/util/Calendar.java
4264         (get): Not final anymore since JDK 1.4
4265         (set): Likewise.
4267 2003-05-19  Michael Koch  <konqueror@gmx.de>
4269         * java/text/CollationKey.java:
4270         Merged copyright and dat from classpath.
4271         * java/text/RuleBasedCollator.java:
4272         Merged class documentation from classpath.
4274 2003-05-19  Michael Koch  <konqueror@gmx.de>
4276         * java/nio/CharBuffer.java
4277         (toString): Compile fix.
4279 2003-05-19  Michael Koch  <konqueror@gmx.de>
4281         * gnu/java/nio/ByteBufferImpl.java
4282         (putLong): Fixed conversion to bytes.
4283         (putDouble): Fixed conversion to bytes.
4284         * gnu/java/nio/DirectByteBufferImpl.java
4285         (putLong): Fixed conversion to bytes.
4286         (putDouble): Fixed conversion to bytes.
4287         * gnu/java/nio/FileLockImpl.java
4288         (isValid): Reformatted.
4289         * java/nio/Buffer.java
4290         (Buffer): Fixed off-by-one bug in handling mark.
4291         * java/nio/ByteBuffer.java:
4292         Added newline.
4293         * java/nio/CharBuffer.java
4294         (toString): Don't use relative get to get string data.
4296 2003-05-16  Michael Koch  <konqueror@gmx.de>
4298         * java/io/natFileDescriptorPosix.cc
4299         (open): Commented out the O_SYNC and O_DSYNC usage until its better
4300         tested.
4302 2003-05-14  Michael Koch  <konqueror@gmx.de>
4304         * gnu/java/nio/FileLockImpl.java
4305         (released): New member variable.
4306         (FileLockImpl): Initialize released.
4307         (releaseImpl): New native method.
4308         (release): Implemented.
4309         * gnu/java/nio/SelectorImpl.java: Reformatted.
4310         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
4311         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
4312         (accept): Throws IOException.
4313         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
4314         (implConfigureBlocking): Throws IOException.
4315         (connect): Likewise.
4316         (read): Likewise.
4317         (write): Likewise.
4318         * gnu/java/nio/natFileLockImpl.cc: New file.
4319         * java/nio/channels/FileLock.java: Reformatted.
4320         * Makefile.am:
4321         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
4322         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
4323         * Makefile.in: Regenerated.
4325 2003-05-13  Michael Koch  <konqueror@gmx.de>
4327         * gnu/java/nio/CharViewBufferImpl.java
4328         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
4329         (get): Shift bits to the right direction.
4330         (put): Likewise.
4331         * gnu/java/nio/DoubleViewBufferImpl.java
4332         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
4333         (get): Shift bits to the right direction.
4334         (put): Likewise.
4335         * gnu/java/nio/FloatViewBufferImpl.java
4336         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
4337         (get): Shift bits to the right direction.
4338         (put): Likewise.
4339         * gnu/java/nio/IntViewBufferImpl.java
4340         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
4341         (get): Shift bits to the right direction.
4342         (put): Likewise.
4343         * gnu/java/nio/LongViewBufferImpl.java
4344         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
4345         (get): Shift bits to the right direction.
4346         (put): Likewise.
4347         * gnu/java/nio/ShortViewBufferImpl.java
4348         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
4349         (get): Shift bits to the right direction.
4350         (put): Likewise.
4352 2003-05-13  Michael Koch  <konqueror@gmx.de>
4354         * gnu/java/nio/natDirectByteBufferImpl.cc
4355         (allocateImpl): jlong -> RawData*.
4356         (freeImpl): Likewise.
4358 2003-05-13  Michael Koch  <konqueror@gmx.de>
4360         * java/nio/channels/FileChannel.java
4361         (MapMode.m): Made it package-private to match JDK 1.4.
4362         * java/nio/charset/Charset.java
4363         (decode): Made it final to match JDK 1.4.
4365 2003-05-13  Michael Koch  <konqueror@gmx.de>
4367        * java/io/FileDescriptor.java
4368        (SYNC): New constant.
4369        (DSYNC): Likewise.
4370        (getLength): Renamed from lenght() to match classpath's
4371        FileDescriptor.java.
4372        * java/io/RandomAccessFile.java
4373        (RandomAccessFile): Removed unneeded mode check, implemented mode
4374        "rws" and "rwd", merged documentation from classpath.
4375        (setLength): Reformatted.
4376        (length): Use new getLength() of FileDescriptor.
4377        * java/io/natFileDescriptorEcos.cc
4378        (getLength): Renamed from length().
4379        * java/io/natFileDescriptorPosix.cc
4380        (open): Implemented support for SYNC and DSYNC.
4381        (seek): Use getLength() instead of length().
4382        (getLength): Renamed from length().
4383        * java/io/natFileDescriptorWin32.cc
4384        (getLength): Renamed from length().
4385        (seek): Use getLength() instead of length().
4386        (available): Likewise.
4387        * gnu/java/nio/natFileChannelImpl.cc
4388        (size): Use getLength() instead of length().
4390 2003-05-13  Michael Koch  <konqueror@gmx.de>
4392         * gnu/java/nio/ByteBufferImpl.java
4393         (ByteBufferImpl): All constructors revised.
4394         (slice): Reimplemented.
4395         (duplicate): Reimplemented.
4396         (asReadOnlyBuffer): Reimplemented.
4397         * java/nio/ByteBuffer.java:
4398         Reformatted.
4399         (array_offset): Renamed from "offset" to match all other buffer
4400         classes.
4401         (ByteBuffer): All constructors revised.
4402         (allocateDirect): Implemented.
4403         (allocate): New implementation, documentation reworked.
4404         (wrap): Likewise.
4405         (get): Documentation reworked.
4406         (put): New implementation, documentation reworked.
4407         (hasArray): Documentation reworked.
4408         (arrayOffset): Likewise.
4409         (hashCode): Likewise.
4410         (equals): Likewise.
4411         (compareTo): Likewise.
4412         (order): Likewise.
4413         (compact): Likewise.
4414         (isDirect): Likewise.
4415         (slice): Likewise.
4416         (duplicate): Likewise.
4417         (asReadOnlyBuffer): Likewise.
4418         * Makefile.am
4419         (ordinary_java_source_files):
4420         Added gnu/java/nio/DirectByteBufferImpl.java.
4421         (nat_source_files):
4422         Added gnu/java/nio/natDirectByteBufferImpl.cc.
4423         * Makefile.in: Regenerated.
4425 2003-05-12  Michael Koch  <konqueror@gmx.de>
4427         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
4428         (nio_get_*): Removed.
4429         (nio_put_*): Removed.
4430         (as*Buffer): Implemented.
4431         (compact): Implemented.
4432         (get): Documentation added.
4433         (put): Documentation added.
4434         (get*): Newly implemented.
4435         (put*): Newly implemented.
4436         * gnu/java/nio/CharBufferImpl.java: Reformatted.
4437         (CharBufferImpl): Revised.
4438         (slice): New implementation.
4439         (duplicate): New implementation.
4440         (compact): New implementation.
4441         (asReadOnlyBuffer): New implementation.
4442         (get): Documentation revised.
4443         (order): Return native byte order.
4444         * gnu/java/nio/DirectByteBufferImpl.java
4445         (allocateDirect): objects can be null not 0.
4446         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
4447         (DoubleBufferImpl): Revised.
4448         (slice): New implementation.
4449         (duplicate): New implementation.
4450         (compact): New implementation.
4451         (asReadOnlyBuffer): New implementation.
4452         (get): Documentation revised.
4453         (order): Return native byte order.
4454         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
4455         (FloatBufferImpl): Revised.
4456         (slice): New implementation.
4457         (duplicate): New implementation.
4458         (compact): New implementation.
4459         (asReadOnlyBuffer): New implementation.
4460         (get): Documentation revised.
4461         (order): Return native byte order.
4462         * gnu/java/nio/IntBufferImpl.java: Reformatted.
4463         (IntBufferImpl): Revised.
4464         (slice): New implementation.
4465         (duplicate): New implementation.
4466         (compact): New implementation.
4467         (asReadOnlyBuffer): New implementation.
4468         (get): Documentation revised.
4469         (order): Return native byte order.
4470         * gnu/java/nio/LongBufferImpl.java: Reformatted.
4471         (LongBufferImpl): Revised.
4472         (slice): New implementation.
4473         (duplicate): New implementation.
4474         (compact): New implementation.
4475         (asReadOnlyBuffer): New implementation.
4476         (get): Documentation revised.
4477         (order): Return native byte order.
4478         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
4479         (ShortBufferImpl): Revised.
4480         (slice): New implementation.
4481         (duplicate): New implementation.
4482         (compact): New implementation.
4483         (asReadOnlyBuffer): New implementation.
4484         (get): Documentation revised.
4485         (order): Return native byte order.
4486         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
4487         (CharBuffer): Revised.
4488         (order): Removed.
4489         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
4490         (DoubleBuffer): Revised.
4491         (allocateDirect): Removed.
4492         (order): Removed.
4493         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
4494         (FloatBuffer): Revised.
4495         (allocateDirect): Removed.
4496         (order): Removed.
4497         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
4498         (IntBuffer): Revised.
4499         (allocateDirect): Removed.
4500         (order): Removed.
4501         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
4502         (LongBuffer): Revised.
4503         (allocateDirect): Removed.
4504         (order): Removed.
4505         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
4506         (ShortBuffer): Revised.
4507         (allocateDirect): Removed.
4508         (order): Removed.
4509         * gnu/java/nio/natByteBufferImpl.cc: Removed.
4510         * gnu/java/nio/natCharBufferImpl.cc: Removed.
4511         * Makefile.am
4512         (ordinary_java_source_files): Added the following files:
4513         gnu/java/nio/CharViewBufferImpl.java,
4514         gnu/java/nio/DoubleViewBufferImpl.java,
4515         gnu/java/nio/FloatViewBufferImpl.java,
4516         gnu/java/nio/IntViewBufferImpl.java,
4517         gnu/java/nio/LongViewBufferImpl.java,
4518         gnu/java/nio/ShortViewBufferImpl.java
4519         (nat_source_files): Removed the following files:
4520         gnu/java/nio/natByteBufferImpl.cc,
4521         gnu/java/nio/natCharBufferImpl.cc
4522         * Makefile.in: Regenerated.
4524 2003-05-12  Michael Koch  <konqueror@gmx.de>
4526         * gnu/java/nio/CharViewBufferImpl.java,
4527         gnu/java/nio/DirectByteBufferImpl.java,
4528         gnu/java/nio/DoubleViewBufferImpl.java,
4529         gnu/java/nio/FloatViewBufferImpl.java,
4530         gnu/java/nio/IntViewBufferImpl.java,
4531         gnu/java/nio/LongViewBufferImpl.java,
4532         gnu/java/nio/ShortViewBufferImpl.java,
4533         gnu/java/nio/natDirectByteBufferImpl.cc:
4534         New files, not yet to be compiled.
4536 2003-05-10  Michael Koch  <konqueror@gmx.de>
4538         * javax/swing/plaf/ButtonUI.java,
4539         javax/swing/plaf/ColorUIResource.java,
4540         javax/swing/plaf/ComponentUI.java,
4541         javax/swing/plaf/DimensionUIResource.java,
4542         javax/swing/plaf/FontUIResource.java,
4543         javax/swing/plaf/IconUIResource.java,
4544         javax/swing/plaf/InsetsUIResource.java,
4545         javax/swing/plaf/LabelUI.java,
4546         javax/swing/plaf/ListUI.java,
4547         javax/swing/plaf/OptionPaneUI.java,
4548         javax/swing/plaf/PanelUI.java,
4549         javax/swing/plaf/TabbedPaneUI.java,
4550         javax/swing/plaf/TextUI.java,
4551         javax/swing/plaf/TreeUI.java,
4552         javax/swing/plaf/ViewportUI.java,
4553         javax/swing/plaf/basic/BasicBorders.java,
4554         javax/swing/plaf/basic/BasicButtonUI.java,
4555         javax/swing/plaf/basic/BasicCheckBoxUI.java,
4556         javax/swing/plaf/basic/BasicDefaults.java,
4557         javax/swing/plaf/basic/BasicGraphicsUtils.java,
4558         javax/swing/plaf/basic/BasicIconFactory.java,
4559         javax/swing/plaf/basic/BasicLabelUI.java,
4560         javax/swing/plaf/basic/BasicListUI.java,
4561         javax/swing/plaf/basic/BasicOptionPaneUI.java,
4562         javax/swing/plaf/basic/BasicPanelUI.java,
4563         javax/swing/plaf/basic/BasicRadioButtonUI.java,
4564         javax/swing/plaf/basic/BasicScrollPaneUI.java,
4565         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
4566         javax/swing/plaf/basic/BasicTextUI.java,
4567         javax/swing/plaf/basic/BasicToggleButtonUI.java,
4568         javax/swing/plaf/basic/BasicTreeUI.java,
4569         javax/swing/plaf/basic/BasicViewportUI.java,
4570         javax/swing/plaf/metal/MetalLookAndFeel.java:
4571         New versions from classpath. This adds copyrights to all files and
4572         some serialVersionUIDs.
4574 2003-05-10  Michael Koch  <konqueror@gmx.de>
4576         * java/nio/CharBuffer.java
4577         (offset): Make it package-private.
4578         (backing_buffer): Likewise.
4579         * java/nio/DoubleBuffer.java
4580         (offset): Make it package-private.
4581         (backing_buffer): Likewise.
4582         (put): Reformatted.
4583         * java/nio/FloatBuffer.java
4584         (offset): Make it package-private.
4585         (backing_buffer): Likewise.
4586         * java/nio/IntBuffer.java
4587         (offset): Make it package-private.
4588         (backing_buffer): Likewise.
4589         * java/nio/LongBuffer.java
4590         (offset): Make it package-private.
4591         (backing_buffer): Likewise.
4592         * java/nio/ShortBuffer.java
4593         (offset): Make it package-private.
4594         (backing_buffer): Likewise.
4596 2003-05-10  Michael Koch  <konqueror@gmx.de>
4598         * java/nio/CharBuffer.java
4599         (put): Fixed precondtion check.
4600         (toString): Make it work without backing array.
4601         (put): Skip one level of method calling.
4603 2003-05-10  Michael Koch  <konqueror@gmx.de>
4605         * java/security/Identity.java,
4606         java/security/IdentityScope.java,
4607         java/security/Key.java,
4608         java/security/KeyPair.java,
4609         java/security/PrivateKey.java,
4610         java/security/Provider.java,
4611         java/security/PublicKey.java,
4612         java/security/SecureRandom.java,
4613         java/security/SecureRandomSpi.java,
4614         java/security/SignedObject.java,
4615         java/security/Signer.java,
4616         java/security/cert/Certificate.java,
4617         java/security/cert/PKIXCertPathBuilderResult.java,
4618         java/security/cert/X509Certificate.java:
4619         New versions from classpath.
4621 2003-05-09  Tom Tromey  <tromey@redhat.com>
4623         * Makefile.in: Rebuilt.
4624         * Makefile.am (nat_source_files): Removed old files.
4625         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
4626         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
4627         * gnu/java/nio/natIntBufferImpl.cc: Removed.
4628         * gnu/java/nio/natLongBufferImpl.cc: Removed.
4629         * gnu/java/nio/natShortBufferImpl.cc: Removed.
4631 2003-05-09  Michael Koch  <konqueror@gmx.de>
4633         * gnu/java/nio/ByteBufferImpl.java
4634         (nio_cast): Removed.
4635         (ByteBufferImpl): Removed.
4636         (nio_get_Byte): Removed.
4637         (nio_put_Byte): Removed.
4638         (asByteBuffer): Removed.
4639         (asCharBuffer): Removed implementation and throw exception.
4640         (asShortBuffer): Likewise.
4641         (asIntBuffer): Likewise.
4642         (asLongBuffer): Likewise.
4643         (asFloatBuffer): Likewise.
4644         (asDoubleBuffer): Likewise.
4645         * gnu/java/nio/CharBufferImpl.java
4646         (CharBufferImpl): Removed.
4647         (nio_get_Byte): Removed.
4648         (nio_put_Byte): Removed.
4649         (asByteBuffer): Removed.
4650         * gnu/java/nio/DoubleBufferImpl.java
4651         (DoubleBufferImpl): Removed.
4652         (nio_get_Byte): Removed.
4653         (nio_put_Byte): Removed.
4654         (asByteBuffer): Removed.
4655         * gnu/java/nio/FloatBufferImpl.java
4656         (FloatBufferImpl): Removed.
4657         (nio_get_Byte): Removed.
4658         (nio_put_Byte): Removed.
4659         (asByteBuffer): Removed.
4660         * gnu/java/nio/IntBufferImpl.java
4661         (IntBufferImpl): Removed.
4662         (nio_get_Byte): Removed.
4663         (nio_put_Byte): Removed.
4664         (asByteBuffer): Removed.
4665         * gnu/java/nio/LongBufferImpl.java
4666         (LongBufferImpl): Removed.
4667         (nio_get_Byte): Removed.
4668         (nio_put_Byte): Removed.
4669         (asByteBuffer): Removed.
4670         * gnu/java/nio/ShortBufferImpl.java
4671         (ShortBufferImpl): Removed.
4672         (nio_get_Byte): Removed.
4673         (nio_put_Byte): Removed.
4674         (asByteBuffer): Removed.
4675         * gnu/java/nio/natByteBufferImpl.cc
4676         (nio_cast): Removed.
4677         (nio_get_Byte): Removed.
4678         (nio_put_Byte): Removed.
4679         * gnu/java/nio/natCharBufferImpl.cc
4680         (nio_get_Byte): Removed.
4681         (nio_put_Byte): Removed.
4683 2003-05-09  Michael Koch  <konqueror@gmx.de>
4685         * java/net/JarURLConnection.java
4686         (getJarEntry): Merged documentation from classpath.
4687         (getJarFile): Likewise.
4688         (getMainAttributes): Likewise.
4689         (getAttributes): Likewise.
4690         (getManifest): Likewise.
4691         (getCertificates): Reformatted.
4692         * java/net/URLConnection.java:
4693         Little classpath merge.
4695 2003-05-09  Michael Koch  <konqueror@gmx.de>
4697         * java/io/DataOutputStream.java
4698         (writeShort): Made it synchronized.
4699         (writeChar): Likewise.
4700         (writeInt): Likewise.
4701         (writeLong): Liekwise.
4702         (writeUTF): Made it synchronized, renamed argument to match classpath.
4703         * java/io/InputStreamReader.java
4704         (converter): Added documentation.
4705         (read): Merged documentation from classpath.
4706         * java/io/OutputStreamWriter.java
4707         (OutputStreamWriter): Merged documentation from classpath.
4708         (close): Reformatted.
4709         (getEncoding): Likewise.
4710         (flush): Likewise.
4711         (write): Merged documentation from classpath, reformatted.
4713 2003-05-08  Tom Tromey  <tromey@redhat.com>
4715         * configure.host <powerpc64*-*>: Set with_libffi_default and
4716         libgcj_interpreter to "yes".
4718 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
4720         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
4721         
4722 2003-05-06  Tom Tromey  <tromey@redhat.com>
4724         * verify.cc: Reverted previous patch.
4726 2003-05-06  Michael Koch  <konqueror@gmx.de>
4728         * java/io/DataOutputStream.java
4729         (write): Renamed argument to "value", merged documentation from
4730         classpath.
4731         (writeBoolean): Likewise.
4732         (writeByte): Likewise.
4733         (writeShort): Likewise.
4734         (writeChar): Likewise.
4735         (writeInt): Likewise.
4736         (writeLong): Likewise.
4737         (writeFloat): Likewise.
4738         (writeDouble): Likewise.
4739         (writeBytes): Likewise.
4740         (writeChars): Likewise.
4741         (writeUTF): Likewise.
4742         * java/io/File.java
4743         (performDelete): Added documentation.
4744         (performList): Likewise.
4745         (performMkdir): Likewise.
4746         (performSetReadOnly): Likewise.
4747         (performRenameTo): Likewise.
4748         (performSetLastModified): Likewise.
4749         (delete): Made it sychronized.
4750         (renameTo): Made it sychronized.
4751         (equals): Reformatted.
4752         (isHidden): Likewise.
4753         (listFiles): Likewise.
4754         (setReadOnly): Likewise.
4755         (listRoots): Likewise.
4756         (setLastModified): Likewise.
4757         (checkRead): Likewise.
4758         (checkWrite): Likewise.
4759         * java/io/FileInputStream.java
4760         (skip): Made it sychronized, merged from classpath.
4761         * java/io/FileOutputStream.java
4762         (write): Merged from classpath.
4763         * java/io/InputStreamReader.java:
4764         (InputStreamReader): Merged documentation from classpath.
4766 2003-05-05  Michael Koch  <konqueror@gmx.de>
4768         * java/net/NetworkInterface.java
4769         (networkInterfaces): Removed.
4770         (getByName): Use getRealNetworkInterfaces() instead of
4771         networkInterfaces.
4772         (getByInetAddress): Likewise.
4773         (getNetworkInterfaces): Likewise.
4774         (toString): Fix output of addresses of an interface.
4776 2003-05-05  Michael Koch  <konqueror@gmx.de>
4778         * java/io/DataInputStream.java:
4779         Merged new documentation from classpath.
4781 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
4783         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
4784         "version".
4785         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
4786         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
4787         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
4788         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
4789         * gnu/awt/gtk/GtkMainThread.java: Likewise.
4790         * gnu/awt/gtk/GtkToolkit.java: Likewise.
4791         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
4792         * java/security/Key.java: Likewise.
4793         * java/security/PrivateKey.java: Likewise.
4794         * java/security/Provider.java: Likewise.
4795         * java/security/PublicKey.java: Likewise.
4797 2003-05-02  Michael Koch  <konqueror@gmx.de>
4799         * java/net/URI.java
4800         (create): Doesnt throws any exceptions.
4801         * java/net/URLConnection.java
4802         (URLConnection): Commend added.
4803         (getExpiration): The header field is called "expires" not
4804         "expiration".
4805         (getHeaderField): Merged documentation with classpath.
4806         (getHeaderFieldInt): Likewise.
4807         (getHeaderFieldDate): Likewise.
4808         (getHeaderFieldKey): Likewise.
4809         (getPermission): Likewise.
4810         (setDefaultUseCaches): Likewise.
4811         (setRequestProperty): Likewise.
4812         (addRequestProperty): Likewise.
4813         (getRequestProperty): Likewise.
4814         (getRequestProperties): Likewise.
4815         (setDefaultRequestProperty): Likewise.
4816         (getDefaultRequestProperty): Likewise.
4817         (guessContentTypeFromStream): Likewise.
4818         (getFileNameMap): Likewise.
4819         (setFileNameMap): Likewise.
4820         (setDoInput): Merged implementation and documentation with classpath.
4821         (setDoOutput): Likewise.
4822         (setAllowUserInteraction): Likewise.
4823         (setDefaultAllowUserInteraction): Likewise.
4824         (setContentHandlerFactory): Made it synchronized, merged documentation
4825         with classpath.
4826         (guessContentTypeFromName): Renamed argument fname to filename to
4827         match classpath, merged documentation with classpath.
4829 2003-05-02  Michael Koch  <konqueror@gmx.de>
4831         * java/net/JarURLConnection.java
4832         (JarURLConnection): Class documentation merged with classpath.
4833         (getJarFileURL): Moved and documentation merged with classpath.
4834         (getEntryName): Likewise.
4835         (JarURLConnection): Documentation merged with classpath.
4836         (getJarEntry): Likewise.
4837         (getJarFile): Likewise.
4838         * java/net/PlainDatagramSocketImpl.java:
4839         Class documentation moved.
4840         * java/net/URLConnection.java
4841         (fileNameMap): Moved and documentation merged with classpath.
4842         (factory): Likewise.
4843         (defaultAllowUserInteraction): Likewis.
4844         (defaultUseCaches): Likewise.
4845         (allowUserInteraction): Likewise.
4846         (connected): Likewise.
4847         (url): Likewise.
4848         (connect): Documentation merged with classpath.
4849         (getURL): Likewise.
4850         (getContentLength): Likewise.
4851         (getContentType): Likewise.
4852         (getContentEncoding): Likewise.
4853         (getExpiration): Likewise.
4854         (getDate): Likewise.
4855         (getLastModified): Likewise.
4856         (getHeaderField): Likewise.
4857         (getContent): Likewise.
4858         (getPermission): Likewise.
4859         (getInputStream): Likewise.
4860         (getOutputStream): Likewise.
4861         (toString): Likewise.
4862         (getDoInput): Likewise.
4863         (getDoOutput): Likewise.
4864         (setAllowUserInteraction): Likewise.
4865         (getAllowUserInteraction): Likewise.
4866         (setDefaultAllowUserInteraction): Likewise.
4867         (getDefaultAllowUserInteraction): Likewise.
4868         (setUseCaches): Likewise.
4869         (getUseCaches): Likewise.
4870         (setIfModifiedSince): Likewise.
4871         (getIfModifiedSince): Likewise.
4872         (setDefaultRequestProperty): Likewise.
4873         (getDefaultRequestProperty): Likewise.
4874         (setContentHandlerFactory): Likewise.
4875         (setFileNameMap): Likewise.
4877 2003-05-02  Michael Koch  <konqueror@gmx.de>
4879         * java/net/InetAddress.java:
4880         Merged class documentation with classpath.
4881         * java/net/JarURLConnection.java:
4882         Explicitely import all used classes.
4883         * java/net/URL.java:
4884         Reformatting.
4885         * java/net/ServerSocket.java,
4886         java/net/Socket.java:
4887         New versions from classpath.
4889 2003-05-02  Michael Koch  <konqueror@gmx.de>
4891         * gnu/java/nio/FileChannelImpl.java
4892         (read): New implementation.
4893         (implRead): New methods.
4894         (write): New implementation, call other write insteal of read method.
4895         (implWrite): New methods.
4896         (map): Added comment.
4897         (transferFrom): Implemented.
4898         (transferTo): Implemented.
4899         (lock): Added checks to throw exceptions.
4900         (truncate): Added check to throw exception.
4901         * gnu/java/nio/natFileChannelImpl.cc
4902         (implRead): New method.
4903         (implWrite): New method.
4904         * java/nio/ByteBuffer.java
4905         (hashCode): Fixed comment.
4906         (get): Fixed exception documentation.
4907         (put): Fixed exception documentation.
4908         * java/nio/CharBuffer.java:
4909         Added comment for later optimizations.
4911 2003-04-30  Tom Tromey  <tromey@redhat.com>
4913         PR libgcj/10582:
4914         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
4915         Removed.
4916         (type::compatible): Use _Jv_IsAssignableFrom.
4917         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
4918         (_Jv_IsAssignableFrom): Work even when source or target class is
4919         not prepared.
4921 2003-04-30  Michael Koch  <konqueror@gmx.de>
4923         * java/text/BreakIterator.java
4924         (clone): New method.
4926 2003-04-30  Michael Koch  <konqueror@gmx.de>
4928         * java/text/CollationElementIterator.java,
4929         java/text/CollationKey.java,
4930         java/text/RuleBasedCollator.java:
4931         Merged copyright and documentation from classpath and
4932         rearranged some code. No code changes done.
4934 2003-04-30  Michael Koch  <konqueror@gmx.de>
4936         * java/util/regex/Matcher.java
4937         (pattern): New member variable.
4938         (appendReplacement): New method.
4939         (appendTail): New method.
4940         (end): New method.
4941         (find): New method.
4942         (group): New method.
4943         (replaceFirst): Added documentation.
4944         (replaceAll): Added documentation.
4945         (groupCount): New method.
4946         (lookingAt): New method.
4947         (matches): New method.
4948         (reset): New method.
4949         (start): New method.
4950         * java/util/regex/Pattern.java
4951         (serialVersionUID): New constant.
4952         (CANON_EQ): New constant.
4953         (CASE_INSENSITIVE): New constant.
4954         (COMMENTS): New constant.
4955         (DOTALL): New constant.
4956         (MULTILINE): New constant.
4957         (UNICODE_CASE): New constant.
4958         (UNIX_LINES): New constant.
4959         (regex): New member variable.
4960         (flags): New member variable.
4961         (Pattern): New method.
4962         (compile): Documentation added.
4963         (flags): New method.
4964         (matches): Documentation added.
4965         (matcher): Documentation added.
4966         (split): Documentation added.
4967         (pattern): New method.
4969 2003-04-30  Michael Koch  <konqueror@gmx.de>
4971         * gnu/java/security/Engine.java,
4972         gnu/java/security/OID.java,
4973         gnu/java/security/der/BitString.java,
4974         gnu/java/security/der/DER.java,
4975         gnu/java/security/der/DERReader.java,
4976         gnu/java/security/der/DERValue.java,
4977         gnu/java/security/der/DERWriter.java,
4978         gnu/java/security/provider/DSAKeyFactory.java,
4979         gnu/java/security/provider/X509CertificateFactory.java,
4980         gnu/java/security/x509/X500DistinguishedName.java,
4981         gnu/java/security/x509/X509CRL.java,
4982         gnu/java/security/x509/X509CRLEntry.java,
4983         gnu/java/security/x509/X509Certificate.java,
4984         java/security/cert/CRLSelector.java,
4985         java/security/cert/CertPathBuilder.java,
4986         java/security/cert/CertPathBuilderResult.java,
4987         java/security/cert/CertPathBuilderSpi.java,
4988         java/security/cert/CertPathParameters.java,
4989         java/security/cert/CertPathValidator.java,
4990         java/security/cert/CertPathValidatorResult.java,
4991         java/security/cert/CertPathValidatorSpi.java,
4992         java/security/cert/CertSelector.java,
4993         java/security/cert/CertStore.java,
4994         java/security/cert/CertStoreParameters.java,
4995         java/security/cert/CertStoreSpi.java,
4996         java/security/cert/CollectionCertStoreParameters.java,
4997         java/security/cert/LDAPCertStoreParameters.java,
4998         java/security/cert/PKIXBuilderParameters.java,
4999         java/security/cert/PKIXCertPathBuilderResult.java,
5000         java/security/cert/PKIXCertPathChecker.java,
5001         java/security/cert/PKIXCertPathValidatorResult.java,
5002         java/security/cert/PKIXParameters.java,
5003         java/security/cert/PolicyNode.java,
5004         java/security/cert/PolicyQualifierInfo.java,
5005         java/security/cert/TrustAnchor.java,
5006         javax/security/auth/x500/X500Principal.java:
5007         New files from classpath.
5008         * gnu/java/io/ASN1ParsingException.java,
5009         gnu/java/io/Base64InputStream.java,
5010         gnu/java/security/der/DEREncodingException.java,
5011         gnu/java/security/provider/DSAParameters.java,
5012         gnu/java/security/provider/DSASignature.java,
5013         gnu/java/security/provider/Gnu.java,
5014         gnu/java/security/provider/GnuDSAPrivateKey.java,
5015         gnu/java/security/provider/GnuDSAPublicKey.java,
5016         java/security/AlgorithmParameterGenerator.java,
5017         java/security/AlgorithmParameters.java,
5018         java/security/KeyFactory.java,
5019         java/security/KeyPairGenerator.java,
5020         java/security/KeyStore.java,
5021         java/security/MessageDigest.java,
5022         java/security/SecureClassLoader.java,
5023         java/security/SecureRandom.java,
5024         java/security/Security.java,
5025         java/security/Signature.java,
5026         java/security/cert/Certificate.java,
5027         java/security/cert/CertificateFactory.java,
5028         java/security/cert/CertificateFactorySpi.java,
5029         java/security/cert/X509CRL.java,
5030         java/security/cert/X509Certificate.java,
5031         java/security/spec/DSAPublicKeySpec.java:
5032         New versions from classpath.
5033         * gnu/java/security/provider/DERReader.java,
5034         gnu/java/security/provider/DERWriter.java,
5035         java/security/Engine.java: Removed.
5036         * Makefile.am
5037         (java_source_files, javax_source_files): Added new files.
5038         * Makefile.in: Regenerated.
5040 2003-04-29  Michael Koch  <konqueror@gmx.de>
5042         * javax/swing/JTable.java
5043         (AUTO_RESIZE_ALL_COLUMNS): New constant.
5044         (AUTO_RESIZE_LAST_COLUMN): New constant.
5045         (AUTO_RESIZE_NEXT_COLUMN): New constant.
5046         (AUTO_RESIZE_OFF): New constant.
5047         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
5048         (JTable): New method.
5049         (columnAdded): New method.
5050         (columnMarginChanged): New method.
5051         (columnMoved): New method.
5052         (columnRemoved): New method.
5053         (columnSelectionChanged): New method.
5054         (editingCanceled): New method.
5055         (editingStopped): New method.
5056         (getColumnModel): New method.
5057         (getPreferredScrollableViewportSize): New method.
5058         (getScrollableBlockIncrement): New method.
5059         (getScrollableTracksViewportHeight): New method.
5060         (getScrollableTracksViewportWidth): New method.
5061         (getScrollableUnitIncrement): New method.
5062         (getSelectedRow): New method.
5063         (getSelectionModel): New method.
5064         (tableChanged): New method.
5065         (setModel): New method.
5066         (setSelectionMode): New method.
5067         (setSelectionModel): New method.
5068         (setShowGrid): New method.
5069         (valueChanged): New method.
5070         * javax/swing/text/DefaultEditorKit.java
5071         (backwardAction): New constant.
5072         (beepAction): New constant.
5073         (beginAction): New constant.
5074         (beginLineAction): New constant.
5075         (beginParagraphAction): New constant.
5076         (beginWordAction): New constant.
5077         (copyAction): New constant.
5078         (cutAction): New constant.
5079         (defaultKeyTypedAction): New constant.
5080         (deleteNextCharAction): New constant.
5081         (deletePrevCharAction): New constant.
5082         (downAction): New constant.
5083         (endAction): New constant.
5084         (endLineAction): New constant.
5085         (endOfLineStringProperty): New constant.
5086         (endParagraphAction): New constant.
5087         (endWordAction): New constant.
5088         (forwardAction): New constant.
5089         (insertBreakAction): New constant.
5090         (insertContentAction): New constant.
5091         (insertTabAction): New constant.
5092         (nextWordAction): New constant.
5093         (pageDownAction): New constant.
5094         (pageUpAction): New constant.
5095         (pasteAction): New constant.
5096         (previousWordAction): New constant.
5097         (readOnlyAction): New constant.
5098         (selectAllAction): New constant.
5099         (selectionBackwardAction): New constant.
5100         (selectionBeginAction): New constant.
5101         (selectionBeginLineAction): New constant.
5102         (selectionBeginParagraphAction): New constant.
5103         (selectionBeginWordAction): New constant.
5104         (selectionDownAction): New constant.
5105         (selectionEndAction): New constant.
5106         (selectionEndLineAction): New constant.
5107         (selectionEndParagraphAction): New constant.
5108         (selectionEndWordAction): New constant.
5109         (selectionForwardAction): New constant.
5110         (selectionNextWordAction): New constant.
5111         (selectionPreviousWordAction): New constant.
5112         (selectionUpAction): New constant.
5113         (selectLineAction): New constant.
5114         (selectParagraphAction): New constant.
5115         (selectWordAction): New constant.
5116         (upAction): New constant.
5117         (writableAction): New constant.
5119 2003-04-29  Michael Koch  <konqueror@gmx.de>
5121         * java/util/PropertyPermission.java:
5122         New version from classpath
5123         * java/util/ResourceBundle.java:
5124         Partly merged from classpath
5125         (getObject): Reformated.
5126         (tryBundle): Set foundBundle = null if no bundle found.
5128 2003-04-29  Michael Koch  <konqueror@gmx.de>
5130         * javax/swing/AbstractListModel.java,
5131         javax/swing/DefaultBoundedRangeModel.java,
5132         javax/swing/DefaultSingleSelectionModel.java:
5133         New Versions from classpath.
5135 2003-04-29  Michael Koch  <konqueror@gmx.de>
5137         * java/awt/Window.java
5138         (show): Call super.show() instead of setVisible() to avoid endless
5139         loop.
5140         (hide): Call super.hide() instead of setVisible() to avoid endless
5141         loop.
5143 2003-04-29  Michael Koch  <konqueror@gmx.de>
5145         * java/util/zip/Deflater.java,
5146         java/util/zip/DeflaterOutputStream.java:
5147         Partly merged with classpath.
5149 2003-04-27  Tom Tromey  <tromey@redhat.com>
5151         * java/lang/natString.cc (_Jv_AllocString): Initialize
5152         cachedHashCode.
5153         (init): Likewise.
5154         (_Jv_NewStringUtf8Const): Likewise.
5156 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
5158         * include/jvm.h: (_Jv_GetNbArgs) added
5159         (_Jv_GetSafeArg) added
5160         (_Jv_SetArgs) added
5161         * prims.cc: (_Jv_GetNbArgs) implemented
5162         (_Jv_GetSafeArg) implemented
5163         (_Jv_SetArgs) implemented
5164         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
5165         setting _Jv_argc and _Jv_argv
5166         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
5167         instead of _Jv_argv
5168         * java/lang/natRuntime.cc: (insertSystemProperties) use
5169         _Jv_GetSafeArg() instead of _Jv_argv
5171 2003-04-23  Tom Tromey  <tromey@redhat.com>
5173         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
5174         required by this object.  Search superclasses to find required
5175         alignment.
5176         (get_alignment_from_class): Use alignment of type as it appears
5177         in a struct.
5178         (ALIGNOF): New macro.
5179         (struct aligner): New helper structure.
5181 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
5183         * java/awt/Container.java (addImpl): Enable paint events if adding
5184         a lightweight to a heavyweight.
5185         (addNotify): Ensure that peer is created before
5186         addNotifyContainerChildren.
5187         (addNotifyContainerChildren): Enable paint events if a heavyweight
5188         container contains a lightweight.
5190 2003-04-20  Tom Tromey  <tromey@redhat.com>
5192         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
5193         java/io/DataInput.java, java/io/DataOutput.java: Imports from
5194         Classpath.
5196 2003-04-19  Tom Tromey  <tromey@redhat.com>
5198         * java/sql/Date.java, java/sql/DriverManager.java,
5199         java/sql/Time.java, java/sql/Timestamp.java: New versions from
5200         Classpath.
5202         * Makefile.in: Rebuilt.
5203         * Makefile.am (ordinary_java_source_files): Added new files.
5204         * java/security/AlgorithmParameterGenerator.java,
5205         java/security/AlgorithmParameters.java, java/security/Engine.java,
5206         java/security/Identity.java, java/security/IdentityScope.java,
5207         java/security/KeyFactory.java,
5208         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
5209         java/security/MessageDigest.java, java/security/Policy.java,
5210         java/security/ProtectionDomain.java,
5211         java/security/SecureRandom.java, java/security/Security.java,
5212         java/security/Signature.java, java/security/SignatureSpi.java,
5213         java/security/SignedObject.java, java/security/Signer.java,
5214         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
5215         java/security/spec/PSSParameterSpec.java,
5216         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
5217         java/security/spec/RSAOtherPrimeInfo.java: New versions from
5218         Classpath.
5220 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
5222         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
5223         (dispose): Null metrics.
5224         * gnu/awt/xlib/XToolkit.java (sync): Implement.
5225         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
5226         finalize.
5227         (finalize): Call dispose.
5228         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
5229         (gcCachedCount): New field.
5230         (finalize): New method.
5231         (putGCInCache): New method.
5232         (getGCFromCache): New method.
5233         * gnu/gcj/xlib/GC.java (GC): Make protected.
5234         (clone): Get new GC from cache if possible.
5235         (create): New static method.
5236         (dispose): Save old GC in cache.
5237         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
5238         deleting.
5239         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
5240         is null.
5241         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
5242         * java/awt/Container.java (visitChild): Dispose gfx2 when
5243         finished.
5245 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
5247         * java/math/BigInteger.java (probablePrime): New.
5248         * java/math/BigDecimal.java (unscaledValue): New.
5250 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
5252         * java/io/File.java (getAbsolutePath): On Windows, take care
5253         of paths like "C:", "G:foo\bar", etc.
5254         (getName): Make it work correctly on Windows.
5255         (getParent): Make it work correctly on Windows. For UNIX,
5256         fix bug that causes "/" to be returned as the parent of "/",
5257         instead of null as returned by Sun's JRE.
5259         * java/io/natFileWin32.cc: Change copyright owner to FSF.
5261 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
5263         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
5264         inner class.
5265         (CACHE_SIZE_PER_DISPLAY): New field
5266         (fontMetricsCache): New field
5267         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
5268         loading ISO10646-1 fonts.
5270 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
5272         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
5273         characters.
5274         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
5275         characters.
5277 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
5279         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
5280         floating point.
5282 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
5284         * configure.host (*-linux*): Don't set slow_pthread_self if primary
5285         installed libpthread is either linuxthreads with floating stacks or
5286         NPTL.
5288 2003-04-14  Tom Tromey  <tromey@redhat.com>
5290         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
5291         of alignment.
5293 2003-04-10  Tom Tromey  <tromey@redhat.com>
5295         * verify.cc (pop64): Removed.
5296         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
5297         exception if top-of-stack is narrow.
5298         (initialize_stack): Check to ensure that <init> is not static and
5299         <clinit> is.
5301 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
5303         * java/io/ObjectStreamException
5304         * java/io/FileFilter
5305         * java/io/FilenameFilter
5306         * java/io/ObjectInput
5307         * java/io/ObjectOutput
5308         * java/io/ObjectStreamConstants
5309         Minor doc fixes, format fixes, spelling corrections, etc.
5310         * java/io/DataInput
5311         Corrected code samples in Javadocs to match reality
5312         * java/io/DataOutput
5313         * java/io/ObjectInputValidation
5314         Major documentation fixes - all Javadocs re-written or updated
5316 2003-04-06  Michael Koch  <konqueror@gmx.de>
5318         * java/net/URLConnection.java:
5319         Import classes directly.
5320         (URLConnection): Merged class documentation with classpath.
5321         (url): Moved, documentation from classpath added.
5322         (doInput): Moved, documentation from classpath added.
5323         (doOutput): Moved, documentation from classpath added.
5324         (allowUserInteraction): Moved.
5325         (useCaches): Moved, documentation from classpath added.
5326         (ifModifiedSince): Moved, documentation from classpath added.
5327         (connected): Moved, documentation from classpath added.
5329 2003-04-06  Michael Koch  <konqueror@gmx.de>
5331         * java/io/FileInputStream.java
5332         (skip): Renamed some variables to match classpath, added
5333         checks from classpath.
5335 2003-03-31  Michael Koch  <konqueror@gmx.de>
5337         * javax/swing/AbstractAction.java
5338         (AbstractAction): Reformatted.
5339         (serialVersionUID): New private member variable.
5340         * javax/swing/plaf/BorderUIResource.java
5341         (serialVersionUID): New private member variable.
5342         * javax/swing/plaf/basic/BasicLookAndFeel.java
5343         (serialVersionUID): New private member variable.
5345 2003-03-31  Michael Koch  <konqueror@gmx.de>
5347         * java/sql/Date.java
5348         (valueOf): Deprecated, reformatted.
5349         (toString): Deprecated, reformatted.
5350         * java/sql/Time.java
5351         (valueOf): Deprecated, reformatted.
5352         (toString): Deprecated, reformatted.
5354 2003-03-31  Michael Koch  <konqueror@gmx.de>
5356         * java/rmi/dgc/VMID.java
5357         (isUnique): Deprecated.
5359 2003-03-31  Michael Koch  <konqueror@gmx.de>
5361         * java/io/File.java
5362         (separator): Merged documentation from classpath.
5363         (separatorChar): Merged documentation from classpath.
5364         (pathSeparator): Merged documentation from classpath.
5365         (pathSeparatorChar): Merged documentation from classpath.
5366         (path): Merged documentation from classpath.
5367         (canRead): Merged documentation from classpath.
5368         (canWrite): Merged documentation from classpath.
5369         (createNewFile): Merged documentation from classpath.
5370         (delete): Merged documentation from classpath.
5371         (equals): Merged documentation from classpath.
5372         (exists): Merged documentation from classpath.
5373         (File): Renamed p to name to match classpath, merged documentation
5374         from classpath.
5375         (getAbsolutePath): Merged documentation from classpath.
5376         (getCanonicalPath): Merged documentation from classpath.
5377         (getCanonicalFile): Merged documentation from classpath.
5378         (getName): Merged documentation from classpath.
5379         (getParent): Merged documentation from classpath.
5380         (getParentFile): Merged documentation from classpath.
5381         (getPath): Merged documentation from classpath.
5382         (hashCode): Merged documentation from classpath.
5383         (isAbsolute): Merged documentation from classpath.
5384         (isDirectory): Merged documentation from classpath.
5385         (isFile): Merged documentation from classpath.
5386         (isHidden): Merged documentation from classpath.
5387         (lastModified): Merged documentation from classpath.
5388         (length): Merged documentation from classpath.
5389         (list): Merged documentation from classpath.
5390         (listFiles): Merged documentation from classpath.
5391         (toString): Merged documentation from classpath.
5392         (toURL): Merged documentation from classpath.
5393         (mkdir): Merged documentation from classpath.
5394         (mkdirs): Merged documentation from classpath.
5395         (createTempFile): Merged documentation from classpath.
5396         (setReadOnly): Merged documentation from classpath.
5397         (listRoots): Merged documentation from classpath.
5398         (compareTo): Merged documentation from classpath.
5399         (renameTo): Merged documentation from classpath.
5400         (setLastModified): Merged documentation from classpath.
5401         * java/io/PrintStream.java
5402         (auto_flush): Merged documentation from classpath.
5403         (PrintStream): Merged documentation from classpath.
5404         (checkError): Merged documentation from classpath.
5405         (setError): Merged documentation from classpath.
5406         (close): Merged documentation from classpath.
5407         (flush): Merged documentation from classpath.
5408         (print): Merged documentation from classpath.
5409         (println):  Merged documentation from classpath.
5410         (write): Renamed count to len to match classpath,
5411         merged documentation from classpath.
5412         * java/io/RandomAccessFile.java
5413         (readShort): Merged documentation from classpath.
5414         (readUnsignedByte): Merged documentation from classpath.
5415         (readUnsignedShort): Merged documentation from classpath.
5416         (readUTF): Merged documentation from classpath.
5417         (seek): Reformatted, merged documentation from classpath.
5418         (skipBytes): Renamed some variables to match classpath, reformatted,
5419         merged documentation from classpath.
5420         (write): Merged documentation from classpath.
5421         (writeBoolean): Merged documentation from classpath.
5422         (writeByte): Merged documentation from classpath.
5423         (writeShort): Merged documentation from classpath.
5424         (writeChar): Merged documentation from classpath.
5425         (writeInt): Merged documentation from classpath.
5426         (writeLong): Merged documentation from classpath.
5427         (writeFloat): Merged documentation from classpath.
5428         (writeDouble): Merged documentation from classpath.
5429         (writeBytes): Merged documentation from classpath.
5430         (writeChars): Merged documentation from classpath.
5431         (writeUTF): Reformatted.
5432         (getChannel): Reformatted.
5434 2003-03-31  Michael Koch  <konqueror@gmx.de>
5436         * java/awt/font/TextAttribute.java
5437         (readResolve): Throws java.io.InvalidObjectException.
5439 2003-03-31  Michael Koch  <konqueror@gmx.de>
5441         * java/rmi/server/LoaderHandler.java
5442         (loadClass): Deprecated.
5443         (getSecurityContext): Deprecated.
5444         * java/rmi/server/LogStream.java
5445         (getDefaultStream): Deprecated.
5446         (setDefaultStream): Deprecated.
5447         (getOutputStream): Deprecated.
5448         (setOutputStream): Deprecated.
5449         (write): Deprecated.
5450         (toString): Deprecated.
5451         (parseLevel): Deprecated.
5452         * java/rmi/server/Operation.java
5453         (Operation): Deprecated.
5454         (getOperation): Deprecated.
5455         (toString): Deprecated.
5456         * java/rmi/server/RemoteCall.java
5457         (getOutputStream): Deprecated.
5458         (releaseOutputStream): Deprecated.
5459         (getInputStream): Deprecated.
5460         (releaseInputStream): Deprecated.
5461         (getResultStream): Deprecated.
5462         (executeCall): Deprecated.
5463         (done): Deprecated.
5464         * java/rmi/server/RemoteRef.java
5465         (invoke): Deprecated.
5466         (newCall): Deprecated.
5467         (done): Deprecated.
5468         * java/rmi/server/RemoteStub.java
5469         (setRef): Deprecated.
5470         * java/rmi/server/Skeleton.java:
5471         No need to import java.lang.Exception explicitly.
5472         (dispatch): Deprecated.
5473         (getOperations): Deprecated.
5475 2003-03-31  Michael Koch  <konqueror@gmx.de>
5477         * java/rmi/dgc/VMID.java,
5478         java/rmi/registry/RegistryHandler.java,
5479         java/rmi/server/LogStream.java,
5480         java/rmi/server/Operation.java,
5481         java/rmi/server/RemoteCall.java,
5482         java/rmi/server/RemoteRef.java,
5483         java/rmi/server/RemoteStub.java:
5484         Reformatted.
5486 2003-03-31  Michael Koch  <konqueror@gmx.de>
5488         * javax/swing/AbstractCellEditor.java,
5489         javax/swing/AbstractListModel.java,
5490         javax/swing/ActionMap.java,
5491         javax/swing/BorderFactory.java,
5492         javax/swing/ButtonGroup.java,
5493         javax/swing/DefaultBoundedRangeModel.java,
5494         javax/swing/DefaultButtonModel.java,
5495         javax/swing/DefaultCellEditor.java,
5496         javax/swing/DefaultComboBoxModel.java,
5497         javax/swing/DefaultDesktopManager.java,
5498         javax/swing/DefaultListCellRenderer.java,
5499         javax/swing/DefaultSingleSelectionModel.java,
5500         javax/swing/InputMap.java,
5501         javax/swing/JComponent.java,
5502         javax/swing/JMenu.java,
5503         javax/swing/JSlider.java,
5504         javax/swing/KeyStroke.java,
5505         javax/swing/OverlayLayout.java,
5506         javax/swing/ScrollPaneLayout.java,
5507         javax/swing/SizeRequirements.java,
5508         javax/swing/UIManager.java,
5509         javax/swing/ViewportLayout.java,
5510         javax/swing/border/AbstractBorder.java,
5511         javax/swing/colorchooser/DefaultColorSelectionModel.java,
5512         javax/swing/event/EventListenerList.java,
5513         javax/swing/table/AbstractTableModel.java,
5514         javax/swing/table/DefaultTableCellRenderer.java,
5515         javax/swing/table/DefaultTableColumnModel.java,
5516         javax/swing/table/DefaultTableModel.java,
5517         javax/swing/table/TableColumn.java,
5518         javax/swing/text/StyledEditorKit.java,
5519         javax/swing/tree/DefaultMutableTreeNode.java,
5520         javax/swing/tree/DefaultTreeModel.java,
5521         javax/swing/tree/DefaultTreeSelectionModel.java,
5522         javax/swing/tree/TreePath.java,
5523         javax/swing/undo/AbstractUndoableEdit.java,
5524         javax/swing/undo/StateEdit.java,
5525         javax/swing/undo/StateEditable.java,
5526         javax/swing/undo/UndoableEditSupport.java:
5527         Merges from classpath.
5529 2003-03-30  Tom Tromey  <tromey@redhat.com>
5531         * java/lang/String.java (data, boffset, count): Documented.
5532         (String(byte[],String)): Reformatted.
5533         (String(byte[])): Likewise.
5534         (lastIndexOf(int)): Likewise.
5535         (lastIndexOf(String)): Likewise.
5536         (substring(int)): Renamed argument to match Classpath.
5537         (String(StringBuffer)): Don't share buffer if it is nearly empty.
5539         * java/lang/String.java: Miscellaneous minor formatting changes
5540         to match Classpath more closely.
5542 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
5543             Tom Tromey  <tromey@redhat.com>
5545         * java/lang/natString.cc (hashCode): Use cachedHashCode.
5546         (init()): Removed.
5547         (charAt): Put index in exception.
5548         (contentEquals): New method.
5549         Include StringBuffer.h.
5550         * java/lang/String.java (cachedHashCode): New field.
5551         (String()): Follow classpath implementation.
5552         (init()): Removed.
5553         (contentEquals): Declare.
5554         (subSequence): Don't declare IndexOutIfBoundsException in throws
5555         clause.
5556         (matches, replaceFirst, replaceAll, split): New methods from
5557         Classpath.
5559 2003-03-29  Tom Tromey  <tromey@redhat.com>
5561         * java/lang/String.java: Reordered to follow Classpath; merged in
5562         javadoc.
5564         * java/text/MessageFormat.java: Removed some whitespace.
5566         * Makefile.in: Rebuilt.
5567         * Makefile.am (awt_java_source_files): Added new files.
5568         * gnu/javax/rmi/PortableServer.java,
5569         gnu/javax/rmi/CORBA/DelegateFactory.java,
5570         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
5571         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
5572         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
5573         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
5574         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
5575         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
5576         javax/rmi/PortableRemoteObject.java,
5577         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
5578         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
5579         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
5580         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
5581         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
5582         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
5584         * java/lang/natClass.cc (newInstance): Put method name in
5585         exception.
5586         (getConstructor): Likewise.
5587         (getDeclaredConstructor): Likewise.
5588         (getPrivateMethod): Likewise.
5590 2003-03-28  Tom Tromey  <tromey@redhat.com>
5592         * java/lang/reflect/Proxy.java: New version from Classpath.
5593         * java/lang/Package.java: New version from Classpath.
5595 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
5597         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
5598         * configure: Regenerate.
5600 2003-03-28  Michael Koch  <konqueror@gmx.de>
5602         * java/io/File.java:
5603         Import needed classes instead of whole packages, merged class
5604         documentation with classpath, moved constants and variables to top of
5605         class.
5606         * java/io/PrintStream.java:
5607         Merged class documentation with classpath, moved constants and
5608         variables to top of class.
5609         * java/io/RandomAccessFile.java
5610         (RandomAccessFile): Merged with classpath.
5611         (read): Merged with classpath).
5612         (read*): Reformatted.
5614 2003-03-28  Michael Koch  <konqueror@gmx.de>
5616         * java/io/FileDescriptor.java
5617         (finalize): Throws Throwable, not IOException.
5618         * java/io/ObjectOutputStream.java
5619         (PutField.put): Doesnt throws anything.
5621 2003­03-28  Michael Koch  <konqueror@gmx.de>
5623         * java/io/FileOutputStream.java:
5624         Merged class documentation and authors with classpath.
5625         (FileOutputStream): Partly merged with classpath.
5626         (write): Merged with classpath.
5627         (getChannel): Make it synchronized instead of explicit block in this
5628         method.
5629         * java/io/RandomAccessFile.java:
5630         Merged class documentation and authors with classpath.
5632 2003-03-26  Tom Tromey  <tromey@redhat.com>
5634         * java/lang/natRuntime.cc (insertSystemProperties): Set
5635         gnu.classpath.home.url.
5636         * Makefile.in: Rebuilt.
5637         * Makefile.am: Define LIBDIR.
5639 2003-03-25  Michael Koch  <konqueror@gmx.de>
5641         * java/io/FileInputStream.java
5642         (read): Renamed b to buf and off to offset.
5643         * java/io/FileOutputStream.java
5644         (ch): Documentation added.
5645         (FileOutputStream): Documentation added.
5646         (getFD): Documentation added.
5647         (write): Documentation added.
5648         (close): Documentation added.
5649         (getChannel): Documentation added.
5651 2003-03-24  Michael Koch  <konqueror@gmx.de>
5653         * java/io/DataOutputStream.java
5654         (write): Merged from classpath.
5655         * java/io/File.java:
5656         Merged copyrigth with classpath.
5657         * java/io/FileInputStream.java
5658         (getChannel): Made it synchronized instead of using a synchronized
5659         block.
5660         * java/io/FileOutputStream.java: Reformatted.
5661         * java/io/InputStreamReader.java
5662         (InputStreamReader): Renamed enc to encoding_name.
5663         (close): Merged documentation from classpath.
5664         (getEncoding): Merged documentation from classpath.
5665         (ready): Merged documentation from classpath.
5666         (read): Merged documentation from classpath.
5667         * java/io/LineNumberReader.java
5668         (lineNumber): Made it private.
5669         (LineNumberReader): Use Constant instead of a direct value.
5670         * java/io/OutputStreamWriter.java
5671         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
5672         documentation from classpath.
5673         (close): Merged documentation from classpath.
5674         (flush): Merged documentation from classpath.
5675         (write): Merged documentation from classpath.
5676         * java/io/PrintStream.java: Reformatted.
5678 2003-03-24  Michael Koch  <konqueror@gmx.de>
5680         * javax/swing/text/ComponentView.java
5681         (getComponent): Must be final.
5682         * javax/swing/tree/DefaultTreeCellRenderer.java:
5683         Reformatted.
5684         * javax/swing/undo/StateEditable.java:
5685         Reformatted.
5687 2003-03-24  Michael Koch  <konqueror@gmx.de>
5689         * java/rmi/activation/ActivationInstantiator.java:
5690         Reformatted.
5691         * java/rmi/activation/Activator.java:
5692         Reformatted.
5693         * java/rmi/registry/RegistryHandler.java:
5694         Remerged from classpath.
5696 2003-03-24  Michael Koch  <konqueror@gmx.de>
5698         * java/util/Date.java:
5699         Fixed documentation starting tag to make javadoc happy.
5700         * java/util/regex/Pattern.java
5701         (Pattern): Implements Serializable.
5702         * java/util/PatternSyntaxException.java
5703         (serialVersionUID): New member variable.
5705 2003-03-24  Michael Koch  <koqnueror@gmx.de>
5707         * java/awt/ContainerOrderFocusTraversalPolicy.java
5708         (getFirstComponent): Implemented.
5709         (getLastComponent): Implemented.
5710         (getDefaultComponent): Implemented.
5711         (setImplicitDownCycleTraversal): Fixed implementation.
5712         * java/awt/Robot.java
5713         (Robot): Added documentation.
5714         * java/awt/Toolkit.java
5715         (getFontList): Deprecated.
5716         (getFontMetrics): Deprecated.
5717         (getPrintJob): Added documentation.
5718         (getSystemSelection): Added documentation.
5719         (getLockingKeyState): Added documentation.
5720         (setLockingKeyState): Added documentation.
5721         (createCustomCursor): Added documentation.
5722         (getBestCursorSize): Added documentation.
5723         (getMaximumCursorColors): Added documentation.
5724         (isFrameStateSupported): Added documentation.
5726 2003-03-24  Michael Koch  <konqueror@gmx.de>
5728         * java/io/RandomAccessFile.java:
5729         More little merges with classpath. No code changes.
5731 2003-03-24  Michael Koch  <konqueror@gmx.de>
5733         * java/net/natInetAddressNoNet.cc:
5734         Include stddef.h.
5735         * java/net/natPlainDatagramSocketImplNoNet.cc:
5736         Fixed inlcude of java/net/DatagramPacket.h.
5737         * java/net/natPlainSocketImplNoNet.cc:
5738         Include some missing classes.
5740 2003-03-24  Michael Koch  <konqueror@gmx.de>
5742         * java/awt/dnd/DropTarget.java
5743         (DropTargetAutoScroller): According to the online documentation, this
5744         is protected, but in reality it is public.
5745         * java/awt/dnd/DropTargetContext.java
5746         (TransferableProxy): According to the online documentation, this
5747         is protected, but in reality it is public.
5749 2003-03-24  Michael Koch  <konqueror@gmx.de>
5751         * java/io/DataInputStream.java
5752         (): Wrapped documentation line.
5753         (): Fixed @return tag.
5754         * java/io/DataOutputStream.java
5755         (written): Moved to top of class.
5756         (all methods): Merged documentation from classpath.
5757         * java/io/File.java:
5758         Merged copyright year with classpath.
5759         * java/io/FileInputStream.java
5760         (all methods): Merged documentation from classpath.
5761         * java/io/LineNumberReader.java
5762         (getLineNumber): Fixed @return tag.
5763         * java/io/ObjectInputStream.java.
5764         Reformatted.
5765         * java/io/ObjectOutputStream.java:
5766         Reformatted, fixed some @see tags.
5767         * java/io/OutputStreamWriter.java:
5768         Deleted empty line.
5769         * java/io/Writer.java:
5770         Reformatted.
5772 2003-03-24  Michael Koch  <konqueror@gmx.de>
5774         * java/awt/Frame.java
5775         (DEFAULT_CURSOR): Fixed @deprecated tag.
5776         (setCursor): Fixed @deprecated tag.
5778 2003-03-24  Michael Koch  <konqueror@gmx.de>
5780         * java/beans/beancontext/BeanContextEvent.java:
5781         Reformated.
5783 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
5785         * java/lang/natStringBuffer.cc (regionMatches): New function.
5786         * java/lang/String.java (count): Now package-private.
5787         * java/lang/StringBuffer.java: Merged with Classpath.
5789 2003-03-23  Michael Koch  <konqueror@gmx.de>
5791         * java/io/BufferedOutputStream.java:
5792         Reformated.
5793         * java/io/BufferedReader.java:
5794         Reformated.
5795         * java/io/ByteArrayOutputStream.java
5796         (size): Fixed @see tag.
5797         * java/io/CharArrayWriter.java
5798         (size): Fixed @see tag.
5799         * java/io/DataInput.java:
5800         Reformated.
5801         * java/io/DataOutput.java:
5802         Reformated.
5803         * java/io/DataOutputStream.java:
5804         Merged copyright years with classpath.
5805         * java/io/Externalizable.java:
5806         Reformated.
5807         * java/io/FileFilter.java:
5808         Reformated.
5809         * java/io/FileInputStream.java:
5810         Merged copyright years with classpath.
5811         * java/io/FileOutputStream.java:
5812         Merged copyright years with classpath.
5813         * java/io/FilePermission.java
5814         (FilePermission): Replaced @XXX with FIXME:.
5815         * java/io/FileWriter.java:
5816         Reformated.
5817         * java/io/FilenameFilter.java:
5818         Reformated.
5819         * java/io/FilterInputStream.java:
5820         Reformated.
5821         * java/io/FilterOutputStream.java:
5822         Reformated.
5823         * java/io/FilterReader.java:
5824         Reformated.
5825         * java/io/FilterWriter.java:
5826         Reformated.
5827         * java/io/LineNumberInputStream.java
5828         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
5829         happy.
5830         (getLineNumber): Fixed @return tag.
5831         * java/io/ObjectInput.java:
5832         Reformated.
5833         * java/io/ObjectOutput.java:
5834         Reformated.
5835         * java/io/ObjectStreamClass.java:
5836         Reformated.
5837         * java/io/PrintStream.java:
5838         Merged copyright years with classpath.
5839         * java/io/PushbackReader.java
5840         (PushbackReader): Replaced @code with @param.
5841         * java/io/SerializablePermission.java:
5842         Reformated.
5843         * java/io/StreamTokenizer.java
5844         (resetSyntax): Fixed @see tag.
5846 2003-03-22  Richard Henderson  <rth@redhat.com>
5848         * sysdep/ia64/locks.h: Include ia64intrin.h.
5849         (compare_and_swap): Use __sync_bool_compare_and_swap.
5850         (compare_and_swap_release): Expose ar.ccv assignment.
5852 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
5854         * include/posix.h: Add suffix for darwin dynamic libraries.
5856 2003-03-21  Michael Koch  <konqueror@gmx.de>
5858         * javax/swing/Action.java
5859         (ACCELERATOR_KEY): New constant.
5860         (ACTION_COMMAND_KEY): Likewise.
5861         (MNEMONIC_KEY): Likewise.
5862         * javax/swing/UnsupportedLookAndFeelException.java
5863         (UnsupportedLookAndFeelException): Must be public.
5864         * javax/swing/WindowConstants.java
5865         (EXIT_ON_CLOSE): New constant.
5866         * javax/swing/text/BadLocationException.java
5867         (offset): New member variable.
5868         (BadLocationException): New implementation, documentation added.
5869         (offsetRequested): New method.
5870         * javax/swing/text/Caret.java:
5871         Reformated.
5872         * javax/swing/text/Document.java:
5873         Reformated.
5875 2003-03-21  Michael Koch  <konqueror@gmx.de>
5877         * java/rmi/activation/Activatable.java
5878         (serialVersionUID): New member variable.
5879         * java/rmi/activation/ActivationGroup.java
5880         (serialVersionUID): New member variable.
5881         * java/rmi/activation/ActivationGroupDesc.java
5882         (serialVersionUID): New member variable.
5883         * java/rmi/registry/Registry.java:
5884         Reformated.
5885         (Registry): Deprecated.
5886         * java/rmi/server/LoaderHandler.java
5887         Reformated.
5888         (LoaderHandler): Deprecated.
5889         * java/rmi/server/LogStream.java
5890         Reformated.
5891         (LogStream): Deprecated.
5892         * java/rmi/server/Operation.java
5893         (Operation): Deprecated.
5894         * java/rmi/server/RMIFailureHandler.java:
5895         Reformated.
5896         * java/rmi/server/RMISocketFactory.java:
5897         Reformated.
5898         * java/rmi/server/RemoteCall.java
5899         (RemoteCall): Deprecated.
5900         * java/rmi/server/RemoteStub.java:
5901         Reformated.
5902         * java/rmi/server/Skeleton.java
5903         Reformated.
5904         (Skeleton): Deprecated.
5906 2003-03-21  Michael Koch  <konqueror@gmx.de>
5908         * java/io/LineNumberReader.java
5909         (LineNumberReader): Merged documentation with classpath.
5910         (getLineNumber): Likewise.
5911         (setLineNumber): Likewise.
5912         (mark): Likewise.
5913         (reset): Likewise.
5914         (read): Likewise.
5915         (readLine): Likewise.
5916         (skip): Likewise.
5918 2003-03-21  Michael Koch  <konqueror@gmx.de>
5920         * java/rmi/RMISecurityManager.java
5921         (checkAccept): Removed.
5922         (checkAccess): Likewise.
5923         (checkAccess): Likewise.
5924         (checkAwtEventQueueAccess): Likewise.
5925         (checkConnect): Likewise.
5926         (checkCreateClassLoader): Likewise.
5927         (checkDelete): Likewise.
5928         (checkExec): Likewise.
5929         (checkExit): Likewise.
5930         (checkLink): Likewise.
5931         (checkListen): Likewise.
5932         (checkMemberAccess): Likewise.
5933         (checkMulticast): Likewise.
5934         (checkPackageAccess): Likewise.
5935         (checkPackageDefinition): Likewise.
5936         (checkPermission): Likewise.
5937         (checkPrintJobAccess): Likewise.
5938         (checkPropertiesAccess): Likewise.
5939         (checkPropertyAccess): Likewise.
5940         (checkRead): Likewise.
5941         (checkSecurityAccess): Likewise.
5942         (checkSetFactory): Likewise.
5943         (checkSystemClipboardAccess): Likewise.
5944         (checkTopLevelWindow): Likewise.
5945         (checkWrite): Likewise.
5947 2003-03-20  Michael Koch  <konqueror@gmx.de>
5949         * gnu/java/nio/FileChannelImpl.java
5950         (address): Removed.
5951         (map_address): New member variable.
5952         (length): Make it package private.
5953         (fd): Make it package private.
5954         (buf): Make it package private.
5955         (file_obj): Make it package private.
5956         (FileChannelImpl): New constructor.
5957         (nio_mmap_file): Use RawData instead of long.
5958         (nio_munmap_file): Use RawData instead of long.
5959         (nio_msync): Use RawData instead of long.
5960         (implCloseChannel): New implementation using map_address.
5961         (read): Reformated.
5962         (map): Implemented.
5963         (create_direct_mapped_buffer): Implemented, use RawData, throws
5964         IOException.
5965         (force): Use map_address instead of address.
5966         * gnu/java/nio/MappedByteFileBuffer.java
5967         (address): Removed.
5968         (map_address): New member variable.
5969         (MappedByteFileBuffer): Use map_address instead of address, reformated.
5970         (several methods): Use map_address instead of address, replaced long
5971         with RawData where appropriate.
5972         * gnu/java/nio/natFileChannelImpl.cc
5973         (nio_mmap_file): Replaced long with RawData.
5974         (nio_munmap_file): Replaced long with RawData.
5975         (nio_msync): Replaced long with RawData.
5976         * gnu/java/nio/natMappedByteFileBuffer.cc
5977         (several methods): Replaced long with RawData where appropriate.
5979 2003-03-20  Michael Koch  <konqueror@gmx.de>
5981         * java/net/InetAddress.java,
5982         java/net/JarURLConnection.java,
5983         java/net/PlainDatagramSocketImpl.java,
5984         java/net/PlainSocketImpl.java,
5985         java/net/URLConnection.java:
5986         Merged copyright statements with classpath for easier merging.
5988 2003-03-20  Michael Koch  <konqueror@gmx.de>
5990         * java/io/FileInputStream.java
5991         (getChannel): New implementation.
5992         * java/io/FileOutputStream.java
5993         (ch): New member variable.
5994         (getChannel): Implemented.
5995         * java/io/RandomAccessFile.java
5996         (RandomAccessFile): Throws FileNotFoundException instead of
5997         IOException.
5998         (getChannel): New method.
5999         (ch): New member variable.
6001 2003-03-20  Michael Koch  <konqueror@gmx.de>
6003         * java/io/DataOutputStream.java,
6004         java/io/File.java,
6005         java/io/FileInputStream.java,
6006         java/io/FileOutputStream.java,
6007         java/io/InputStreamReader.java,
6008         java/io/LineNumberReader.java,
6009         java/io/OutputStreamWriter.java,
6010         java/io/PrintStream.java,
6011         java/io/RandomAccessFile.java:
6012         Merged copyright statements with classpath for easier merging.
6014 2003-03-19  Michael Koch  <konqueror@gmx.de>
6016         * java/lang/Process.java:
6017         Merged from classpath.
6019 2003-03-19  Michael Koch  <konqueror@gmx.de>
6021         * java/io/FileOutputStream.java
6022         (FileOutputStream): New constructor, merged from classpath.
6023         * java/io/FileWriter.java
6024         (FileWriter): New constructor, merged from classpath.
6026 2003-03-18  Michael Koch  <konqueror@gmx.de>
6028         * java/awt/ScrollPane.java
6029         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
6030         (getViewportSize): Likewise.
6031         (addNotify): Likewise.
6032         (removeNotify): Likewise.
6033         * java/awt/ScrollPaneAdjustable.java
6034         (ScrollPaneAdjustable): No longer extends Scrollbar.
6035         * java/beans/beancontext/BeanContextServices.java:
6036         Reformated.
6037         (getService): Added throws TooManyListenersException;
6038         * java/beans/beancontext/BeanContextServicesSupport.java:
6039         Reformated.
6041 2003-03-18  Michael Koch  <konqueror@gmx.de>
6043         * java/io/BufferedOutputStream.java,
6044         java/io/DataInput.java,
6045         java/io/DataInputStream.java,
6046         java/io/DataOutput.java,
6047         java/io/Externalizable.java:
6048         More merges from classpath.
6050 2003-03-18  Michael Koch  <konqueror@gmx.de>
6052         * configure.in: Fixed links to platform dependant java.net files.
6053         * configure: Regenerated.
6054         * java/net/natInetAddress.cc,
6055         java/net/natNetworkInterface.cc,
6056         java/net/natPlainDatagramSocketImpl.cc,
6057         java/net/natPlainSocketImpl.cc:
6058         Removed.
6060 2003-03-18  Michael Koch  <konqueror@gmx.de>
6062         * configure.in: Create links to architecture dependent files,
6063         introduced PLATFORMNET variable (set to NoNet for newlib usage).
6064         * configure: Regenerated.
6065         * java/net/natInetAddressNoNet.cc,
6066         java/net/natInetAddressPosix.cc,
6067         java/net/natInetAddressWin32.cc,
6068         java/net/natNetworkInterfaceNoNet.cc,
6069         java/net/natNetworkInterfacePosix.cc,
6070         java/net/natNetworkInterfaceWin32.cc,
6071         java/net/natPlainDatagramSocketImplNoNet.cc,
6072         java/net/natPlainDatagramSocketImplPosix.cc,
6073         java/net/natPlainDatagramSocketImplWin32.cc,
6074         java/net/natPlainSocketImplNoNet.cc,
6075         java/net/natPlainSocketImplPosix.cc,
6076         java/net/natPlainSocketImplWin32.cc: New files.
6078 2003-03-18  Michael Koch  <konqueror@gmx.de>
6080         * java/io/BufferedReader.java,
6081         java/io/BufferedWriter.java,
6082         java/io/ByteArrayOutputStream.java,
6083         java/io/FileFilter.java,
6084         java/io/FilePermission.java,
6085         java/io/FileReader.java,
6086         java/io/FileWriter.java,
6087         java/io/FilenameFilter.java,
6088         java/io/FilterInputStream.java,
6089         java/io/FilterOutputStream.java,
6090         java/io/FilterReader.java,
6091         java/io/FilterWriter.java,
6092         java/io/ObjectInput.java,
6093         java/io/ObjectInputValidation.java,
6094         java/io/ObjectOutput.java,
6095         java/io/ObjectStreamField.java,
6096         java/io/PipedInputStream.java,
6097         java/io/PipedReader.java,
6098         java/io/PrintWriter.java,
6099         java/io/PushbackReader.java,
6100         java/io/Reader.java,
6101         java/io/SerializablePermission.java,
6102         java/io/StringReader.java,
6103         java/io/Writer.java:
6104         Merged from classpath.
6106 2003-03-17  Michael Koch  <konqueror@gmx.de>
6108         * java/awt/ScrollPaneAdjustable.java:
6109         Compile fixes.
6110         
6111 2003-03-17  Michael Koch  <konqueror@gmx.de>
6113         * java/net/DatagramSocket.java
6114         (connect): Fixed comment.
6115         * java/nio/ByteBuffer.java
6116         (hasArray): Fixed comment.
6118 2003-03-17  Michael Koch  <konqueror@gmx.de>
6120         * java/beans/Beans.java:
6121         Explicitely import classes not packages.
6122         * java/beans/FeatureDescriptor.java
6123         (preferred): New member variable.
6124         (isPreferred): New method.
6125         (setPreferred): New method.
6126         * java/beans/PropertyEditorManager.java:
6127         Explicitely import used classes.
6128         * java/beans/beancontext/BeanContextChild.java:
6129         Added line wrapping.
6130         * java/beans/beancontext/BeanContextChildSupport.java:
6131         Reindented.
6132         * java/beans/beancontext/BeanContextEvent.java:
6133         Reindented.
6135 2003-03-17  Michael Koch  <konqueror@gmx.de>
6137         * java/awt/Dialog.java
6138         (Dialog): New constructor, changed implementations, added
6139         documentation.
6140         * java/awt/ScrollPaneAdjustable.java
6141         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
6142         Serializable.
6143         (serialVersionUID): New member variable.
6144         (sp): New member variable.
6145         (orientation): New member variable.
6146         (value): New member variable.
6147         (minimum): New member variable.
6148         (maximum): New member variable.
6149         (visibleAmount): New member variable.
6150         (unitIncrement): New member variable.
6151         (blockIncrement): New member variable.
6152         (AdjustmentListener): New member variable.
6153         (ScrollPaneAdjustable): New implementation.
6154         (addAdjustmentListener): New method.
6155         (removeAdjustmentListener): New method.
6156         (getAdjustmentListeners): New method.
6157         (getBlockIncrement): New method.
6158         (getMaximum): New method.
6159         (getMinimum): New method.
6160         (getOrientation): New method.
6161         (getUnitIncrement): New method.
6162         (getValue): New method.
6163         (getVisibleAmount): New method.
6164         (setBlockIncrement): New method.
6165         (setMaximum): Implemented.
6166         (setMinimum): Implemented.
6167         (setUnitIncrement): New method.
6168         (setValue): New method.
6169         (setVisibleAmount): Implemented. 
6170         (paramString): New stubbed method.
6171         * java/awt/Window.java
6172         (show): Call setVisible().
6173         (hide): Call setVisible().
6174         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
6175         and WINDOW_STATE_CHANGED.
6176         (processWindowFocusEvent): New method.
6177         (processWindowStateEvent): New method.
6178         (postEvent): Deprecated.
6179         (applyResourceBundle): Deprecated.
6180         * java/awt/datatransfer/DataFlavor.java
6181         (DataFlavor): Doesn't thow ClassNotFoundException.
6183 2003-03-17  Michael Koch
6185         * javax/print/attribute/Attribute.java,
6186         javax/print/attribute/AttributeSet.java,
6187         javax/print/attribute/PrintRequestAttributeSet.java:
6188         New files.
6189         * Makefile.am
6190         (javax_source_files): Added new files:
6191         javax/print/attribute/Attribute.java
6192         javax/print/attribute/AttributeSet.java
6193         javax/print/attribute/PrintRequestAttributeSet.java
6194         * Makefile.in: Regenerated.
6196 2003-03-17  Michael Koch
6198         * javax/print/attribute/Attribute.java,
6199         javax/print/attribute/AttributeSet.java,
6200         javax/print/attribute/PrintRequestAttributeSet.java:
6201         New files.
6202         * Makefile.am
6203         (awt_java_source_files): Added new files:
6204         javax/print/attribute/Attribute.java
6205         javax/print/attribute/AttributeSet.java
6206         javax/print/attribute/PrintRequestAttributeSet.java
6207         * Makefile.in: Regenerated.
6209 2003-03-16  Tom Tromey  <tromey@redhat.com>
6211         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
6212         Include platform.h.
6213         * java/lang/natRuntime.cc (insertSystemProperties): Use
6214         _Jv_platform_path_separator.
6215         (nativeGetLibname): Use _Jv_platform_file_separator.
6216         (_load): Use _Jv_platform_onload_names.
6217         (onload_names): New global.
6218         * include/win32.h (_Jv_platform_file_separator): New define.
6219         (_Jv_platform_path_separator): Likewise.
6220         (_Jv_platform_onload_names): Likewise.
6221         (_Jv_platform_ffi_abi): Likewise.
6222         * include/posix.h (_Jv_platform_file_separator): New define.
6223         (_Jv_platform_path_separator): Likewise.
6224         (_Jv_platform_onload_names): Likewise.
6225         (_Jv_platform_ffi_abi): Likewise.
6227 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
6229         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
6231 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
6233         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
6234         hierarchy loop.
6235         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
6236         list to Object,ObjectStreamClass, moved callReadMethod code up into
6237         readObject and added Class argument to all setXxxField calls.
6238         (callReadMethod): Changed Class argument to ObjectStreamClass to be
6239         consistent with ObjectOutputStream and to facilitate caching the
6240         Method in the future.
6241         (setBooleanField): Added Class argument.
6242         (setByteField): Likewise.
6243         (setCharField): Likewise.
6244         (setDoubleField): Likewise.
6245         (setFloatField): Likewise.
6246         (setIntField): Likewise.
6247         (setLongField): Likewise.
6248         (setShortField): Likewise.
6249         (setObjectField): Likewise.
6250         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
6251         class hierarchy loop.
6252         (defaultWriteObject): Call writeFields with new argument list.
6253         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
6254         list to Object,ObjectStreamClass, moved callWriteMethod up into
6255         writeObject and added Class argument to all getXxxField calls.
6256         (callWriteMethod): Added ObjectStreamClass argument to be able to
6257         get the proper class to call getMethod on (each class can have (or
6258         not have) its own writeObject method).
6259         (getBooleanField): Added Class argument.
6260         (getByteField): Likewise.
6261         (getCharField): Likewise.
6262         (getDoubleField): Likewise.
6263         (getFloatField): Likewise.
6264         (getIntField): Likewise.
6265         (getLongField): Likewise.
6266         (getShortField): Likewise.
6267         (getObjectField): Likewise.
6268         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
6269         facilitate caching the Method object in the future.
6271 2003-03-12  Andreas Schwab  <schwab@suse.de>
6273         * configure.in: Avoid trailing /. in toolexeclibdir.
6274         * configure: Rebuilt.
6276 2003-03-11  Michael Koch  <konqueror@gmx.de>
6278         * gnu/java/nio/ByteBufferImpl.java
6279         (putInt): Use limit() instead of limit.
6280         * gnu/java/nio/CharBufferImpl.java
6281         (slice): Fixed implementation.
6282         (subSequence): Better bounds checking.
6283         * gnu/java/nio/MappedByteFileBuffer.java:
6284         Import all needed classes directly.
6285         * java/nio/ByteBuffer.java
6286         (hashCode): New dummy method.
6287         * java/nio/CharBuffer.java
6288         (array_offset): New member variable.
6289         (hasArray): Fixed documentation.
6290         (arrayOffset): Return array_offset.
6292 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
6294         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
6295         setter; made return value of getter const char* instead of char*
6296         * prims.cc: removed all references to _Jv_ThisExecutable().
6297         These are in the platform-specific sections now.
6298         * posix.cc: define platform-specific _Jv_ThisExecutable().
6299         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
6300         * win32.cc: define platform-specific _Jv_ThisExecutable()
6301         using GetModuleFilename()
6302         * java/lang/natRuntime.cc: set gnu.gcj.progname property
6303         to argv[0] instead of _Jv_ThisExecutable()
6305 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
6307         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
6308         that is set if we are using addr2name.awk instead of addr2line.
6309         (NameFinder): Set usingAddr2name if using addr2name.awk.
6310         (getExternalLabel): New native method to convert a method 
6311         name to an external label.
6312         (lookup): Convert name given by addr2line to an external label
6313         before demangling.
6315         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
6316         constant representing the prefix attached to method names to
6317         convert them to an external label.
6318         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
6319         using LABEL_PREFIX.
6321 2003-03-10  Tom Tromey  <tromey@redhat.com>
6323         * Makefile.in: Rebuilt.
6324         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
6325         (JC1FLAGS): Removed -Wno-deprecated.
6327 2003-03-10  Michael Koch  <konqueror@gmx.de>
6329         * java/nio/ByteOrder.java
6330         (nativeOrder): Working implementation, added documentation.
6331         (toString): Added documentation.
6333 2003-03-10  Michael Koch  <konqueror@gmx.de>
6335         * java/net/DatagramSocket.java,
6336         java/net/MulticastSocket.java,
6337         java/net/Socket.java,
6338         java/net/URL.java,
6339         java/net/URLConnection.java:
6340         Fixed some documentation tags to make javadoc and friends happy.
6342 2003-03-10  Michael Koch  <koqnueror@gmx.de>
6344         * java/beans/beancontext/BeanContextServicesSupport.java,
6345         java/beans/beancontext/BeanContextSupport.java: New files.
6346         * Makefile.am
6347         (awt_source_files): Added new files.
6348         * Makefile.in: Regenerated.
6350 2003-03-10  Michael Koch  <konqueror@gmx.de>
6352         * java/awt/FocusTraversalPolicy.java
6353         (FocusTraversalPolicy): Documentation added.
6354         (getComponentAfter): Documentation added.
6355         (getComponentBefore): Documentation added.
6356         (getFirstComponent): Documentation added.
6357         (getLastComponent): Documentation added.
6358         (getDefaultComponent): Documentation added.
6359         (getInitialComponent): Documentation added.
6360         * java/awt/ScrollPaneAdjustable.java
6361         (sp): New member variable.
6362         (orientation): New member variable.
6363         (value): New member variable.
6364         (minimum): New member variable.
6365         (maximum): New member variable.
6366         (visibleAmount): New member variable.
6367         (unitIncrement): New member variable.
6368         (blockIncrement): New member variable.
6369         (adjustmentListener): New member variable.
6370         (ScrollPaneAdjustable): Rewrote.
6371         (addAdjustmentListener): New method.
6372         (removeAdjustmentListener): New method.
6373         (getAdjustmentListeners): New method.
6374         (getBlockIncrement): New method.
6375         (getMaximum): New method.
6376         (getMinimum): New method.
6377         (getOrientation): New method.
6378         (getUnitIncrement): New method.
6379         (getValue): New method.
6380         (getVisibleAmount): New method.
6381         (setBlockIncrement): New method.
6382         (setUnitIncrement): New method.
6383         (setMaximum): Implemented.
6384         (setMinimum): Implemented.
6385         (setValue): New method.
6386         (setVisibleAmount): Implemented.
6387         (paramString): New method.
6388         * java/awt/Window.java
6389         (show): Use setVisible(true) instead of super.show().
6390         (hide): Use sevVisible(false) instead of super.hide().
6391         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
6392         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
6393         (postEvent): Deprecated.
6394         (applyResourceBundle): Deprecated.
6395         (processWindowFocusEvent): New method.
6396         (processWindowStateEvent): New method.
6397         * java/awt/datatransfer/DataFlavor.java: Reindented.
6398         * java/awt/font/TextHitInfo.java
6399         (charIndex): New member variable.
6400         (leadingEdge): New member variable.
6401         (TextHitInfo): New constructor.
6402         (getCharIndex): Implemented.
6403         (isLeadingEdge): Implemented.
6404         (getInsertionIndex): Implemented.
6405         (hashCode): Access charIndex directly.
6406         (equals): Reformated.
6407         (leading): Implemented.
6408         (trailing): Implemented.
6409         (beforeOffset): Implemented.
6410         (afterOffset): Implemented.
6411         (getOtherHit): Implemented.
6412         (getOffsetHit): Implemented.
6413         (toString): Implemented.
6414         * java/awt/image/BufferedImage.java
6415         (BufferedImage): Implements WritableRenderedImage.
6416         (observers): New member variable.
6417         (addTileObserver): New method.
6418         (removeTileObserver): New method.
6420 2003-03-09  Tom Tromey  <tromey@redhat.com>
6422         PR libgcj/9934:
6423         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
6424         to lseek.  Return 0 if we can't compute the value.
6426 2003-03-03  Michael Koch  <konqueror@gmx.de>
6428         * java/net/NetworkInterface.java: Merged with classpath.
6430 2003-03-03  Tom Tromey  <tromey@redhat.com>
6432         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
6433         of bytecode.
6434         (handle_ret_insn): Fail if returning to jsr that appears at end of
6435         bytecode.
6437 2003-03-03  Michael Koch  <konqueror@gmx.de>
6439         * Makefile.am
6440         (ordinary_java_source_files):
6441         Added gnu/java/nio/MappedByteFileBuffer.java.
6442         (nat_source_files):
6443         Added gnu/java/nio/natMappedByteFileBuffer.cc.
6444         * Makefile.in: Regenerated.
6446 2003-03-03  Michael Koch  <konqueror@gmx.de>
6448         * java/net/DatagramSocket.java
6449         (connect): Merged comment from classpath.
6450         (receive): Merged documentation from classpath.
6451         * java/net/Socket.java
6452         (setSoTimeout): Clarified documentation.
6453         * java/net/URL.java
6454         (getPath): Merged from classpath.
6455         (getUserInfo): Merged from classpath.
6456         (getQuery): Merged from classpath.
6457         * java/net/URLStreamHandler.java
6458         (toExternalForm): Merged from classpath.
6460 2003-03-02  Mark Wielaard  <mark@klomp.org>
6462         * java/util/Properties.java (load): Only skip line if the first
6463         character is a comment, whitespaces don't count.
6465 2003-03-02  Michael Koch  <konqueror@gmx.de>
6467         * java/net/NetPermission.java:
6468         Merged copyright with classpath.
6470 2003-03-02  Michael Koch  <konqueror@gmx.de>
6472         * java/lang/Package.java:
6473         Remerged from classpath.
6475 2003-03-02  Michael Koch  <konqueror@gmx.de>
6477         * java/net/HttpURLConnection.java
6478         (HTTP_SERVER_ERROR): Deprecated.
6479         * java/net/MulticastSocket.java
6480         (send): Replaced checkMulticast with appropriate checkPermission call,
6481         deprecated.
6482         * java/net/URLDecoder.java
6483         (decode): Deprecated.
6484         * java/net/URLEncoder.java
6485         (encode): Deprecated.
6487 2003-03-02  Michael Koch  <konqueror@gmx.de>
6489         * javax/swing/text/Caret.java
6490         (getMagicCaretPosition): Fixed typo in method name.
6491         * javax/swing/text/DefaultCaret.java
6492         (getMagicCaretPosition): Fixed typo in method name.
6494 2003-03-02  Michael Koch  <konqueror@gmx.de>
6496         * java/awt/List.java
6497         (setMultipleSelections): Deprecated.
6498         (delItem): Deprecated.
6499         * java/awt/MenuComponent.java
6500         (getPeer): Deprecated.
6501         * java/awt/ScrollPane.java
6502         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
6503         * java/awt/dnd/MouseDragGestureRecognizer.java
6504         (mouseClicked): Added comment.
6505         (mousePressed): Added comment.
6506         (mouseReleased): Added comment.
6507         (mouseEntered): Added comment.
6508         (mouseExited): Added comment.
6509         (mouseDragged): Added comment.
6510         (mouseMoved): Added comment.
6511         * java/awt/event/KeyEvent.java
6512         (KeyEvent): Deprecated.
6513         (setModifiers): Deprecated.
6514         
6515 2003-03-02  Michael Koch  <konqueror@gmx.de>
6517         * gnu/java/nio/FileChannelImpl.java
6518         (fd): Type FileDescriptor instead of int.
6519         (lengthInternal): Removed.
6520         (FileChannelImpl): Fixed arguments, check type of file object.
6521         (size): Made it native.
6522         (implPosition): New native method.
6523         (implTruncate): New native method.
6524         (position): Implemented.
6525         (truncate): Implemented.
6526         (nio_mmap_file): Changed arguments.
6527         (nio_munmap_file): Changed arguments.
6528         (nio_msync): Changed arguments.
6529         * gnu/java/nio/natFileChannelImpl.cc
6530         (lengthInternal): Removed.
6531         (size): New method.
6532         (implPosition): New method.
6533         (implTruncate): New method.
6534         (nio_mmap_file): Changed arguments.
6535         (nio_munmap_file): Changed arguments.
6536         (nio_msync): Changed arguments.
6538 2003-03-02  Michael Koch  <konqueror@gmx.de>
6540         * java/awt/dnd/DropTargetContext.java:
6541         Compile fix: Forgot to commit import.
6542         
6543 2003-03-02  Michael Koch  <konqueror@gmx.de>
6545         * java/awt/Component.java,
6546         java/awt/ScrollPane.java:
6547         Fixed typos.
6549 2003-03-02  Michael Koch  <konqueror@gmx.de>
6551         * java/awt/dnd/DnDEventMulticaster.java: New file.
6552         * java/awt/dnd/DragSource.java
6553         (flavorMap): New member variable.
6554         (dragSourceListener): New member variable.
6555         (dragSourceMotionListener): New member variable.
6556         (getFlavorMap): Implemented.
6557         (createDragGestureRecognizer): Implemented.
6558         (addDragSourceListener): Implemented.
6559         (removeDragSourceListener): Implemented.
6560         (getDragSourceListeners): Implemented.
6561         (addDragSourceMotionListener): Implemented.
6562         (removeDragSourceMotionListener): Implemented.
6563         (getDragSourceMotionListeners): Implemented.
6564         (getListeners): Implemented.
6565         * java/awt/dnd/DragSourceContext.java
6566         (peer): New member variable.
6567         (cursor): New member variable.
6568         (transferable): New member variable.
6569         (trigger): New member variable.
6570         (dragSourceListener): New member variable.
6571         (image): New member variable.
6572         (offset): New member variable.
6573         (DragSourceContext): Implemented.
6574         (getDragSource): Implemented.
6575         (getComponent): Implemented.
6576         (getTrigger): Implemented.
6577         (getSourceActions): Implemented.
6578         (setCursor): Implemented.
6579         (getCursor): Implemented.
6580         (addDragSourceListener): Implemented.
6581         (removeDragSourceListener): Implemented.
6582         (getTransferable): Implemented.
6583         * java/awt/dnd/DropTarget.java
6584         (DropTargetAutoScroller.component): New member variable.
6585         (DropTargetAutoScroller.point): New member variable.
6586         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
6587         (DropTargetAutoScroller.updateLocation): Implemented.
6588         (active): Renamed from isActive, defaults to true now.
6589         (component): New member variable.
6590         (flavorMap): New member variable.
6591         (actions): New member variable.
6592         (dropTargetContext): New member variable.
6593         (dropTargetListener): New member variable.
6594         (DropTarget): Implemented.
6595         (getComponent): Implemented.
6596         (setComponent): Implemented.
6597         (setDefaultActions): Implemented.
6598         (getDefaultActions): Implemented.
6599         (setActive): Use active instead of isActive.
6600         (isActive): Use active instead of isActive.
6601         (addDropTargetListener): Implemented.
6602         (removeDropTargetListener): Implemented.
6603         (getFlavorMap): Implemented.
6604         (setFlavorMap): Implemented.
6605         (getDropTargetContext): Implemented.
6606         (createDropTargetContext): Implemented.
6607         (createDropTargetAutoScroller): Implemented.
6608         * java/awt/dnd/DropTargetContext.java
6609         (TransferableProxy.getTransferDataFlavors): Implemented.
6610         (TransferableProxy.isDataFlavorSupported): Implemented.
6611         (TransferableProxy.getTransferData): Implemented.
6612         (dropTarget):  New member variable.
6613         (dtcp): New member variable.
6614         (DropTargetContext): New package private constructor.
6615         (getDropTarget): Implemented.
6616         (getComponent): Implemented.
6617         (addNotify): Implemented.
6618         (removeNotify): Implemented.
6619         (getCurrentDataFlavorsAsList): Implemented.
6620         (isDataFlavorSupported): Implemented.
6621         * java/awt/dnd/MouseDragGestureRecognizer.java
6622         (registerListeners): Implemented.
6623         (unregisterListeners): Implemented.
6624         * Makefile.am
6625         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
6626         * Makefile.in: Regenerated.
6628 2003-03-02  Michael Koch  <konqueror@gmx.de>
6630         * java/awt/Component.java
6631         (eventTypeEnabled): New method.
6632         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
6633         * java/awt/Container.java
6634         (changeSupport): New member variable.
6635         (addPropertyChangeListener): New methods.
6636         * java/awt/ContainerOrderFocusTraversalPolicy.java
6637         (ContainerOrderFocusTraversalPolicy): Added comment.
6638         (getComponentAfter): Throw exception, documentation added.
6639         (getComponentBefore): Throw exception, documentation added.
6640         (getFirstComponent): Throw exception, documentation added.
6641         (getLastComponent): Throw exception, documentation added.
6642         (getDefaultComponent): Throw exception, documentation added.
6643         * java/awt/EventQueue.java: Reindented.
6644         * java/awt/FocusTraversalPolicy.java:
6645         (FocusTraversalPolicy): Added comment.
6646         (getComponentAfter): Documentation added.
6647         (getComponentBefore): Documentation added.
6648         (getFirstComponent): Documentation added.
6649         (getLastComponent): Documentation added.
6650         (getDefaultComponent): Documentation added.
6651         (getInitialComponent): Documentation added.
6652         * java/awt/ScrollPane.java
6653         (wheelScrollingEnabled): New member variable.
6654         (ScrollPane): Initialize wheelScollingEnabled.
6655         (eventTypeEnabled): New method.
6656         (isWheelScrollingEnabled): New method.
6657         (setWheelScrollingEnabled): New method.
6659 2003-03-02  Michael Koch  <konqueror@gmx.de>
6661         * java/net/DatagramSocket.java
6662         (closed): New member variable.
6663         (close): Use closed variable.
6664         (getInetAddress): No need to call isConnected().
6665         (getPort): No need to call isConnected().
6666         (disconnect): Reset remoteAddress and remotePort, fixed typo.
6667         (isClosed): Reimplemented.
6668         
6669 2003-03-02  Michael Koch  <konqueror@gmx.de>
6671         * configure.in: Added check for memory mapping of files.
6672         * configure: Regenerated.
6673         * config.h.in: Regenerated.
6675 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
6677         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
6678         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
6680 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
6682         * java/io/File.java (normalizePath): Remove trailing separator
6683         on Windows only if path is not of the form "x:\".
6685         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
6686         (java::io::File::attr): Change formatting a bit and use
6687         WIN32_EPOCH_MILLIS instead of magic numbers.
6688         (java::io::File::isAbsolute): Path must have at least 3 
6689         characters for a UNC network path.
6690         (java::io::File::init_native): Define.
6691         (java::io::File::performCreate): Likewise.
6692         (java::io::File::performSetReadOnly): Likewise.
6693         (java::io::File::performSetLastModified): Likewise.
6694         (java::io::File::performListRoots): Likewise.
6696 2003-03-01  Tom Tromey  <tromey@redhat.com>
6698         * java/lang/natObject.cc: Don't include assert.h.
6699         (heavy_lock_obj_finalization_proc): Use JvAssert.
6700         (remove_all_heavy): Likewise.
6701         (_Jv_MonitorEnter): Likewise.
6702         (_Jv_MonitorExit): Likewise.
6703         (wait): Likewise.
6705 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
6707         * java/io/File (getAbsolutePath): Prefix drive specifier on
6708         Windows for paths starting with a '\'.
6709         (toURL): Make URL more consistent with what Sun's JDK returns.
6711         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
6712         true only if the path is a UNC network path or it starts with a
6713         drive specifier.
6715         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
6716         Be prepared to handle either '/' or '\\' in the file path for
6717         Windows if using the "file" protocol.
6718         Canonicalise the file path if using a relative path in the given
6719         context and the "file" protocol.
6721 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
6723         * java/lang/natWin32Process.cc (startProcess): Double-quote each
6724         program array element passed to CreateProcess.
6726 2003-03-01  Tom Tromey  <tromey@redhat.com>
6728         * java/rmi/registry/RegistryHandler.java: Deprecate.
6730 2003-03-01  Tom Tromey  <tromey@redhat.com>
6732         * javax/accessibility/AccessibleEditableText.java,
6733         javax/accessibility/AccessibleHyperlink.java: New versions from
6734         Classpath.
6736         * gnu/java/locale/LocaleInformation_af_ZA.java,
6737         gnu/java/locale/LocaleInformation_ar_AE.java,
6738         gnu/java/locale/LocaleInformation_ar_BH.java,
6739         gnu/java/locale/LocaleInformation_ar_DZ.java,
6740         gnu/java/locale/LocaleInformation_ar_EG.java,
6741         gnu/java/locale/LocaleInformation_ar_IN.java,
6742         gnu/java/locale/LocaleInformation_ar_IQ.java,
6743         gnu/java/locale/LocaleInformation_ar_JO.java,
6744         gnu/java/locale/LocaleInformation_ar_KW.java,
6745         gnu/java/locale/LocaleInformation_ar_LB.java,
6746         gnu/java/locale/LocaleInformation_ar_LY.java,
6747         gnu/java/locale/LocaleInformation_ar_MA.java,
6748         gnu/java/locale/LocaleInformation_ar_OM.java,
6749         gnu/java/locale/LocaleInformation_ar_QA.java,
6750         gnu/java/locale/LocaleInformation_ar_SD.java,
6751         gnu/java/locale/LocaleInformation_ar_SY.java,
6752         gnu/java/locale/LocaleInformation_ar_TN.java,
6753         gnu/java/locale/LocaleInformation_ar_YE.java,
6754         gnu/java/locale/LocaleInformation_be_BY.java,
6755         gnu/java/locale/LocaleInformation_bn_IN.java,
6756         gnu/java/locale/LocaleInformation_br_FR.java,
6757         gnu/java/locale/LocaleInformation_bs_BA.java,
6758         gnu/java/locale/LocaleInformation_ca_ES.java,
6759         gnu/java/locale/LocaleInformation_cs_CZ.java,
6760         gnu/java/locale/LocaleInformation_cy_GB.java,
6761         gnu/java/locale/LocaleInformation_da_DK.java,
6762         gnu/java/locale/LocaleInformation_de_AT.java,
6763         gnu/java/locale/LocaleInformation_de_BE.java,
6764         gnu/java/locale/LocaleInformation_de_CH.java,
6765         gnu/java/locale/LocaleInformation_de_DE.java,
6766         gnu/java/locale/LocaleInformation_de_LU.java,
6767         gnu/java/locale/LocaleInformation_el_GR.java,
6768         gnu/java/locale/LocaleInformation_en_AU.java,
6769         gnu/java/locale/LocaleInformation_en_BW.java,
6770         gnu/java/locale/LocaleInformation_en_CA.java,
6771         gnu/java/locale/LocaleInformation_en_DK.java,
6772         gnu/java/locale/LocaleInformation_en_GB.java,
6773         gnu/java/locale/LocaleInformation_en_HK.java,
6774         gnu/java/locale/LocaleInformation_en_IE.java,
6775         gnu/java/locale/LocaleInformation_en_IN.java,
6776         gnu/java/locale/LocaleInformation_en_NZ.java,
6777         gnu/java/locale/LocaleInformation_en_PH.java,
6778         gnu/java/locale/LocaleInformation_en_SG.java,
6779         gnu/java/locale/LocaleInformation_en_US.java,
6780         gnu/java/locale/LocaleInformation_en_ZA.java,
6781         gnu/java/locale/LocaleInformation_en_ZW.java,
6782         gnu/java/locale/LocaleInformation_es_AR.java,
6783         gnu/java/locale/LocaleInformation_es_BO.java,
6784         gnu/java/locale/LocaleInformation_es_CL.java,
6785         gnu/java/locale/LocaleInformation_es_CO.java,
6786         gnu/java/locale/LocaleInformation_es_CR.java,
6787         gnu/java/locale/LocaleInformation_es_DO.java,
6788         gnu/java/locale/LocaleInformation_es_EC.java,
6789         gnu/java/locale/LocaleInformation_es_ES.java,
6790         gnu/java/locale/LocaleInformation_es_GT.java,
6791         gnu/java/locale/LocaleInformation_es_HN.java,
6792         gnu/java/locale/LocaleInformation_es_MX.java,
6793         gnu/java/locale/LocaleInformation_es_NI.java,
6794         gnu/java/locale/LocaleInformation_es_PA.java,
6795         gnu/java/locale/LocaleInformation_es_PE.java,
6796         gnu/java/locale/LocaleInformation_es_PR.java,
6797         gnu/java/locale/LocaleInformation_es_PY.java,
6798         gnu/java/locale/LocaleInformation_es_SV.java,
6799         gnu/java/locale/LocaleInformation_es_US.java,
6800         gnu/java/locale/LocaleInformation_es_UY.java,
6801         gnu/java/locale/LocaleInformation_es_VE.java,
6802         gnu/java/locale/LocaleInformation_et_EE.java,
6803         gnu/java/locale/LocaleInformation_eu_ES.java,
6804         gnu/java/locale/LocaleInformation_fa_IR.java,
6805         gnu/java/locale/LocaleInformation_fi_FI.java,
6806         gnu/java/locale/LocaleInformation_fo_FO.java,
6807         gnu/java/locale/LocaleInformation_fr_BE.java,
6808         gnu/java/locale/LocaleInformation_fr_CA.java,
6809         gnu/java/locale/LocaleInformation_fr_CH.java,
6810         gnu/java/locale/LocaleInformation_fr_FR.java,
6811         gnu/java/locale/LocaleInformation_fr_LU.java,
6812         gnu/java/locale/LocaleInformation_ga_IE.java,
6813         gnu/java/locale/LocaleInformation_gd_GB.java,
6814         gnu/java/locale/LocaleInformation_gl_ES.java,
6815         gnu/java/locale/LocaleInformation_gv_GB.java,
6816         gnu/java/locale/LocaleInformation_he_IL.java,
6817         gnu/java/locale/LocaleInformation_hi_IN.java,
6818         gnu/java/locale/LocaleInformation_hr_HR.java,
6819         gnu/java/locale/LocaleInformation_hu_HU.java,
6820         gnu/java/locale/LocaleInformation_id_ID.java,
6821         gnu/java/locale/LocaleInformation_it_CH.java,
6822         gnu/java/locale/LocaleInformation_it_IT.java,
6823         gnu/java/locale/LocaleInformation_iw_IL.java,
6824         gnu/java/locale/LocaleInformation_ja_JP.java,
6825         gnu/java/locale/LocaleInformation_ka_GE.java,
6826         gnu/java/locale/LocaleInformation_kl_GL.java,
6827         gnu/java/locale/LocaleInformation_ko_KR.java,
6828         gnu/java/locale/LocaleInformation_kw_GB.java,
6829         gnu/java/locale/LocaleInformation_lt_LT.java,
6830         gnu/java/locale/LocaleInformation_lv_LV.java,
6831         gnu/java/locale/LocaleInformation_mi_NZ.java,
6832         gnu/java/locale/LocaleInformation_mk_MK.java,
6833         gnu/java/locale/LocaleInformation_mr_IN.java,
6834         gnu/java/locale/LocaleInformation_mt_MT.java,
6835         gnu/java/locale/LocaleInformation_nl_BE.java,
6836         gnu/java/locale/LocaleInformation_nl_NL.java,
6837         gnu/java/locale/LocaleInformation_nn_NO.java,
6838         gnu/java/locale/LocaleInformation_no_NO.java,
6839         gnu/java/locale/LocaleInformation_oc_FR.java,
6840         gnu/java/locale/LocaleInformation_pl_PL.java,
6841         gnu/java/locale/LocaleInformation_pt_BR.java,
6842         gnu/java/locale/LocaleInformation_pt_PT.java,
6843         gnu/java/locale/LocaleInformation_ro_RO.java,
6844         gnu/java/locale/LocaleInformation_ru_RU.java,
6845         gnu/java/locale/LocaleInformation_ru_UA.java,
6846         gnu/java/locale/LocaleInformation_se_NO.java,
6847         gnu/java/locale/LocaleInformation_sk_SK.java,
6848         gnu/java/locale/LocaleInformation_sl_SI.java,
6849         gnu/java/locale/LocaleInformation_sq_AL.java,
6850         gnu/java/locale/LocaleInformation_sr_YU.java,
6851         gnu/java/locale/LocaleInformation_sv_FI.java,
6852         gnu/java/locale/LocaleInformation_sv_SE.java,
6853         gnu/java/locale/LocaleInformation_ta_IN.java,
6854         gnu/java/locale/LocaleInformation_te_IN.java,
6855         gnu/java/locale/LocaleInformation_tg_TJ.java,
6856         gnu/java/locale/LocaleInformation_tl_PH.java,
6857         gnu/java/locale/LocaleInformation_tr_TR.java,
6858         gnu/java/locale/LocaleInformation_uk_UA.java,
6859         gnu/java/locale/LocaleInformation_ur_PK.java,
6860         gnu/java/locale/LocaleInformation_uz_UZ.java,
6861         gnu/java/locale/LocaleInformation_vi_VN.java,
6862         gnu/java/locale/LocaleInformation_yi_US.java,
6863         gnu/java/locale/LocaleInformation_zh_CN.java,
6864         gnu/java/locale/LocaleInformation_zh_HK.java,
6865         gnu/java/locale/LocaleInformation_zh_SG.java,
6866         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
6867         info; from Classpath.
6869         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
6870         isPaintPending): New methods.
6871         * gnu/awt/xlib/XFramePeer.java (getState, setState,
6872         setMaximizedBounds): New methods.
6873         (beginLayout, endLayout, isPaintPending): Likewise.
6874         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
6875         (requestFocus): Likewise.
6876         (isObscured): Likewise.
6877         (canDetermineObscurity): Likewise.
6878         (coalescePaintEvent): Likewise.
6879         (updateCursorImmediately): Likewise.
6880         (createVolatileImage): Likewise.
6881         (handlesWheelScrolling): Likewise.
6882         (createBuffers): Likewise.
6883         (getBackBuffer): Likewise.
6884         (flip): Likewise.
6885         (destroyBuffers): Likewise.
6887         * Makefile.in: Rebuilt.
6888         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
6889         RobotPeer.java.
6890         * gnu/java/awt/GLightweightPeer.java,
6891         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
6892         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6893         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
6894         gnu/java/awt/peer/gtk/GtkFramePeer.java,
6895         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
6896         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
6897         java/awt/dnd/peer/DragSourceContextPeer.java,
6898         java/awt/dnd/peer/DropTargetContextPeer.java,
6899         java/awt/peer/ButtonPeer.java,
6900         java/awt/peer/CheckboxMenuItemPeer.java,
6901         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
6902         java/awt/peer/ComponentPeer.java,
6903         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
6904         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
6905         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
6906         java/awt/peer/MenuBarPeer.java,
6907         java/awt/peer/MenuComponentPeer.java,
6908         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
6909         java/awt/peer/PopupMenuPeer.java,
6910         java/awt/peer/ScrollPanePeer.java,
6911         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
6912         java/awt/peer/TextComponentPeer.java,
6913         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
6914         New versions from Classpath.
6915         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
6916         * java/awt/peer/RobotPeer.java: Likewise.
6918 2003-03-01  Mark Wielaard  <mark@klomp.org>
6920         * java/io/ObjectInputStream.java: Reindent.
6921         * java/io/ObjectOutputStream.java: Likewise.
6923 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
6925         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
6926         jvalue for each argument. Simplify.
6927         * testsuite/libjava.jni/calls.c (docall),
6928         testsuite/libjava.jni/calls.java (longpb_f): check for argument
6929         misalignment.
6931 2003-02-28  Mark Wielaard  <mark@klomp.org>
6933         * Makefile.am (nat_source_files): Remove
6934         java/io/natObjectOutputStream.cc.
6935         * Makefile.in: Regenerated.
6936         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
6937         * java/io/ObjectStreamField.java (typename): New field.
6938         (ObjectStreamField(String, Class)): Initialize new field.
6939         (ObjectStreamField(String, String)): New Constructor.
6940         (getTypeCode): Use new field.
6941         (getTypeString): Use new field.
6942         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
6943         ObjectStreamExceptions. Remember and reset old BlockDataMode.
6944         Handle reading of Proxy classes. Never drain(), just write
6945         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
6946         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
6947         (flush): Call flush(), not just drain().
6948         (writeBoolean): Always use blockDataOutput.
6949         (writeByte): Likewise.
6950         (writeShort): Likewise.
6951         (writeChar): Likewise.
6952         (writeInt): Likewise.
6953         (writeLong): Likewise.
6954         (writeFloat): Likewise.
6955         (writeDouble): Likewise.
6956         (writeBytes): Likewise.
6957         (putfield (put(String,Object))): Throw IllegalArgumentException if
6958         field cannot be found.
6959         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
6960         (writeArraySizeAndElements): Write byte[] in one go.
6961         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
6962         set BlockDataMode to false.
6963         (annotateProxyClass): New method.
6964         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
6965         (getField): No longer native.
6966         (getMethod): Likewise.
6967         (setBlockDataMode): Always drain() on switch, return old mode.
6968         (static): New static code block.
6969         * java/io/natObjectOutputStream.cc: Removed.
6970         * java/io/ObjectInputStream.java (getField): No longer native.
6971         (getMethod): Likewise.
6972         (readObject): Remember and reset old BlockDataMode. Track whether
6973         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
6974         TC_LONGSTRING.
6975         (defaultReadObject): Set BlockDataMode to false during readFields.
6976         (resolveClass): Create new SecurityManager if necessary.
6977         Use Class.forName() if null ClassLoader found.
6978         (read(byte[],int,int): Copy remaining bytes to data before calling
6979         readNextBlock().
6980         (readFields): Set and reset BlockDataMode on call_read_method.
6981         Catch NoSuchFieldErrors.
6982         (setBlockDataMode): Return old mode.
6983         (static): New static code block.
6984         * java/io/natObjectInputStream.cc (getField): Removed.
6985         (getMethod): Likewise.
6987 2003-02-27  Michael Koch  <konqueror@gmx.de>
6989         * java/beans/Beans.java,
6990         java/beans/FeatureDescriptor.java
6991         java/beans/PropertyEditorManager.java:
6992         Reformated to GNU style.
6994 2003-02-25  Michael Koch  <konqueror@gmx.de>
6996         * gnu/java/nio/MappedByteFileBuffer.java,
6997         gnu/java/nio/natMappedByteFileBuffer.cc:
6998         New files, both are not compiled yet to get not noncompiling CVS.
7000 2003-02-24  Tom Tromey  <tromey@redhat.com>
7002         * java/util/prefs/AbstractPreferences.java (isUserNode):
7003         Implemented.
7005 2003-02-24  Tom Tromey  <tromey@redhat.com>
7007         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
7008         Deprecate.
7009         * java/lang/Thread.java (resume): Deprecate.
7010         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
7011         in @deprecated.
7013 2003-02-23  Tom Tromey  <tromey@redhat.com>
7015         * Makefile.in: Rebuilt.
7016         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
7018 2003-02-23  Tom Tromey  <tromey@redhat.com>
7020         * java/lang/natRuntime.cc (libraries_size, libraries_count,
7021         libraries): Removed.
7022         (add_library): Removed.
7023         (_load): Don't call add_library.
7024         (loadLibraryInternal): Likewise.
7025         (init): Likewise.
7026         (lookup_data): New struct.
7027         (find_symbol): New function.
7028         (_Jv_FindSymbolInExecutable): Use it.
7030 2002-02-21  Anthony Green  <green@redhat.com>
7032         * java/lang/Thread.java (Thread): New constructor taking stack
7033         size parameter (ignored for now).
7034         * Many methods: Merged GNU Classpath documentation.
7036         * java/lang/Class.java (finalize): throws a Throwable.
7038 2003-02-21  Mark Wielaard  <mark@klomp.org>
7040         * java/util/zip/ZipEntry.java (setComment): Don't check length when
7041         argument is null.
7043 2003-02-21  Mark Wielaard  <mark@klomp.org>
7045         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
7046         then 65535 chars throw IllegalArgumentException.
7048 2003-02-21  Mark Wielaard  <mark@klomp.org>
7050         * java/util/zip/ZipFile.java (finalize): New method.
7052 2003-02-21  Michael Koch  <konqueror@gmx.de>
7054         * gnu/java/nio/natSocketChannelImpl.cc:
7055         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
7056         <cato@df.lth.se> for pointing to it.
7058 2003-02-20  Raif S. Naffah <raif@fl.net.au>
7060         * java/math/BigInteger.java (euclidInv): Take result array as an
7061         argument.  Updated all callers.
7062         (modInverse): Removed unused variables.
7064 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
7066         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
7067         config.status.
7068         * configure: Rebuilt.
7070 2003-02-19  Michael Koch  <konqueror@gmx.de>
7072         * gnu/java/nio/natSocketChannelImpl.cc:
7073         Added support for platforms without network support.
7075 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
7077         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
7078         after config.h.  Use <> for consistency.
7079         * java/lang/natObject.cc: Likewise.
7080         * java/lang/natRuntime.cc: Likewise.
7081         * java/lang/natSystem.cc: Likewise.
7082         * java/util/natTimeZone.cc: Likewise.
7083         * win32.cc: Likewise.
7084         * include/posix.h (fcntl, socket, connect, close, bind, accept,
7085         listen, write, read): Undef to avoid interference from OS macros.
7087 2003-02-19  Michael Koch  <konqueror@gmx.de>
7089         * gnu/java/nio/ByteBufferImpl.java
7090         (ByteBufferImpl): Renamed two variables.
7091         * gnu/java/nio/CharBufferImpl.java
7092         (CharBufferImpl): Renamed two variables.
7093         * gnu/java/nio/DoubleBufferImpl.java
7094         (DoubleBufferImpl): Renamed two variables.
7095         * gnu/java/nio/FloatBufferImpl.java
7096         (FloatBufferImpl): Renamed two variables.
7097         * gnu/java/nio/IntBufferImpl.java
7098         (IntBufferImpl): Renamed two variables.
7099         * gnu/java/nio/LongBufferImpl.java
7100         (LongBufferImpl): Renamed two variables.
7101         * gnu/java/nio/ShortBufferImpl.java
7102         (ShortBufferImpl): Renamed two variables.
7103         * java/nio/CharBuffer.java
7104         (wrap): Fixed arguments to CharBufferImpl constructor.
7105         (hasArray): Only not read-only buffers have backing arrays.
7106         (length): Documentation added.
7107         (subSequence): Documentation added.
7108         * java/nio/DoubleBuffer.java
7109         (hasArray): Only not read-only buffers have backing arrays.
7110         * java/nio/FloatBuffer.java
7111         (hasArray): Only not read-only buffers have backing arrays.
7112         * java/nio/IntBuffer.java
7113         (hasArray): Only not read-only buffers have backing arrays.
7114         * java/nio/LongBuffer.java
7115         (hasArray): Only not read-only buffers have backing arrays.
7116         * java/nio/ShortBuffer.java
7117         (hasArray): Only not read-only buffers have backing arrays.
7118         
7119 2003-02-19  Michael Koch  <konqueror@gmx.de>
7121         * javax/accessibility/AccessibleContext.java
7122         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
7124 2003-02-19  Michael Koch  <konqueror@gmx.de>
7126         * java/awt/ScrollPaneAdjustable.java: Reformated.
7128 2003-02-19  Michael Koch <konqueror@gmx.de>
7130         * gnu/awt/j2d/Graphics2DImpl.java
7131         (getFontRenderContext): New method.
7132         (drawGlyphVector): New method.
7133         * java/awt/Graphics2D.java
7134         (getFontRenderContext): New abstract method.
7135         (drawGlyphVector): New abstract method.
7136         
7137 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
7139         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
7140         if necessary.
7141         
7142         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
7143         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
7144         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
7145         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
7146         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
7147         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
7148         (setFont, gtkSetFont): add.
7149         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
7150         Propagate font to peer.  (setFont): add FIXME comment.
7152         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7153         (gtkTextGetSize): fix height, width computation.
7155         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
7156         Make X font name a bit less bogus.
7158         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
7159         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
7161         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
7162         (processAdjustmentEvent): Adjust value.
7164         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
7165         logic errors.
7167         * java/awt/Component.java (setVisible, show, hide): Call show and
7168         hide methods in subclasses.
7169         (getPreferredSize): don't set prefSize before we have peer.
7171         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
7172         Guess (0,0) if we don't have peer.
7175 2003-02-18  Michael Koch  <konqueror@gmx.de>
7177         * java/nio/channels/FileChannel.java
7178         (toString): New implementation, added documentation.
7179         (map): Added exception documentation.
7180         (size): Added exception documentation.
7181         (write): New methods, documentation work.
7182         (read): New methods, documentation work.
7183         (implCloseChannel): Rewrote exception documentation.
7184         (force): Throws IOException, added documentation.
7185         (lock): New methods.
7186         (tryLock): New methods.
7187         (position): New methods.
7188         (transferTo): New method.
7189         (transferFrom): New method.
7190         (truncate): New method.
7191         * java/nio/channels/spi/SelectorProvider.java
7192         (provider): Implemented.
7193         * Makefile.am
7194         (ordinary_java_source_files): Added the following files:
7195         gnu/java/nio/DatagramChannelImpl.java
7196         gnu/java/nio/FileChannelImpl.java
7197         gnu/java/nio/PipeImpl.java
7198         gnu/java/nio/SelectionKeyImpl.java
7199         gnu/java/nio/SelectorImpl.java
7200         gnu/java/nio/SelectorProviderImpl.java
7201         gnu/java/nio/ServerSocketChannelImpl.java
7202         gnu/java/nio/SocketChannelImpl.java
7203         java/nio/channels/FileLock.java
7204         (nat_java_source_files): Added the following files:
7205         gnu/java/nio/natFileChannelImpl.cc
7206         gnu/java/nio/natSelectorImpl.cc
7207         gnu/java/nio/natSocketChannelImpl.cc
7208         * Makefile.in: Regenerated.
7210 2003-02-17  Tom Tromey  <tromey@redhat.com>
7212         * java/awt/image/ColorModel.java: Re-merged with Classpath.
7213         * java/awt/image/ImageFilter.java: Likewise.
7215 2003-02-17  Raif S. Naffah <raif@fl.net.au>
7217         * java/math/BigInteger.java (euclidInv): Return array of
7218         `BigInteger's.  Changed all callers.
7220 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
7222         * java/util/Properties.java (store): Move the code formerly in
7223         list(), into this method.
7224         (list (PrintStream)): Just call list (PrintWriter) with a 
7225         PrintWriter object constructed from the given PrintStream object.
7226         (list (PrintWriter)): Emulate the output of Properties.list()
7227         as found in JDK 1.3/1.4.
7229 2003-02-17  Michael Koch  <konqueror@gmx.de>
7231         * java/net/DatagramSocket.java
7232         (connect): Merged with classpath.
7233         (disconnect): Merged documentation with classpath.
7234         (receice): Merged documentation with classpath.
7235         (send): Merged documentation with classpath.
7236         
7237 2003-02-17  Michael Koch  <konqueror@gmx.de>
7239         * java/awt/dnd/DragSourceContext.java
7240         (addDragSourceListener): Added documentation.
7241         * java/awt/dnd/DragSourceDragEvent.java
7242         (serialVersionUID): New member variable.
7243         (getDropAction): Reformated.
7244         * java/awt/dnd/DragSourceDropEvent.java
7245         (serialVersionUID): New member variable.
7246         (dropSuccess): Renamed from success for serialization issues.
7247         * java/awt/dnd/DragSourceEvent.java
7248         (serialVersionUID): New member variable.
7249         * java/awt/dnd/DropTarget.java
7250         (serialVersionUID): New member variable.
7251         (DropTarget): Implemented, documentation reworked.
7252         (setComponent): Documentation added.
7253         (getComponent): Documentation added.
7254         (setDefaultActions): Documentation added.
7255         (getDefaultActions): Documentation added.
7256         (addDropTargetListener): Documentation added.
7257         * java/awt/dnd/DropTargetContext.java
7258         (DropTargetContext): Documentation added.
7259         (TransferableProxy.TransferableProxy): New method.
7260         (dropComplete): Fixed documentation.
7261         (getTransferable): Fixed documentation.
7262         (createTransferableProxy): Implemented.
7263         * java/awt/dnd/DropTargetDragEvent.java
7264         (DropTargetDragEvent): Documentation added.
7265         (serialVersionUID): New member variable.
7266         (DropTargetDragEvent): Throw exceptions, documentation added.
7267         (acceptDrag): Implemented.
7268         (getCurrentDataFlavors): Implemented.3yy
7269         (getCurrentDataFlavorsAsList): Implemented.
7270         (isDataFlavorSupported): Implemented.
7271         (rejectDrag): Implemented.
7272         * java/awt/dnd/DropTargetDropEvent.java
7273         (DropTargetDropEvent): Documentation added.
7274         (serialVersionUID): New member variable.
7275         (actions): Renamed from srcActions for serialization issues.
7276         (isLocalTx): Renamed from isLocalTx for serialization issues.
7277         (DropTargetDropEvent): New implementation, throw exceptions,
7278         documentation added.
7279         (getCurrentDataFlavors): Implemented.
7280         (getCurrentDataFlavorsAsList): Implemented.
7281         (isDataFlavorSupported): Implemented.
7282         (getSourceActions): Implemented.
7283         (getDropAction): Implemented.
7284         (getTransferable): Implemented.
7285         (acceptDrop): Implemented.
7286         (rejectDrop): Implemented.
7287         * java/awt/dnd/DropTargetListener.java
7288         (drop): Fixed documentation.
7289         * java/awt/dnd/MouseDragGestureRecognizer.java
7290         (MouseDragGestureRecognizer): Documentation added.
7292 2003-02-17  Michael Koch  <konqueror@gmx.de>
7294         * java/awt/font/FontRenderContext.java,
7295         java/awt/font/ShapeGraphicAttribute.java,
7296         java/awt/font/MultipleMaster.java,
7297         java/awt/font/TransformAttribute.java,
7298         java/awt/font/GlyphJustificationInfo.java,
7299         java/awt/font/LineBreakMeasurer.java,
7300         java/awt/font/TextMeasurer.java,
7301         java/awt/font/TextLayout.java,
7302         java/awt/font/LineMetrics.java,
7303         java/awt/font/TextAttribute.java,
7304         java/awt/font/GlyphMetrics.java,
7305         java/awt/font/OpenType.java,
7306         java/awt/font/GlyphVector.java,
7307         java/awt/font/GraphicAttribute.java,
7308         java/awt/font/ImageGraphicAttribute.java,
7309         java/awt/font/NumericShaper.java: New files.
7310         * Makefile.am
7311         (awt_java_source_files): Added the following files:
7312         java/awt/font/FontRenderContext.java
7313         java/awt/font/ShapeGraphicAttribute.java
7314         java/awt/font/MultipleMaster.java
7315         java/awt/font/TransformAttribute.java
7316         java/awt/font/GlyphJustificationInfo.java
7317         java/awt/font/LineBreakMeasurer.java
7318         java/awt/font/TextMeasurer.java
7319         java/awt/font/TextLayout.java
7320         java/awt/font/LineMetrics.java
7321         java/awt/font/TextAttribute.java
7322         java/awt/font/GlyphMetrics.java
7323         java/awt/font/OpenType.java
7324         java/awt/font/GlyphVector.java
7325         java/awt/font/GraphicAttribute.java
7326         java/awt/font/ImageGraphicAttribute.java
7327         java/awt/font/NumericShaper.java
7328         * Makefile.in: Regenerated.
7330 2003-02-17  Michael Koch  <konqueror@gmx.de>
7332         * java/awt/print/Paper.java
7333         (Paper): Implements Cloneable.
7334         * java/awt/print/PrinterJob.java
7335         (setJobName): Return value must be void.
7336         (print): Throws PrinterException.
7337         
7338 2003-02-16  Tom Tromey  <tromey@redhat.com>
7340         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
7341         variable.
7343 2003-02-15  Michael Koch  <konqueror@gmx.de>
7345         * java/awt/datatransfer/DataFlavor.java
7346         (isRepresentationClassByteBuffer): Removed try-catch block.
7347         (isRepresentationClassCharBuffer): Removed try-catch block.
7348         (isRepresentationClassReader): Removed try-catch block.
7350 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
7352         * java/nio/charset/Charset.java
7353         (isRegistered): Fixed method args and implementation.
7354         * java/nio/charset/CharsetEncoder.java
7355         (unmappableCharacterAction): New method.
7357 2003-02-15  Michael Koch  <konqueror@gmx.de>
7359         * java/awt/CheckboxMenuItem.java
7360         (CheckBoxMenuItem): Dont implement Serializable.
7361         (getListeners): New method,
7362         (getItemListeners): New method.
7363         * java/awt/Choice.java
7364         (getListeners): New method,
7365         (getItemListeners): New method.
7366         * java/awt/Container.java
7367         (getListeners): Added exception documentation.
7368         (setFocusTraversalKeys): Throw exceptions, added documentattion.
7369         (getFocusTraversalKeys): Added documentation.
7370         (areFocusTraversalKeysSet): Added documentation.
7371         (applyComponentOrientation): Added documentation.
7372         * java/awt/ContainerOrderFocusTraversalPolicy.java
7373         (implicitDownCycleTraversal): Renamed from downCycle for
7374         serialization.
7375         (ContainerOrderFocusTraversalPolicy): Added documentation.
7376         (accept): Reformated.
7377         * java/awt/Dialog.java
7378         (Dialog): Dont implement Serializable.
7379         (Dialog): Added documentation.
7380         * java/awt/Font.java
7381         (Font): Dont use absolute class name.
7382         * java/awt/Frame.java
7383         (Frame): Font implement Serializable.
7384         * java/awt/List.java
7385         (getListeners): New method,
7386         (getActionListeners): New method.       
7387         (getItemListeners): New method.
7388         * java/awt/Menu.java
7389         (countItems): New deprecated method.
7390         * java/awt/Scrollbar.java
7391         (getListeners): New method,
7392         (getAdjustmentListeners): New method,
7393         * java/awt/TextComponent.java
7394         (getListeners): New method,
7395         (getTextListeners): New method,
7396         * java/awt/TextField.java
7397         (getListeners): New method,
7398         (getActionListeners): New method.       
7399         * java/awt/Window.java
7400         (windowFocusListener): New member variable.
7401         (windowStateListener): New member variable.
7402         (getWindowFocusListeners): New method.
7403         (getWindowStateListeners): New method.
7404         (addWindowFocusListener): New method.
7405         (addWindowStateListener): New method.
7406         (removeWindowFocusListener): New method.
7407         (removeWindowStateListener): New method.
7408         * java/awt/datatransfer/DataFlavor.java
7409         (isRepresentationClassByteBuffer): New method.
7410         (isRepresentationClassCharBuffer): New method.
7411         (isRepresentationClassReader): New method.
7413 2003-02-14  Mark Wielaard  <mark@klomp.org>
7415         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
7416         zero when there is an exponent and the significant is zero.
7417         (divide): Always set scale to newScale even in special ZERO case.
7419 2003-02-14  Tom Tromey  <tromey@redhat.com>
7421         * java/lang/System.java (properties): Use Properties.clone.
7422         (setProperties): Likewise.
7424 2003-02-14  Michael Koch  <konqueror@gmx.de>
7426         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
7427         * gnu/java/nio/ServerSocketChannelImpl.java
7428         (SocketAccept): Removed.
7429         (accept): Commented out use of SocketAccept.
7431 2003-02-13  Tom Tromey  <tromey@redhat.com>
7433         * verify.cc (state::seen_subrs): New field.
7434         (state::state): Initialize it.
7435         (state::clean_subrs): New method.
7436         (state::~state): Call it.
7437         (state::copy): Copy subroutine list.
7438         (state::add_subr): New method.
7439         (state::merge): Only register a change if the current subroutine
7440         hasn't yet been noted.
7442 2003-02-13  Mark Wielaard  <mark@klomp.org>
7444         * java/io/InputStreamReader.java (getEncoding): Return null when
7445         closed.
7446         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
7448 2003-02-13  Mark Wielaard  <mark@klomp.org>
7450         * java/util/zip/InflaterInputStream.java (read): Return zero when len
7451         is zero.
7453 2003-02-13  Mark Wielaard  <mark@klomp.org>
7455         * java/io/BufferedOutputStream.java (write(int)): Only flush when
7456         next byte cannot be buffered.
7458 2003-02-13  Michael Koch  <konqueror@gmx.de>
7460         * java/awt/Label.java
7461         (Label): Don't implement Serializable directly.
7462         (addNotify): Fixed typo in documentation.
7463         * java/awt/List.java
7464         (List): Don't implement Serializable directly.
7465         * java/awt/PopupMenu.java
7466         (PopupMenu): Don't implement Serializable directly.
7467         * java/awt/ScrollPane.java
7468         (ScrollPane): Don't implement Serializable directly.
7469         * java/awt/Scrollbar.java
7470         (Scrollbar): Don't implement Serializable directly.
7471         * java/awt/TextArea.java
7472         (preferredSize): Fixed method arguments.
7473         * java/awt/TextField.java
7474         (TextField): Don't implement Serializable directly.
7475         * java/awt/color/ICC_ColorSpace.java
7476         (fromCIOXYZ): Documentation added.
7477         (getMinValue): Documentation added.
7478         (getMaxValue): Documentation added.
7479         * java/awt/datatransfer/DataFlavor.java
7480         (isMimeTypeEqual): May not be final.
7481         (clone): Throws CloneNotSupportedException.
7482         (getReaderForText): Don't throws UnsupportedEncodingException.
7484 2003-02-13  Michael Koch  <konqueror@gmx.de>
7486         * gnu/java/awt/peer/gtk/GdkGraphics.java
7487         (drawString): New stubbed method.
7488         * java/awt/Graphics.java
7489         (drawString): New method.
7491 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
7493         PR libgcj/9271:
7494         * java/security/SecureRandom.java (next): Avoid bias in results.
7496 2003-02-13  Michael  <konqueror@gmx.de>
7498         * gnu/java/nio/FileChannelImpl.java
7499         (lengthInternal): Must be native.
7500         (size): Check if channel is already closed.
7501         (implCloseChannel): Reformated.
7502         (read): w was unused, removed it.
7503         (read): Removed.
7504         (read): New method.
7505         (write): New method.
7506         (map): Check arguments.
7507         (force): Throws IOException, check if channel is closed.
7508         (transferTo): New method.
7509         (transferFrom): New method.
7510         (lock): New method.
7511         (tryLock): New method.
7512         (position): New method.
7513         (truncate): New method.
7514         (nio_mmap_file): Uncommented.
7515         (nio_munmap_file): Uncommented.
7516         (nio_msync): Uncommented.
7517         * gnu/java/nio/natFileChannelImpl.cc: New file.
7518         
7519 2003-02-13  Michael Koch  <konqueror@gmx.de>
7521         * java/nio/ByteBuffer.java
7522         (endian): New member variable.
7523         (get): New methods.
7524         (equals): New method.
7525         (compareTo): New method.
7526         (order): New methods.
7527         (compact): New method.
7528         (isDirect): New method.
7529         (slice): New method.
7530         (duplicate): New method.
7531         (asReadOnlyBuffer): New method.
7532         (asCharBuffer): New method.
7533         (asDoubleBuffer): New method.
7534         (asFloatBuffer): New method.
7535         (asIntBuffer): New method.
7536         (asLongBuffer): New method.
7537         (asShortBuffer): New method.
7538         (get*): New methods.
7539         (put*): New methods.
7540         (toString): New method.
7541         * java/nio/CharBuffer.java
7542         (CharBuffer): Implement Comparable instead of Cloneable.
7543         (get): May not be final.
7544         (put): May not be final.
7545         
7546 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
7548         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
7549         lastIndexOf( ) instead of indexOf( ) to find the colon before
7550         the line number, because Win32 file names might contain a 
7551         drive letter and a colon at the start of an absolute path.
7553 2003-02-13  Michael Koch  <konqueror@gmx.de>
7555         * gnu/java/nio/natSocketChannelImpl.cc
7556         (SocketConnect): This is not implemented yet.
7557         (SocketBind): This is not implemented yet.
7559 2003-02-13  Michael Koch  <konqueror@gmx.de>
7561         * gnu/java/nio/natByteBufferImpl.cc,
7562         gnu/java/nio/natCharBufferImpl.cc,
7563         gnu/java/nio/natDoubleBufferImpl.cc,
7564         gnu/java/nio/natFloatBufferImpl.cc,
7565         gnu/java/nio/natIntBufferImpl.cc,
7566         gnu/java/nio/natLongBufferImpl.cc,
7567         gnu/java/nio/natShortBufferImpl.cc:
7568         Added copyright and license.
7569         * java/nio/DoubleBuffer.java,
7570         java/nio/FloatBuffer.java,
7571         java/nio/IntBuffer.java,
7572         java/nio/LongBuffer.java,
7573         java/nio/ShortBuffer.java
7574         (array): Throw exceptions.
7575         (arrayOffset): Throw exceptions.
7577 2003-02-13  Michael Koch  <konqueror@gmx.de>
7579         * gnu/java/util/prefs/FileBasedFactory.java,
7580         gnu/java/util/prefs/MemmoryBasedFactory.java,
7581         gnu/java/util/prefs/MemoryBasedPreferences.java,
7582         gnu/java/util/prefs/NodeReader.java,
7583         gnu/java/util/prefs/NodeWriter.java,
7584         java/util/prefs/AbstractPreferences.java,
7585         java/util/prefs/BackingStoreException.java,
7586         java/util/prefs/InvalidPreferencesFormatException.java,
7587         java/util/prefs/NodeChangeEvent.java,
7588         java/util/prefs/NodeChangeListener.java,
7589         java/util/prefs/PreferenceChangeEvent.java,
7590         java/util/prefs/PreferenceChangeListener.java,
7591         java/util/prefs/Preferences.java,
7592         java/util/prefs/PreferencesFactory.java:
7593         New files, all merged from classpath.
7594         * Makefile.am
7595         (ordinary_java_source_files): Added the following files:
7596         gnu/java/util/prefs/FileBasedFactory.java,
7597         gnu/java/util/prefs/MemmoryBasedFactory.java,
7598         gnu/java/util/prefs/MemoryBasedPreferences.java,
7599         gnu/java/util/prefs/NodeReader.java,
7600         gnu/java/util/prefs/NodeWriter.java,
7601         (core_java_source_files): Added the following files:
7602         java/util/prefs/AbstractPreferences.java,
7603         java/util/prefs/BackingStoreException.java,
7604         java/util/prefs/InvalidPreferencesFormatException.java,
7605         java/util/prefs/NodeChangeEvent.java,
7606         java/util/prefs/NodeChangeListener.java,
7607         java/util/prefs/PreferenceChangeEvent.java,
7608         java/util/prefs/PreferenceChangeListener.java,
7609         java/util/prefs/Preferences.java,
7610         java/util/prefs/PreferencesFactory.java
7611         * Makefile.in: Regenerated.
7613 2003-02-13  Michael Koch  <konqueror@gmx.de>
7615         * java/net/NetPermission.java
7616         (NetPermission): Make doucmentation match the method declaration.
7617         * java/net/NetworkInterface.java
7618         (equals): Reformated for GNU coding style.
7619         * java/net/ServerSocket.java: Merged with classpath.
7620         * java/net/Socket.java: Partly merged with classpath (Added some @since).
7621         * java/net/SocketImpl.java
7622         (localPort): Merged with classpath (initialize with -1).
7623         * java/net/SocketPermission.java: Merged with classpath (reindented).
7624         * java/net/URLDecoder.java: Merged with classpath (reindented).
7626 2003-02-13  Michael Koch  <konqueror@gmx.de>
7628         * java/awt/GridBagConstraints.java
7629         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
7630         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
7631         * java/awt/KeyboardFocusManager.java
7632         (setGlobalCurrentFocusCycleRoot): Must be public.
7633         * java/awt/MenuComponent.java
7634         (MenuComponent): Must be public.
7635         * java/awt/Toolkit.java:
7636         Added some empty lines to make documentation more readable.
7637         (getFontPeer): Added @deprecated.
7638         (getColorModel): Added exception documentation.
7639         (getProperty): Fixed documentation.
7641 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
7643         * configure.host (alpha*-*): Default to -mieee.
7644         * configure.in (IEEESPEC): New.
7645         * libgcj.spec.in (jc1): Add IEEESPEC.
7646         * configure: Rebuild.
7648 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
7650         * include/win32.h: Include ws2tcpip.h instead of
7651         winsock.h to obtain definition of the socklen_t type.
7652         Remove IP_TOS definition - not needed with ws2tcpip.h
7653         (_Jv_connect): Correct slight formatting error.
7655 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
7657         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
7658         size of the arguments for a JNI function. For Win32,
7659         modify to search for all forms of possible exported
7660         names of an stdcall JNI function.
7661         (_Jv_JNIMethod::call): Modify to calculate the size
7662         of the arguments passed to a JNI function and pass
7663         it to _Jv_LookupJNIMethod.
7665 2003-02-12  Michael Koch  <konqueror@gmx.de>
7667         * java/nio/channels/Channels.java: New file.
7668         * Makefile.am
7669         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
7670         * Makefile.in: Regenerated.
7672 2003-02-12  Michael Koch  <konqueror@gmx.de>
7674         * java/nio/ByteBuffer.java
7675         (allocate): Implemented.
7676         (wrap): Implemented.
7677         * java/nio/CharBuffer.java:
7678         Some documentation added and reworked.
7679         (endian): Removed.
7680         (allocate): Implemented.
7681         (wrap): Implemented.
7682         (array): Throw exceptions.
7683         (arrayOffset): Throw exceptions.
7684         (toString): Implemented.
7685         (length): Implemented.
7686         (put): Implemented.
7687         (charAt): Implemented.
7689 2003-02-11  John Leuner  <jewel@debian.org>
7691         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
7692         reads from end of file.
7694 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
7696         * java/io/natFileDescriptorWin32.cc 
7697         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
7698         returns with Win32 error code ERROR_BROKEN_PIPE.
7700 2003-02-11  Michael Koch  <konqueror@gmx.de>
7702         * Makefile.in
7703         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
7705 2003-02-11  Michael Koch  <konqueror@gmx.de>
7707         * gnu/java/nio/ByteBufferImpl.java:
7708         Reformated and removed some code.
7709         (backing_buffer): Removed.      
7710         (array_offset): Removed.
7711         (ro): Renamed to readOnly.
7712         (ByteBufferImpl): Use parent constructor, initialize readOnly.
7713         * gnu/java/nio/CharBufferImpl.java:
7714         Reformated and removed some code.
7715         (array_offset): Removed.
7716         (ro): Renamed to readOnly.
7717         (CharBufferImpl): Use parent constructor, initialize readOnly.
7718         (inc_pos): Removed.
7719         (order): New method.
7720         * gnu/java/nio/DoubleBufferImpl.java:
7721         Reformated and removed some code.
7722         (array_offset): Removed.
7723         (ro): Renamed to readOnly.
7724         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
7725         (inc_pos): Removed.
7726         (order): New method.
7727         * gnu/java/nio/FloatBufferImpl.java:
7728         Reformated and removed some code.
7729         (array_offset): Removed.
7730         (ro): Renamed to readOnly.
7731         (FloatBufferImpl): Use parent constructor, initialize readOnly.
7732         (inc_pos): Removed.
7733         (order): New method.
7734         * gnu/java/nio/IntBufferImpl.java:
7735         Reformated and removed some code.
7736         (array_offset): Removed.
7737         (ro): Renamed to readOnly.
7738         (IntBufferImpl): Use parent constructor, initialize readOnly.
7739         (inc_pos): Removed.
7740         (order): New method.
7741         * gnu/java/nio/LongBufferImpl.java:
7742         Reformated and removed some code.
7743         (array_offset): Removed.
7744         (ro): Renamed to readOnly.
7745         (LongBufferImpl): Use parent constructor, initialize readOnly.
7746         (inc_pos): Removed.
7747         (order): New method.
7748         * gnu/java/nio/ShortBufferImpl.java:
7749         Reformated and removed some code.
7750         (array_offset): Removed.
7751         (ro): Renamed to readOnly.
7752         (ShortBufferImpl): Use parent constructor, initialize readOnly.
7753         (inc_pos): Removed.
7754         (order): New method.
7755         * Makefile.am
7756         (ordinary_java_source_files): Added the following files:
7757         gnu/java/nio/ByteBufferImpl.java
7758         gnu/java/nio/CharBufferImpl.java
7759         gnu/java/nio/DoubleBufferImpl.java
7760         gnu/java/nio/FloatBufferImpl.java
7761         gnu/java/nio/IntBufferImpl.java
7762         gnu/java/nio/LongBufferImpl.java
7763         gnu/java/nio/ShortBufferImpl.java
7764         java/nio/DoubleBuffer.java
7765         java/nio/FloatBuffer.java
7766         java/nio/IntBuffer.java
7767         java/nio/LongBuffer.java
7768         java/nio/ShortBuffer.java
7769         (nat_source_files): Added the following files:
7770         gnu/java/nio/natByteBufferImpl.cc
7771         gnu/java/nio/natCharBufferImpl.cc
7772         gnu/java/nio/natDoubleBufferImpl.cc
7773         gnu/java/nio/natFloatBufferImpl.cc
7774         gnu/java/nio/natIntBufferImpl.cc
7775         gnu/java/nio/natLongBufferImpl.cc
7776         gnu/java/nio/natShortBufferImpl.cc
7777         * Makefile.in: Regenerated.
7779 2003-02-11  Michael Koch  <konqueror@gmx.de>
7781         * gnu/java/nio/natCharBufferImpl.cc
7782         (nio_cast): Removed.
7783         (nio_put_*): Removed.
7784         (nio_get_*): Removed.
7785         * gnu/java/nio/natDoubleBufferImpl.cc
7786         (nio_cast): Removed.
7787         (nio_put_*): Removed.
7788         (nio_get_*): Removed.
7789         * gnu/java/nio/natFloatBufferImpl.cc
7790         (nio_cast): Removed.
7791         (nio_put_*): Removed.
7792         (nio_get_*): Removed.
7793         * gnu/java/nio/natIntBufferImpl.cc
7794         (nio_cast): Removed.
7795         (nio_put_*): Removed.
7796         (nio_get_*): Removed.
7797         * gnu/java/nio/natLongBufferImpl.cc
7798         (nio_cast): Removed.
7799         (nio_put_*): Removed.
7800         (nio_get_*): Removed.
7801         * gnu/java/nio/natShortBufferImpl.cc
7802         (nio_cast): Removed.
7803         (nio_put_*): Removed.
7804         (nio_get_*): Removed.
7805         * gnu/java/nio/SelectorProviderImpl.java
7806         (openDatagramChannel): Throws IOException.
7807         (openPipe): Throws IOException.
7808         (openSelector): Throws IOException.
7809         (openServerSocketChannel): Throws IOException.
7810         (openSocketChannel): Throws IOException.
7811         * gnu/java/nio/ServerSocketChannelImpl.java
7812         (ServerSocketChannelImpl): Throws IOException.
7813         (implCloseSelectableChannel): Throws IOException.
7814         (implConfigureBlocking): Throws IOException.
7815         * java/nio/ByteBuffer.java
7816         (readOnly): Removed.
7817         (hasArray): Use isReadOnly() instead of readOnly.
7818         (array): Use isReadOnly() instead of readOnly.
7819         (arrayOffset): Use isReadOnly() instead of readOnly.
7820         * java/nio/CharBuffer.java
7821         (CharBuffer): Implements Cloneable and CharSequence.
7823 2003-02-11  Michael Koch  <konqueror@gmx.de>
7825         * java/nio/DoubleBuffer.java
7826         (DoubleBuffer): Implements Comparable.
7827         (endian): Removed.
7828         (array_offset): New member variable.
7829         (DoubleBuffer): New constuctor.
7830         (get): May not be final.
7831         (put): May not be final.
7832         (arrayOffset): Implemented.
7833         (order): Made abstract.
7834         (order): Removed.
7835         (as*Buffer): Removed.
7836         (get*): Removed.
7837         (put*): Removed.
7838         * java/nio/FloatBuffer.java
7839         (FloatBuffer): Implements Comparable.
7840         (endian): Removed.
7841         (array_offset): New member variable.
7842         (FloatBuffer): New constuctor.
7843         (get): May not be final.
7844         (put): May not be final.
7845         (arrayOffset): Implemented.
7846         (order): Made abstract.
7847         (order): Removed.
7848         (as*Buffer): Removed.
7849         (get*): Removed.
7850         (put*): Removed.
7851         * java/nio/IntBuffer.java
7852         (IntBuffer): Implements Comparable.
7853         (endian): Removed.
7854         (array_offset): New member variable.
7855         (IntBuffer): New constuctor.
7856         (get): May not be final.
7857         (put): May not be final.
7858         (arrayOffset): Implemented.
7859         (order): Made abstract.
7860         (order): Removed.
7861         (as*Buffer): Removed.
7862         (get*): Removed.
7863         (put*): Removed.
7864         * java/nio/LongBuffer.java
7865         (LongBuffer): Implements Comparable.
7866         (endian): Removed.
7867         (array_offset): New member variable.
7868         (LongBuffer): New constuctor.
7869         (get): May not be final.
7870         (put): May not be final.
7871         (arrayOffset): Implemented.
7872         (order): Made abstract.
7873         (order): Removed.
7874         (as*Buffer): Removed.
7875         (get*): Removed.
7876         (put*): Removed.
7877         * java/nio/ShortBuffer.java
7878         (ShortBuffer): Implements Comparable.
7879         (endian): Removed.
7880         (array_offset): New member variable.
7881         (ShortBuffer): New constuctor.
7882         (get): May not be final.
7883         (put): May not be final.
7884         (arrayOffset): Implemented.
7885         (order): Made abstract.
7886         (order): Removed.
7887         (as*Buffer): Removed.
7888         (get*): Removed.
7889         (put*): Removed.
7891 2003-02-11   Michael Koch  <konqueror@gmx.de>
7893         * java/nio/channels/SelectionKey.java
7894         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
7895         values.
7897 2003-02-11  Michael Koch  <konqueror@gmx.de>
7899         * java/nio/channels/DatagramChannel.java
7900         (write): Throws IOException.
7901         (connect): Throws IOException.
7902         (disconnect): Throws IOException.
7903         (read): Throws IOException.
7904         (receive): Throws IOException.
7905         (send): Throws IOException.
7906         * java/nio/channels/Pipe.java
7907         (open): Throws IOException.
7908         * java/nio/channels/SelectableChannel.java
7909         (configureBlocking): Throws IOException.
7910         * java/nio/channels/ServerSocketChannel.java
7911         (accept): Throws IOException.
7912         * java/nio/channels/SocketChannel.java
7913         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
7914         GatheringByteChannel.
7915         (read): Throws IOException.
7916         (write): Throws IOException.
7917         (finishConnect): Throws IOException.
7918         * java/nio/channels/spi/AbstractInterruptibleChannel.java
7919         (end): Throws AsynchronousCloseException.
7920         * java/nio/channels/spi/AbstractSelectableChannel.java
7921         (configureBlocking): Throws IOException.
7922         (implCloseChannel): Throws IOException.
7923         (implCloseSelectableChannel): Throws IOException.
7924         (implConfigureBlocking): Throws IOException.
7925         * java/nio/channels/spi/SelectorProvider.java
7926         (openDatagramChannel): Throws IOException.
7927         (openPipe): Throws IOException.
7928         (openSelector): Throws IOException.
7929         (openServerSocketChannel): Throws IOException.
7930         (openSocketChannel): Throws IOException.
7932 2003-02-11  Michael Koch  <konqueror@gmx.de>
7934         * gnu/java/nio/FileLockImpl.java,
7935         java/nio/channels/FileLock.java: New files.
7937 2003-02-11  Michael Koch  <konqueror@gmx.de>
7939         * java/nio/charset/IllegalCharsetNameException.java
7940         (serialVersionUID): New member variable.
7941         (charsetName): New member variable.
7942         (IllegalCharsetException): New implementation.
7943         (getCharsetName): New implementation.
7944         * java/nio/charset/UnsupportedCharsetException.java
7945         (serialVersionUID): New member variable.
7946         (charsetName): New member variable.
7947         (UnsupportedCharsetException): New implementation.
7948         (getCharsetName): New implementation.
7950 2003-02-10  Tom Tromey  <tromey@redhat.com>
7952         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
7953         (ex): Renamed from sqlException.
7955 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
7957         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
7958         method used to ensure seeding has occurred and that a specific 
7959         seed can be set and used.
7961 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
7963         * java/lang/Win32Process.java (destroy): Declare as native.
7964         (hasExited): New native method.
7965         (exitValue): Define.
7966         (getErrorStream): Likewise.
7967         (getInputStream): Likewise.
7968         (getOutputStream): Likewise.
7969         (waitFor): Declare as native.
7970         (startProcess): New native method.
7971         (cleanup): Likewise.
7972         (ConcreteProcess): Define.
7973         (outputStream, inputStream, errorStream): New members.
7974         (procHandle, exitCode): Likewise.
7976         * java/lang/natWin32Process.cc
7977         (java::lang::ConcreteProcess::cleanup): Define.
7978         (java::lang::ConcreteProcess::destroy): Likewise.
7979         (java::lang::ConcreteProcess::hasExited): Likewise.
7980         (java::lang::ConcreteProcess::waitFor): Likewise.
7981         (new_string): Likewise.
7982         (java::lang::ConcreteProcess::startProcess): Likewise.
7984 2003-02-10  Raif S. Naffah <raif@fl.net.au>
7986         * java/math/BigInteger.java:
7987         Updated notice to include years 2002 and 3.
7988         Added 2 private (int) arrays with values from the HAC (Handbook of
7989         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
7990         and t[] that contains nbr. of tests --used in isProbablePrime().
7992         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
7994         * java/math/BigInteger.java (make(int[],int), add(int,int),
7995         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
7996         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
7997         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
7998         make(long).
8000         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
8001         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
8002         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
8003         BIs and returns void.
8004         (modInverse(BI)): Use new signatures of euclidInv().
8006         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
8007         static small primes instead of remainder().
8008         Use pre-computed max nbr of trials based on bitlength of BI to test.
8009         Use pre-computed small primes for the trial tests instead of random
8010         numbers.
8012         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
8013         not used.
8015         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
8016         invoacation of MPN.chars_per_word().  not used.
8018         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
8019         local var and used where needed.
8021         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
8022         Combined declaration with initialisation of locals.
8023         Removed unused var.
8025         * java/math/BigInteger.java: Style changes
8026         (pow(int)): Removed 'else' keyword.
8027         (toString(int)): idem.
8028         (doubleValue()): idem.
8029         (bitLength()): idem.
8030         (equals(Object)): Use static methods name in same class w/o prepending
8031         class name.
8032         (doubleValue()): idem.
8033         (setNegative(BI)): idem.
8034         (negate()): idem.
8035         (and(BI,int)): idem.
8036         (and(BI)): idem.
8037         (gcd(BI)): idem.
8038         (byteArrayToIntArray()): Removed casting to (int). this is
8039         std. behaviour.
8040         (canonicalize()): idem.
8041         (alloc(int)): Always instantiate a new BI.
8043 2003-02-10  Tom Tromey  <tromey@redhat.com>
8045         * java/sql/Timestamp.java (compareTo(Object)): New method.
8046         (compareTo(Timestamp)): Likewise.
8047         (serialVersionUID): Updated.
8049 2003-02-07  Mark Wielaard  <mark@klomp.org>
8051         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
8052         when verify is true.
8053         (JarFile(File, boolean)): Likewise.
8054         (manifestRead): Set manifestRead field correctly.
8056 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
8058         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
8059         tests; see patch #1016 on Savannah.
8061 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
8063         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
8064         (toString): do not return Strings starting with . and - erroneously.
8065         Improves Mauve results to 12 of 600 instead of 16 of 338 on
8066         DiagBigDecimal.
8068 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
8070         * java/beans/PropertyDescriptor.java
8071         (PropertyDescriptor(String, Class)): Sanity check getter and setter
8072         methods.
8073         (PropertyDescriptor(String, Class, String, String)): Likewise.
8074         (PropertyDescriptor(String, Method, Method): Factor out getter and
8075         setter method sanity checks into new method.
8076         (findMethods): Don't do parameter sanity checking of get method here.
8077         (checkMethods): New method.
8079 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
8081         * java/beans/PropertyDescriptor.java: Reformat.
8083 2003-02-04  Tom Tromey  <tromey@redhat.com>
8085         * java/io/PipedOutputStream.java (flush): Declare as throwing
8086         IOException.
8087         (close): Likewise.
8088         * java/io/PipedWriter.java (close): Declare as throwing
8089         IOException.
8090         * java/io/StringWriter.java (close): Declare as throwing
8091         IOException.
8093 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
8095         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
8096         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
8097         could also have been exported as "JNI_OnLoad@8" (MinGW) or
8098         "_JNI_OnLoad@8" (MSVC).
8100 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
8102         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
8103         convention on Win32 to invoke native JNI methods.
8105 2003-02-03  Andrew Haley  <aph@redhat.com>
8107         * configure.host (x86_64): Enable interpreter.
8109 2003-02-03  Andrew Haley  <aph@redhat.com>
8111         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
8112         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
8113         * configure.in (BACKTRACESPEC): New.
8114         * configure: Regenerate.
8116 2003-02-02  Tom Tromey  <tromey@redhat.com>
8118         * configure: Rebuilt.
8119         * configure.in (TOOLKIT) [xlib]: Set correctly.
8121         * Makefile.in: Rebuilt.
8122         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
8123         libstdc++.
8125 2003-01-31  Mark WIelaard  <mark@klomp.org>
8127         * Makefile.in: Rebuilt.
8128         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
8130 2003-01-31  Tom Tromey  <tromey@redhat.com>
8132         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
8133         cast to element type.
8134         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
8135         (_Jv_JNI_GetObjectArrayElement): Likewise.
8137         * Makefile.in: Rebuilt.
8138         * Makefile.am (cond_x_ltlibrary): Renamed library to
8139         lib-gnu-awt-xlib.la.
8140         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
8141         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
8142         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
8143         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
8144         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
8145         (lib_gnu_awt_xlib_la_LINK): Likewise.
8146         (install-exec-hook): Removed.
8147         (lib-gnu-awt-xlib.la): Renamed.
8149 2003-01-31  Tom Tromey  <tromey@redhat.com>
8151         * aclocal.m4, configure, include/config.h.in: Rebuilt.
8152         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
8153         aclocal.m4 and lost in some merge.
8155         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
8156         Don't try to find graphics configuration.
8157         * java/awt/Toolkit.java (default_toolkit_name): Use new
8158         Configuration entry.
8159         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
8160         New global.
8161         * configure: Rebuilt.
8162         * configure.in (TOOLKIT): New subst.
8163         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
8164         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
8165         directory.  Make output directories for .c files.
8166         * Makefile.in: Rebuilt.
8167         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
8168         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
8169         (all_java_source_files): Added new sources.
8170         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
8171         (gtk_c_files): New macro.
8172         (gtk_c_source_files): New macro.
8173         (cond_gtk_ltlibrary): New macro.
8174         ($(gtk_c_files)): New target.
8175         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
8176         (gtk_awt_peer_sources): New macro.
8177         (gtk_c_headers): New macro.
8178         ($(gtk_c_headers)): New target.
8179         (ACLOCAL_AMFLAGS): New macro.
8180         * gtk.m4, glib.m4, libart.m4: New files.
8181         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
8182         gnu/java/awt/peer/gtk/GdkGraphics.java,
8183         gnu/java/awt/peer/gtk/GtkArg.java,
8184         gnu/java/awt/peer/gtk/GtkArgList.java,
8185         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
8186         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
8187         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
8188         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
8189         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
8190         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
8191         gnu/java/awt/peer/gtk/GtkClipboard.java,
8192         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8193         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
8194         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
8195         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
8196         gnu/java/awt/peer/gtk/GtkFontPeer.java,
8197         gnu/java/awt/peer/gtk/GtkFramePeer.java,
8198         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
8199         gnu/java/awt/peer/gtk/GtkImage.java,
8200         gnu/java/awt/peer/gtk/GtkImagePainter.java,
8201         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
8202         gnu/java/awt/peer/gtk/GtkListPeer.java,
8203         gnu/java/awt/peer/gtk/GtkMainThread.java,
8204         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
8205         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
8206         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
8207         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
8208         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
8209         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
8210         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
8211         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
8212         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
8213         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
8214         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
8215         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
8216         gnu/java/awt/peer/gtk/GtkToolkit.java,
8217         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
8218         gnu/java/awt/peer/gtk/TestAWT.java,
8219         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
8220         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
8221         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
8222         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
8223         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
8224         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
8225         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
8226         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
8227         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
8228         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
8229         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
8230         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
8231         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
8232         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
8233         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
8234         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
8235         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
8236         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
8237         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
8238         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
8239         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
8240         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
8241         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
8242         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
8243         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
8244         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
8245         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
8246         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
8247         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
8248         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
8249         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
8250         jni/classpath/native_state.c, jni/classpath/native_state.h,
8251         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
8253 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
8255         * java/util/Properties.java (load): Ignore backslash before EOF.
8257 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
8259         * java/lang/natClass.cc (initializeClass): Check tables when
8260         (state == JV_STATE_IN_PROGRESS).
8261         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
8262         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
8263         interpreted classes.
8264         (linkClass0): Use _Jv_WaitForState.
8266 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
8268         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
8269         object when finished.
8271 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
8273         * libjava/configure.host: Disable can_unwind_signal on darwin.
8275 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
8277         Fixes PR java/9254:
8278         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
8279         additionally containing id of the owner thread as well as
8280         the number of nested times the thread has acquired the mutex.
8281         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
8282         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
8283         (_Jv_MutexUnlock): Check if really the owner thread, reset
8284         owner thread id to 0 before leaving, if leaving for the last
8285         time.
8286         (_Jv_MutexLock): Set owner thread id in the mutex and increment
8287         refcount.
8288         (_Jv_ThreadYield): Yield using a call to Sleep(0).
8289         * win32-threads.cc (_Jv_CondWait): Check if really owner of
8290         the passed mutex.
8291         Pass handle of the broadcast event, instead of a pointer to it
8292         in Win32 ResetEvent( ) call.
8293         Remove incorrect return values.
8294         (_Jv_CondDestroy): Close both event handles and delete
8295         critical section.
8296         (_Jv_CondNotify): Check if really the owner thread.
8297         (_Jv_CondNotifyAll): Check if really the owner thread.
8298         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
8299         (really_start): Use SetEvent( ) to signal daemon_cond.
8300         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
8301         WaitForSingleObject( ) instead to wait for daemon_cond to be
8302         signalled.
8304 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
8306         * configure.in: Specifically define HAVE_BACKTRACE if building
8307         for MinGW.
8308         * include/win32.h: Remove HAVE_BACKTRACE definition.
8309         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
8310         * configure: Rebuilt.
8312 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
8314         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
8315         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
8316         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
8317         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
8318         * Makefile.in, configure: Rebuilt.
8320 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
8322         Fixes PR java/9253:
8323         * java/io/natFileWin32.cc (performList): Append only "*.*"
8324         if the canonical file path already has a "\" at the end.
8326 2003-01-24  Tom Tromey  <tromey@redhat.com>
8328         * defineclass.cc (handleMethodsEnd): Precompute code for static
8329         method.
8330         (handleCodeAttribute): Likewise.
8331         * resolve.cc (ncode): Use run_class for unsynchronized static
8332         methods.
8333         * include/java-interp.h (class _Jv_InterpMethod): Declare
8334         run_class.
8335         * interpret.cc (run_synch_class): Initialize class.
8336         (run) [insn_invokestatic]: Don't initialize class.
8337         [insn_anewarray]: Likewise.
8338         [insn_multianewarray]: Likewise.
8339         (run_class): New function.
8341 2003-01-24  Tom Tromey  <tromey@redhat.com>
8343         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
8344         comment.
8346 2003-01-22  Andrew Haley  <aph@redhat.com>
8348         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
8349         * configure.host (CHECKREFSPEC): Define for x86_64.
8351 2003-01-21  Tom Tromey  <tromey@redhat.com>
8353         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
8354         search at 2, not 3.
8356 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
8358         * java/io/natFileWin32.cc (isAbsolute): Check path length before
8359         looking at any characters.
8360         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
8361         be used.
8362         (isAbsolute): Check path's length as well.
8364 2003-01-17  Mark Wielaard  <mark@klomp.org>
8366         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
8367         (nat_source_files): Add natVMObjectStreamClass.cc.
8368         * Makefile.in: Regenerated.
8369         * gcj/javaprims.h (namespace java): Regenerated.
8370         * java/io/ObjectStreamClass.java (getClassUID): Call
8371         VMObjectStreamClass.hasClassInitializer().
8372         (hasClassInitializer): Removed.
8373         * java/io/VMObjectStreamClass.java: New class.
8374         * java/io/natVMObjectStreamClass.cc: New file.
8375         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
8377 2003-01-16  Mark Wielaard  <mark@klomp.org>
8379         * java/net/SocketImpl.java (toString): Don't explicitly call
8380         toString() on possible null address.
8382 2003-01-16  Michael Koch  <konqueror@gmx.de>
8384         * java/net/MulticastSocket.java
8385         (setInterface): Reindented.
8387 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
8389         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
8390         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
8391         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
8392         translateY arguments.  Implement.
8393         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
8394         down translation arguments.
8395         (drawPolyline, drawPolygon): Fix incorrect tests.
8396         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
8397         translateX and translateY arguments.
8399 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
8401         * Makefile.in: Rebuilt.
8402         * Makefile.am (xlib_includes): New macro.
8403         (INCLUDES): Use it.
8405 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
8407         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
8408         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
8409         16-bit display mode.
8411 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
8413         * java/awt/CardLayout.java (show): Rewrote.
8414         (gotoComponent): Removed `target' argument.  Simplified code.
8415         Don't pre-compute `choice' unless `what' is FIRST or LAST.
8416         Changed all callers.
8417         (NONE): Removed.
8418         
8419 2003-01-14  Michael Koch  <konqueror@gmx.de>
8421         * java/net/InetSocketAddress.java
8422         (serialVersionUID): New member variable.
8423         * java/net/NetPermission.java
8424         (NetPermission): Dont implement java.io.Serialization directly.
8425         * java/net/SocketAddress.java:
8426         (serialVersionUID): Documentation added.
8427         
8428 2003-01-14  Michael Koch  <konqueror@gmx.de>
8430         * java/awt/Label.java
8431         (Label): Implements javax.accessibility.Accessible;
8432         * java/awt/List.java
8433         (List): Implements javax.accessibility.Accessible;
8434         * java/awt/ScrollPane.java
8435         (ScrollPane): Implements javax.accessibility.Accessible;
8436         * java/awt/Scrollbar.java
8437         (Scrollbar): Implements javax.accessibility.Accessible;
8438         * java/awt/TextComponent.java
8439         (setCaretPosition): Throw exception, documentation added.
8440         * java/awt/Toolkit.java:
8441         Added some newlines in method documentations.
8442         (createButton): Exception documentation added.
8443         (createTextField): Exception documentation added.
8444         (createLabel): Exception documentation added.
8445         (createList): Exception documentation added.
8446         (createCheckbox): Exception documentation added.
8447         (createScrollbar): Exception documentation added.
8448         (createScrollPane): Exception documentation added.
8449         (createTextArea): Exception documentation added.
8450         (createChoice): Exception documentation added.
8451         (createFrame): Exception documentation added.
8452         (createWindow): Exception documentation added.
8453         (createDialog): Exception documentation added.
8454         (createMenuBar): Exception documentation added.
8455         (createMenu): Exception documentation added.
8456         (createMenuItem): Exception documentation added.
8457         (createFileDialog): Exception documentation added.
8458         (createCheckboxMenuItem): Exception documentation added.
8459         (loadSystemColors): Exception documentation added.
8460         (setDynamicLayout): Exception documentation added.
8461         (isDynamicLayoutSet): Exception documentation added.
8462         (isDynamicLayoutActive): Exception documentation added.
8463         (getScreenSize): Exception documentation added.
8464         (getScreenResolution): Exception documentation added.
8465         (getScreenInsets): Exception documentation added.
8466         (getColorModel): Exception documentation added.
8467         (getSystemClipboard): Exception documentation added.
8468         (getSystemSelection): Exception documentation added.
8469         (getMenuShortcutKeyMask): Exception documentation added.
8470         (getSystemEventQueue): Exception documentation added.
8471         * java/awt/Window.java:
8472         Reindented some code.
8473         (Window): Centralized implementation, documentation added.
8474         (finalize): Documentation added.
8475         (hide): Fixed typo in comment.
8476         (getWindowListeners): Documentation added.
8477         * java/awt/color/ColorSpace.java
8478         (toRGB): Documentation added.
8479         * java/awt/color/ICC_ColorSpace.java
8480         (ICC_ColorSpace): Documentation added.
8481         (toRGB): Throw exception, documentation added.
8482         (fromRGB): Throw exception, documentation added.
8483         (toCIEXYZ): Documentation added.
8484         (fromCIEXYZ): Documentation added.
8485         (getMinValue): Documentation added.
8486         (getMaxValue): Documentation added.
8487         * java/awt/geom/Dimension2D.java
8488         (clone): Documentation added.
8489         * java/awt/geom/GeneralPath.java
8490         (clone): Documentation added.
8491         * java/awt/geom/Line2D.java
8492         (clone): Documentation added.
8493         * java/awt/geom/QuadCurve2D.java
8494         (clone): Documentation added.
8495         * java/awt/image/ColorModel.java
8496         (ColorModel): Throw exception, documentation added.
8497         * java/awt/image/ImageFilter.java
8498         (clone): Doesnt throw CloneNotSupportedException.
8500 2003-01-14  Andrew Haley  <aph@redhat.com>
8502         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
8503         in a try block.
8505 2003-01-10  Andrew Haley  <aph@redhat.com>
8507         * include/dwarf2-signal.h: Remove x86_64.
8508         * configure.host (x86_64 DIVIDESPEC): Remove.
8509         * include/x86_64-signal.h: New file.
8510         * configure.in: Regenerate.
8512 2003-01-10  Michael Koch  <konqueror@gmx.de>
8514         * java/net/DatagramSocket.java
8515         (ch): Description added.
8516         (remotePort): Initialize with -1.
8517         (connect): Doesnt throws SocketException.
8518         * java/net/MulticastSocket.java
8519         (setInterface): Merge with Classpath.
8520         * java/net/ServerSocket.java
8521         (closed): New member variable.
8522         (bind): Check if socket is closed.
8523         (close): Close an associated channel too, set new value to closed.
8524         (isBound): Reindented.
8525         (isClosed): Implemented.
8526         * java/net/Socket.java
8527         (closed): New member variable.
8528         (bind): Check if socket is closed.
8529         (connect): Check if socket is closed.
8530         (close): Close an associated channel too, set new value to closed.
8531         (isClosed): Implemented.
8533 2003-01-10  Michael Koch  <konqueror@gmx.de>
8535         * java/awt/DisplayMode.java
8536         (equals): Fixed argument type and implementation.
8538 2003-01-07  Tom Tromey  <tromey@redhat.com>
8540         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
8541         JV_HASH_SYNCHRONIZATION.
8542         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
8543         JV_HASH_SYNCHRONIZATION.
8545 2003-01-07  Michael Koch  <konqueror@gmx.de>
8547         * java/net/DatagramSocket.java:
8548         Added classpath license info.
8549         (DatagramSocket): Merged description with classpath.
8550         (close): Merged description with classpath.
8551         (getChannel): Merged description with classpath.
8552         (getInetAddress): Merged description with classpath.
8553         (getPort): Merged description with classpath.
8554         (getLocalAddress): Merged description with classpath.
8555         (getLocalPort): Merged description with classpath.
8556         (getSoTimeout): Merged description with classpath.
8557         (setSoTimeout): Merged description with classpath.
8558         (getSendBufferSize): Merged description with classpath.
8559         (setSendBufferSize): Merged description with classpath.
8560         (getReceiveBufferSize): Merged description with classpath.
8561         (setReceiveBufferSize): Merged description with classpath.
8562         
8563 2003-01-04  Tom Tromey  <tromey@redhat.com>
8565         * java/awt/List.java: Merged with Classpath.
8567 2003-01-03  Mark Wielaard  <mark@klomp.org>
8569         * java/io/FileDescriptor.java (position): New private field.
8570         * java/io/natFileDescriptorPosix.cc (write): Up position.
8571         (setLength): Use and set position.
8572         (seek): Set position.
8573         (getFilePointer): Return position.
8574         (read): Up position.
8576 2003-01-03  Mark Wielaard  <mark@klomp.org>
8578         Merge with Classpath:
8579         * java/io/ObjectStreamClass.java (lookup): Split method and call
8580         lookupForClassObject().
8581         (lookupForClassObject): New method.
8582         (isProxyClass): New field.
8583         (setClass): Set isProxyClass, add object to classLookupTable, set
8584         superClass and calculateOffsets.
8585         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
8586         and not a proxy class.
8587         (setFields): Set accessible true for serialPersistentFields.
8588         (getClassUID): Same for suid. And check if suid is of type long.
8589         (hasClassInitializer): Don't throw NoSuchMethodError.
8591 2003-01-03  Mark Wielaard  <mark@klomp.org>
8593         * java/io/FileInputStream.java (finalize): Don't explicitly
8594         finalize FileDescriptor.
8596 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
8598         * configure.host (sparc*-*): Enable bytecode interpreter.
8600 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
8602         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
8603         Don't throw RemoteException.
8604         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
8605         throw RemoteException.
8607 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
8609         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
8610         proxyHost): New static fields.
8611         (<clinit>): Initialize new fields.
8612         (connect): Use proxy if necessary.
8613         (usingProxy): Implement.
8615 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
8617         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
8618         (TreeIterator.remove): Prefer IllegalStateException over
8619         ConcurrentModificationException, to match Sun.
8621 2002-12-22  Anthony Green  <green@redhat.com>
8623         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
8625 2003-01-02  Mark Wielaard  <mark@klomp.org>
8627         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
8628         public.
8629         (HTTP_USE_PROXY): Add field.
8630         (getResponseVals): Only set responseCode when not yet explicitly
8631         set by subclass.
8633 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
8634             Mark Wielaard  <mark@klomp.org>
8636         * java/util/zip/ZipFile.java (entries): Now HashMap.
8637         (readLeShort(DataInput, byte[])): Read from given byte array.
8638         (readLeInt(DataInput, byte[]): Likewise.
8639         (readLeShort(byte[] b, int off)): New method.
8640         (readLeInt(byte[] b, int off)): Likewise.
8641         (readEntries): Use byte arrays to read info in bigger chunks.
8642         (getEntries): Return HashMap.
8643         (getEntry): Use HashMap.
8644         (locBuf): New private field.
8645         (checkLocalHeader): Use locBuf to read info in one chunk.
8646         (getInputStream): Use entries HashMap, wrap PartialInputStream
8647         in BufferedInputStream.
8648         (ZipEntryEnumeration): Use HashMap and Interator.
8650 2003-01-02  Mark Wielaard  <mark@klomp.org>
8651             Jeroen Frijters  <jeroen@sumatra.nl>
8653         * java/net/URLClassLoader.java (Resource.getCodeSource):
8654         Fix check certs == null.
8655         (getCanonicalFileURL): Removed method.
8656         (JarURLLoader): Don't call removed method.
8657         (FileURLLoader): Likewise.
8658         (FileURLLoader.getResource): Don't canonicalize file name.
8660 2003-01-01  Tom Tromey  <tromey@redhat.com>
8662         * Makefile.in: Rebuilt.
8663         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
8664         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
8665         java/awt/BufferCapabilities.java, java/awt/Button.java,
8666         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
8667         java/awt/Container.java, java/awt/Cursor.java,
8668         java/awt/EventQueue.java, java/awt/FileDialog.java,
8669         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
8670         java/awt/MenuBar.java, java/awt/MenuComponent.java,
8671         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
8672         java/awt/Scrollbar.java, java/awt/TextArea.java,
8673         java/awt/TextField.java, java/awt/color/CMMException.java,
8674         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
8675         java/awt/color/ProfileDataException.java,
8676         java/awt/datatransfer/Clipboard.java,
8677         java/awt/datatransfer/DataFlavor.java,
8678         java/awt/datatransfer/FlavorMap.java,
8679         java/awt/datatransfer/SystemFlavorMap.java,
8680         java/awt/dnd/DragGestureEvent.java,
8681         java/awt/dnd/DragGestureRecognizer.java,
8682         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
8683         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
8684         java/awt/im/InputMethodHighlight.java,
8685         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
8686         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
8688         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
8689         `op' to BufferedImageOp.
8691 2002-12-31  Tom Tromey  <tromey@redhat.com>
8693         Fix for PR libgcj/7416:
8694         * javax/naming/InitialContext.java (init): Use
8695         gnu.classpath.home.url.
8696         * java/security/Security.java: Use new properties.
8697         (loadProviders): Accept base url; use it.
8698         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
8699         gnu.classpath.home.url.
8700         (gnu.classpath.home.url): Define.
8701         (gnu.classpath.vm.shortname): Likewise.
8703 2002-12-31  Tom Tromey  <tromey@redhat.com>
8704             Ranjit Mathew  <rmathew@hotmail.com>
8706         Fix for PR libgcj/8997:
8707         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
8708         Include platform.h.
8709         * include/posix.h (_Jv_platform_usleep): New function.
8710         * include/win32.h (_Jv_platform_usleep): New function.
8712 2002-12-29  Tom Tromey  <tromey@redhat.com>
8714         * gcj/javaprims.h: Updated.
8715         * scripts/classes.pl (scan): Removed stray semicolon.
8717 2002-12-30  Mark Wielaard  <mark@klomp.org>
8719         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
8720         if zero or smaller.
8722 2002-12-30  Mark Wielaard  <mark@klomp.org>
8724         * java/util/Properties (formatForOutput): Don't fall through to
8725         default case after escaping character.
8727 2002-12-30  Mark Wielaard  <mark@klomp.org>
8729         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
8730         against count.
8732 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
8734         * boehm.cc: Remove stray semicolon.
8735         * interpret.cc: Likewise.
8736         * prims.cc: Likewise.
8737         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
8738         earlier to ensure default arguments are processed.
8739         * gcj/array.h (JArray): Add forward declaration.
8740         (elements): Likewise.
8741         * gcj/javaprim.h: Remove stray semicolons.
8742         * include/bohm-gc.h: Likewise.
8743         * include/jni.h: Likewise.
8744         * include/jvm.h: Likewise.
8745         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
8746         
8747 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
8749         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
8750         of catch_type.
8751         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
8752         idt tables after initializing superclass.
8753         * java/lang/natClassLoader.cc (uaddr): New typedef.
8754         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
8755         if they are constant pool indicies.  Don't link vtable, otable yet.
8757 2002-12-21  Anthony Green  <green@redhat.com>
8759         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
8760         libraries.
8761         * Makefile.in: Rebuilt.
8763 2002-12-19  Anthony Green  <green@redhat.com>
8765         * Makefile.am (ordinary_java_source_files): Add
8766         org/xml/sax/helpers/NewInstance.java.
8767         * Makefile.in: Rebuilt.
8768         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
8769         org/xml/sax/helpers/package.html: New files.
8770         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
8771         http://www.saxproject.org.
8773 2002-12-19  Andrew Haley  <aph@redhat.com>
8775         * java/util/natResourceBundle.cc: Include
8776         ArrayIndexOutOfBoundsException.h.
8777         (getCallingClassLoader): Don't put upper bound on stack search.
8778         Catch ArrayIndexOutOfBoundsException.
8780 2002-12-19  Tom Tromey  <tromey@redhat.com>
8782         * libtool-version: Increased `current'.
8784 2002-12-19  Tom Tromey  <tromey@redhat.com>
8786         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
8787         comment.
8788         * java/lang/ClassLoader.java (defineClass): Use chained
8789         exception when rethrowing.
8790         * defineclass.cc (handleClassBegin): Mark class as interpreted.
8791         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
8792         constants.
8793         * resolve.cc (_Jv_PrepareMissingMethods): New function.
8794         (_Jv_PrepareClass): Use it.
8795         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
8796         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
8797         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
8798         (Class): _Jv_PrepareMissingMethods now friend.
8799         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
8800         Record `NULL' for system class loader.
8801         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
8802         system class loader.
8803         (_Jv_FindClassInCache): Likewise.
8804         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
8805         (_Jv_FindClass): Special case system class loader.
8806         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
8807         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
8808         vtable slots.
8809         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
8810         in a final class.
8811         (_getDeclaredMethod): Don't return synthetic methods.
8812         (getDeclaredMethods): Likewise.
8813         (_getMethod): Likewise.
8814         (_getMethods): Likewise.
8816 2002-12-18  Raif Naffah  <raif@fl.net.au>
8818         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
8819         canonical form after divide().
8820         (modInverse): Likewise.
8822 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
8823             Mark Wielaard  <mark@klomp.org>
8825         * java/security/SecurityRandom (digest): Removed field.
8826         (SecureRandom): Check all providers for case-insensitive SecureRandom
8827         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
8828         if necessary.
8829         (getInstance(String,Provider,boolean): New method.
8830         (getInstance(String)): Use new method.
8831         (getInstance(String,String)): Likewise.
8832         (getInstance(String,Provider)): Likewise.
8834 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
8836         * java/security/Security.java (loadProviders): Increment i only once.
8838 2002-12-12  Mark Wielaard  <mark@klomp.org>
8840         * java/lang/ClassLoader.java (resolveClass0): Transform
8841         ClassNotFoundException to NoClassDefFoundError. Transform all other
8842         throwables to LinkageError.
8844 2002-12-11  Tom Tromey  <tromey@redhat.com>
8846         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
8848         * java/lang/ClassLoader.java (loadedClasses): New field.
8849         (defineClass): Fixed indentation.  Put new class in
8850         loadedClasses.
8851         (findLoadedClass): Implement here.
8852         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
8854 2002-12-10  Tom Tromey  <tromey@redhat.com>
8856         * Makefile.in: Rebuilt.
8857         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
8858         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
8859         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
8860         * java/lang/natClassLoader.cc
8861         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
8863 2002-12-10  Mark Wielaard  <mark@klomp.org>
8864             Tom Tromey  <tromey@redhat.com>
8866         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
8867         (JarURLLoader): Use it.
8868         (FileURLLoader): Likewise.
8869         (JarURLResource.getURL): Use chained exception.
8870         (FileResource.getURL): Likewise.
8871         (FileURLLoader.getResource): Use canonical file name.
8872         (addURL): Indentation fix.
8874 2002-12-10  Tom Tromey  <tromey@redhat.com>
8876         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
8877         From Laurent Bardet <l.bardet@magic.fr>.
8879 2002-12-09  Tom Tromey  <tromey@redhat.com>
8881         * include/win32.h (_Jv_platform_solib_prefix): New define.
8882         (_Jv_platform_solib_suffix): Likewise.
8883         * include/posix.h (_Jv_platform_solib_prefix): New define.
8884         (_Jv_platform_solib_suffix): Likewise.
8885         * java/lang/natRuntime.cc: Include StackTrace.h.
8886         (_load): Use findLibrary and new platform defines.
8887         (nativeGetLibname): Use new platform defines.
8889         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
8890         `t' won't be null.
8892 2002-12-08  Mark Wielaard  <mark@klomp.org>
8894         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
8895         cache remote jar files.
8896         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
8897         add File.separator to URL when it is a directory.
8898         * java/lang/ClassLoader.java: Add Classpath javadoc.
8899         (parent): final.
8900         (getParent): Add (disabled) security check.
8901         (findLibrary): New default method.
8902         * java/net/JarURLConnection.java (getManifest): Implement.
8903         (getInputStream): Only create InputStream when entry exists.
8904         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
8905         when they exist.
8906         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
8908 2002-12-08  Mark Wielaard  <mark@klomp.org>
8910         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
8911         (lastDefaultLocale): New field.
8912         (getBundle): When Locale.getDefault != lastDefaultLocale reset
8913         resourceBundleCache.
8915 2002-12-06  Mark Wielaard  <mark@klomp.org>
8917         * java/net/InetAddress.java (toString): Use hostname when not null,
8918         don't do an explicit reverse getHostName() lookup.
8919         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
8920         NullPointerException.
8922 2002-12-06  Tom Tromey  <tromey@redhat.com>
8924         * include/java-interp.h (class _Jv_InterpMethod): Added
8925         JV_MARKOBJ_DECL.
8926         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
8927         mark `prepared' field of interpreted method.
8928         * interpret.cc (compile): Use _Jv_AllocBytes.
8930 2002-12-05  Andrew Haley  <aph@redhat.com>
8932         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
8933         #ifdef (HAVE_BACKTRACE) around the whole function body.
8935 2002-12-05  Tom Tromey  <tromey@redhat.com>
8937         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
8938         * resolve.cc: Don't include AbstractMethodError.h.
8939         (_Jv_abstractMethodError): Removed.
8940         * defineclass.cc (handleMethodsBegin): Initialize method index to
8941         -1.
8942         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
8943         method index for "new" final method.
8944         (_Jv_SetVTableEntries): Compare index against -1 instead of using
8945         isVirtualMethod.  Added `flags' argument.
8946         (_Jv_MakeVTable): Throw exception for abstract method in concrete
8947         class.
8949 2002-12-04  Tom Tromey  <tromey@redhat.com>
8951         * java/net/SocketPermission.java (hashCode): Rewrote.
8953 2002-12-04  Tom Tromey  <tromey@redhat.com>
8955         * Makefile.in: Rebuilt.
8956         * Makefile.am (nat_source_files): Added natVMSecurityManager,
8957         natResourceBundle.
8958         * java/util/ResourceBundle.java (Security): Removed.
8959         (getCallingClassLoader): Now native.
8960         * java/util/natResourceBundle.cc: New file.
8961         * java/lang/natVMSecurityManager.cc: New file.
8962         * java/lang/VMSecurityManager.java (getClassContext): Now native.
8964 2002-12-03  Mark Wielaard  <mark@klomp.org>
8966         * java/util/jar/JarFile.java (manifest): Not final.
8967         (manifestRead): New field.
8968         (JarFile): Don't read Manifest in constructor.
8969         (getManifest): New method.
8970         (JarEnumeration.nextElement): Use new method.
8971         (getEntry): Likewise.
8972         * java/util/zip/ZipFile.java (name): Final.
8973         (raf): Likewsie.
8974         (entries): Change type to Hashtable.
8975         (closed): New field.
8976         (ZipFile): Don't read enties in constructor.
8977         (readEntries): Use Hashtable.
8978         (close): Set new close flag and set entries to null inside
8979         synchronized block.
8980         (entries): Contruct enumeration using new getEntries() method and
8981         entries Hashtable.
8982         (getEntryIndex): Removed.
8983         (getEntries): New method.
8984         (getEntry): Use new getEntries() method and entries Hastable.
8985         (getInputStream): Likewise.
8986         (size): Return getEntries().size().
8987         (ZipEntryEnumeration): Wrap entries Hashtable elements.
8988         * java/util/zip/ZipEntry.java (cal): Don't initialize.
8989         (time): Removed
8990         (dostime): New field.
8991         (zipFileIndex): Removed.
8992         (ZipEntry(ZipEntry)): Copy dostime.
8993         (setDOSTime): Now final and doesn't convert dos time.
8994         (getDOSTime): Likewise.
8995         (setTime): Convert dos time.
8996         (getTime): Likewise.
8997         (getCalendar): New method.
8998         (setExtra): Use setTime().
8999         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
9001 2002-12-03  Tom Tromey  <tromey@redhat.com>
9003         * java/lang/Character.java (forDigit): Formatting fix.
9005 2002-12-03  Raif Naffah  <raif@fl.net.au>
9007         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
9008         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
9009         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
9011 2002-12-03  Andrew Haley  <aph@redhat.com>
9013         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
9014         _Jv_PushClass.
9015         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
9016         (_Jv_PopClass): New.
9017         (_Jv_PushClass): New.
9018         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
9019         discover the ClassLoader of our caller.
9020         (_Jv_CheckArrayStore): Don't check that a class is assignment
9021         compatible with Object.
9022         * java/lang/natVMTHrowable.cc: Delete.
9023         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
9024         java.lang.VMThrowable.
9025         (StackTrace(), StackTrace(int)): New constructors.
9026         (classAt, methodAt, update, methodAtAddress): New methods.
9027         (map): New field.
9028         * java/lang/VMThrowable.java: Use StackTrace instead of
9029         natVMTHrowable.
9030         * java/lang/Class.h (getClassLoaderInternal): New.
9031         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
9032         Be friendly with gnu::gcj::runtime::StackTrace.
9033         (Object.chain): New field.
9034         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
9035         gnu::gcj::runtime::StackTrace.
9036         * gnu/gcj/runtime/natStackTrace.cc: New file.
9037         * gnu/gcj/runtime/MethodRef.java: New file.
9038         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
9039         instead of getClassLoader().
9040         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
9041         java::lang::VMThrowable.
9042         * Makefile.am (core_java_source_files): Add MethodRef.java,
9043         StackTrace.java.
9044         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
9045         * Makefile.in: Rebuild.
9047 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
9049         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
9050         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
9051         yes also for sh-linux* and sh[34]*-linux*.
9052         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
9053         set SIGNAL_HANDLER to use DWARF2 exception for them.
9054         * configure: Regenerate.
9056 2002-12-02  Tom Tromey  <tromey@redhat.com>
9058         * jni.cc: Added `name' argument.
9059         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
9060         `const char *' argument.
9061         (class _Jv_JNIEnv) [DefineClass]: Likewise.
9063 2002-12-01  Tom Tromey  <tromey@redhat.com>
9065         Bug compatibility, for PR libgcj/8738:
9066         * java/io/CharArrayWriter.java (close): Do nothing.
9067         (flush): Likewise.
9068         (reset): Don't touch `closed'.
9069         (write(int)): Don't throw IOException.
9070         (write(char[],int,int)): Likewise.
9071         (write(String,int,int)): Likewise.
9072         (closed): Removed.
9074 2002-12-01  Mark Wielaard  <mark@klomp.org>
9076         * java/lang/SecurityManager.java: Remerge comments, indenting and
9077         checkXXX methods with Classpath.
9079 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
9081         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
9082         getNormalizedComponents): Fix calculation which was using one too
9083         many bits in the unnormalized format.
9085 2002-11-29  Gary Benson  <gbenson@redhat.com>
9087         For PR libgcj/8759:
9088         * java/beans/Introspector.java (flushCaches): New method.
9089         (flushFromCaches): Likewise.
9091 2002-11-29  Michael Koch <konqueror@gmx.de>
9093         * java/nio/channels/DatagramChannel.java
9094         (open): Added exception documentation.
9095         (write): Added exception documentation.
9096         (connect): Added exception documentation.
9097         (disconnect): Added exception documentation.
9098         (isConnected): Added exception documentation.
9099         (read): Added exception documentation.
9100         (receive): Added exception documentation.
9101         (send): Added exception documentation.
9102         (validOps): Added exception documentation.
9103         * java/nio/channels/SocketChannel.java
9104         (open): Added exception documentation.
9105         (read): Added exception documentation.
9106         (write): Added exception documentation.
9107         (connect): Added exception documentation.
9108         (finishConnect): Added exception documentation.
9110 2002-11-29  Michael Koch <konqueror@gmx.de>
9112         * gnu/java/nio/DatagramChannelImpl:
9113         (fd): New member variable to store file descriptor of socket.
9114         * gnu/java/nio/SelectionKeyImpl.java:
9115         (ops): Removed.
9116         (readyOps): New member variable.
9117         (interestOps): New member variable.
9118         (readyOps): Implemented.
9119         (readyOps): New method to set member variable readyOps.
9120         (interestOps): Replaced ops by interestOps.
9121         * gnu/java/nio/SelectorImpl.java:
9122         (SelectorImpl): Initialize key sets.
9123         (select): Call select with -1 instead of Long.MAX_VALUE).
9124         (java_do_select): Make it a native method.
9125         (getFDsAsArray): New helper method.
9126         (select): Remove canceled keys, give only interested file discriptors
9127         to java_do_select, set ready ops.
9128         (add): No need to initialize keys set here.
9129         (add_selected): No need to initialize selected set here.
9130         (deregisterCanceledKeys): New helper method.
9131         (register): Set interest ops, set attachments, added handling of datagram
9132         channels.
9133         * gnu/java/nio/ServerSocketChannelImpl:
9134         (SocketAccept): Renamed from NioSocketAccept.
9135         (implConfigureBlocking): Implemented.
9136         (accept): Use SocketAccept instead of NioSocketAccept.
9137         * gnu/java/nio/SocketChannelImpl:
9138         Reactivate native methods.
9140 2002-11-29  Michael Koch <konqueror@gmx.de>
9142         * gnu/java/nio/natByteBufferImpl.cc,
9143         gnu/java/nio/natCharBufferImpl.cc,
9144         gnu/java/nio/natDoubleBufferImpl.cc,
9145         gnu/java/nio/natFloatBufferImpl.cc,
9146         gnu/java/nio/natIntBufferImpl.cc,
9147         gnu/java/nio/natLongBufferImpl.cc,
9148         gnu/java/nio/natSelectorImpl.cc,
9149         gnu/java/nio/natServerSocketChannelImpl.cc,
9150         gnu/java/nio/natShortBufferImpl.cc,
9151         gnu/java/nio/natSocketChannelImpl.cc:
9152         New files that implement native functionalities.
9154 2002-11-29  Michael Koch <konqueror@gmx.de>
9156         * gnu/java/nio/ByteBufferImpl.java
9157         (ByteBufferImpl): Moved position() after limit.
9158         (nio_*): Use native implementation.
9159         * gnu/java/nio/CharBufferImpl.java:
9160         Reformated.
9161         (endian): New member variable string endianess of buffer.
9162         (CharBufferImpl): Moved position() after limit.
9163         (nio_*): Use native implementation.
9164         (subSequence): Implemented.
9165         * gnu/java/nio/DoubleBufferImpl.java
9166         (DoubleBufferImpl): Moved position() after limit.
9167         (nio_*): Use native implementation.
9168         * gnu/java/nio/FloatBufferImpl.java
9169         Reformated.
9170         (FloatBufferImpl): Moved position() after limit.
9171         (nio_*): Use native implementation.
9172         * gnu/java/nio/IntBufferImpl.java
9173         Added needed imports, Reformated.
9174         (IntBufferImpl): Moved position() after limit.
9175         (nio_*): Use native implementation.
9176         * gnu/java/nio/LongBufferImpl.java
9177         Reformated.
9178         (LongBufferImpl): Moved position() after limit.
9179         (nio_*): Use native implementation.
9180         * gnu/java/nio/ShortBufferImpl.java
9181         Reformated.
9182         (ShortBufferImpl): Moved position() after limit.
9183         (nio_*): Use native implementation.
9185 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
9187         * java/util/Locale.java (toString): Improve efficiency if country
9188         and variant are both empty.
9190 2002-11-26  Tom Tromey  <tromey@redhat.com>
9192         * verify.cc (pop_init_ref): New method.
9193         (verify_instructions_0) [op_iaload, op_laload, op_faload,
9194         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
9195         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
9196         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
9197         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
9198         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
9199         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
9200         let `this' argument be uninitialized.  Don't let `null' be passed
9201         as `this' to construtor.
9203 2002-11-26  Mark Wielaard  <mark@klomp.org>
9205         * javax/transaction/HeuristicCommitException.java: Classpath merge.
9206         * javax/transaction/HeuristicMixedException.java: Likewise.
9207         * javax/transaction/HeuristicRollbackException.java: Likewise.
9208         * javax/transaction/InvalidTransactionException.java: Likewise.
9209         * javax/transaction/NotSupportedException.java: Likewise.
9210         * javax/transaction/RollbackException.java: Likewise.
9211         * javax/transaction/Status.java: Likewise.
9212         * javax/transaction/Synchronization.java: Likewise.
9213         * javax/transaction/SystemException.java: Likewise.
9214         * javax/transaction/Transaction.java: Likewise.
9215         * javax/transaction/TransactionManager.java: Likewise.
9216         * javax/transaction/TransactionRequiredException.java: Likewise.
9217         * javax/transaction/TransactionRolledbackException.java: Likewise.
9218         * javax/transaction/UserTransaction.java: Likewise.
9219         * javax/transaction/xa/XAException.java: Likewise.
9220         * javax/transaction/xa/XAResource.java: Likewise.
9221         * javax/transaction/xa/Xid.java: Likewise.
9223 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
9225         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
9226         define.
9227         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
9228         * include/posix.h (socklen_t): Define if not already defined.
9230 2002-11-25  Tom Tromey  <tromey@redhat.com>
9232         * verify.cc (type::compatible): Backed out broken change.
9234         * verify.cc (type::compatible): Check initialization status
9235         first.
9236         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
9237         Don't use NULLCHECK.
9239 2002-11-23  H.J. Lu <hjl@gnu.org>
9241         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
9242         Include ../config/accross.m4.
9243         * aclocal.m4; Rebuild.
9244         * configure: Likewise.
9246 2002-11-23  Mark Wielaard  <mark@klomp.org>
9248         * javax/naming/AuthenticationException.java: Update copyright header.
9249         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
9250         * javax/naming/Binding.java: Likewise.
9251         * javax/naming/CannotProceedException.java: Likewise.
9252         * javax/naming/CommunicationException.java: Likewise.
9253         * javax/naming/CompositeName.java: Likewise.
9254         * javax/naming/CompoundName.java: Likewise.
9255         * javax/naming/ConfigurationException.java: Likewise.
9256         * javax/naming/Context.java: Likewise.
9257         * javax/naming/ContextNotEmptyException.java: Likewise.
9258         * javax/naming/InitialContext.java: Likewise.
9259         * javax/naming/InsufficientResourcesException.java: Likewise.
9260         * javax/naming/InterruptedNamingException.java: Likewise.
9261         * javax/naming/LimitExceededException.java: Likewise.
9262         * javax/naming/LinkException.java: Likewise.
9263         * javax/naming/LinkLoopException.java: Likewise.
9264         * javax/naming/LinkRef.java: Likewise.
9265         * javax/naming/MalformedLinkException.java: Likewise.
9266         * javax/naming/NameAlreadyBoundException.java: Likewise.
9267         * javax/naming/NameClassPair.java: Likewise.
9268         * javax/naming/NameNotFoundException.java: Likewise.
9269         * javax/naming/NameParser.java: Likewise.
9270         * javax/naming/NamingEnumeration.java: Likewise.
9271         * javax/naming/NamingSecurityException.java: Likewise.
9272         * javax/naming/NoInitialContextException.java: Likewise.
9273         * javax/naming/NoPermissionException.java: Likewise.
9274         * javax/naming/NotContextException.java: Likewise.
9275         * javax/naming/OperationNotSupportedException.java: Likewise.
9276         * javax/naming/PartialResultException.java: Likewise.
9277         * javax/naming/Reference.java: Likewise.
9278         * javax/naming/Referenceable.java: Likewise.
9279         * javax/naming/ReferralException.java: Likewise.
9280         * javax/naming/ServiceUnavailableException.java: Likewise.
9281         * javax/naming/SizeLimitExceededException.java: Likewise.
9282         * javax/naming/TimeLimitExceededException.java: Likewise.
9283         * javax/naming/directory/Attribute.java: Likewise.
9284         * javax/naming/directory/AttributeInUseException.java: Likewise.
9285         * javax/naming/directory/AttributeModificationException.java: Likewise.
9286         * javax/naming/directory/Attributes.java: Likewise.
9287         * javax/naming/directory/BasicAttribute.java: Likewise.
9288         * javax/naming/directory/BasicAttributes.java: Likewise.
9289         * javax/naming/directory/DirContext.java: Likewise.
9290         * javax/naming/directory/InitialDirContext.java: Likewise.
9291         * javax/naming/directory/InvalidAttributeIdentifierException.java:
9292         Likewise.
9293         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
9294         * javax/naming/directory/InvalidAttributesException.java: Likewise.
9295         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
9296         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
9297         * javax/naming/directory/ModificationItem.java: Likewise.
9298         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
9299         * javax/naming/directory/SchemaViolationException.java: Likewise.
9300         * javax/naming/directory/SearchControls.java: Likewise.
9301         * javax/naming/directory/SearchResult.java: Likewise.
9302         * javax/naming/event/EventContext.java: Likewise.
9303         * javax/naming/event/EventDirContext.java: Likewise.
9304         * javax/naming/event/NamespaceChangeListener.java: Likewise.
9305         * javax/naming/event/NamingEvent.java: Likewise.
9306         * javax/naming/event/NamingExceptionEvent.java: Likewise.
9307         * javax/naming/event/NamingListener.java: Likewise.
9308         * javax/naming/event/ObjectChangeListener.java: Likewise.
9309         * javax/naming/ldap/Control.java: Likewise.
9310         * javax/naming/ldap/ControlFactory.java: Likewise.
9311         * javax/naming/ldap/ExtendedRequest.java: Likewise.
9312         * javax/naming/ldap/ExtendedResponse.java: Likewise.
9313         * javax/naming/ldap/HasControls.java: Likewise.
9314         * javax/naming/ldap/InitialLdapContext.java: Likewise.
9315         * javax/naming/ldap/LdapContext.java: Likewise.
9316         * javax/naming/ldap/LdapReferralException.java: Likewise.
9317         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
9318         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
9319         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
9320         * javax/naming/spi/DirObjectFactory.java: Likewise.
9321         * javax/naming/spi/DirStateFactory.java: Likewise.
9322         * javax/naming/spi/DirectoryManager.java: Likewise.
9323         * javax/naming/spi/InitialContextFactory.java: Likewise.
9324         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
9325         * javax/naming/spi/NamingManager.java: Likewise.
9326         * javax/naming/spi/ObjectFactory.java: Likewise.
9327         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
9328         * javax/naming/spi/ResolveResult.java: Likewise.
9329         * javax/naming/spi/Resolver.java: Likewise.
9330         * javax/naming/spi/StateFactory.java: Likewise.
9332         * javax/naming/spi/NamingManager.java (ofb): Package private.
9334 2002-11-21  Mark Wielaard  <mark@klomp.org>
9336         * java/net/URL.java: Merge with Classpath (partly).
9337         * java/net/URLStreamHandler: Merge with Classpath.
9339 2002-11-22  Michael Koch <konqueror@gmx.de>
9341         * include/posix.h:
9342         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
9343         * include/win32.h:
9344         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
9345         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
9347 2002-11-21  Michael Koch <konqueror@gmx.de>
9349         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
9350         Only the new network functions should be in it.
9352 2002-11-21  Michael Koch <konqueror@gmx.de>
9354         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
9355         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
9357 2002-11-21  Michael Koch <konqueror@gmx.de>
9359         * java/nio/channels/AsynchronousCloseException.java,
9360         java/nio/channels/CancelledKeyException.java,
9361         java/nio/channels/ClosedByInterruptException.java,
9362         java/nio/channels/ConnectionPendingException.java,
9363         java/nio/channels/FileLockInterruptionException.java,
9364         java/nio/channels/IllegalSelectorException.java,
9365         java/nio/channels/NoConnectionPendingException.java,
9366         java/nio/channels/NonReadableChannelException.java,
9367         java/nio/channels/NonWritableChannelException.java,
9368         java/nio/channels/NotYetBoundException.java,
9369         java/nio/channels/NotYetConnectedException.java,
9370         java/nio/channels/OverlappingFileLockException.java,
9371         java/nio/channels/UnresolvedAddressException.java,
9372         java/nio/channels/UnsupportedAddressTypeException.java:
9373         New files.
9374         * Makefile.am (ordinary_java_source_files): Added new files.
9375         * Makefile.in: Regenerated.
9377 2002-11-21  Michael Koch <konqueror@gmx.de>
9379         * include/posix.h
9380         (_Jv_socket): New method.
9381         (_Jv_connect): New method.
9382         (_Jv_close): New method.
9383         (_Jv_platform_close_on_exec): Prefixed system function with "::".
9384         (_Jv_bind): New method.
9385         (_Jv_listen): New method.
9386         (_Jv_write): New method.
9387         (_Jv_read): New method.
9388         * include/win32.h
9389         (_Jv_socket): New method.
9390         (_Jv_connect): New method.
9391         (_Jv_close): New method.
9392         (_Jv_bind): New method.
9393         (_Jv_listen): New method.
9394         (_Jv_write): New method.
9395         (_Jv_read): New method.
9396         * java/net/natNetworkInterface.cc:
9397         Include platform.h, removed inclusion of socket.h
9398         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
9399         ::close() by _Jv_close().
9400         * java/net/natPlainDatagramSocketImpl.cc:
9401         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
9402         added some new lines to make code more readable.
9403         (create): Replaced ::socket() by _Jv_socket().
9404         (close): Replaced NATIVE_CLOSE() by _Jv_close().
9405         * java/net/natPlainSocketImpl.cc:
9406         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
9407         removed include of socket.h, removed some windows defines
9408         (now in include/win32.h).
9409         (create): Replaced ::socket() by _Jv_socket().
9410         (close): Replaced NATIVE_CLOSE() by _Jv_close().
9411         (write): Replaced ::read by _Jv_write().
9412         (read): Replaced ::read by _Jv_read().
9414 2002-11-20  Michael Koch <konqueror@gmx.de>
9416         * Makefile.am (ordinary_java_source_files):
9417         Added java/nio/channels/FileChannel.java.
9418         * Makefile.in: Regenerated.
9420 2002-11-20  Michael Koch <konqueror@gmx.de>
9422         * java/io/FileInputStream.java
9423         (getChannel): New method.
9424         * java/io/FileOutputStream.java
9425         (getChannel): New method.
9426         * java/net/ServerSocket.java
9427         (bind): Removed duplicate code and called another bind method instead.
9428         * java/nio/channels/SelectionKey.java
9429         (isValid): Removed wrong exception documentation.
9430         * java/nio/channels/ServerSocketChannel.java
9431         (accept): Added exception documentation.
9432         (open): Fixed typo, added exception documentation.
9433         * java/nio/channels/spi/AbstractSelectableChannel.java
9434         (implCloseChannel): Added exception documentation.
9435         (add): Reformated.
9436         (register): Added exception documentation.
9438 2002-11-20  Andreas Jaeger  <aj@suse.de>
9440         * configure: Regenerated with new libtool.m4.
9442 2002-11-19  Tom Tromey  <tromey@redhat.com>
9444         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
9445         `referent'.
9446         (finalize_referred_to_object): Don't modify `referent' or `copy'
9447         fields.
9448         (add_to_hash): Correctly set `n->next' when updating list.
9449         * java/lang/ref/Reference.java (enqueue): Return false if already
9450         enqueued.
9452 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
9454         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
9455         to function and function pointer declarations in accordance with
9456         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
9457         based on whether __GCJ_JNI_IMPL__ has been defined or not.
9458         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
9459         JNI function definitions.
9461 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
9463         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
9464         that was causing CoderResults to be cached, not WeakReferences
9465         to CoderResults.
9467 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
9469         * java/security/KeyStore.java (getInstance): Fix
9470         comment and throw IllegalArgumentException if
9471         given provider is null.
9472         (getInstance): New method for jdk1.4 compatibility.
9474 2002-11-18  Michael Koch <konqueror@gmx.de>
9476         * java/net/PlainSocketImpl.java: Fix imports.
9478 2002-11-18  Michael Koch <konqueror@gmx.de>
9480         * java/nio/channels/SelectionKey.java
9481         (isValid): Added exception documentation.
9482         * java/nio/channels/Selector.java
9483         (open): Declare "throws IOException".
9485 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
9487         * java/nio/charset/Charset.java
9488         (<clinit>): New method.
9489         (encode): Synchronize use of cached encoder object.
9490         (decode): Synchronize use of cached encoder object.
9492 2002-11-18  Michael Koch <konqueror@gmx.de>
9494         * gnu/java/nio/ByteBufferImpl.java,
9495         gnu/java/nio/CharBufferImpl.java,
9496         gnu/java/nio/DatagramChannelImpl.java,
9497         gnu/java/nio/DoubleBufferImpl.java,
9498         gnu/java/nio/FileChannelImpl.java,
9499         gnu/java/nio/FloatBufferImpl.java,
9500         gnu/java/nio/IntBufferImpl.java,
9501         gnu/java/nio/LongBufferImpl.java,
9502         gnu/java/nio/PipeImpl.java,
9503         gnu/java/nio/SelectionKeyImpl.java,
9504         gnu/java/nio/SelectorImpl.java,
9505         gnu/java/nio/SelectorProviderImpl.java,
9506         gnu/java/nio/ServerSocketChannelImpl.java,
9507         gnu/java/nio/ShortBufferImpl.java,
9508         gnu/java/nio/SocketChannelImpl.java,
9509         java/nio/DoubleBuffer.java,
9510         java/nio/FloatBuffer.java,
9511         java/nio/IntBuffer.java,
9512         java/nio/LongBuffer.java,
9513         java/nio/ShortBuffer.java,
9514         java/nio/channels/FileChannel.java: New files.
9516 2002-11-18  Michael Koch <konqueror@gmx.de>
9518         * Makefile.am (ordinary_java_source_files):
9519         Added java/nio/ReadOnlyBufferException.java and
9520         java/nio/channels/ClosedSelectorException.java.
9521         * Makefile.in: Regenerated.
9523 2002-11-18  Michael Koch <konqueror@gmx.de>
9525         * java/net/PlainSocketImpl.java: Reworked imports.
9526         * java/net/ServerSocket.java
9527         (ServerSocket): Create socket.
9528         * java/net/SocketAddress.java: Documentation added.
9529         * java/net/natPlainSocketImpl.cc: Reindented.
9530         * java/nio/ReadOnlyBufferException.java: New file
9531         * java/nio/channels/ClosedChannelException.java: Documentation added.
9532         * java/nio/channels/ClosedSelectorException.java: New file.
9534 2002-11-17  Mark Wielaard  <mark@klomp.org>
9536         * java/net/HttpURLConnection.java ((getPermission): Take port
9537         into consideration.
9538         (getErrorStream): Implement.
9540 2002-11-17  Mark Wielaard  <mark@klomp.org>
9542         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
9544 2002-11-16  Mark Wielaard  <mark@klomp.org>
9546         Integrate work by Raif S. Naffah (raif@fl.net.au)
9547         * java/security/DummyKeyPairGenerator.java (clone): New method.
9548         * java/security/DummyMessageDigest.java (clone): New method.
9549         (engineUpdate): Now public.
9550         (engineReset): Likewise.
9551         (engineDigest): Likewise.
9552         (engineGetDigestLength): New method.
9553         * java/security/DummySignature.java (clone): New method.
9554         * java/security/KeyPairGenerator.java (provider): Now package private.
9555         (getInstance(String)): Use getInstance(String,Provider).
9556         (getInstance(String,String): Use getInstance(String,Provider)
9557         (getInstance(String,Provider): New method.
9558         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
9559         * java/security/KeyPairGeneratorSpi.java (clone): New method.
9560         * java/security/MessageDigest.java (provider): Now package private.
9561         (getInstance(String): Use getInstance(String,Provider).
9562         (getInstance(String,String): Use getInstance(String,Provider)
9563         (getInstance(String,Provider): New method.
9564         * java/security/Provider.java (toCanonicalKey): New method.
9565         (get): New method that uses toCanonicalKey().
9566         (put): Use toCanonicalKey().
9567         (remove): Likewise.
9568         * java/security/Security.java (insertProviderAt): Provider index is one
9569         based, not zero based.
9570         (addProvider): Likewise.
9571         (removeProvider): Likewise.
9572         * java/security/Signature.java (provider): Now package private.
9573         (getInstance(String)): Use getInstance(String,Provider).
9574         (getInstance(String,String): Use getInstance(String,Provider)
9575         (getInstance(String,Provider): New method.
9576         (getInstance(String,String,Provider): Don't cast DummySignature.
9578 2002-11-15  Tom Tromey  <tromey@redhat.com>
9580         For PR libgcj/8593:
9581         * java/util/zip/GZIPInputStream.java (read): Check file size.
9582         Look in inflater for remaining input bytes.
9583         (read4): Added buf and offset arguments.
9585 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
9587         * java/applet/AppletContext.java: Fix typo and remove redundant
9588         modifiers.
9590 2002-11-14  Tom Tromey  <tromey@redhat.com>
9592         * java/lang/natRuntime.cc (insertSystemProperties): Set
9593         gnu.classpath.home.
9595 2002-11-13  Michael Koch <konqueror@gmx.de>
9597         * java/nio/ByteBuffer.java
9598         (allocate): New method.
9599         (wrap): New method.
9600         (put): New method.
9601         (get): New method.
9603 2002-11-13  Michael Koch <konqueror@gmx.de>
9605         * java/nio/channels/AlreadyConnectedException.java:
9606         Removed unneeded import.
9607         (AlreadyConnectedException): Documentation added.
9608         * java/nio/channels/Pipe.java
9609         (SinkChannel.SinkChannel): Documentation added.
9610         (SinkChannel.validOps): New method.
9611         (SourceChannel.SourceChannel): Documentation added.
9612         (SourceChannel.validOps): New method.
9613         (Pipe): Documentation added.
9614         (open): Documentation added.
9615         (SinkChannel.channel): Documentation added.
9616         (SourceChannel.channel): Documentation added.
9617         * java/nio/channel/SelectableChannel.java
9618         (SelectableChannel): Documentation added.
9619         (blockingLock): Documentation added.
9620         (configureBlocking):Documentation added.
9621         (isBlocking):Documentation added.
9622         (isRegistered):Documentation added.
9623         (keyFor):Documentation added.
9624         (provider):Documentation added.
9625         (register): Documentation added.
9626         (validOps): Documentation added.
9627         * jaba/nio/channels/SelectionKey.java
9628         (SelectionKey): Documentation added.
9629         (attach): Documentation added.
9630         (attachment): Documentation added.
9631         (isAcceptable): Documentation added.
9632         (isConnetable): Documentation added.
9633         (isReadable): Documentation added.
9634         (isWritable): Documentation added.
9635         (cancel): Documentation added.
9636         (channel): Documentation added.
9637         (interestOps): Documentation added.
9638         (isValid): Documentation added.
9639         (readyOps): Documentation added.
9640         (selector): Documentation added.
9641         * jaba/nio/channels/Selector.java
9642         (Selector): Documentation added.
9643         (open): Documentation added.
9644         (close): Documentation added.
9645         (isOpen): Documentation added.
9646         (keys): Documentation added.
9647         (provider): Documentation added.
9648         (select): Documentation added.
9649         (selectedKeys): Documentation added.
9650         (selectNow): Documentation added.
9651         (wakeup): Documentation added.
9652         * java/nio/channels/spi/AbstractInterruptibleChannel.java
9653         (AbstractInterruptibleChannel): Documentation added.
9654         (opened): Default to true;
9655         (begin): Documentation added.
9656         (close): Set opened to false, documentation added.
9657         (isOpen): Documentation added.
9658         * java/nio/channels/spi/AbstractSelectionKey.java
9659         (AbstractSelectionKey): Documentation added.
9660         (cancel): Documentation added.
9661         (isValid): Documentation added.
9662         * java/nio/channels/spi/AbstractSelector.java
9663         (AbstractSelector): Documentation added.
9664         (begin): Documentation added.
9665         (close): Documentation added.
9666         (isOpen): Documentation added.
9667         (deregister): Documentation added.
9668         (end): Documentation added.
9669         (provider): Documentation added.
9670         (implCloseSelector): Documentation added.
9671         (register): Documentation added.
9672         * java/nio/channels/spi/SelectorProvider.java
9673         (SelectorProvider): Documentation added.
9674         (openDatagramChannel): Documentation added.
9675         (openPipe): Documentation added.
9676         (openSelector): Documentation added.
9677         (openServerSocketChannel): Documentation added.
9678         (openSocketChannel): Documentation added.
9679         (provider): Documentation added.
9681 2002-11-12  Michael Koch <konqueror@gmx.de>
9683         * java/nio/Buffer.java: Implemented.
9684         * java/nio/CharBuffer.java: New file.
9685         * java/nio/InvalidMarkException.java: New file.
9686         * java/nio/channels/DatagramChannel.java: Implemented.
9687         * java/nio/channels/ServerSocketChannel.java: Implemented.
9688         * java/nio/channels/SocketChannel.java: Implemented.
9689         * java/nio/channels/spi/AbstractChannel.java: Removed.
9690         * java/nio/channels/spi/AbstractSelectableChannel.java:
9691         Implemented.
9692         * java/nio/charset/Charset.java:
9693         Merge from Classpath.
9694         * java/nio/charset/CharsetDecoder.java: New file.
9695         * java/nio/charset/CharsetEncoder.java: New file.
9696         * java/nio/charset/CoderResult.java: New file.
9697         * Makefile.am (ordinary_java_source_files): Added new files.
9698         * Makefile.in: Regenerated.
9700 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
9702         * gnu/java/nio/charset/ISO_8859_1.java,
9703         gnu/java/nio/charset/Provider.java,
9704         gnu/java/nio/charset/US_ASCII.java,
9705         gnu/java/nio/charset/UTF_16.java,
9706         gnu/java/nio/charset/UTF_16BE.java,
9707         gnu/java/nio/charset/UTF_16Decoder.java,
9708         gnu/java/nio/charset/UTF_16Encoder.java,
9709         gnu/java/nio/charset/UTF_16LE.java,
9710         gnu/java/nio/charset/UTF_8.java: New files.
9712 2002-11-11  Michael Koch <konqueror@gmx.de>
9714         * java/nio/charset/CharacterCodingException.java:
9715         This class must be public.
9716         * java/nio/charset/CoderMalfunctionError.java:
9717         This class must be public.
9718         * java/nio/charset/CodingErrorAction.java:
9719         This class must be public.
9720         * java/nio/charset/IllegalCharsetNameException.java:
9721         This class must be public, better implementation.
9722         * java/nio/charset/MalformedInputException.java:
9723         This class must be public, better implementation.
9724         * java/nio/charset/UnmappableCharacterException.java:
9725         This class must be public, better implementation.
9726         * java/nio/charset/UnsupportedCharsetException.java:
9727         This class must be public, better implementation.
9729 2002-11-11  Michael Koch <konqueror@gmx.de>
9731         * java/nio/BufferOverflowException.java,
9732         java/nio/BufferUnderflowException.java: New file.
9733         * Makefile.am (ordinary_java_source_files):
9734         Added new files.
9735         * Makefile.in: Regenerated.
9737 2002-11-10  Tom Tromey  <tromey@redhat.com>
9739         * java/awt/Container.java (validate): Use tree lock.
9740         (getComponent): Likewise.
9741         (getComponents): Likewise.
9742         (addImpl): Likewise.
9743         (remove): Likewise.
9744         (removeAll): Likewise.
9745         (processEvent): Fixed indentation.
9746         (getComponentAt): Use tree lock.
9747         (findComponentAt): Likewise.
9748         (removeNotify): Likewise.
9749         (isAncestorOf): Likewise.
9750         (list): Likewise.
9751         (visitChildren): Likewise.
9752         (findNextFocusComponent): Likewise.
9753         (addNotifyContainerChildren): Likewise.
9754         (getAccessibleChildrenCount): Likewise.
9755         (getAccessibleChild): Likewise.
9757         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
9758         (getSize): Likewise.
9759         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
9760         (getSize): Likewise.
9761         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
9762         (calcSize): Likewise.
9763         * java/awt/CardLayout.java (getSize): Use tree lock.
9764         (gotoComponent): Likewise.
9765         (layoutContainer): Likewise.
9767         * java/io/natFileDescriptorWin32.cc (read): Handle case where
9768         count is 0.
9769         * java/io/natFileDescriptorPosix.cc (read): Handle case where
9770         count is 0.
9772         * java/io/Externalizable.java, java/io/FilePermission.java,
9773         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
9774         java/io/SerializablePermission.java, java/text/Format.java,
9775         java/util/AbstractMap.java, java/util/HashMap.java,
9776         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
9777         versions from Classpath.
9779 2002-11-10  Anthony Green  <green@redhat.com>
9781         * java/util/jar/Attributes.java (Name): Fix name check.
9783 2002-11-10  Mark Wielaard  <mark@klomp.org>
9785         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
9786         with getName() as message.
9787         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
9788         type as message.
9790         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
9791         unused.
9793 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
9795         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
9796         for Win32. JNICALL has been defined to __stdcall to be compatible
9797         with Sun's JDKs.
9799 2002-11-10  Tom Tromey  <tromey@redhat.com>
9801         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
9802         (setRows): Check newRows, not rows.
9804         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
9806 2002-11-09  Tom Tromey  <tromey@redhat.com>
9808         * java/applet/Applet.java, java/applet/AppletContext.java,
9809         java/applet/AppletStub.java, java/applet/AudioClip.java,
9810         java/awt/CardLayout.java,
9811         java/awt/ContainerOrderFocusTraversalPolicy.java,
9812         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
9813         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
9814         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
9815         java/awt/color/ICC_ColorSpace.java,
9816         java/awt/color/ICC_Profile.java,
9817         java/awt/color/ICC_ProfileGray.java,
9818         java/awt/color/ICC_ProfileRGB.java,
9819         java/awt/datatransfer/DataFlavor.java,
9820         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
9821         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
9822         New versions from Classpath.
9823         * Makefile.in: Rebuilt.
9824         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
9825         ICC_ProfileRGB.
9827         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
9828         display policy.
9830         * java/awt/List.java (processEvent): Added missing `else's.
9832         * java/awt/Window.java (show): validate() before showing.  Make
9833         parent displayable.
9834         (isDisplayable): New method.
9836 2002-11-07  Mark Wielaard  <mark@klomp.org>
9838         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
9839         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
9841         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
9842         annotation.
9843         (loadClass): Take String as codebases.
9844         (getClassAnnotation): Use MyClassLoader annotations.
9845         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
9846         call exportObject(this).
9848         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
9849         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
9850         (setAnnotation): Don't set locBytesStream and locStream.
9851         (replaceObject): Removed.
9852         (flush): Don't test locStream.
9853         (getLocBytes): LikeWise.
9854         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
9855         (leaseCache): New field.
9856         (dirty): Use leaseCache.
9857         (LeaseRecord): New inner class.
9858         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
9859         explicitly call exportObject().
9860         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
9861         false to communicate with Sun JDK130.
9862         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
9863         * gnu/java/rmi/server/RMIObjectInputStream.java
9864         (UnicastConnectionManager): Removed field.
9865         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
9866         Use UnicastServer.getExportedRef().
9867         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
9868         (expireTime): Likewise.
9869         (CONNECTION_TIMEOUT): Likewise.
9870         (disconnect): Call sock.close().
9871         (isExpired): New method.
9872         (resetTime): Likewise.
9873         (run): Use do while loop and catch Exception for discardConnection().
9874         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
9875         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
9876         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
9877         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
9878         (exportObject): Use refcache.
9879         (unexportObject): Likewise.
9880         (getExportedRef): New method.
9881         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
9882         constructor.
9883         (exportObject): Save manager.serverobj.
9884         (getStub): New method.
9886 2002-11-07  Mark Wielaard  <mark@klomp.org>
9888         * java/lang/reflect/natField.cc (getBoolean): Use getType().
9889         (getByte): Likewise.
9890         (getShort): Likewise.
9891         (getInt): Likewise.
9892         (getLong): Likewise.
9893         (getFloat): Likewise.
9894         (getDouble): Likewise.
9895         (get): Likewise.
9896         (setChar): Likewise.
9897         (setByte): Likewise.
9898         (setShort): Likewise.
9899         (setInt): Likewise.
9900         (setLong): Likewise.
9901         (setFloat): Likewise.
9902         (setDouble): Likewise.
9904 2002-11-07  Michael Koch <konqueror@gmx.de>
9906         * java/awt/Choice.java,
9907         java/awt/Container.java,
9908         java/awt/GridBagLayout.java:
9909         Fixed documentation.
9910         * java/awt/peer/ContainerPeer.java:
9911         Reindented.
9913 2002-11-07  Michael Koch <konqueror@gmx.de>
9915         * java/awt/color/ICC_Profile.java:
9916         Added missing constants.
9917         * java/awt/color/ICC_ColorSpace.java
9918         (getMinValue): Added dummy implementation.
9919         (getMaxValue): Added dummy implementation.
9920         * java/awt/datatransfer/DataFlavor.java
9921         (imageFlavor): Added.
9922         (isMimeTypeEqual): Must be final.
9923         (getDefaultRepresentationClass): Must be non-static.
9924         (getDefaultRepresentationClassAsString): Must be non-static.
9925         * java/awt/dnd/DragSourceContext.java
9926         (dragExit): Corrected argument.
9927         (dragDropEnd): Corrected argument.
9928         * java/awt/dnd/DragSourceListener.java.java
9929         (dragExit): Corrected argument.
9930         (dragDropEnd): Corrected argument.
9931         * java/awt/font/TextHitInfo.java
9932         (toString): Added stubbed implementation.
9933         * java/awt/geom/PathIterator.java:
9934         The constants must be static.
9935         * java/awt/image/VolatileImage.java
9936         (IMAGE_INCOMPATIBLE): Fixed typo.
9937         * java/awt/image/renderable/RenderableImage.java
9938         (HINTS_OBSERVED): Must be static.
9939         * java/beans/BeanInfo.java:
9940         Constants must be final.
9942 2002-11-06  Tom Tromey  <tromey@redhat.com>
9944         From svens@it.uu.se.  For PR libgcj/8481.
9945         * java/util/Random.java (nextInt(int)): Only use 31 bits.
9947 2002-11-06  Tom Tromey  <tromey@redhat.com>
9949         * jni.cc (array_from_valist): Assume that jlong won't be
9950         promoted.
9952 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
9954         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
9955         Return 20.
9956         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
9957         Return 16.
9959 2002-11-03  Tom Tromey  <tromey@redhat.com>
9961         * java/lang/ClassLoader.java (loadClass): Call loadClass on
9962         VMClassLoader, not findClass.
9964 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
9966         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
9967         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
9968         _Jv_DetermineVTableIndex, to determine vtable offset.
9969         (_Jv_DetermineVTableIndex): Remove.
9970         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
9972         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
9974 2002-11-03  Tom Tromey  <tromey@redhat.com>
9976         * java/nio/channels/AlreadyConnectedException.java: Extend
9977         IllegalStateException, per spec.
9979 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
9981         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
9983 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
9985         * java/util/ArrayList.java (readObject, writeObject): Only read/write
9986         size items.
9988 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
9990         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
9991         initial estimated size to avoid enlarge buffer frequently.
9993 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
9995         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
9996         ClassLoader when null.
9997         (ProxyType.hashCode): Loader null check no longer needed.
9998         (ProxyType.sameTypes): New method.
9999         (ProxyType.equals): Use new method.
10001 2002-10-31  Mark Wielaard  <mark@klomp.org>
10003         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
10004         length of String.
10005         * java/net/URLEncoder.java (encode): Likewise.
10007 2002-10-31  Mark Wielaard  <mark@klomp.org>
10009         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
10010         when stream is closed.
10011         (closeEntry): Likewise.
10012         (read): Likewise.
10013         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
10014         ZipException when no entry active.
10015         (closeEntry): Likewise.
10016         (write): Likewise.
10018 2002-11-02  Tom Tromey  <tromey@redhat.com>
10020         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
10021         * java/lang/natClass.cc (initializeClass): Don't return just
10022         because self==thread.
10024         For PR java/8415:
10025         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
10026         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
10028 2002-11-02  Andreas Schwab  <schwab@suse.de>
10030         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
10031         pass GCJFLAGS.
10032         (FLAGS_TO_PASS): Define.
10033         * Makefile.in: Regenerated.
10035 2002-11-01  Michael Koch  <konqueror@gmx.de>
10037         * java/nio/ByteOrder.java: New file.
10038         * java/nio/channels/DatagramChannel.java:
10039         (DatagramChannel): New constructor.
10040         * java/nio/channels/Pipe.java: New file.
10041         * java/nio/channels/SelectableChannel.java: New file.
10042         * java/nio/channels/SelectionKey.java: New file.
10043         * java/nio/channels/Selector.java: New file.
10044         * java/nio/channels/ServerSocketChannel.java
10045         (ServerSocketChannel): New constructor.
10046         * java/nio/channels/SocketChannel.java
10047         (SocketChannel): New constructor.
10048         * java/nio/channels/Pipe.java: New file.
10049         * java/nio/channels/spi/AbstractChannel.java: New file.
10050         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
10051         * java/nio/channels/spi/AbstractSelectableChannel.java:
10052         License added
10053         (AbstractSelectableChannel): New stubbed method.
10054         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
10055         * java/nio/channels/spi/AbstractSelector.java: New file.
10056         * java/nio/channels/spi/SelectorProvider.java: New file.
10057         * java/nio/charset/Charset.java: New file.
10058         * java/nio/charset/CoderMalfunctionError.java: New file.
10059         * java/nio/charset/CodingErrorAction.java: New file.
10060         * java/nio/charset/spi/CharsetProvider.java
10061         (charsetForName): Uncommented.
10062         * Makefile.am (java_native_source_files): Added new files.
10063         * Makefile.in: Regenerated.
10065 2002-11-01  Michael Koch  <konqueror@gmx.de>
10067         * java/net/InetAddress.java:
10068         (isAnyLocalAddress): Implemented.
10069         (isLoopbackAddress): Implemented, comment added.
10070         (isLinkLocalAddress): Implemented, documentation added.
10071         (isSiteLocalAddress): Implemented, documentation added.
10072         (isMCGlobal): Implemented, documentation added.
10073         (isMCNodeLocal): Implemented, documentation added.
10074         (isMCLinkLocal): Implemented, documentation added.
10075         (isMCSiteLocal): Implemented, documentation added.
10076         (isMCOrgLocal): Implemented, documentation added.
10077         (getHostName): Documentation added.
10078         (getCanonicalHostName): Implemented, documentation added.
10079         (getAddress): Documentation added.
10080         (hashCode): Documentation added.
10081         (equals): Documentation added.
10082         (toString): Fixed implementation.
10083         (getByAddress): Use Inet4Address and Inet6Address.
10084         (lookup): New linewrap.
10085         (getByName): SecurityManager check added, support Inet4Address and
10086         Inet6address, comments added.
10087         (getAllByName): SecurityManager check added, comments added.
10088         * java/net/Inet6Address.java:
10089         (Inet6Address): Initialize parent class with addr instead of null.
10090         * java/net/URL.java
10091         (equals): Documentation added.
10092         (getFile): Documentation added.
10093         (hashCode): Documentation added.
10094         * java/net/natInetAddress.cc:
10095         (aton): Fix IPv6 support.
10096         * java/net/natPlainDatagramSocketImpl.cc:
10097         (peek): Throw PortUnreachableException when suitable.
10098         (peekData): Throw PortUnreachableException when suitable.
10099         (send): Throw PortUnreachableException when suitable.
10100         (receive): Throw PortUnreachableException when suitable.
10102 2002-10-27  Mark Wielaard  <mark@klomp.org>
10104         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
10105         argument.
10106         (readLeShort): Likewise and use byte[].
10107         (readLeInt): Likewise.
10108         (readEntries): Use new versions of methods and use byte[] for reading
10109         a complete zip entry. Add ZipFile name to exceptions.
10110         (entries): Add ZipFile name to exceptions.
10111         (getEntry): Likewise.
10112         (checkLocalHeader): Use new versions of methods and add ZipFile name
10113         to exceptions.
10115 2002-10-31  Mark Anderson  <mark@panonet.net>
10117         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
10118         added
10120 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
10122         * configure.in: Disable hash sync when not using threads.
10123         * configure: Regenerated.
10125 2002-10-24  Tom Tromey  <tromey@redhat.com>
10127         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
10128         (_Jv_FindSymbolInExecutable): Removed argument name.
10129         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
10130         java.library.path is set.
10132         * gij.cc (help): Document --showversion.
10133         (version): Don't exit.
10134         (main): Handle --showversion.  Exit if --version given.
10136 2002-10-23  Tom Tromey  <tromey@redhat.com>
10138         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
10139         (array_from_valist): Correctly handle promotion for jint, jlong,
10140         jfloat, and jdouble.
10142 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
10144         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
10145         GetFileAttributesEx( ) to find file length and modification times,
10146         as the latter is not present on Windows 95.
10148 2002-10-21  Michael Koch  <konqueror@gmx.de>
10150         * java/net/URL.java
10151         (URL): Activate SecurityManager checks.
10152         (equals): Use URLStreamHandler implementation instead of doing it
10153         alone. This allows special protocol stream handlers to change default
10154         behaviour.
10155         (hashCode): Use URLStreamHandler implementation instead of doing it
10156         alone. This allows special protocol stream handlers to change default
10157         behaviour.
10158         * java/net/URLStreamHandler.java
10159         (equals): Implemented default URL equality check.
10160         (hostsEqual): Implemented default URL equality check.
10161         (hashCode): Implemented default URL hashCode algorithm.
10162         * java/net/natPlainDatagramSocketImpl.cc:
10163         No lines longer then 80 characters.
10165 2002-10-20  Adam Megacz <adam@xwt.org>
10167         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
10168         * configure.in: enabled hash sync on Win32
10169         * include/win32-threads.h (_Jv_ThreadId_t): added.
10170         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
10171         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
10172         removed some posix-isms, use Thread::sleep() instead of usleep,
10173         added code to clear bottom three bits if platform has a broken
10174         linker.
10175         * include/win32-threads.h (_Jv_ThreadId_t): added.
10177 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
10179         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
10180         runtime property "gnu.gcj.progname" containing the name used to
10181         invoke the current Java program (similar to argv[0] for C
10182         programs).
10184 2002-10-15  Tom Tromey  <tromey@redhat.com>
10186         Fix for PR libgcj/8234:
10187         * java/util/zip/natInflater.cc (reset): Reset avail_in.
10188         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
10190 2002-10-13  Mark Wielaard  <mark@klomp.org>
10192         * mauve-libgcj: Enable Mauve tests that compile now.
10194 2002-10-11  Mark Wielaard  <mark@klomp.org>
10196         Fix for PR libgcj/8142
10197         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
10198         loading native modules.
10200 2002-10-10  Michael Koch  <konqueror@gmx.de>
10202         * javax/swing/AbstractListModel.java
10203         (getListDataListeners): New stubbed method.
10204         javax/swing/DefaultBoundedRangeModel.java
10205         (getChangeListeners): New stubbed method.
10206         javax/swing/DefaultSingleSelectionModel.java
10207         (getChangeListeners): New stubbed method.
10209 2002-10-10  Michael Koch  <konqueror@gmx.de>
10211         * gcj/.cvsignore: New file to ignore files generated during build.
10212         * include/.cvsignore: New file to ignore files generated during build.
10214 2002-10-10  Michael Koch  <konqueror@gmx.de>
10216         * java/net/HttpURLConnection.java
10217         (getPermission): New method.
10218         (getErrorStream): New stub method.
10219         (getHeaderFieldDate): New stub method.
10220         * java/net/Inet4Address.java:
10221         (isLinkLocalAddress): Typo fixed.
10222         * java/net/InetAddress.java:
10223         (readResolve): New stubbed method (for serialization).
10224         (isAnyLocalAddress): New stubbed method.
10225         (isLoopbackAddress): New stubbed method.
10226         (isLinkLocalAddress): New stubbed method.
10227         (isSiteLocalAddress): New stubbed method.
10228         (isMCGlobal): New stubbed method.
10229         (isMCNodeGlobal): New stubbed method.
10230         (isMCLinkLocal): New stubbed method.
10231         (isMCSiteLocal): New stubbed method.
10232         (isMCOrgLocal): New stubbed method.
10233         (getCanonicalHostName): New stubbed method.
10234         (getByAddress): Create instances of Inet4Address/Inet6Address,
10235         instead of InetAddress, documentation added.
10236         * java/net/MulticastSocket.java
10237         (getInterface): Removed FIXME.
10238         (getNetworkInterface): New method.
10239         (setNetworkInterface): New method.
10240         * java/net/NetworkInterface.java:
10241         (toString): Use property "line.separator" instead of "\n".
10242         * java/net/URLConnection.java
10243         (getContent): New stubbed method.
10244         * java/net/URLStreamHandler.java:
10245         (equals): New stubbed method.
10246         (hostsEqual): New stubbed method.
10247         (hashCode): New stubbed method.
10248         * java/net/natNetworkInterface.cc:
10249         (getRealNetworkInterfaces): Create Inet4Address object
10250         instead of InetAddress.
10252 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
10254         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
10255         unsigned long temporary to implement insn_iushr shifts.
10257 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
10259         * configure.host [s390*-*]: Enable Java interpreter.
10260         Enable hash synchronization.  Add sysdeps dir.
10261         * sysdep/s390/locks.h: New file.
10263 2002-10-06  Mark Wielaard  <mark@klomp.org>
10265         * java/lang/Thread.java (setDaemon): Check startable_flag,
10266         not isAlive().
10268 2002-10-07  Michael Koch  <konqueror@gmx.de>
10270         * java/nio/Buffer.java: New stub file.
10271         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
10272         of class Charset.
10273         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
10274         * Makefile.in: Regenerated.
10276 2002-10-07  Michael Koch  <konqueror@gmx.de>
10278         * java/nio/ByteBuffer.java:
10279         removed import of not commited class.
10281 2002-10-07  Michael Koch  <konqueror@gmx.de>
10283         * java/nio/ByteBuffer.java,
10284         java/nio/MappedByteBuffer.java:
10285         New files, forgot to add these dummies.
10286         * Makefile.am (java_native_source_files): Added new files.
10287         * Makefile.in: Regenerated.
10289 2002-10-07  Michael Koch  <konqueror@gmx.de>
10291         * java/nio/channels/AlreadyConnectedException.java,
10292         java/nio/channels/ClosedChannelException.java,
10293         java/nio/channels/ReadableByteChannel.java,
10294         java/nio/channels/InterruptibleChannel.java,
10295         java/nio/channels/Channel.java,
10296         java/nio/channels/ByteChannel.java,
10297         java/nio/channels/GatheringByteChannel.java,
10298         java/nio/channels/ScatteringByteChannel.java,
10299         java/nio/channels/WritableByteChannel.java,
10300         java/nio/charset/CharacterCodingException.java,
10301         java/nio/charset/IllegalCharsetNameException.java,
10302         java/nio/charset/MalformedInputException.java,
10303         java/nio/charset/UnmappableCharacterException.java,
10304         java/nio/charset/UnsupportedCharsetException.java,
10305         java/nio/charset/spi/CharsetProvider.java: New file.
10306         These files are exceptions or interfaces,
10307         no real or abstract classes.
10308         * Makefile.am (java_native_source_files): Added new files.
10309         * Makefile.in: Regenerated.
10311 2002-10-05  Michael Koch  <konqueror@gmx.de>
10313         * java/net/InetAddress.java
10314         (getByAddress): Fixed documentation.
10315         (getByAddress): New method.
10316         * java/net/Inet4Address.java: New file.
10317         * java/net/URL.java
10318         (URL): Documentation added.
10319         (getContent): Documentation added.
10320         (getContent): New stubbed method.
10321         (getQuery): New method.
10322         (openConnection): Documentation added.
10323         (openStream): Documentation added.
10324         (setURLStreamHandlerFactory): Documentation added.
10325         * java/net/URI.java: New stub file.
10326         * Makefile.am
10327         (java_native_source_files): Added java/net/Inet4Address.java,
10328         java/net/Inet6Address.java and java/net/URI.java.
10329         * Makefile.in: Regenerated.
10331 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
10333         * java/lang/ProtectionDomain.java (linesep): Remove field.
10334         (toString): Use System.getProperty("line.separator").
10336 2002-10-04  Michael Koch  <konqueror@gmx.de>
10338         * java/security/Identity.java: Added serialVersionUID.
10339         * java/security/KeyPair.java: Added serialVersionUID.
10340         * java/security/Provider.java: Added serialVersionUID.
10341         * java/security/SecureRandom.java: Added serialVersionUID.
10342         * java/security/SecureRandomSpi.java: Added serialVersionUID.
10343         * java/security/SignedObject.java: Added serialVersionUID.
10344         * java/security/cert/Certificate.java: Added serialVersionUID.
10346 2002-10-04  Mark Wielaard <mark@klomp.org>
10348         * java/security/Security.java: Use java.home or gnu.classpath.home
10349         to load providers.
10350         (loadProviders): Extra dir argument.
10351         (getProvider): Return null when not found.
10353 2002-10-04  Mark Wielaard  <mark@klomp.org>
10355         * java/lang/Throwable.java: Remerge with Classpath.
10357 2002-10-04  Michael Koch  <konqueror@gmx.de>
10359         * java/net/InetAddress.java:
10360         (isMulticastAddress): Added documentation.
10361         (getHostAddress): Added documentation.
10362         (toString): Added documentation.
10363         (getByAddress): Fixed documentation.
10364         (getByName): Added documentation.
10365         (getAllByName): Added documentation.
10366         (getLocalHost): Added documentation.
10368 2002-10-04  Michael Koch  <konqueror@gmx.de>
10370         * java/beans/beancontext/BeanContextChildSupport.java:
10371         Added serialVersionUID.
10372         * java/text/Collator.java: (compare): Made documentation HTML-aware.
10373         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
10374         * javax/naming/Name.java: Added serialVersionUID.
10376 2002-10-03  Adam Megacz <adam@xwt.org>
10378         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
10379         some functionality that isn't supported yet on WIN32.
10381 2002-10-03  Tom Tromey  <tromey@redhat.com>
10383         * Makefile.in: Rebuilt.
10384         * Makefile.am (awt_java_source_files): Added new files.
10386 2002-10-03  Michael Koch  <konqueror@gmx.de>
10388         * java/net/InetAddress.java
10389         (class InetAddress): Removed final keyword.
10390         (equals): Fixed typo.
10391         (getByAddress): New method.
10393 2002-10-03  Michael Koch  <konqueror@gmx.de>
10395         * java/awt/dnd/Autoscroll.java:
10396         New file, merge from Classpath.
10397         * java/awt/dnd/DragSourceAdapter.java:
10398         (dragExit): Fixed typos in argument type.
10399         (dragDropEnd): Fixed typos in argument type.
10400         * java/awt/dnd/DragSourceDropEvent.java:
10401         New file, merge from Classpath.
10402         * java/awt/dnd/DropTarget.java:
10403         Added stubs, merge from Classpath.
10404         * java/awt/dnd/DropTargetAdapter.java:
10405         New file, merge from Classpath.
10406         * java/awt/dnd/DropTargetContext.java:
10407         New file, merge from Classpath.
10408         * java/awt/dnd/DropTargetDragEvent.java:
10409         New file, merge from Classpath.
10410         * java/awt/dnd/DropTargetDropEvent.java:
10411         New file, merge from Classpath.
10412         * java/awt/dnd/DropTargetEvent.java:
10413         New file, merge from Classpath.
10414         * java/awt/dnd/DropTargetListener.java:
10415         New file, merge from Classpath.
10416         * java/awt/dnd/MouseDragGestureRecognizer.java:
10417         New file, merge from Classpath.
10418         * java/awt/dnd/peer/DropTargetContextPeer.java:
10419         New file, merge from Classpath.
10421 2002-10-03  Michael Koch  <konqueror@gmx.de>
10423         * java/net/DatagramPacket.java
10424         (setLength): Fixed typo and be HTML-aware.
10425         * java/net/InetSocketAddress.java
10426         (InetSocketAddress): Correct initialization of hostname, fixed typo.
10427         (equals): Added comment about equality of InetSocketAddress objects.
10428         * java/net/ServerSocket.java
10429         (accept): Added checks.
10430         (isClosed): New stubbed method.
10431         * java/net/SocketOptions.java: Reindention.
10432         * java/net/SocketPermission
10433         (SocketPermission): Documentation fixed.
10435 2002-10-03  Michael Koch  <konqueror@gmx.de>
10437         * java/net/DatagramSocket.java
10438         (receive): Check with SecurityManager AFTER the packet is received,
10439         check if connected to multicast address, documentation added.
10440         (send): Only check SecurityManager if connected, check address of
10441         packet to send.
10442         (connect): Implemented, documentation added.
10443         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
10444         * java/net/InetSocketAddress.java
10445         (whole file): Reindented.
10446         (hostname): New attribute.
10447         (InetSocketAddress): Initialize new attribute.
10448         (getAddress): Documentation added.
10449         (getHostName): Documentation added.
10450         (getPort): Documentation added.
10451         (hashCode): Documentation added.
10452         (isUnresolved): Documentation added.
10453         (toString): Conform to output of JDK 1.4.1, documentation added.
10454         * java/net/MulticastSocket.java
10455         (joinGroup): Removed FIXME, documentation added.
10456         (leaveGroup): Removed FIXME, documentation added.
10457         (send): Documentation added.
10458         * java/net/Socket.java
10459         (inputShutdown): New variable.
10460         (outputShutdown): New variable.
10461         (Socket): Initialize new variables.
10462         (getRemoteSocketAddress): Check if connected.
10463         (shutdownInput): Set new variable.
10464         (shutdownOutput): Set new variable.
10465         (isConnected): New method.
10466         (isClosed): New method.
10467         (isInputShutdown): New method.
10468         (isOutputShutdown): New method.
10469         * java/net/URLStreamHandler.java
10470         (URLStreamHandler): New method.
10471         (openConnection): Added documentation.
10472         (parseURL): Added documentation.
10473         (getHostAddress): New method.
10474         (getDefaultPort): New method.
10476 2002-10-02  Tom Tromey  <tromey@redhat.com>
10478         * java/rmi/activation/ActivationDesc.java,
10479         java/rmi/activation/ActivationGroupDesc.java,
10480         java/rmi/activation/ActivationGroupID.java,
10481         java/rmi/activation/ActivationID.java: New versions from
10482         Classpath.
10484 2002-09-30  Bo Thorsen  <bo@suse.de>
10486         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
10488 2002-09-30  Tom Tromey  <tromey@redhat.com>
10490         * java/io/ObjectInputStream.java (resolveProxyClass): New method
10491         from Classpath.
10492         * Makefile.in: Rebuilt.
10493         * Makefile.am (rmi_java_source_files): Added new files.
10494         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
10495         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
10496         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
10497         Classpath.
10498         * gnu/java/rmi/dgc/DGCImpl.java,
10499         gnu/java/rmi/dgc/DGCImpl_Skel.java,
10500         gnu/java/rmi/dgc/DGCImpl_Stub.java,
10501         gnu/java/rmi/registry/RegistryImpl_Skel.java,
10502         gnu/java/rmi/registry/RegistryImpl_Stub.java,
10503         gnu/java/rmi/server/RMIHashes.java,
10504         gnu/java/rmi/server/RMIObjectInputStream.java,
10505         gnu/java/rmi/server/RMIObjectOutputStream.java,
10506         gnu/java/rmi/server/UnicastConnection.java,
10507         gnu/java/rmi/server/UnicastConnectionManager.java,
10508         gnu/java/rmi/server/UnicastRef.java,
10509         gnu/java/rmi/server/UnicastServer.java,
10510         gnu/java/rmi/server/UnicastServerRef.java,
10511         java/rmi/MarshalledObject.java,
10512         java/rmi/server/RMIClassLoader.java,
10513         java/rmi/server/RemoteObject.java,
10514         java/rmi/server/UnicastRemoteObject.java,
10515         java/security/SecureClassLoader.java: Merged from Classpath.
10517 2002-09-29  Anthony Green  <green@redhat.com>
10519         * java/lang/reflect/UndeclaredThrowableException.java: New file.
10520         Imported from GNU Classpath.
10521         * java/lang/reflect/natProxy.cc: New file.
10522         * java/lang/reflect/InvocationHandler.java: New file.  Imported
10523         from GNU Classpath.
10524         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
10525         Classpath.
10526         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
10527         Classpath.
10528         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
10529         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
10530         New statics.
10531         * gcj/javaprims.h ("Java"): Add new classes.
10532         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
10533         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
10534         java/lang/reflect/Proxy$$ProxyType.h): And this.
10535         (inner_nat_headers): Add these new headers.
10536         (ordinary_java_source_files): Add new files.
10537         (nat_source_files): Add new file.
10538         * Makefile.in: Rebuilt.
10540 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
10542         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
10543         a single configuration.
10545 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
10547         * java/util/TimeZone.java (getDSTSavings): New method.
10548         Fixes PR libgcj/7786.
10550 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
10552         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
10553         to see if `the_method == 0' before looking up vtable index.
10554         Fixes PR libgcj/7709.
10556 2002-09-25  Tom Tromey  <tromey@redhat.com>
10558         * java/lang/natClassLoader.cc:
10559         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
10560         * resolve.cc: Include NoClassDefFoundError.h, not
10561         ClassNotFoundException.h.
10562         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
10564         * defineclass.cc: Don't include ClassNotFoundException.h.
10566         * resolve.cc: Include StringBuffer.
10567         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
10569         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
10570         allocated but not initialized.
10572 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
10574         Fix for PR libgcj/7766:
10575         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
10576         (getNextEntry): Set it.
10577         (closeEntry): Likewise.
10578         (read): Likewise.
10579         (close): Likewise.
10580         (available): Use it.
10582 2002-09-25  Michael Koch  <konqueror@gmx.de>
10584         * java/net/DatagramSocket.java
10585         (DatagramSocket): Initialize new instance variables.
10586         (close): Reset new instance variables.
10587         (getLocalAddress): Remove unneeded SecurityManager usage.
10588         (getLocalPort): Check if socket is already bound.
10589         (isConnected): New method.
10590         (getInetAddress): Implemented.
10591         (getPort): Better Implementation, documentation fixed.
10592         (getRemoteSocketAddress): New method.
10593         * java/net/JarURLConnection.java
10594         (element): Typo fixed.
10595         (getMainAttributes): New method.
10596         (getAttributes): New method (stub only).
10597         (getManifest): New method (stub only).
10598         * java/net/NetPermission.java: Added serialVersionsUID.
10599         * java/net/Socket.java
10600         (connect): Check blocking mode of associated channel,
10601         documentation added.
10602         (getLocalSocketAddress): Better implementation.
10603         (getRemoteSocketAddress): Implemented.
10604         (isBound): New method.
10605         (setSendBufferSize): Documentation added.
10606         * java/net/SocketAddress.java: Added serialVersionsUID.
10607         * java/net/SocketPermission.java: Added serialVersionsUID.
10608         * java/net/URL.java
10609         (URL): Wrap for shorter lines, initialize new instance variables,
10610         documentation added.
10611         (equals): Check new instance variables too.
10612         (getContent): Documentation added.
10613         (getPath): Documentation added.
10614         (getAuthority): New method.
10615         (getHost): Documentation added.
10616         (getPort): Documentation added.
10617         (getDefaultPort): New method.
10618         (getProtocol): Documentation added.
10619         (getUserInfo): Documentation added.
10620         (set): Initialize new instance variables, documentation added.
10621         * java/net/URLStreamHandler.java
10622         (setURL): New method.
10623         * java/net/natPlainDatagramSocketImpl.cc
10624         (connect): Fix exception name.
10625         (disconnect): Fix exception name.
10627 2002-09-25  Michael Koch  <konqueror@gmx.de>
10629         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
10630         * java/nio/channels/DatagramChannel.java:
10631         extends AbstractSelectableChannel
10632         * java/nio/channels/ServerSocketChannel.java:
10633         extends AbstractSelectableChannel
10634         * java/nio/channels/SocketChannel.java:
10635         extends AbstractSelectableChannel
10636         * Makefile.am (ordinary_java_source_files):
10637         java/nio/channels/spi/AbstractSelectableChannel.java added.
10638         * Makefile.in: Regenerated.
10640 2002-09-25  Michael Koch  <konqueror@gmx.de>
10642         * java/net/DatagramSocket.java
10643         (DatagramSocket): Exception documentation added.
10644         (bind): Exception documentation added, addded SecurityManager check,
10645         added SocketAddress type check.
10646         (getSoTimeout): Check impl.
10647         (receive): Fix SecurityManager check, check impl, documentation added.
10648         (send): Check channel mode, documentation added.
10649         (connect): New method.
10650         (disconnect): Implemented.
10651         (getLocalSocketAddress): New method.
10652         (getReceiveBufferSize): Check impl.
10653         (setReuseAddress): Check impl.
10654         (getReuseAddress): Check impl.
10655         (setBroadcast): Check impl.
10656         (getBroadcast): Check impl.
10657         (setTrafficClass): Check impl, Documentation cleared.
10658         (getTrafficClass): Check impl.
10659         (getSendBufferSize): Check impl.
10660         (setReceiveBufferSize): Check impl, documentation added.
10661         (setSendBufferSize): Documentation added.
10662         (setDatagramSocketImplFactory): New method.
10663         * java/net/HttpURLConnection.java
10664         (HTTP_INTERNAL_ERROR): The correct code is 500.
10665         (HTTP_NOT_IMPLEMENTED): Added new constant.
10666         (setFollowRedirects): Documentation added.
10667         (getInstanceFollowRedirects): New method.
10668         (setInstanceFollowRedirects): New method.
10669         (setRequestMethod): Documentation added.
10670         (getResponseCode): Documentation added.
10671         (getResponseMessage): Documentation added.
10672         * java/net/JarURLConnection.java
10673         (JarURLConnection): protected since JDK 1.4.
10674         (getJarEntry): java.io.IOException to IOException, documentation added.
10675         (getJarFile): Documentation added.
10676         * java/net/ServerSocket.java
10677         (ServerSocket): Private to public, exception added.
10678         (ServerSocket): java.io.IOException to IOException, documentation added.
10679         (bind): Check socket address type, documentation added.
10680         (bind): java.io.IOException to IOException, documentation added.
10681         (accept): Documentation added.
10682         (implAccept): Check ch is not non-blocking, documentation added.
10683         (setSoTimeout): Documentation fixed.
10684         (setReceiveBufferSize): Documentation added.
10685         * java/net/Socket.java
10686         (Socket): Documentation added.
10687         (bind): Documentation added.
10688         (connect): Check socket address type, documentation added.
10689         (getRemoteSocketAddress): New method.
10690         (getLocalSocketAddress): New method.
10691         (setSoLinger): Documentation added.
10692         (getReuseAddress): New method.
10693         (setReuseAddress): New method.
10694         (getTrafficClass): New method.
10695         (setTrafficClass): New method.
10696         * java/net/URLStreamHandler.java
10697         (openConnection): java.io.IOException to IOException.
10698         (parseURL): Documentation added.
10699         (sameFile): public to protected, documentation added.
10700         (setURL): Documentation added.
10701         * java/nio/IllegalBlockingModeException.java: New file.
10702         * Makefile.am (ordinary_java_source_files):
10703         added java/nio/IllegalBlockingModeException.java
10704         * Makefile.in: Regenerated.
10706 2002-09-25  Michael Koch  <konqueror@gmx.de>
10708         * java/net/DatagramPacket
10709         (DatagramPacket): Exception documentation added.
10710         (setData): Likewise.
10711         (setSocketAddress): Likewise.
10712         * java/net/DatagramSocketImpl.java
10713         (peek): Documentation addded.
10714         (peekData): Documentation addded.
10715         (send): Documentation addded.
10716         (receive): Documentation addded.
10717         (connect): New method.
10718         (disconnect): New method.
10719         (joinGroup): New abstract method.
10720         (leaveGroup): New abstract method.
10721         * java/net/InetSocketAddress.java
10722         (InetSocketAddress): Documentation added.
10723         (equals): final keyword added.
10724         (getAddress): final keyword added.
10725         (getHostName): final keyword added.
10726         (getPort): final keyword added.
10727         (hashCode): final keyword added.
10728         (isUnresolved): final keyword added.
10729         * java/net/MulticastSocket.java
10730         (MulticastSocket): Documentation added.
10731         (MulticastSocket): New method.
10732         (joinGroup): Documentation added.
10733         (joinGroup): New method.
10734         (leaveGroup): Documentation added.
10735         (leaveGroup): New method.
10736         (send): Documentation added.
10737         * java/net/NetworkInterface.java
10738         (getByName): Documentation added.
10739         (getByInetAddress): Documentation added.
10740         (getNetworkInterfaces): Documentation added.
10741         * java/net/PlainDatagramSocketImpl.java
10742         (connect): New method.
10743         (disconnect): New method.
10744         * java/net/SocketImpl.java
10745         (create): Documentation added.
10746         (shutdownInput): Convert public to protected, as it always was.
10747         (shutdownOutput): Convert public to protected, as it always was.
10748         * java/net/SocketOptions.java
10749         (whole file): Reintented.
10750         * java/net/URLClassLoader.java
10751         (URLClassLoader): SecurityManager check added, documentation added.
10752         (findResources): Documentation added.
10753         (findClass): Documentation added.
10754         (newInstance): More correct method arguments.
10755         * java/net/URLConnection.java
10756         (connect): Documentation added.
10757         (getContent): Documentation added.
10758         (getPermission): Documentation added.
10759         (getInputStream): Documentation added.
10760         (getOutputStream): Documentation added.
10761         (setDoInput): Throw correct exception, documentation added.
10762         (setDoOutput): Throw correct exception, documentation added.
10763         (setAllowUserInteraction): Throw correct exception, documentation added.
10764         (setUseCaches): Throw correct exception, documentation added.
10765         (setIfModifiedSince): Throw correct exception, documentation added.
10766         (setRequestProperty): Throw exception, documentation added.
10767         (addRequestProperty): Throw exception, documentation added.
10768         (getRequestProperty): Throw exception, documentation added.
10769         (getRequestProperties): Documentation added.
10770         (setContentHandlerFactory): Documentation added.
10771         (guessContentTypeFromName): protected to public.
10772         (setFileNameMap): Documentation added.
10773         * java/net/URLDecoder.java
10774         (URLDecoder): New method.
10775         (decode): Documentation added.
10776         (whole file): Reindented.
10777         * java/net/URLEncoder.java
10778         (encode): Documentation added.
10779         * java/net/natPlainDatagramSocketImpl.cc
10780         (connect): New method.
10781         (disconnect): New method.
10782         * javax/naming/RefAddr:
10783         (addrType): addrType was never final.
10784         (equals): Fix typo in method name.
10785         * javax/naming/BinaryRefAddr:
10786         (equals): Fix typo in method name.
10788 2002-09-22  Tom Tromey  <tromey@redhat.com>
10790         Fix for PR libgcj/6576:
10791         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
10792         didn't find a given bundle.
10793         (getBundle): Don't require base bundle.
10794         (setParent): Removed old comment.
10795         (tryLocalBundle): Try components even if preceding components were
10796         empty.
10798 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10800         * Makefile.am (all-multi): Fix multilib parallel build.
10802 2002-09-21  Michael Koch  <konqueror@gmx.de>
10804         * java/net/Socket.java
10805         (sendUrgentData): New method.
10806         (getChannel): New method.
10807         * java/net/ServerSocket.java
10808         (getChannel): New method.
10809         (isBound): New method.
10810         * java/net/DatagramSocket.java
10811         (DatagramSocket): Two new methods.
10812         (bind): New method.
10813         (getChannel): New method.
10814         (isBound): New method.
10815         (send): Added newline to to make shorter lines.
10816         * java/net/PlainDatagramSocketImpl.java
10817         (mcastGrp): Added argument.
10818         (join): Use new mcastGrp.
10819         (leave): Use new mcastGrp.
10820         (joinGroup): New method.
10821         (leaveGroup): New method.
10822         * java/net/natPlainDatagramSocketImpl.cc
10823         (mcastGrp): Added argument, no yet really implemented.
10824         (getOption): Added newline for shorter lines.
10825         * java/net/natPlainSocketImpl.cc
10826         (read, setOption, getOption): Added newline for shorter lines.
10828 2002-09-19  Tom Tromey  <tromey@redhat.com>
10830        * java/lang/ClassLoader.java (resolveClass0): Set cause for
10831        newly-created exception.
10833 2002-09-18  Michael Koch  <konqueror@gmx.de>
10835         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
10836         java/util/regex/PatternSyntaxException.java:
10837         Merge with classpath, new files.
10838         * Makefile.am (core_java_source_files):
10839         Added java/util/regex/Matcher.java,
10840         java/util/regex/Pattern.java,
10841         java/util/regex/PatternSyntaxException.java
10842         * Makefile.in: Regenerated.
10843         * include/config.h.in: Added HAVE_NET_IF_H.
10844         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
10845         Removed #if 0 ... #endif.
10847 2002-09-17  Michael Koch  <konqueror@gmx.de>
10849         * java/net/natNetworkInterface.cc:
10850         Removed unneed and yet wrong includes.
10852 2002-09-17  Michael Koch  <konqueror@gmx.de>
10854         * java/net/NetworkInterface.java: New file.
10855         * java/net/natNetworkInterface.java: New file.
10856         * configure.in: Added check for net/if.h.
10857         * configure: Regenerated.
10858         * Makefile.am
10859         (ordinary_java_source_files): Added NetworkInterface.java.
10860         (nat_source_files): Added natNetworkInterface.cc.
10861         * Makefile.in: Regenerated.
10863 2002-09-16  Tom Tromey  <tromey@redhat.com>
10865         * java/net/URLClassLoader.java (findClass): Code source for a
10866         class from a jar is not necessarily a jar: URL.
10868 2002-09-16  Michael Koch  <konqueror@gmx.de>
10870         * java/lang/AssertionError.java:
10871         Merge with classpath, fixes HTML.
10872         * java/rmi/server/LogStream.java:
10873         Merge with classpath, fixes some constants.
10874         * java/net/server/RemoteServer.java:
10875         Merge with classpath, adds serialVersionUID.
10876         * javax/naming/BinaryRefAddr.java:
10877         Merge with classpath, s/equal/equals/.
10878         * javax/naming/NamingException.java:
10879         Merge with classpath, fixed typo.
10880         * javax/naming/RefAddr.java:
10881         Merge with classpath, s/equal/equals/.
10882         * java/awt/Toolkit.java:
10883         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
10884         and typo fixed.
10886 2002-09-15  Adam Megacz <adam@xwt.org>
10888         * java/net/natPlainSocketImpl.cc: fixed typo.
10890 2002-09-15  Adam Megacz <adam@xwt.org>
10892         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
10893         which don't work on Win32 (yet).
10895 2002-09-14  Adam Megacz <adam@xwt.org>
10897         * java/net/natPlainDatagramSocket.cc: removed #include
10898         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
10899         * include/win32.h: included definition for IP_TOS to satisfy
10900         natPlainDatagramSocket.cc
10902 2002-09-13  Michael Koch  <konqueror@gmx.de>
10904         * java/net/DatagramPacket.java (DatagramPacket):
10905         Added linebreak for 80 chars per line.
10906         * java/net/JarURLConection.java
10907         (getInputStreami, getJarEntry): Likewise.
10908         * java/net/SocketPErmission.java
10909         (SocketPermission class docu, implies): Likewise.
10910         * java/net/URLClassLoader.java (findResources): Likewise.
10911         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
10913 2002-09-13  Michael Koch  <konqueror@gmx.de>
10915         * java/nio/channels/DatagramChannel.java,
10916         java/nio/channels/ServerSocketChannel.java
10917         java/nio/channels/SocketChannel.java:
10918         New dummy files to make java.net fully JDK 1.4 compatible
10919         * Makefile.am (ordinary_java_source_files): Added
10920         java/net/DatagramSocketImplFactory.java (long forgotten),
10921         java/nio/SocketChannel.java,
10922         java/nio/ServerSocketChannel.java,
10923         java/nio/DatagramChannel.java
10924         * Makefile.in: Regenrated.
10926 2002-09-12  Michael Koch  <konqueror@gmx.de>
10928         * java/net/DatagramSocketImpl.java
10929         (peekData): New method.
10930         * java/net/PlainDatagramSocketImpl.java
10931         (peekData): New method.
10932         * java/net/natPlainDatagramSocketImpl.cc
10933         (peekData): New method.
10934         * java/net/URLConnection
10935         (getPermission): New method.
10936         (addRequestProperty): New method.
10937         (getRequestProperties): New method.
10938         (guessContentTypeFromStream): New method, not really implemented.
10939         (URLConnection): Added/updated documentation.
10940         (connect): Added/updated documentation.
10941         (getURL): Added/updated documentation.
10942         (getContentLength): Added/updated documentation.
10943         (getContentType: Added/updated documentation.
10944         (getContentEncoding): Added/updated documentation.
10945         (getExpiration): Added/updated documentation.
10946         (getDate): Added/updated documentation.
10947         (getLastModified): Added/updated documentation.
10948         (getHeaderField): Added/updated documentation.
10949         (getHeaderFields): Added/updated documentation.
10950         (getHeaderFieldInt): Added/updated documentation.
10951         (getHeaderFieldDate): Added/updated documentation.
10952         (getHeaderFieldKey): Added/updated documentation.
10953         (getContent): Added/updated documentation.
10954         (getInputStream): Added/updated documentation.
10955         (getOutputStream): Added/updated documentation.
10956         (toString): Added/updated documentation.
10957         (setDoInput): Added/updated documentation.
10958         (getDoInput): Added/updated documentation.
10959         (setDoOutput): Added/updated documentation.
10960         (getDoOutput): Added/updated documentation.
10961         (setAllowUserInteraction): Added/updated documentation.
10962         (getAllowUserInteraction): Added/updated documentation.
10963         (setDefaultAllowUserInteraction): Added/updated documentation.
10964         (getDefaultAllowUserInteraction): Added/updated documentation.
10965         (setUseCaches): Added/updated documentation.
10966         (getUseCaches): Added/updated documentation.
10967         (setIfModifiedSince): Added/updated documentation.
10968         (getIfModifiedSince): Added/updated documentation.
10969         (getDefaultUseCaches): Added/updated documentation.
10970         (setDefaultUseCaches): Added/updated documentation.
10971         (setRequestProperty): Added/updated documentation.
10972         (getRequestProperty): Added/updated documentation.
10973         (setDefaultRequestProperty): Added/updated documentation.
10974         (getDefaultRequestProperty): Added/updated documentation.
10975         (setContentHandlerFactory): Added/updated documentation.
10976         (guessContentTypeFromName): Added/updated documentation.
10977         (getFileNameMap): Added/updated documentation.
10978         (setFileNameMap): Added/updated documentation.
10980 2002-09-11  Michael Koch  <konqueror@gmx.de>
10982         * java/net/Socket.java
10983         (Socket): protected to public (since JDK 1.4). Added @specnote.
10984         (bind): New method.
10985         (connect): Two new methods.
10986         (getKeepalive): Get correct socket option.
10987         (setKeepalive): Set correct socket option.
10988         (getOOBInline): New method.
10989         (setOOBInline): New method.
10990         * java/net/ServerSocket.java
10991         (bind): Two new methods.
10992         (getInetAddress): Reimplemented, catch exception.
10993         (getLocalSocketAddress): New method.
10994         (setReuseAddress): New method.
10995         (getReuseAdress): New method.
10996         (setReceiveBufferSize): New method.
10997         (getReceiveBufferSize): New method.
10998         (toString): Made string JDK 1.4 compliant.
11000 2002-09-10  Michael Koch  <konqueror@gmx.de>
11002         * java/net/SocketImpl.java
11003         (connect): New method.
11004         (supportsUrgentData): New method.
11005         (sendUrgentData): New method.
11006         * java/net/PlainSocketImpl.java
11007         (connect): One new method and two new implementation.
11008         (sendUrgentData): New method.
11009         * java/natPlainSocketImpl.cc
11010         (connect): Arguments changed, added support for timeouts.
11011         (getOption): Another __java_boolean to jboolean.
11013 2002-09-07  Adam Megacz <adam@xwt.org>
11015         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
11016         definition of IP_TOS.
11018 2002-09-04  Michael Koch  <konqueror@gmx.de>
11020         * java/net/DatagramSocket.java
11021         (DatagramSocket): Added documentation.
11022         (close): Likewise.
11023         (getLocalAddress): Likewise.
11024         (getLocalPort): Likewise.
11025         (receive): Likewise.
11026         (send): Likewise.
11027         (setSoTimeout): Likewise.
11028         (connect): New method.
11029         (disconnect): New method.
11030         (getInetAddress): New method (FIXME)
11031         (getPort): New method.
11032         (setReuseAddress): New method.
11033         (getReuseAddress): New method.
11034         (setBroadcast): New method.
11035         (getBroadcast): New method.
11036         (setTrafficClass): New method.
11037         (getTrafficClass): New method.
11038         * java/net/MulticastSocket.java):
11039         (getTTL): Added @see in documentation.
11040         (setTTL): Added @see in documentation.
11041         (setLoopbackMode): New method.
11042         (getLoopbackMode): New method.
11043         * java/net/PlainSocketImpl.java:
11044         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
11045         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
11046         * java/net/PlainDatagramSocketImpl.java
11047         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
11048         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
11049         * java/net/natPlainSocketImpl.cc
11050         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
11051         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
11052         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
11053         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
11054         This should also fix SO_KEEPALIVE
11055         * java/net/natPlainDatagramSocketImpl.cc
11056         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
11057         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
11058         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
11059         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
11061 2002-09-04  Michael Koch  <konqueror@gmx.de>
11063         * java/net/SocketOptions.java: added static variables to be JDK 1.4
11064         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
11065         IP_MULTICAST_LOOP, IP_TOS
11067 2002-09-03  Tom Tromey  <tromey@redhat.com>
11069         * java/lang/Class.h (_getDeclaredMethod): Declare.
11070         (_getMethod): Now private.
11071         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
11072         getDeclaredMethod.  Now returns NULL on failure.
11073         * java/lang/Class.java (_getDeclaredMethod): Declare.
11074         (getDeclaredMethod): No longer native; implements access checks.
11076 2002-09-01  Mark Wielaard  <mark@klomp.org>
11078         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
11079         (sanitizeStack): Correctly reset unknown and interpreter counters,
11080         detect interpreter runtime frames.
11081         (demangleInterpreterMethod): New method.
11082         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
11083         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
11084         filling in addrs[].
11086 2002-09-02  Michael Koch  <konqueror@gmx.de>
11088         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
11089         re-indented documentation.
11091 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
11093         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
11094         public, per 1.4 spec.  Fixes PR libgcj/7785.
11096 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
11098         * Makefile.in: Rebuilt.
11099         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
11101 2002-08-29  Tom Tromey  <tromey@redhat.com>
11103         * java/net/JarURLConnection.java (getCertificates): New method
11104         from Classpath.
11105         * java/net/URLClassLoader.java (URLClassLoader): Extends
11106         SecureClassLoader.
11107         (definePackage): New method from Classpath.
11108         (getPermissions): Likewise.
11109         (newInstance): Likewise.
11110         (findClass): Construct CodeSource for new class (from Classpath).
11111         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
11112         methods.
11113         * java/net/URL.java (getUserInfo): New method.
11114         (set(String,String,int,String,String,String,String,String)): New
11115         method.
11116         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
11117         (shutdownInput, shutdownOutput): Declare.
11118         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
11119         Define.
11120         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
11121         (getOption): Likewise.
11122         (shutdownInput): New method.
11123         (shutdownOutput): Likewise.
11124         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
11125         keepalive.
11126         (getOption): Likewise.
11127         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
11128         * java/net/Socket.java (setKeepAlive): New method.
11129         (getKeepAlive): Likewise.
11130         (shutdownInput, shutdownOutput): New methods.
11132 2002-08-29  Michael Koch  <konqueror@gmx.de>
11134         * java/net/DatagramPacket.java: updated to JDK 1.4 API
11135         new methods are:
11136         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
11137           address),
11138         DatagramPacket(byte[] buf, int length, SocketAddress address),
11139         void setSocketAddress(SocketAddress address)
11140         public SocketAddress getSocketAddress()
11142 2002-08-29  Tom Tromey  <tromey@redhat.com>
11144         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
11145         ftruncate is missing.
11146         * configure, include/config.h.in: Rebuilt.
11147         * acconfig.h (HAVE_FTRUNCATE): Mention.
11148         * configure.in: Check for ftruncate.
11150 2002-08-29  Tom Tromey  <tromey@redhat.com>
11152         * include/jvm.h (struct _Jv_frame_info): New structure.
11153         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
11154         java-interp.h.
11155         (lookupInterp): New method.
11156         (getAddrAsString): Use _Jv_frame_info.
11157         (dladdrLookup): Likewise.
11158         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
11159         interpreted frame.
11160         (lookupInterp): Declare.
11161         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
11162         (fillInStackTrace): Collect information on interpreted frames.
11163         Use _Jv_frame_info.
11164         * interpret.cc: Include Thread.h.
11165         (run): Create and push _Jv_MethodChain object.
11166         (_Jv_EndOfInterpreter): New global.
11167         * java/lang/Thread.java (interp_frame): New field.
11168         * include/java-interp.h (struct _Jv_MethodChain): New structure.
11169         Include NameFinder.h.
11171 2002-08-28  Tom Tromey  <tromey@redhat.com>
11173         * java/lang/Class.h: Include Package.h.
11174         (Class::getProtectionDomain): Declare.
11175         (Class::getPackage): Declare.
11177 2002-08-28  Michael Koch <konqueror@gmx.de>
11179         * java/net/InetSocketAddress.java: Added some documentation and argument
11180         checks for the port numbers.
11181         * java/net/DatagramSocketImplFactory.java: New file.
11183 2002-08-28  Michael Koch <konqueror@gmx.de>
11185         * java/net/Authenticator.java: added some documentation.
11187 2002-08-27  Tom Tromey  <tromey@redhat.com>
11189         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
11190         class.
11191         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
11193 2002-08-27  Michael Koch <konqueror@gmx.de>
11195         * java/net/BindException.java,
11196         java/net/JarURLConnection.java,
11197         java/net/FileNameMap.java,
11198         java/net/HttpURLConnection.java,
11199         java/net/InetSocketAddress.java,
11200         java/net/DatagramPacket.java,
11201         java/net/DatagramSocket.java,
11202         java/net/DatagramSocketImpl.java,
11203         java/net/MulticastSocket.java,
11204         java/net/PasswordAuthentication.java,
11205         java/net/ServerSocket.java,
11206         java/net/Socket.java,
11207         java/net/URLClassLoader.java,
11208         java/net/URLConnection.java: add/update of some @since/@deprecated
11210 2002-08-27  Tony Kimball <alk@pobox.com>
11211             Tom Tromey  <tromey@redhat.com>
11213         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
11214         define.
11215         (::close): Removed.
11216         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
11217         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
11218         (::close): Removed.
11219         (PlainSocketImpl::close): Use NATIVE_CLOSE.
11220         * include/win32.h (getcwd): Removed declaration.  Include io.h.
11222 2002-08-25  Adam Megacz <adam@xwt.org>
11224         * include/win32.h (getcwd): copied function declaration as
11225         temporary fix for header confusion.
11227 2002-08-24  Mark Wielaard <mark@klomp.org>
11229         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
11230         (core_java_source_files): Add VMThrowable.java and NameFinder.java
11231         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
11232         and natNameFinder.cc.
11233         * Makefile.in: Regenerate.
11234         * prims.cc: Use trace_enabled from VMThrowable.
11235         * name-finder.cc: Removed.
11236         * gcj/javaprims.h: Add class VMThrowable.
11237         * gnu/gcj/runtime/NameFinder.java: New file.
11238         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
11239         * include/name-finder.h: Removed.
11240         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
11241         method stackTraceString().
11242         (printStackTrace (PrintWriter)): Likewise.
11243         (stackTraceString): Complete rewrite of old printStackTrace using
11244         StringBuffer.
11245         (stackTraceStringBuffer): New helper method for stackTraceString().
11246         (fillInStackTrace): Delegate to VMTrowable.
11247         (getStackTrace): Likewise.
11248         (getStackTrace0): Removed.
11249         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
11250         (setStackTrace): Copy given array.
11251         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
11252         * java/lang/VMThrowable.java: New class.
11253         * java/lang/natVMThrowable.cc: New file.
11255 2003-08-23  Michael Koch  <konqueror@gmx.de>
11257         * java/net/URLConnection.java,
11258         java/netJarURLConnection.java,
11259         gnu/gcj/protocol/core/Connection.java,
11260         gnu/gcj/protocol/file/Connection.java,
11261         gnu/gcj/protocol/http/Connection.java: Added implementation of
11262         getHeaderFields().
11264 2002-08-22  Tom Tromey  <tromey@redhat.com>
11266         * gij.cc (help): Document -cp and -classpath.
11267         (main): Handle -classpath.
11269 2002-08-21  Tom Tromey  <tromey@redhat.com>
11271         * Makefile.in: Rebuilt.
11272         * Makefile.am (ordinary_java_source_files): Added
11273         SocketAddress.java, InetSocketAddress.java.
11274         * java/net/PortUnreachableException.java: Merged with Classpath.
11275         * java/net/SocketTimeoutException.java: Likewise.
11276         * java/net/URISyntaxException.java: Likewise.
11277         * java/net/SocketAddress.java: New class from Classpath.
11278         * java/net/InetSocketAddress.java: Likewise.
11280 2003-08-21  Michael Koch  <konqueror@gmx.de>
11282         * java/net/Authenticator.java: updated JDK 1.4
11283         * java/net/ContentHandler.java: updated JDK 1.4
11285 2002-08-20  Michael Koch  <konqueror@gmx.de>
11287         * java/net/URISyntaxException.java: New file.
11288         * java/net/SocketTimeoutException.java: New file.
11289         * java/net/PortUnreachableException.java: New file.
11290         * Makefile.am: Updated.
11291         * Makefile.in: Rebuilt.
11293 2002-08-18  Mark Wielaard  <mark@klomp.org>
11295         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
11296         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
11297         MessageDigestSpi (fixes Classpath bug #783).
11299 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
11301         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
11302         (startProcess): Allocate path for chdir in async-signal-safe way.
11304 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
11306         Fix for PR libgcj/7570 and PR libgcj/7578:
11307         * java/lang/natPosixProcess.cc: Include java/io/File.h.
11308         (startProcess): Handle new `dir' argument.
11309         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
11310         argument.
11311         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
11312         argument.
11313         (startProcess): Likewise.
11314         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
11315         argument.
11316         * java/lang/Runtime.java (execInternal): Added `dir' argument.
11317         (exec): Don't create new environment if ENV==null.  Pass DIR to
11318         execInternal.
11319         * java/lang/natRuntime.cc: Include java/io/File.h.
11320         (execInternal): Added `dir' argument.
11322 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
11324         * java/io/RandomAccessFile.java (skipBytes): Return number of
11325         bytes skipped.
11327 2002-08-01  Mark Wielaard  <mark@klomp.org>
11329         Reenable patch since shared library troubles on powerpc are solved:
11330         * gnu/java/security/provider/Gnu.java: Reference all implementation
11331         classes by using Class.getName().
11332         * gnu/java/security/der/DEREncodingException.java,
11333         gnu/java/security/provider/DERReader.java,
11334         gnu/java/security/provider/DERWriter.java,
11335         gnu/java/security/provider/DSAKeyPairGenerator.java,
11336         gnu/java/security/provider/DSAParameterGenerator.java,
11337         gnu/java/security/provider/DSAParameters.java,
11338         gnu/java/security/provider/DSASignature.java,
11339         gnu/java/security/provider/GnuDSAPrivateKey.java,
11340         gnu/java/security/provider/GnuDSAPublicKey.java,
11341         gnu/java/security/provider/MD5.java,
11342         gnu/java/security/util/Prime.java: New classes
11343         * Makefile.am (ordinary_java_source_files): Add above files.
11344         * Makefile.in: Regenerate.
11345         * gnu/java/security/provider/DefaultPolicy.java
11346         (getPermissions): Don't maintain static class variable of Permissions.
11347         * gnu/java/security/provider/SHA.java
11348         (engineUpdate): algorithm change.
11349         (engineDigest): algorithm change.
11351 2002-08-09  Mark Wielaard  <mark@klomp.org>
11353         * java/awt/image/MemoryImageSource.java: Change constructor to take
11354         int[] not byte[].
11355         * java/awt/Graphics2D.java: Uncomment methods that can now be
11356         compiled.
11357         * java/awt/GridBagLayout.java: New stub implementation.
11358         * javax/swing/text/html/HTML.java: Stub implementation.
11359         * javax/swing/text/html/parser/ParserDelegator.java: New stub
11360         implementation.
11362         * Makefile.am: Add new files.
11363         * Makefile.in: Rebuilt.
11365 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11367         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
11368         methods in Graphics2D.
11370 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11372         AWT/Swing merge from GNU Classpath.
11374         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
11375         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
11376         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
11377         java/awt/color/ProfileDataException.java,
11378         java/awt/CompositeContext.java, java/awt/Composite.java,
11379         java/awt/ContainerOrderFocusTraversalPolicy.java,
11380         java/awt/datatransfer/FlavorTable.java,
11381         java/awt/DefaultFocusTraversalPolicy.java,
11382         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
11383         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
11384         java/awt/dnd/DragGestureListener.java,
11385         java/awt/dnd/DragGestureRecognizer.java,
11386         java/awt/dnd/DragSourceAdapter.java,
11387         java/awt/dnd/DragSourceContext.java,
11388         java/awt/dnd/DragSourceDragEvent.java,
11389         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
11390         java/awt/dnd/DragSourceListener.java,
11391         java/awt/dnd/DragSourceMotionListener.java,
11392         java/awt/dnd/DropTarget.java,
11393         java/awt/dnd/InvalidDnDOperationException.java,
11394         java/awt/dnd/peer/DragSourceContextPeer.java,
11395         java/awt/event/AWTEventListenerProxy.java,
11396         java/awt/event/MouseWheelEvent.java,
11397         java/awt/event/MouseWheelListener.java,
11398         java/awt/event/WindowFocusListener.java,
11399         java/awt/event/WindowStateListener.java,
11400         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
11401         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
11402         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
11403         java/awt/geom/FlatteningPathIterator.java,
11404         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
11405         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
11406         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
11407         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
11408         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
11409         java/awt/image/ImagingOpException.java,
11410         java/awt/image/RasterFormatException.java,
11411         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
11412         java/awt/image/VolatileImage.java,
11413         java/awt/image/WritableRenderedImage.java,
11414         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
11415         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
11416         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
11417         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
11418         java/awt/PageAttributes.java, java/awt/print/Book.java,
11419         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
11420         java/awt/print/Paper.java, java/awt/print/Printable.java,
11421         java/awt/print/PrinterAbortException.java,
11422         java/awt/print/PrinterException.java,
11423         java/awt/print/PrinterGraphics.java,
11424         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
11425         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
11426         java/awt/Stroke.java, java/awt/TexturePaint.java,
11427         javax/accessibility/AccessibleAction.java,
11428         javax/accessibility/AccessibleBundle.java,
11429         javax/accessibility/AccessibleComponent.java,
11430         javax/accessibility/AccessibleContext.java,
11431         javax/accessibility/AccessibleEditableText.java,
11432         javax/accessibility/AccessibleExtendedComponent.java,
11433         javax/accessibility/AccessibleExtendedTable.java,
11434         javax/accessibility/AccessibleHyperlink.java,
11435         javax/accessibility/AccessibleHypertext.java,
11436         javax/accessibility/AccessibleIcon.java,
11437         javax/accessibility/Accessible.java,
11438         javax/accessibility/AccessibleKeyBinding.java,
11439         javax/accessibility/AccessibleRelation.java,
11440         javax/accessibility/AccessibleRelationSet.java,
11441         javax/accessibility/AccessibleResourceBundle.java,
11442         javax/accessibility/AccessibleRole.java,
11443         javax/accessibility/AccessibleSelection.java,
11444         javax/accessibility/AccessibleState.java,
11445         javax/accessibility/AccessibleStateSet.java,
11446         javax/accessibility/AccessibleTable.java,
11447         javax/accessibility/AccessibleTableModelChange.java,
11448         javax/accessibility/AccessibleText.java,
11449         javax/accessibility/AccessibleValue.java,
11450         javax/swing/AbstractAction.java,
11451         javax/swing/AbstractButton.java,
11452         javax/swing/AbstractCellEditor.java,
11453         javax/swing/AbstractListModel.java,
11454         javax/swing/AbstractSet.java, javax/swing/Action.java,
11455         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
11456         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
11457         javax/swing/border/CompoundBorder.java,
11458         javax/swing/border/EmptyBorder.java,
11459         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
11460         javax/swing/border/LineBorder.java,
11461         javax/swing/border/MatteBorder.java,
11462         javax/swing/border/TitledBorder.java,
11463         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
11464         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
11465         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
11466         javax/swing/CellRendererPane.java,
11467         javax/swing/colorchooser/AbstractColorChooserPanel.java,
11468         javax/swing/colorchooser/ColorChooserComponentFactory.java,
11469         javax/swing/colorchooser/ColorSelectionModel.java,
11470         javax/swing/colorchooser/DefaultColorSelectionModel.java,
11471         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
11472         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
11473         javax/swing/DefaultBoundedRangeModel.java,
11474         javax/swing/DefaultButtonModel.java,
11475         javax/swing/DefaultCellEditor.java,
11476         javax/swing/DefaultCellRenderer.java,
11477         javax/swing/DefaultComboBoxModel.java,
11478         javax/swing/DefaultDesktopManager.java,
11479         javax/swing/DefaultFocusManager.java,
11480         javax/swing/DefaultListCellRenderer.java,
11481         javax/swing/DefaultListModel.java,
11482         javax/swing/DefaultListSelectionModel.java,
11483         javax/swing/DefaultSingleSelectionModel.java,
11484         javax/swing/DesktopManager.java,
11485         javax/swing/event/AncestorEvent.java,
11486         javax/swing/event/AncestorListener.java,
11487         javax/swing/event/CaretEvent.java,
11488         javax/swing/event/CaretListener.java,
11489         javax/swing/event/CellEditorListener.java,
11490         javax/swing/event/ChangeEvent.java,
11491         javax/swing/event/ChangeListener.java,
11492         javax/swing/event/DocumentEvent.java,
11493         javax/swing/event/DocumentListener.java,
11494         javax/swing/event/EventListenerList.java,
11495         javax/swing/event/HyperlinkEvent.java,
11496         javax/swing/event/HyperlinkListener.java,
11497         javax/swing/event/InternalFrameAdapter.java,
11498         javax/swing/event/InternalFrameEvent.java,
11499         javax/swing/event/InternalFrameListener.java,
11500         javax/swing/event/ListDataEvent.java,
11501         javax/swing/event/ListDataListener.java,
11502         javax/swing/event/ListSelectionEvent.java,
11503         javax/swing/event/ListSelectionListener.java,
11504         javax/swing/event/MenuDragMouseEvent.java,
11505         javax/swing/event/MenuDragMouseListener.java,
11506         javax/swing/event/MenuEvent.java,
11507         javax/swing/event/MenuKeyEvent.java,
11508         javax/swing/event/MenuKeyListener.java,
11509         javax/swing/event/MenuListener.java,
11510         javax/swing/event/MouseInputAdapter.java,
11511         javax/swing/event/MouseInputListener.java,
11512         javax/swing/event/PopupMenuEvent.java,
11513         javax/swing/event/PopupMenuListener.java,
11514         javax/swing/event/SwingPropertyChangeSupport.java,
11515         javax/swing/event/TableColumnModelEvent.java,
11516         javax/swing/event/TableColumnModelListener.java,
11517         javax/swing/event/TableModelEvent.java,
11518         javax/swing/event/TableModelListener.java,
11519         javax/swing/event/TreeExpansionEvent.java,
11520         javax/swing/event/TreeExpansionListener.java,
11521         javax/swing/event/TreeModelEvent.java,
11522         javax/swing/event/TreeModelListener.java,
11523         javax/swing/event/TreeSelectionEvent.java,
11524         javax/swing/event/TreeSelectionListener.java,
11525         javax/swing/event/TreeWillExpandListener.java,
11526         javax/swing/event/UndoableEditEvent.java,
11527         javax/swing/event/UndoableEditListener.java,
11528         javax/swing/filechooser/FileFilter.java,
11529         javax/swing/filechooser/FileSystemView.java,
11530         javax/swing/filechooser/FileView.java,
11531         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
11532         javax/swing/Icon.java, javax/swing/ImageIcon.java,
11533         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
11534         javax/swing/JApplet.java, javax/swing/JButton.java,
11535         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
11536         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
11537         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
11538         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
11539         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
11540         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
11541         javax/swing/JLayeredPane.java, javax/swing/JList.java,
11542         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
11543         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
11544         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
11545         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
11546         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
11547         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
11548         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
11549         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
11550         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
11551         javax/swing/JTextField.java, javax/swing/JTextPane.java,
11552         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
11553         javax/swing/JToolTip.java, javax/swing/JTree.java,
11554         javax/swing/JViewport.java, javax/swing/JWindow.java,
11555         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
11556         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
11557         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
11558         javax/swing/MenuSelectionManager.java,
11559         javax/swing/MutableComboBoxModel.java,
11560         javax/swing/OverlayLayout.java,
11561         javax/swing/plaf/ActionMapUIResource.java,
11562         javax/swing/plaf/basic/BasicBorders.java,
11563         javax/swing/plaf/basic/BasicButtonUI.java,
11564         javax/swing/plaf/basic/BasicCheckBoxUI.java,
11565         javax/swing/plaf/basic/BasicDefaults.java,
11566         javax/swing/plaf/basic/BasicGraphicsUtils.java,
11567         javax/swing/plaf/basic/BasicIconFactory.java,
11568         javax/swing/plaf/basic/BasicLabelUI.java,
11569         javax/swing/plaf/basic/BasicListUI.java,
11570         javax/swing/plaf/basic/BasicLookAndFeel.java,
11571         javax/swing/plaf/basic/BasicOptionPaneUI.java,
11572         javax/swing/plaf/basic/BasicPanelUI.java,
11573         javax/swing/plaf/basic/BasicRadioButtonUI.java,
11574         javax/swing/plaf/basic/BasicScrollPaneUI.java,
11575         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
11576         javax/swing/plaf/basic/BasicTextUI.java,
11577         javax/swing/plaf/basic/BasicToggleButtonUI.java,
11578         javax/swing/plaf/basic/BasicTreeUI.java,
11579         javax/swing/plaf/basic/BasicViewportUI.java,
11580         javax/swing/plaf/BorderUIResource.java,
11581         javax/swing/plaf/ButtonUI.java,
11582         javax/swing/plaf/ColorChooserUI.java,
11583         javax/swing/plaf/ColorUIResource.java,
11584         javax/swing/plaf/ComboBoxUI.java,
11585         javax/swing/plaf/ComponentInputMapUIResource.java,
11586         javax/swing/plaf/ComponentUI.java,
11587         javax/swing/plaf/DesktopIconUI.java,
11588         javax/swing/plaf/DesktopPaneUI.java,
11589         javax/swing/plaf/DimensionUIResource.java,
11590         javax/swing/plaf/FileChooserUI.java,
11591         javax/swing/plaf/FontUIResource.java,
11592         javax/swing/plaf/IconUIResource.java,
11593         javax/swing/plaf/InputMapUIResource.java,
11594         javax/swing/plaf/InsetsUIResource.java,
11595         javax/swing/plaf/InternalFrameUI.java,
11596         javax/swing/plaf/LabelUI.java,
11597         javax/swing/plaf/ListUI.java,
11598         javax/swing/plaf/MenuBarUI.java,
11599         javax/swing/plaf/MenuItemUI.java,
11600         javax/swing/plaf/OptionPaneUI.java,
11601         javax/swing/plaf/PanelUI.java,
11602         javax/swing/plaf/PopupMenuUI.java,
11603         javax/swing/plaf/ProgressBarUI.java,
11604         javax/swing/plaf/RootPaneUI.java,
11605         javax/swing/plaf/ScrollBarUI.java,
11606         javax/swing/plaf/ScrollPaneUI.java,
11607         javax/swing/plaf/SeparatorUI.java,
11608         javax/swing/plaf/SliderUI.java,
11609         javax/swing/plaf/SplitPaneUI.java,
11610         javax/swing/plaf/TabbedPaneUI.java,
11611         javax/swing/plaf/TableHeaderUI.java,
11612         javax/swing/plaf/TableUI.java,
11613         javax/swing/plaf/TextUI.java,
11614         javax/swing/plaf/ToolBarUI.java,
11615         javax/swing/plaf/ToolTipUI.java,
11616         javax/swing/plaf/TreeUI.java,
11617         javax/swing/plaf/UIResource.java,
11618         javax/swing/plaf/ViewportUI.java,
11619         javax/swing/ProgressMonitorInputStream.java,
11620         javax/swing/ProgressMonitor.java,
11621         javax/swing/Renderer.java,
11622         javax/swing/RepaintManager.java,
11623         javax/swing/RootPaneContainer.java,
11624         javax/swing/Scrollable.java,
11625         javax/swing/ScrollPaneConstants.java,
11626         javax/swing/ScrollPaneLayout.java,
11627         javax/swing/SingleSelectionModel.java,
11628         javax/swing/SizeRequirements.java,
11629         javax/swing/SizeSequence.java,
11630         javax/swing/SwingConstants.java,
11631         javax/swing/SwingUtilities.java,
11632         javax/swing/table/AbstractTableModel.java,
11633         javax/swing/table/DefaultTableCellRenderer.java,
11634         javax/swing/table/DefaultTableColumnModel.java,
11635         javax/swing/table/DefaultTableModel.java,
11636         javax/swing/table/TableCellEditor.java,
11637         javax/swing/table/TableCellRenderer.java,
11638         javax/swing/table/TableColumn.java,
11639         javax/swing/table/TableColumnModel.java,
11640         javax/swing/table/TableModel.java,
11641         javax/swing/text/AbstractDocument.java,
11642         javax/swing/text/AttributeSet.java,
11643         javax/swing/text/BadLocationException.java,
11644         javax/swing/text/Caret.java,
11645         javax/swing/text/CharacterIterator.java,
11646         javax/swing/text/ComponentView.java,
11647         javax/swing/text/DefaultCaret.java,
11648         javax/swing/text/DefaultEditorKit.java,
11649         javax/swing/text/Document.java,
11650         javax/swing/text/EditorKit.java,
11651         javax/swing/text/Element.java,
11652         javax/swing/text/GapContent.java,
11653         javax/swing/text/JTextComponent.java,
11654         javax/swing/text/Keymap.java,
11655         javax/swing/text/MutableAttributeSet.java,
11656         javax/swing/text/PlainDocument.java,
11657         javax/swing/text/PlainEditorKit.java,
11658         javax/swing/text/Position.java,
11659         javax/swing/text/Segment.java,
11660         javax/swing/text/StyledDocument.java,
11661         javax/swing/text/StyledEditorKit.java,
11662         javax/swing/text/Style.java,
11663         javax/swing/text/TextAction.java,
11664         javax/swing/text/ViewFactory.java,
11665         javax/swing/text/View.java,
11666         javax/swing/Timer.java,
11667         javax/swing/ToggleButtonModel.java,
11668         javax/swing/ToolTipManager.java,
11669         javax/swing/tree/AbstractLayoutCache.java,
11670         javax/swing/tree/DefaultMutableTreeNode.java,
11671         javax/swing/tree/DefaultTreeCellEditor.java,
11672         javax/swing/tree/DefaultTreeCellRenderer.java,
11673         javax/swing/tree/DefaultTreeModel.java,
11674         javax/swing/tree/DefaultTreeSelectionModel.java,
11675         javax/swing/tree/ExpandVetoException.java,
11676         javax/swing/tree/FixedHeightLayoutCache.java,
11677         javax/swing/tree/MutableTreeNode.java,
11678         javax/swing/tree/RowMapper.java,
11679         javax/swing/tree/TreeCellEditor.java,
11680         javax/swing/tree/TreeCellRenderer.java,
11681         javax/swing/tree/TreeModel.java,
11682         javax/swing/tree/TreeNode.java,
11683         javax/swing/tree/TreePath.java,
11684         javax/swing/tree/TreeSelectionModel.java,
11685         javax/swing/tree/VariableHeightLayoutCache.java,
11686         javax/swing/UIDefaults.java,
11687         javax/swing/UIManager.java,
11688         javax/swing/undo/AbstractUndoableEdit.java,
11689         javax/swing/undo/CannotRedoException.java,
11690         javax/swing/undo/CannotUndoException.java,
11691         javax/swing/undo/CompoundEdit.java,
11692         javax/swing/undo/StateEditable.java,
11693         javax/swing/undo/StateEdit.java,
11694         javax/swing/undo/UndoableEdit.java,
11695         javax/swing/undo/UndoableEditSupport.java,
11696         javax/swing/undo/UndoManager.java,
11697         javax/swing/UnsupportedLookAndFeelException.java,
11698         javax/swing/ViewportLayout.java,
11699         javax/swing/WindowConstants.java: New files, from GNU Classpath.
11701         * java/awt/ActiveEvent.java,
11702         java/awt/Adjustable.java, java/awt/AWTError.java,
11703         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
11704         java/awt/AWTException.java, java/awt/AWTPermission.java,
11705         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
11706         java/awt/Color.java, java/awt/Component.java,
11707         java/awt/ComponentOrientation.java, java/awt/Container.java,
11708         java/awt/datatransfer/MimeTypeParseException.java,
11709         java/awt/datatransfer/Transferable.java,
11710         java/awt/datatransfer/UnsupportedFlavorException.java,
11711         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
11712         java/awt/event/ActionListener.java,
11713         java/awt/event/AdjustmentEvent.java,
11714         java/awt/event/AdjustmentListener.java,
11715         java/awt/event/AWTEventListener.java,
11716         java/awt/event/ComponentAdapter.java,
11717         java/awt/event/ComponentEvent.java,
11718         java/awt/event/ComponentListener.java,
11719         java/awt/event/ContainerAdapter.java,
11720         java/awt/event/ContainerEvent.java,
11721         java/awt/event/ContainerListener.java,
11722         java/awt/event/FocusAdapter.java,
11723         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
11724         java/awt/event/HierarchyBoundsAdapter.java,
11725         java/awt/event/HierarchyBoundsListener.java,
11726         java/awt/event/HierarchyEvent.java,
11727         java/awt/event/HierarchyListener.java,
11728         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
11729         java/awt/event/InputMethodListener.java,
11730         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
11731         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
11732         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
11733         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
11734         java/awt/event/MouseListener.java,
11735         java/awt/event/MouseMotionAdapter.java,
11736         java/awt/event/MouseMotionListener.java,
11737         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
11738         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
11739         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
11740         java/awt/event/WindowListener.java, java/awt/Font.java,
11741         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
11742         java/awt/geom/Ellipse2D.java,
11743         java/awt/geom/IllegalPathStateException.java,
11744         java/awt/geom/Line2D.java,
11745         java/awt/geom/NoninvertibleTransformException.java,
11746         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
11747         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
11748         java/awt/geom/RoundRectangle2D.java,
11749         java/awt/GraphicsConfiguration.java,
11750         java/awt/IllegalComponentStateException.java,
11751         java/awt/image/IndexColorModel.java,
11752         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
11753         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
11754         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
11755         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
11756         java/awt/MenuItem.java, java/awt/PaintContext.java,
11757         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
11758         java/awt/Polygon.java, java/awt/PrintGraphics.java,
11759         java/awt/PrintJob.java, java/awt/Rectangle.java,
11760         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
11761         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
11762         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
11764         * java/awt/im/spi/InputMethod.java,
11765         java/awt/im/spi/InputMethodContext.java,
11766         java/awt/im/spi/InputMethodDescriptor.java,
11767         java/awt/image/renderable/ContextualRenderedImageFactory.java,
11768         java/awt/image/renderable/ParameterBlock.java,
11769         java/awt/image/renderable/RenderContext.java,
11770         java/awt/image/renderable/RenderableImage.java,
11771         java/awt/image/renderable/RenderableImageOp.java,
11772         java/awt/image/renderable/RenderableImageProducer.java,
11773         java/awt/image/renderable/RenderedImageFactory.java: New files from
11774         classpath.
11776         * gnu/java/awt/EventModifier.java,
11777         gnu/java/awt/image/ImageDecoder.java,
11778         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
11780         * gnu/awt/xlib/XGraphicsConfiguration.java,
11781         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
11782         API.
11784         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
11785         GNU Classpath.
11787         * Makefile.am: Add new files.
11788         * Makefile.in: Rebuilt.
11790 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11792         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
11793         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
11794         findResource, getResources, findResources): Add javadoc from classpath.
11795         (getSystemResources): Implemented.
11797 2002-08-01  Mark Wielaard  <mark@klomp.org>
11799         Revert patch that breaks libgcj shared library on powerpc:
11800         * gnu/java/security/provider/Gnu.java: Reverse referencing all
11801         implementation classes by using Class.getName(). Uses Strings again.
11802         * gnu/java/security/der/DEREncodingException.java,
11803         gnu/java/security/provider/DERReader.java,
11804         gnu/java/security/provider/DERWriter.java,
11805         gnu/java/security/provider/DSAKeyPairGenerator.java,
11806         gnu/java/security/provider/DSAParameterGenerator.java,
11807         gnu/java/security/provider/DSAParameters.java,
11808         gnu/java/security/provider/DSASignature.java,
11809         gnu/java/security/provider/GnuDSAPrivateKey.java,
11810         gnu/java/security/provider/GnuDSAPublicKey.java,
11811         gnu/java/security/provider/MD5.java,
11812         gnu/java/security/util/Prime.java: Removed.
11813         * Makefile.am (ordinary_java_source_files): Remove above files.
11814         * Makefile.in: Regenerate.
11815         * gnu/java/security/provider/DefaultPolicy.java
11816         (getPermissions): Revert to maintaining static class variable of
11817         Permissions.
11818         * gnu/java/security/provider/SHA.java
11819         (engineUpdate): Revert algorithm change.
11820         (engineDigest): Revert algorithm change.
11822 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
11824         * configure.host: Add SH support.
11825         * sysdep/sh/locks.h: New file.
11827 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
11829         * java/awt/Frame.java (Frame): Remove println calls.
11831 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
11833         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
11834         * configure: Rebuilt.
11836 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
11838         * sysdep/powerpc/locks.h: Formatting.
11839         (_LARX): Define.
11840         (_STCX): Define.
11841         (compare_and_swap): Use _LARX and _STCX.
11842         (compare_and_swap_release): Likewise.
11844 2002-07-26  Tom Tromey  <tromey@redhat.com>
11846         * java/net/Authenticator.java: New version from Classpath.
11847         * java/net/DatagramSocketImpl.java: New version from Classpath.
11849 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
11851         * configure.host: Add powerpc64*-* entry.
11853 2002-07-26  Tom Tromey  <tromey@redhat.com>
11855         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
11856         fcntl.h.
11858 2002-07-24  Tom Tromey  <tromey@redhat.com>
11860         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
11861         argument to _load.
11863 2002-07-24  Tom Tromey  <tromey@redhat.com>
11864             Tony Kimball <alk@pobox.com>
11866         * java/io/natFileDescriptorWin32.cc (setLength): New method.
11867         * java/io/natFileDescriptorPosix.cc (setLength): New method.
11868         * java/io/RandomAccessFile.java (setLength): New method.
11869         * java/io/natFileDescriptorEcos.cc (setLength): New method.
11870         * java/io/FileDescriptor.java (setLength): New method.
11872 2002-07-24  Mark Wielaard  <mark@klomp.org>
11874         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
11875         * java/io/ObjectInputStream.java (setBooleanField): Before setting
11876         field call setAccessible(true).
11877         (setByteField): Likewise.
11878         (setCharField): Likewise.
11879         (setDoubleField): Likewise.
11880         (setFloatField): Likewise.
11881         (setIntField): Likewise.
11882         (setLongField): Likewise.
11883         (setShortField): Likewise.
11884         (setObjectField): Likewise.
11886 2002-07-24  Tom Tromey  <tromey@redhat.com>
11888         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
11889         use toString() to format array element.
11891 2002-07-23  Mark Wielaard  <mark@klomp.org>
11893         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
11894         MessageDigestSpi (fixes Classpath bug #783).
11896 2002-07-21  Mark Wielaard  <mark@klomp.org>
11898         * gnu/java/security/provider/Gnu.java: Reference all implementation
11899         classes by using Class.getName().
11901 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
11903         * java/lang/ieeefp.h: Add x86-64 support.
11904         * configure.in: Likewise.
11905         * configure.host: Likewise.
11906         * configure: Regenerated.
11907         * sysdep/x86-64/locks.h: New file with x86-64 locks.
11909 2002-07-16  Mark Wielaard  <mark@klomp.org>
11911         * java/io/StreamTokenizer.java (pushBack): Update documentation.
11912         (whitespaceChars): call resetChar().
11914 2002-07-15  Tom Tromey  <tromey@redhat.com>
11916         * Makefile.in: Rebuilt.
11917         * Makefile.am (awt_java_source_files): Added new files.
11918         * java/beans/ExceptionListener.java: Merged with Classpath.
11919         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
11920         * java/beans/PropertyChangeListener.java: Merged with Classpath.
11921         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
11922         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
11923         * java/beans/VetoableChangeListener.java: Merged with Classpath.
11924         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
11925         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
11927 2002-07-14  Mark Wielaard  <mark@klomp.org>
11929         * gnu/java/security/der/DEREncodingException.java,
11930         gnu/java/security/provider/DERReader.java,
11931         gnu/java/security/provider/DERWriter.java,
11932         gnu/java/security/provider/DSAKeyPairGenerator.java,
11933         gnu/java/security/provider/DSAParameterGenerator.java,
11934         gnu/java/security/provider/DSAParameters.java,
11935         gnu/java/security/provider/DSASignature.java,
11936         gnu/java/security/provider/GnuDSAPrivateKey.java,
11937         gnu/java/security/provider/GnuDSAPublicKey.java,
11938         gnu/java/security/provider/MD5.java,
11939         gnu/java/security/util/Prime.java: New files from Classpath.
11940         * Makefile.am (ordinary_java_source_files): Add new files.
11941         * Makefile.in: Regenerate.
11943 2002-07-14  C. Brian Jones <cbj@gnu.org>
11945         * gnu/java/security/provider/DefaultPolicy.java
11946         (getPermissions): do not maintain static class variable of
11947         Permissions
11948         * gnu/java/security/provider/SHA.java
11949         (engineUpdate): algorithm change
11950         (engineDigest): algorithm change
11952 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
11954         For PR libgcj/7292:
11955         * java/lang/Character.java (toString(char)): Now static.
11957 2002-07-12  Mark Wielaard  <mark@klomp.org>
11959         * java/lang/natThrowable.cc (printRawStackTrace): removed.
11960         (getStackTrace0): new method.
11961         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
11962         (printStackTrace(PrintWriter)): replace with pure java implementation.
11963         (printRawStackTrace): removed.
11964         (getStackTrace0): new method.
11965         * java/lang/StackTraceElement.java (toString): add extra whitespace.
11966         * gcj/javaprims.h: regenerate class list.
11967         * include/name-finder.h (lookup): new returns StackTraceElement*.
11968         (method_name, file_name): fields removed.
11969         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
11970         (~_Jv_name_finder): close new descriptors.
11971         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
11972         (createStackTraceElement): new method.
11973         (lookup): returns StackTraceElement*, uses createStackTraceElement().
11975 2002-07-10  Tom Tromey  <tromey@redhat.com>
11977         * configure: Rebuilt.
11978         * configure.in: Use `test' after `&&'.  From Chris Faylor.
11980 2002-07-08  Mark Wielaard  <mark@klomp.org>
11982         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
11983         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
11984         java.sql.DatabaseMetaData.TestJdbc20
11986 2002-07-05  Tony Kimball  <alk@pobox.com>
11988         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
11990 2002-07-04  Tom Tromey  <tromey@redhat.com>
11991             Jeff Sturm  <jsturm@one-point.com>
11993         Fix for PR libgcj/7060:
11994         * java/lang/Class.h (_getMethod): Renamed from getMethod.
11995         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
11996         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
11997         * java/lang/Class.java (getMethod): New Java implementation;
11998         complies with spec.
11999         (_getMethod): New native method.
12001 2002-07-02  Tom Tromey  <tromey@redhat.com>
12002             David Hovemeyer  <daveho@cs.umd.edu>
12004         * java/text/ChoiceFormat.java
12005         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
12006         in check loop.
12007         * java/text/MessageFormat.java
12008         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
12009         to MessageFormat.
12011 2002-07-01  Tom Tromey  <tromey@redhat.com>
12013         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
12014         StringTokenizer on null string.  For PR libgcj/7180.
12015         From daveho@cs.umd.edu.
12017 2002-06-24  Tom Tromey  <tromey@redhat.com>
12019         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
12020         (IntegerClass): Likewise.
12021         * java/lang/natClass.cc (CloneableClass): Removed.
12022         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
12023         ConstructorClass): Likewise.
12024         * java/lang/natClassLoader.cc (CloneableClass): Removed.
12025         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
12026         SerializableClass): Likewise.
12027         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
12028         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
12029         LongClass, FloatClass, DoubleClass): Likewise.
12031         * verify.cc (branch_prepass): Updated for change to exception
12032         handler type.
12033         (verify_instructions_0): Likewise.
12034         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
12035         (handleExceptionTableEntry): Updated for change to exception
12036         handler type.
12037         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
12038         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
12039         (union _Jv_InterpPC): New.
12040         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
12041         (class _Jv_InterpMethod): Added new `prepared' field.
12042         (class _Jv_InterpMethod): Added `compile' method.  Removed
12043         `continue1' and `find_exception'.  Changed arguments to `run'.
12044         * interpret.cc (union insn_slot): New.
12045         (find_exception): Removed.
12046         (run_normal): Removed most logic.
12047         (run_synch_object): Likewise; also, use JvSynchronize.
12048         (run_synch_class): Likewise.
12049         (run): Removed.
12050         (continue1): Renamed as `run'.  Compile bytecode if required.
12051         Add new code to allow refinement of direct-threaded code at
12052         runtime.  Handle exceptions.
12053         (SAVE_PC): Removed.
12054         (compile): New method.
12055         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
12056         (NULLARRAYCHECK): Don't use SAVE_PC.
12057         (pc_t): New typedef.
12058         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
12059         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
12061 2002-06-23  Tom Tromey  <tromey@redhat.com>
12063         * configure: Rebuilt.
12064         * configure.in (INTERPRETER): New subst.
12065         (AM_RUNTESTFLAGS): Don't subst.
12067         * Makefile.in: Rebuilt.
12068         * Makefile.am ($(srcdir)/java/lang/Object.h,
12069         $(srcdir)/java/lang/Class.h): Added dummy targets.
12071 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12073         Reformat JDBC classes and add new JDK 1.4 classes and methods.
12075         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
12076         java/sql/Savepoint.java: New files.
12077         * java/sql/Array.java, java/sql/BatchUpdateException.java,
12078         java/sql/Blob.java, java/sql/CallableStatement.java,
12079         java/sql/Clob.java, java/sql/Connection.java,
12080         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
12081         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
12082         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
12083         java/sql/Ref.java, java/sql/ResultSet.java,
12084         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
12085         java/sql/SQLException.java, java/sql/SQLInput.java,
12086         java/sql/SQLOutput.java, java/sql/SQLWarning.java
12087         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
12088         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
12089         (JDK 1.4) specification.
12090         * javax/sql/ConnectionEvent.java,
12091         javax/sql/ConnectionEventListener.java,
12092         javax/sql/ConnectionPoolDataSource.java,
12093         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
12094         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
12095         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
12096         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
12097         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
12098         javax/sql/XADataSource.java: New files.
12099         * Makefile.am: Add new files.
12100         * Makefile.in: Rebuilt.
12102 2002-06-20  Tom Tromey  <tromey@redhat.com>
12104         For PR libgcj/7073:
12105         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
12106         exists.
12107         * defineclass.cc (handleClassBegin): Superclass for interface is
12108         `null'.
12110 2002-06-18  Tom Tromey  <tromey@redhat.com>
12112         * gcj/javaprims.h: Updated class declaration list.
12113         * Makefile.in: Rebuilt.
12114         * Makefile.am (core_java_source_files): Removed
12115         BasicMapEntry.java.
12116         * java/util/BasicMapEntry.java: Removed.
12118 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
12120         * java/net/natPlainDatagramSocketImpl.cc (receive):
12121         Check bounds of argument to FD_SET.
12122         (setOption): Throw exception if socket is closed.
12124         * java/net/natPlainSocketImpl.cc (accept, read):
12125         Check bounds of argument to FD_SET.
12126         (setOption): Throw exception if socket is closed.
12128 2002-06-18  Tom Tromey  <tromey@redhat.com>
12130         * gcj/javaprims.h: Updated class declaration list.
12131         * Makefile.in: Rebuilt.
12132         * Makefile.am (core_java_source_files): Added
12133         PropertyPermissionCollection.java.
12134         * java/lang/Thread.java (group, name): Now package-private.
12135         * java/lang/ThreadGroup.java: Re-merge with Classpath.
12136         * java/util/AbstractList.java: Likewise.
12137         * java/util/AbstractMap.java: Likewise.
12138         * java/util/Calendar.java: Likewise.
12139         * java/util/Collections.java: Likewise.
12140         * java/util/HashMap.java: Likewise.
12141         * java/util/Hashtable.java: Likewise.
12142         * java/util/LinkedHashMap.java: Likewise.
12143         * java/util/LinkedList.java: Likewise.
12144         * java/util/List.java: Likewise.
12145         * java/util/ListResourceBundle.java: Likewise.
12146         * java/util/Map.java: Likewise.
12147         * java/util/Observable.java: Likewise.
12148         * java/util/Properties.java: Likewise.
12149         * java/util/PropertyPermission.java: Likewise.
12150         * java/util/PropertyPermissionCollection.java: Likewise.
12151         * java/util/PropertyResourceBundle.java: Likewise.
12152         * java/util/Random.java: Likewise.
12153         * java/util/SimpleTimeZone.java: Likewise.
12154         * java/util/StringTokenizer.java: Likewise.
12155         * java/util/TimerTask.java: Likewise.
12156         * java/util/TreeMap.java: Likewise.
12157         * java/util/WeakHashMap.java: Likewise.
12158         * java/util/jar/Attributes.java: Likewise.
12159         * java/util/jar/JarException.java: Likewise.
12160         * java/util/jar/Manifest.java: Likewise.
12162 2002-06-17  Tom Tromey  <tromey@redhat.com>
12164         * gcj/javaprims.h: Updated class declaration list.
12165         * Makefile.in: Rebuilt.
12166         * Makefile.am (core_java_source_files): Added new file.
12167         * java/util/EventListenerProxy.java: New file.
12168         * java/util/EventListener.java: Re-merge with Classpath.
12169         * java/util/EventObject.java: Re-merge with Classpath.
12171 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
12173         * java/lang/ClassNotFoundException.java: New Classpath version.
12175 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
12177         * java/rmi/activation/ActivateFailedException.java: Remerge from
12178         Classpath version.
12179         * java/rmi/activation/ActivationException.java: Ditto.
12180         * java/rmi/activation/UnknownGroupException.java: Ditto.
12181         * java/rmi/activation/UnknownObjectException.java: Ditto.
12182         * java/rmi/server/ExportException: Ditto.
12183         * java/rmi/server/ServerCloneException: Ditto.
12184         * java/rmi/server/ServerNotActiveException: Ditto.
12185         * java/rmi/server/SkeletonMismatchException: Ditto.
12186         * java/rmi/server/SkeletonNotFoundException: Ditto.
12187         * java/rmi/server/SocketSecurityException: Ditto.
12189 2002-06-16  Tom Tromey  <tromey@redhat.com>
12191         * gcj/javaprims.h: Updated class declaration list.
12193         * java/io/LineNumberInputStream.java: Merged with Classpath.
12195         * java/lang/RuntimeException.java: Re-merge with Classpath.
12196         * java/util/ArrayList.java: Likewise.
12197         * java/util/Arrays.java: Likewise.
12198         * java/util/BitSet.java: Likewise.
12199         * java/util/Dictionary.java: Likewise.
12200         * java/util/IdentityHashMap.java: Likewise.
12201         * java/util/MissingResourceException.java: Likewise.
12202         * java/util/Observer.java: Likewise.
12203         * java/util/TooManyListenersException.java: Likewise.
12204         * java/util/zip/DataFormatException.java: Likewise.
12205         * java/util/zip/ZipException.java: Likewise.
12207 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
12209         * java/rmi/AccessException.java: Remerge from Classpath.
12210         * java/rmi/AlreadyBoundException.java: Ditto.
12211         * java/rmi/ConnectException.java: Ditto.
12212         * java/rmi/ConnectIOException.java: Ditto.
12213         * java/rmi/MarshalException.java: Ditto.
12214         * java/rmi/NoSuchObjectException.java: Ditto.
12215         * java/rmi/NotBoundException.java: Ditto.
12216         * java/rmi/RemoteException.java: Ditto.
12217         * java/rmi/RMISecurityException.java: Ditto.
12218         * java/rmi/ServerError.java: Ditto.
12219         * java/rmi/ServerException.java: Ditto.
12220         * java/rmi/ServerRuntimeException.java: Ditto.
12221         * java/rmi/StubNotFoundException.java: Ditto.
12222         * java/rmi/UnexpectedExcpetion.java: Ditto.
12223         * java/rmi/UnknownHostException.java: Ditto.
12224         * java/rmi/UnmarshalException.java: Ditto.
12226 2002-06-15  Tom Tromey  <tromey@redhat.com>
12228         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
12229         * java/lang/ArithmeticException.java: Likewise.
12230         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
12231         * java/lang/ArrayStoreException.java: Likewise.
12232         * java/lang/Byte.java: Likewise.
12233         * java/lang/CharSequence.java: Likewise.
12234         * java/lang/ClassCastException.java: Likewise.
12235         * java/lang/ClassCircularityError.java: Likewise.
12236         * java/lang/ClassFormatError.java: Likewise.
12237         * java/lang/CloneNotSupportedException.java: Likewise.
12238         * java/lang/Cloneable.java: Likewise.
12239         * java/lang/Comparable.java: Likewise.
12240         * java/lang/Compiler.java: Likewise.
12241         * java/lang/Error.java: Likewise.
12242         * java/lang/ExceptionInInitializerError.java: Likewise.
12243         * java/lang/IllegalAccessError.java: Likewise.
12244         * java/lang/IllegalAccessException.java: Likewise.
12245         * java/lang/IllegalArgumentException.java: Likewise.
12246         * java/lang/IllegalMonitorStateException.java: Likewise.
12247         * java/lang/IllegalStateException.java: Likewise.
12248         * java/lang/IllegalThreadStateException.java: Likewise.
12249         * java/lang/IncompatibleClassChangeError.java: Likewise.
12250         * java/lang/IndexOutOfBoundsException.java: Likewise.
12251         * java/lang/InheritableThreadLocal.java: Likewise.
12252         * java/lang/InstantiationError.java: Likewise.
12253         * java/lang/InstantiationException.java: Likewise.
12254         * java/lang/InternalError.java: Likewise.
12255         * java/lang/InterruptedException.java: Likewise.
12256         * java/lang/LinkageError.java: Likewise.
12257         * java/lang/NegativeArraySizeException.java: Likewise.
12258         * java/lang/NoClassDefFoundError.java: Likewise.
12259         * java/lang/NoSuchFieldError.java: Likewise.
12260         * java/lang/NoSuchFieldException.java: Likewise.
12261         * java/lang/NoSuchMethodError.java: Likewise.
12262         * java/lang/NoSuchMethodException.java: Likewise.
12263         * java/lang/NullPointerException.java: Likewise.
12264         * java/lang/NumberFormatException.java: Likewise.
12265         * java/lang/OutOfMemoryError.java: Likewise.
12266         * java/lang/Process.java: Likewise.
12267         * java/lang/Runnable.java: Likewise.
12268         * java/lang/RuntimePermission.java: Likewise.
12269         * java/lang/SecurityException.java: Likewise.
12270         * java/lang/Short.java: Likewise.
12271         * java/lang/StackOverflowError.java: Likewise.
12272         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
12273         * java/lang/ThreadDeath.java: Likewise.
12274         * java/lang/ThreadLocal.java: Likewise.
12275         * java/lang/UnknownError.java: Likewise.
12276         * java/lang/UnsatisfiedLinkError.java: Likewise.
12277         * java/lang/UnsupportedClassVersionError.java: Likewise.
12278         * java/lang/UnsupportedOperationException.java: Likewise.
12279         * java/lang/VerifyError.java: Likewise.
12280         * java/lang/VirtualMachineError.java: Likewise.
12281         * java/lang/reflect/InvocationTargetException.java: Likewise.
12282         * java/net/BindException.java: Likewise.
12283         * java/net/ConnectException.java: Likewise.
12284         * java/net/MalformedURLException.java: Likewise.
12285         * java/net/NoRouteToHostException.java: Likewise.
12286         * java/net/ProtocolException.java: Likewise.
12287         * java/net/SocketException.java: Likewise.
12288         * java/net/UnknownHostException.java: Likewise.
12289         * java/net/UnknownServiceException.java: Likewise.
12291         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
12292         * java/io/CharConversionException.java: Likewise.
12293         * java/io/EOFException.java: Likewise.
12294         * java/io/FileNotFoundException.java: Likewise.
12295         * java/io/IOException.java: Likewise.
12296         * java/io/InterruptedIOException.java: Likewise.
12297         * java/io/InvalidClassException.java: Likewise.
12298         * java/io/InvalidObjectException.java: Likewise.
12299         * java/io/NotActiveException.java: Likewise.
12300         * java/io/NotSerializableException.java: Likewise.
12301         * java/io/ObjectStreamException.java: Likewise.
12302         * java/io/ObjectStreamConstants.java: Likewise.
12303         * java/io/OptionalDataException.java: Likewise.
12304         * java/io/PipedInputStream.java: Likewise.
12305         * java/io/PushbackInputStream.java: Likewise.
12306         * java/io/StreamCorruptedException.java: Likewise.
12307         * java/io/SyncFailedException.java: Likewise.
12308         * java/io/UTFDataFormatException.java: Likewise.
12309         * java/io/UnsupportedEncodingException.java: Likewise.
12310         * java/io/WriteAbortedException.java: Likewise.
12312 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
12314         * java/text/ChoiceFormat.java: Update comments from Classpath.
12315         * java/text/ParseException.java (serialVersionUID): New
12316         field from Classpath.
12317         * java/text/ParseException.java: Update formatting & comments
12318         from Classpath.
12320 2002-06-15  Tom Tromey  <tromey@redhat.com>
12322         * java/util/zip/InflaterInputStream.java (read): Loop if data has
12323         been read but none output by inflater.
12324         * java/util/zip/natDeflater.cc (reset): Set is_finished.
12325         * java/util/zip/natInflater.cc (reset): Set dist_needed and
12326         is_finished.
12327         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
12328         version.
12329         * java/util/zip/ZipFile.java: Replaced with Classpath version.
12330         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
12331         * java/util/zip/ZipInputStream.java: Replaced with Classpath
12332         version.
12333         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
12335 2002-06-13  Tom Tromey  <tromey@redhat.com>
12337         * java/lang/natString.cc (init): Handle case where DONT_COPY is
12338         true and OFFSET!=0.
12339         * java/lang/String.java (String(char[],int,int,boolean): New
12340         constructor.
12341         * java/lang/Long.java: Imported new version from Classpath.
12342         * java/lang/Number.java: Likewise.
12343         * java/lang/Integer.java: Likewise.
12344         * java/lang/Long.java: Likewise.
12345         * java/lang/Float.java: Likewise.
12346         * java/lang/Boolean.java: Likewise.
12347         * java/lang/Double.java: Likewise.
12348         * java/lang/Void.java: Likewise.
12350 2002-06-12  Tom Tromey  <tromey@redhat.com>
12352         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
12353         Fixes PR libgcj/6652.
12355 2002-06-10  Tom Tromey  <tromey@redhat.com>
12357         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
12358         (Class::getPackagePortion): Likewise.
12359         * java/lang/Class.java (desiredAssertionStatus): New method from
12360         Classpath.
12361         (getPackagePortion): Likewise.
12362         * java/lang/VMClassLoader.java (defaultAssertionStatus,
12363         packageAssertionStatus, classAssertionStatus): New methods from
12364         Classpath.
12365         * java/lang/ClassLoader.java (defaultAssertionStatus,
12366         systemPackageAssertionStatus, packageAssertionStatus,
12367         systemClassAssertionStatus, classAssertionStatus): New fields from
12368         Classpath.
12369         (setDefaultAssertionStatus, setPackageAssertionStatus,
12370         setClassAssertionStatus, clearAssertionStatus): New methods from
12371         Classpath.
12372         * Makefile.in: Rebuilt.
12373         * Makefile.am (core_java_source_files): Added AssertionError.java.
12374         * java/lang/AssertionError.java: New from Classpath.
12376 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12378         * configure.host: Disable hash synchronization and slow_pthread_self
12379         for cygwin.
12381 2002-06-06  Adam Megacz <adam@xwt.org>
12383         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
12384         locking, just like the Sun JVM does.
12386 2002-06-05  H.J. Lu  (hjl@gnu.org)
12388         * Makefile.am (libgcj_convenience.la): Revert the last change.
12389         (libgcj.la): Likewise.
12390         * Makefile.in: Regenerated.
12392 2002-06-04  H.J. Lu  (hjl@gnu.org)
12394         * Makefile.am (libgcj_convenience.la): New target.
12395         (libgcj.la): Depend on libgcj_convenience.la.
12396         * Makefile.in: Regenerated.
12398 2002-06-04  H.J. Lu  (hjl@gnu.org)
12400         * configure.in (--with-newlib): New option:
12401         Check ${with_newlib} instead of ${with_cross_host} for newlib.
12402         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
12403         Linux.
12404         * configure: Regenerated.
12406 2002-06-04  Tom Tromey  <tromey@redhat.com>
12408         * java/util/natTimeZone.cc: Include <stdio.h>.
12410 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
12412         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
12413         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
12414         Set SIGNAL_HANDLER=include/s390-linux.h.
12415         * configure: Regenerate.
12416         * include/s390-linux.h: New file.
12418 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12420         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
12421         not "stackTrace".
12423 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12425         Merge JDK 1.4 java.security changes from classpath.
12427         * java/security/AccessControlException.java: Merge from Classpath.
12428         * java/security/AccessController.java: Likewise.
12429         * java/security/AllPermission.java: Likewise.
12430         * java/security/BasicPermission.java: Likewise.
12431         * java/security/Certificate.java: Likewise.
12432         * java/security/CodeSource.java: Likewise.
12433         * java/security/DigestException.java: Likewise.
12434         * java/security/DigestOutputStream.java: Likewise.
12435         * java/security/DomainCombiner.java: Likewise.
12436         * java/security/GeneralSecurityException.java: Likewise.
12437         * java/security/Guard.java: Likewise.
12438         * java/security/GuardedObject.java: Likewise.
12439         * java/security/InvalidAlgorithmParameterException.java: Likewise.
12440         * java/security/InvalidKeyException.java: Likewise.
12441         * java/security/InvalidParameterException.java: Likewise.
12442         * java/security/Key.java: Likewise.
12443         * java/security/KeyException.java: Likewise.
12444         * java/security/KeyManagementException.java: Likewise.
12445         * java/security/KeyStoreException.java: Likewise.
12446         * java/security/MessageDigest.java: Likewise.
12447         * java/security/NoSuchAlgorithmException.java: Likewise.
12448         * java/security/NoSuchProviderException.java: Likewise.
12449         * java/security/Permission.java: Likewise.
12450         * java/security/PermissionCollection.java: Likewise.
12451         * java/security/Permissions.java: Likewise.
12452         * java/security/Policy.java: Likewise.
12453         * java/security/Principal.java: Likewise.
12454         * java/security/PrivateKey.java: Likewise.
12455         * java/security/PrivilegedAction.java: Likewise.
12456         * java/security/PrivilegedActionException.java: Likewise.
12457         * java/security/PrivilegedExceptionAction.java: Likewise.
12458         * java/security/ProtectionDomain.java: Likewise.
12459         * java/security/ProviderException.java: Likewise.
12460         * java/security/PublicKey.java: Likewise.
12461         * java/security/SecureClassLoader.java: Likewise.
12462         * java/security/SecurityPermission.java: Likewise.
12463         * java/security/SignatureException.java: Likewise.
12464         * java/security/UnrecoverableKeyException.java: Likewise.
12465         * java/security/UnresolvedPermission.java: Likewise.
12466         * java/security/acl/AclNotFoundException.java: Likewise.
12467         * java/security/acl/LastOwnerException.java: Likewise.
12468         * java/security/acl/NotOwnerException.java: Likewise.
12469         * java/security/cert/CRLException.java: Likewise.
12470         * java/security/cert/CertificateEncodingException.java: Likewise.
12471         * java/security/cert/CertificateException.java: Likewise.
12472         * java/security/cert/CertificateExpiredException.java: Likewise.
12473         * java/security/cert/CertificateFactory.java: Likewise.
12474         * java/security/cert/CertificateNotYetValidException.java: Likewise.
12475         * java/security/cert/CertificateParsingException.java: Likewise.
12476         * java/security/spec/InvalidKeySpecException.java: Likewise.
12477         * java/security/spec/InvalidParameterSpecException.java: Likewise.
12479         * java/security/cert/CertPath.java: New file.
12480         * java/security/cert/CertPathBuilderException.java: New file.
12481         * java/security/cert/CertPathValidatorException.java: New file.
12482         * java/security/cert/CertStoreException.java: New file.
12484         * Makefile.am: Add new CertPath classes.
12485         * Makefile.in: Rebuilt.
12487         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
12489 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12491         Merge JDK 1.4 exception chaining support from classpath.
12493         * java/lang/Throwable.java: Merge 1.4 support from classpath.
12494         (stackTraceBytes): Rename from stackTrace.
12495         * java/lang/Exception.java: Merge from classpath.
12496         * java/lang/StackTraceElement: New file from classpath.
12497         * gcj/javaprims.h: Rebuild CNI namespace declarations.
12498         * Makefile.am: Add StackTraceElement.
12499         * Makefile.in: Rebuilt.
12501 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12503         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
12504         they build first.
12505         * Makefile.in: Rebuilt.
12507 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
12509         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
12510         * configure.in: Likewise.
12511         * aclocal.m4: Regenerate.
12512         * configure: Regenerate.
12514 2002-05-13  Tom Tromey  <tromey@redhat.com>
12516         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
12517         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
12518         Include platform.h.
12520         Fixes PR libgcj/6389:
12521         * Makefile.in: Rebuilt.
12522         * Makefile.am (nat_source_files): Added natTimeZone.cc.
12523         * java/util/natTimeZone.cc: New file.
12524         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
12525         * java/lang/System.java: Merged with Classpath.
12526         * java/lang/Runtime.java: Merged with Classpath.
12527         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
12528         security check.
12529         (setIn0): Renamed from setIn; don't run security check.
12530         (setOut0): Renamed from setOut; don't run security check.
12531         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
12532         init_properties): Moved to natRuntime.cc.
12533         Moved many includes to natRuntime.cc.
12534         (isWordsBigEndian): New method.
12535         * java/lang/natRuntime.cc: Include Long.h, also other includes
12536         previously in natSystem.cc.
12537         (maxMemory): New function.
12538         (exitInternal): Renamed from `_exit'.
12539         (exit): Removed.
12540         (init): Don't set finalize_on_exit.
12541         (exitInternal): Use `finalizeOnExit'.
12542         (file_encoding, getpwuid_adaptor): New functions from
12543         natSystem.cc.
12544         (insertSystemProperties): New method, renamed from
12545         System::init_properties.  Don't set user.timezone.
12546         (_load): Don't call checkLink.
12547         (execInternal): New method.
12548         (availableProcessors): Likewise.
12549         (nativeGetLibname): Likewise.
12551 2002-05-11  Mark Wielaard  <mark@klomp.org>
12553         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
12554         space characters.
12555         (previous_internal): Likewise.
12557 2002-05-09  Tom Tromey  <tromey@redhat.com>
12559         * jni.cc (_Jv_JNIFunctions): Fixed typo.
12561         * java/util/ResourceBundle.java: New version from Classpath.
12562         * java/util/Locale.java: Likewise.
12564 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
12566         * testsuite/lib/libjava.exp (libjava_arguments): Append all
12567         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
12568         LD_LIBRARY_PATH.
12570 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
12572         * libjava/Makefile.am (all_java_source_files): New variable.
12573         (all_java_class_files): Likewise.
12574         .java.class: New rule.
12575         (CLEANFILES): Remove tmp-list.
12576         * libjava/Makefile.in: Regenerated.
12578 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
12580         * testsuite/lib/libjava.exp (test_libjava_from_javac):
12581         Append .exe to executable names.  Fix for cygwin.
12583 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
12585         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
12586         script entry, and set LD to it when configuring multilibs.
12587         * configure: Rebuilt.
12589 2002-05-07  Tom Tromey  <tromey@redhat.com>
12591         * java/lang/natString.cc (unintern): Fixed typo.
12593 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
12595         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
12596         with -no-install on *-*-cygwin*.
12598 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
12600         * testsuite/lib/libjava.exp (test_libjava_from_source):
12601         Add comment explaining last patch
12603 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
12605         * testsuite/lib/libjava.exp (test_libjava_from_source):
12606         Append .exe to executable names.  If no suffix is present,
12607         then ".exe" is added by default on win32.  Harmless
12608         elsewhere so always do it.
12610 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
12611             Tom Tromey  <tromey@redhat.com>
12613         * java/lang/natSystem.cc (getSystemTimeZone): Use
12614         HAVE_UNDERSCORE_TIMEZONE.
12615         * include/config.h.in: Rebuilt.
12616         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
12617         * aclocal.m4, configure: Rebuilt.
12618         * acinclude.m4: Run AC_EXEEXT.
12619         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
12620         Add test for `_timezone'.
12622 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
12624         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12625         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
12626         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
12627         * Makefile.in: Rebuilt.
12629 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
12631         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
12632         use sigaction instead of __libc_sigaction.
12634 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
12636         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
12637         (libjava_init): Use it to find libgcj.spec.
12638         (libjava_arguments): Likewise.
12640 2002-05-02  David S. Miller  <davem@redhat.com>
12642         PR bootstrap/6525
12643         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
12644         __libc_sigaction on Sparc.
12646 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
12648         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
12649         sys/filio.h, if present.
12651 2002-04-30  Tom Tromey  <tromey@redhat.com>
12653         * java/io/BufferedReader.java (fill): Handle case where markPos
12654         point to ignored \n.  Fixes PR libgcj/6301.
12656 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
12658         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
12660 2002-04-29  Adam King <aking@dreammechanics.com>
12662         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
12663         of file in APPEND mode.
12665 2002-04-25  David S. Miller  <davem@redhat.com>
12667         PR target/6422
12668         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
12669         program counter to next program counter minus 8.  Update
12670         comments in this macro to explain why.
12672 2002-04-26  Tom Tromey  <tromey@redhat.com>
12674         * verify.cc (construct_primitive_array_type) [void_type]: New
12675         case.
12676         (branch_prepass): Added dummy entries for unused instruction
12677         values.
12678         (verify_instructions_0): Likewise.
12679         * interpret.cc (continue1): Comment fix.
12680         * include/java-insns.h (op_xxxunusedxxx1): Removed.
12681         * Makefile.in: Rebuilt.
12682         * Makefile.am: Added -Wswitch-enum.
12684 2002-04-24  Tom Tromey  <tromey@redhat.com>
12686         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
12687         correct length of UTF-8 encoded name.  Strip leading `/'.
12688         (_Jv_RegisterResource): Use _Jv_Malloc.
12690 2002-04-23  Adam Megacz <adam@xwt.org>
12692         * win32.cc, include/win32.cc (backtrace): Added this function
12693         because Win32 does not supply it.
12695 2002-04-21  David S. Miller  <davem@redhat.com>
12697         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
12698         magic instruction reading sequence.
12700 2002-04-21  Mark Wielaard  <mark@klomp.org>
12702         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
12704 2002-04-19  David S. Miller  <davem@redhat.com>
12706         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
12707         arg.
12708         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
12709         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
12710         on Sparc too.
12711         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
12712         for 64-bit sparc.
12713         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
12714         * sysdeps/sparc/locks.h: New file.
12715         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
12716         on all sparc Solaris configurations.  Set to
12717         include/dwarf2-signal.h on sparc Linux.
12718         * configure: Regenerate
12719         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
12721 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
12723         * configure: Rebuilt.
12724         * configure.in (backtrace): Function doesn't work on IA-64.
12726 2002-04-17  Adam King <aking@dreammechanics.com>
12728         * java/io/File.java (normalizePath): Add Win32 support for auto
12729         conversion of a '/' path separator to Win32's '\' separator.
12731 2002-04-16  Tom Tromey  <tromey@redhat.com>
12733         Fix for PR libgcj/6081:
12734         * Makefile.in: Rebuilt.
12735         * Makefile.am (install-data-local): Use GNU make trick to avoid
12736         shell limit.
12738 2002-04-16  Adam King <aking@dreammechanics.com>
12739             Tom Tromey  <tromey@redhat.com>
12741         * java/io/natFileWin32.cc (performList): Return the correct array
12742         type.  Don't duplicate the creation of a File since it's already
12743         done earlier in the method and the existing code would cause a
12744         ArrayStoreException.  Don't use fixed-size array.
12745         (_access, _stat, attr, getCanonicalPath, performMkdir,
12746         performRenameTo): Don't use fixed-size array.
12747         (getCanonicalPath): Use throw, not _Jv_Throw.
12749 2002-04-15  DJ Delorie  <dj@redhat.com>
12751         * configure.in: Allow building in $srcdir.
12752         * configure: Regenerated.
12754 2002-04-14  Mark Wielaard <mark@klomp.org>
12756         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
12757         * java/net/natSocketImpl.cc (close): Likewise.
12759 2002-04-14  Mark Wielaard <mark@klomp.org>
12761         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
12763 2002-04-13  Adam King <aking@dreammechanics.com>
12765         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
12766         the f/F/d/D modifiers.
12768 2002-04-12  Anthony Green  <green@redhat.com>
12770         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
12771         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
12772         * Makefile.in: Rebuilt.
12773         * configure.in: Substitute gcc_version.
12774         * configure: Rebuilt.
12776 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12778         * configure.host: Set can_unwind_signal on hosts which support it.
12779         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
12780         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
12781         exceptions and can_unwind_signal isn't set.
12782         * configure: Rebuilt.
12784 2002-04-11  Tom Tromey  <tromey@redhat.com>
12786         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
12788 2002-04-11  Adam King <aking@dreammechanics.com>
12789             Tom Tromey  <tromey@redhat.com>
12791         * include/jvm.h (_Jv_ThrowBadArrayIndex,
12792         _Jv_ThrowNullPointerException): Mark as noreturn.
12793         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
12794         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
12795         fixes.
12797 2002-04-10  Tom Tromey  <tromey@redhat.com>
12799         * Makefile.in: Rebuilt.
12800         * Makefile.am (java/lang/Thread.h): Mark
12801         _Jv_AttachCurrentThreadAsDaemon as friend.
12802         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
12803         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
12804         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
12805         function.
12806         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
12807         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
12808         (_Jv_JNI_InvokeFunctions): Added
12809         _Jv_JNI_AttachCurrentThreadAsDaemon.
12810         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
12811         (JNI_GetDefaultJavaVMInitArgs): Likewise.
12812         (JNI_CreateJavaVM): Likewise.
12813         (_Jv_JNI_AttachCurrentThread): Likewise.
12814         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
12815         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
12816         (_Jv_JNIFunctions): Initialize new fields.
12817         (_Jv_JNI_NewDirectByteBuffer): New function.
12818         (_Jv_JNI_GetDirectBufferAddress): Likewise.
12819         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
12820         * include/jni.h (JNI_VERSION_1_4): New macro.
12821         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
12822         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
12823         (JNINativeInterface::NewDirectByteBuffer): New field.
12824         (JNINativeInterface::GetDirectBufferAddress): New field.
12825         (JNINativeInterface::GetDirectBufferCapacity): New field.
12826         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
12827         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
12828         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
12830 2002-04-09  Tom Tromey  <tromey@redhat.com>
12832         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
12834 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
12836         Fix for PR libgcj/6187:
12837         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
12838         distance.
12840 2002-04-07  Mark Wielaard <mark@klomp.org>
12842         * java/util/AbstractMap.java (putAll): Use entrySet size.
12843         (toString): Explicitly use getKey() and getValue().
12845 2002-04-07  Mark Wielaard <mark@klomp.org>
12847         * java/util/Hashtable.java (contains): Remove NullPointer check.
12848         (containsValue): Add NullPointer check.
12849         (remove): Always throw NullPointerException when key
12850         is null.
12852 2002-04-07  Adam King <aking@dreammechanics.com>
12854         * java/lang/natSystem.cc (init_properties): Call new function
12855         _Jv_platform_initProperties.
12856         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
12857         support for the System properties os.name, os.arch, os.version,
12858         user.name, user.home, and user.dir.
12859         * include/posix.h, include/win32.h, posix.cc: New function
12860         _Jv_platform_initProperties.
12862 2002-04-06  Mark Wielaard <mark@klomp.org>
12864         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
12866 2002-04-06  Mark Wielaard <mark@klomp.org>
12868         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
12869         all of the remaining elements.
12870         * java/util/Vector.java (addAll(int,Collection)): Likewise.
12871         (removeRange): If toIndex == fromIndex do
12872         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
12873         (removeAll): Always throw NullPointerException when collection is
12874         null.
12875         (retrainAll): Likewise.
12877 2002-04-05  Mark Wielaard <mark@klomp.org>
12879         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
12880         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
12882 2002-04-05  Adam Megacz <adam@xwt.org>
12884         * exception.cc (abort): added static modifier
12886 2002-04-04  Adam Megacz <adam@xwt.org>
12888         * include/win32.h (_Jv_platform_close_on_exec): added inline
12889         modifier.
12891 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
12893         * configure.host: Add case statement to support generic port
12894         properties.  Add *-*-freebsd* section.
12896 2002-04-04  Mark Wielaard  <mark@klomp.org>
12898         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
12899         test.
12900         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
12901         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
12902         that depend on awt code and BufferedByteOutputStream.interrupt.
12904 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12906         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
12907         incorrect "hi" value when count > 40.
12909 2002-04-03  Mark Wielaard  <mark@klomp.org>
12911         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
12912         ordering.
12914 2002-04-02  Tom Tromey  <tromey@redhat.com>
12916         * java/lang/natClassLoader.cc (findClass): Compare against `3',
12917         not `0'.
12919 2002-04-02  Mark Wielaard  <mark@klomp.org>
12921         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
12922         list of testsuite crashers.
12924 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
12926         * java/util/IdentityHashMap.java (put): Set new threshold correctly
12927         when resizing table.
12929 2002-04-01  Mark Wielaard  <mark@klomp.org>
12931         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
12932         NegativeArraySizeException
12933         (clear(int)): Use sign extended shift.
12934         (flip(int)): Likewise.
12935         (get(int)): Likewise.
12936         (nextClearBit(int)): Likewise.
12937         (nextSetBit(int)): Likewise.
12938         (set(int)): Likewise.
12940 2002-04-01  Mark Wielaard  <mark@klomp.org>
12942         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
12943         that can be compiled now and add testsuite crashers to ignore list.
12945 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
12947         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
12949         * libgcj.spec.in: Override libgcc, not lib.
12950         * libgcj-test.spec.in: Likewise.
12952 2002-03-29  Tom Tromey  <tromey@redhat.com>
12954         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
12955         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
12957 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
12959         * java/net/PlainDatagramSocketImpl.java
12960         (close): Use native implementation.
12961         (finalize): New method.
12963         * java/net/PlainSocketImpl.java (finalize): New method.
12965         * java/net/natPlainDatagramSocketImpl.cc
12966         (java/io/FileDescriptor.h): Don't include.
12967         (close): Implement method here.
12968         (create): Don't assign fd.
12970         * java/net/natPlainSocketImpl.cc
12971         (java/io/FileDescriptor.h): Don't include.
12972         (create): Don't assign fd.
12973         (accept): Likewise.
12974         (close): Synchronize.
12976 2002-03-27  Richard Henderson  <rth@redhat.com>
12978         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
12980 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
12982         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
12983         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
12984         instead of syscall on IA-64.
12985         Add FIXME comment.
12987 2002-03-27  Anthony Green  <green@redhat.com>
12989         * libgcj.spec.in: Add CHECKREFSPEC.
12990         * configure.in: Ditto.
12991         * configure.host: Ditto.  Check references for xscale-elf.
12992         * configure: Rebuilt.
12994 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
12996         * include/dwarf2-signal.h: Temporarily back out last change.
12998 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
13000         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
13002 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
13004         * configure.in, configure: enable dwarf2-exception-style
13005         exception handling on IA-64.
13006         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
13007         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
13008         Add FIXME comment.
13010 2002-03-25  Tom Tromey  <tromey@redhat.com>
13012         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
13013         (jv_convert_LDFLAGS): Likewise.
13014         (gij_LDFLAGS): Likewise.
13015         (rmic_LDFLAGS): Likewise.
13016         (rmiregistry_LDFLAGS): Likewise.
13017         * configure.in (THREADLDFLAGS): New subst; set correctly for
13018         *BSD.
13020 2002-03-25  Tom Tromey  <tromey@redhat.com>
13022         For PR libgcj/5303:
13023         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
13024         and --version.
13025         (help): New method.
13026         (version): Likewise.
13027         * gnu/gcj/convert/Convert.java (version): Removed extraneous
13028         "GNU".
13029         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
13030         "GNU".
13032 2002-03-25  Tom Tromey  <tromey@redhat.com>
13034         * java/awt/Component.java (processEvent): Check ComponentEvent
13035         after KeyEvent.
13037 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13039         * java/io/PushbackReader.java: Reformat.
13041         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
13042         calculate correct number of bytes skipped.
13044         Based on patch from Intel's ORP team:
13045         * java/io/PushbackInputStream.java (available): Calculate correct
13046         number of bytes in buffer.
13047         (read): Remove redundant bound check. Return bytes from both the
13048         buffer and the stream.
13050 2002-03-24  Tom Tromey  <tromey@redhat.com>
13052         * java/awt/TextComponent.java (TextComponent): Editable by
13053         default.
13055         * java/awt/MenuItem.java (eventMask): No longer private.
13056         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
13057         superclass if we didn't handle event.
13058         * java/awt/Checkbox.java (dispatchEventImpl): New method.
13059         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
13060         * java/awt/Choice.java (dispatchEventImpl): New method.
13061         * java/awt/List.java (dispatchEventImpl): New method.
13062         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
13063         * java/awt/TextComponent.java (dispatchEventImpl): New method.
13064         * java/awt/TextField.java (dispatchEventImpl): New method.
13066 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
13068         * java/beans/IntrospectionException.java: Update to 1.4.
13069         * java/beans/PropertyVetoException.java: Ditto.
13071 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
13073         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
13074         Arrays.equals instead of ArrayHelper.equalsArray.
13076 2002-03-24  C. Brian Jones <cbj@gnu.org>
13078         * java/beans/Introspector.java: added new static final fields
13079         introduced in 1.2, lots of other updates remain to be done
13081 2002-03-24  C. Brian Jones <cbj@gnu.org>
13083         * java/beans/Introspector.java: reformatting
13085 2002-03-24  C. Brian Jones <cbj@gnu.org>
13087         * java/beans/Introspector.java: default beanInfoSearchPath will
13088         not include sun.beans.infos given we provide no such package and
13089         the API doesn't really require it; gnu.java.beans.info is the
13090         default.
13092 2002-03-24  Mark Wielaard  <mark@klomp.org>
13094         Thanks to Orp developers
13095         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
13096         switch TRUE and FALSE return values.
13098 2002-03-23  Tom Tromey  <tromey@redhat.com>
13100         * include/name-finder.h (_Jv_name_finder::myclose): New method.
13101         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
13103 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
13105         * java/util/GregorianCalendar.java (minimums, maximums): Correct
13106         MONTH entry.  Fixes PR libgcj/6045.
13108 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
13110         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
13112 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13114         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
13115         not release_set.
13116         * sysdep/powerpc/locks.h (write_barrier): New function.
13117         * sysdep/i386/locks.h (write_barrier): New function.
13119 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
13121         * include/jni.h Use correct C comments.
13123 2002-03-18  Tom Tromey  <tromey@redhat.com>
13125         * include/jni.h (JNIIMPORT): New macro.
13126         (JNIEXPORT): Likewise.
13127         (JNICALL): Likewise.
13129 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
13131         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
13132         systems.
13134 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
13136         * include/i386-signal.h (old_i386_kernel_sigaction): New.
13137         INIT_SEGV: Use old_i386_kernel_sigaction.
13138         INIT_FP: Likewise.
13140 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13142         * java/lang/natSystem.cc (init_properties): Update VM version
13143         properties.
13144         * configure.in: Set GCJVERSION.
13145         * acconfig.h: Add GCJVERSION.
13146         * configure: Rebuilt.
13147         * include/config.h.in: Rebuilt.
13149 2002-03-17  Anthony Green  <green@redhat.com>
13151         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
13153 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13155         Build a single libgcj.so, without separate gc and zlib libraries.
13156         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
13157         SYS_ZLIBS if system zlib is used.
13158         * configure: Rebuilt.
13159         * Makefile.am: Use boehm-gc and zlib convenience libraries.
13160         * Makefile.in: Rebuilt.
13161         * libtool-version: Increment .so version number.
13163         * Makefile.am: Escape quotes in echo.
13164         * Makefile.in: Rebuilt.
13166 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13168         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
13169         * Makefile.in: Rebuilt.
13171 2002-03-15  Anthony Green  <green@redhat.com>
13173         * configure.host (FILE): New macro for specifing File
13174         implementation.
13175         * configure: Rebuilt.
13176         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
13178 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
13180         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
13181         already implicitly brought in from libgcj.la.
13182         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
13183         * Makefile.in: Rebuilt.
13185 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
13187         * THANKS: Fix punctuation, alphabetization.
13189 2002-03-15  Tom Tromey  <tromey@redhat.com>
13190             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13192         Fix for PR libgcj/5944.
13193         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
13195 2002-03-15  Anthony Green  <green@redhat.com>
13197         * configure.in (tool_include_dir): Define.
13198         * configure: Rebuilt.
13199         * gcj/Makefile.am: Install libgcj-config.h relative to
13200         tool_include_dir.
13201         * gcj/Makefile: Rebuilt.
13202         * gcj/libgcj-config.h: Add warning comment.
13204 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
13206         * configure.host (powerpc*-darwin*): Enable interpreter.
13208 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13210         * include/posix.h: Add multiple include header protection.
13211         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
13213 2002-03-10  Adam Megacz <adam@xwt.org>
13215         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
13217 2002-03-10  Tom Tromey  <tromey@redhat.com>
13219         * java/awt/GridLayout.java (layoutContainer): Handle case where
13220         there are no items in container.
13222         * java/lang/Win32Process.java: Added comment.
13223         * include/posix.h (_Jv_platform_close_on_exec): New function.
13224         Include fcntl.h.
13225         * include/win32.h (_Jv_platform_close_on_exec): New function.
13226         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
13227         flag.
13228         (accept): Likewise.
13229         * java/net/natPlainDatagramSocketImpl.cc (create): Set
13230         close-on-exec flag.
13231         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
13232         flag.
13234 2002-03-09  Tom Tromey  <tromey@redhat.com>
13236         * verify.cc (state::NO_STACK): New constant.
13237         (state::is_unmerged_ret_state): Handle case where stacktop is
13238         NO_STACK.
13239         (state::merge): Handle NO_STACK merges.
13240         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
13241         for instruction following jsr.
13242         (stacktop, stackdepth): Removed unused variables.
13243         (pop_jump): Ignore case where all remaining states are skipped.
13245 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13247         * java/awt/ImageMediaEntry: Removed.
13248         * java/awt/MediaEntry: Removed.
13250 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13252         Hashtable synchronization for PowerPC.
13253         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
13254         slow_pthread_self. Set up symlink for sysdeps directory.
13255         * configure: Rebuild.
13256         * configure.host: Document more shell variables. Set sysdeps_dir
13257         for most platforms. Set slow_pthread_self for i686. Set
13258         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
13259         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
13260         that memory barrier is emitted where required.
13261         * prims.cc: 64-bit align static primitive class instances.
13262         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
13263         read_barrier() to enforce ordering of reads.
13264         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
13265         primitives for PowerPC.
13266         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
13267         moved from natObject.cc.
13268         * sysdep/alpha/locks.h: Likewise.
13269         * sysdep/ia64/locks.h: Likewise.
13270         * sysdep/generic/locks.h: Likewise.
13271         * java/lang/natObject.cc: Move thread synchronization primitives to
13272         system-dependent headers.
13274 2002-03-09  Adam Megacz  <adam@xwt.org>
13276         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
13277         bytes read and no failure code returned.
13279 2002-03-09  Adam Megacz  <adam@xwt.org>
13281         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
13282         definitions to simulate -mthreads.
13284 2002-03-09  Adam Megacz  <adam@xwt.org>
13286         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
13287         avoid precision loss.
13289 2002-03-09  Per Bothner  <per@bothner.com>
13291         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
13292         * gnu/gcj/xlib/XImage.java:  Likewise.
13293         * gnu/gcj/xlib/XColor.java:  Likewise.
13295 2002-03-09  Adam Megacz  <adam@xwt.org>
13297         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
13298         IOException so that Throwable.printStackTrace fails correctly.
13300 2002-03-08  Adam Megacz  <adam@xwt.org>
13302         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
13303         fixed.
13305 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13307         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
13308         truncated to int.
13310 2002-03-08  Tom Tromey  <tromey@redhat.com>
13312         * include/jni.h: Include stdio.h.
13314 2002-03-08  Tom Tromey  <tromey@redhat.com>
13316         * posix.cc (internal_gettimeofday): New function.
13317         (_Jv_select): Use it.
13319 2002-03-07  Adam Megacz  <adam@xwt.org>
13321         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
13322         WIN32, and added thunks for read(), write(), and close().
13323         * java/net/natPlainSocketImpl.cc (accept, read, read):
13324         Disabled timeouts on WIN32 pending discussion.
13326 2002-03-07  Adam Megacz  <adam@xwt.org>
13328         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
13329         returns jlong. Added implementation
13330         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
13331         returns jlong.
13332         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
13333         returns jlong.
13334         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
13335         returns jlong.
13336         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
13337         _Jv_platform_gettimeofday signature.
13339 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13341         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
13342         (read): Call recv() directly, not _Jv_recv().
13344 2002-03-06  Tom Tromey  <tromey@redhat.com>
13346         * java/io/natFileDescriptorEcos.cc (init): Don't use
13347         GetStdHandle.
13348         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
13349         is negative.
13350         (init): Don't use GetStdHandle.
13352         * include/config.h.in: Rebuilt.
13353         * configure: Rebuilt.
13354         * Makefile.in: Rebuilt.
13356 2002-03-06  Adam Megacz  <adam@xwt.org>
13358         * java/io/FileDescriptor.java: Initialize in/out/err in init().
13359         * java/io/natFileDescriptorWin32.cc (init()): Added function.
13360         * java/io/natFileDescriptorPosix.cc (init()): Added function.
13361         * java/io/natFileDescriptorEcos.cc (init()): Added function.
13363 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
13365         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
13366         the code for generating include/java-chartables.h.
13367         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
13368         merge with Classpath.
13369         * scripts/unicode-muncher.pl: Copy from Classpath.
13370         * scritps/MakeCharTables.java: New file.
13371         * gnu/gcj/convert/Blocks-3.txt: New file.
13372         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
13373         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
13374         * gnu/java/lang/CharData.java: Copy from Classpath.
13375         * Makefile.am (ordinary_java_source_files): Add
13376         gnu/java/lang/CharData.java.
13377         * configure.in: Remove --enable-fast-character option.
13378         * java/lang/Character.java: Merge algorithms and Javadoc with
13379         Classpath.
13380         * java/lang/natCharacter.cc: Implement Unicode lookup table more
13381         efficiently.
13382         * include/java-chardecomp.h: Regenerate.
13383         * include/java-chartables.h: Regenerate.
13385 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13387         * java/awt/MediaTracker.java: Implemented.
13388         * Makefile.am: Add MediaTracker.
13389         * Makefile.in: Rebuilt.
13391 2002-03-05  Tom Tromey  <tromey@redhat.com>
13393         * java/lang/natPosixProcess.cc (fail): Removed.
13394         (startProcess): Simplified error-handling.  Preserve
13395         LD_LIBRARY_PATH across exec.
13397         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
13398         AbstractMethodError.
13400 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13402         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
13403         * Makefile.in: Rebuilt.
13405 2002-03-03 Mark Wielaard <mark@klomp.org>
13407         * java/util/Timer (TaskQueue.stop): set elements to zero.
13409 2002-02-28  Anthony Green  <green@redhat.com>
13411         * java/lang/reflect/natMethod.cc (result): Add void* element.
13412         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
13413         constructor test.
13415 2002-02-27  Adam Megacz <adam@xwt.org>
13417         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
13418         '#undef STRICT'.
13420 2002-02-26  Tom Tromey  <tromey@redhat.com>
13422         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
13423         * gij.cc (version): Use __VERSION__.
13424         * include/config.h.in: Rebuilt.
13425         * acconfig.h (GCJVERSION): Removed.
13426         * configure: Rebuilt.
13427         * configure.in (GCJVERSION): Removed.
13429 2002-02-26  Andreas Schwab  <schwab@suse.de>
13431         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
13432         glibcpp_CXX, since libjava uses even another CXX.
13433         * aclocal.m4, configure: Regenerated.
13435 2002-02-26  Tom Tromey  <tromey@redhat.com>
13437         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
13438         `1'.
13440 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13442         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
13443         dependency tracking for .java files.
13444         * Makefile.in: Rebuilt.
13446 2002-02-24  Adam Megacz  <adam@xwt.org>
13448         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
13449         typo. Sorry.
13451 2002-02-24  Adam Megacz  <adam@xwt.org>
13453         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
13454         for Win32, changed #ifdefs to check WIN32 instead of the
13455         (now-obsolete) USE_WINSOCK, and removed support for socket
13456         timeouts on Win32 pending further discussion.
13458 2002-02-24  Adam Megacz  <adam@xwt.org>
13460         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
13461         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
13462         delete
13464 2002-02-24  Adam Megacz  <adam@xwt.org>
13466         * java/lang/Win32Process.java: Created a dummy class to allow
13467         build process to run to completion.
13469 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
13471         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
13472         Define ffi_result union for ffi_call result.  Cast
13473         ffi_result members to jvalue.
13475 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
13477         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
13478         * testsuite/Makefile.in: Likewise.
13480 2002-02-20  Per Bothner  <per@bothner.com>
13482         * java/net/URL.java (getPath):  New JDK 1.3 method.
13484         * java/net/URLStreamHandler.java (parseURL):
13485         It is wrong to prepend '/' to the file part of a relative url.
13487         * java/net/URLStreamHandler.java (parseURL):
13488         Minor optizations - append '/' rather than "/".
13490         * java/net/URLStreamHandler.java (parseURL):
13491         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
13492         We probably should canonicalize for a context-relative url, though.
13493         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
13494         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
13495         (sameFile):  New method.  Uses canonicalizeFilename.
13497 2002-02-22  Tom Tromey  <tromey@redhat.com>
13499         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
13500         java.vendor and java.vm.vendor.
13501         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
13502         recent copyright date.
13503         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
13504         * gij.cc (version): Print `Inc'.
13506 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
13508         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
13509         * aclocal.m4, configure: Rebuilt.
13511 2002-02-20  Per Bothner  <per@bothner.com>
13513         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
13514         and/or output streams immediately here, instead of using File.exists.
13515         (inputStream, outputStream):  New fields to save open streams.
13516         (getInputStream, getOutputStream):  Use already-opened streams.
13518 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
13520         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
13521         Use it.
13522         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
13523         * aclocal.m4, configure, Makefile.in: Rebuilt.
13525 2002-02-19  Tom Tromey  <tromey@redhat.com>
13527         Fix for PR libgcj/5696:
13528         * verify.cc (is_assignable_from_slow): Never call
13529         _Jv_IsAssignableFrom.
13530         (verify_instructions_0): Added new debug statement.
13531         (state::print): Print information about whether local has
13532         changed.
13533         (state::merge): Don't call note_variable when merging locals.
13534         (state::set_exception): Removed old FIXME comment.
13536 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13538         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
13539         enable SO_BROADCAST.
13541 2002-02-18  Jason Merrill  <jason@redhat.com>
13543         * name-finder.cc (toHex): Use word mode, not long long.
13545         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
13547 2002-02-15  Tom Tromey  <tromey@redhat.com>
13549         Fix for PR libgcj/5695:
13550         * verify.cc (is_assignable_from_slow): Check to see if target is
13551         an Object before checking to see if source is an interface.
13552         (verify_instructions_0) [op_invokeinterface]: Handle case where
13553         we're making an interface call on Object.
13555 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13557         * Makefile.in: Rebuilt with Eric's change below.
13559         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
13560         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
13561         Removed functions which are now implemented in Math.java.
13563 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
13565         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
13566         * Makefile.am (core_java_source_files): Add
13567         java/lang/StrictMath.java.
13568         * java/lang/Math.java: Merge with Classpath.
13569         * java/lang/StrictMath.java: New file - merge with Classpath.
13571 2002-02-14  Mark Wielaard  <mark@klomp.org>
13573         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
13574         package as a workaround for gcj 3.0.x
13576 2002-02-14  Mark Wielaard <mark@klomp.org>
13578         * java/security/BasicPermission.java: extends with fully qualified
13579         classname as workaround for gcj 3.0.4.
13581 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
13583         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
13584         around gcj bug of wrong emitted qualifier for inherited method.
13585         * java/net/SocketImpl.java (setOption, getOption): Ditto.
13586         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
13587         constructor to reduce amount of emitted bytecode. While this
13588         happens to work around a jikes 1.15 bug, it is still a useful
13589         patch even for correct compilers.
13590         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
13591         * gnu/java/rmi/server/UnicastRemoteCall.java
13592         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
13594 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
13596         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
13597         * java/net/SocketImpl.java: Ditto.
13598         * java/rmi/server/RMIClassLoader.java: Ditto.
13599         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
13601 2002-02-14  Mark Wielaard <mark@klomp.org>
13603         Thanks to Takashi Okamoto
13604         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
13605         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
13606         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
13608 2002-02-13  Todd Stock  <toddastock@yahoo.com>
13610         Fix for PR libgcj/5670:
13611         * verify.cc (is_assignable_from_slow): If `source' is interface,
13612         recursively look for merge with `target'.
13614 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
13616         * include/jni.h: Fix typo.
13618 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
13620         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
13621         correctly.
13623 2002-02-13  Todd Stock  <toddastock@yahoo.com>
13625         Fix for PR libgcj/5671:
13626         * verify.cc (state::merge): Handle case where we're merging
13627         against an interface.
13629 2002-02-12  Tom Tromey  <tromey@redhat.com>
13631         * exception.cc (std::abort): Mark as noreturn.
13633 2002-02-12  Adam Megacz <adam@xwt.org>
13635         * java/lang/Win32Process.java: Filled in a placeholder
13636         implementation so Win32 will build.
13638 2002-02-12  Adam Megacz <adam@xwt.org>
13640         * java/io/natFilePosix.cc: Copied this from natFile.cc.
13641         * java/io/natFile.cc: Removed from repository.
13642         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
13644 2002-02-12  Adam Megacz <adam@xwt.org>
13646         * win32.cc: Added two #includes to make win32.cc compile.
13648 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13650         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
13651         declarations.
13652         (_Jv_InitGC): Don't bother locking, as this is always called from a
13653         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
13655 2002-02-11  Adam Megacz <adam@xwt.org>
13657         * include/win32.h: Added _Jv_platform_gettimeofday.
13658         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
13660 2002-02-11  Adam Megacz <adam@xwt.org>
13662         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
13663         Added #undef STRICT to make windows.h and
13664         java/lang/reflect/Modifier.h cooperate.
13666 2002-02-11  Adam Megacz <adam@xwt.org>
13668         * java/io/natFileWin32.cc: Created a placeholder class with lots
13669         of FIXMEs.
13671 2002-02-11  Adam Megacz <adam@xwt.org>
13673         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
13674         std::abort() to simply abort(). Also added "fake" std::abort() so
13675         we can #include unwind-pe.h without having to link against
13676         libstdc++-v3.
13678 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
13680         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
13682 2002-02-08  Tom Tromey  <tromey@redhat.com>
13684         * interpret.cc (convert): New function.
13685         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
13686         convert.
13687         Include Long.h.
13689 2002-02-08  Anthony Green  <green@redhat.com>
13691         * configure.host: Add support for xscale-elf embedded target.
13693 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
13695         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
13696         dereferenced.
13697         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
13698         frame.
13700 2002-02-07  Tom Tromey  <tromey@redhat.com>
13702         * java/io/natFile.cc (_access): Use __builtin_alloca.
13703         (_stat): Likewise.
13704         (attr): Likewise.
13705         (getCanonicalPath): Likewise.
13706         (performList): Likewise.
13707         (performMkdir): Likewise.
13708         (performSetReadOnly): Likewise.
13709         (performRenameTo): Likewise.
13710         (performSetLastModified): Likewise.
13711         (performCreate): Likewise.
13712         (performDelete): Likewise.
13714 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13716         * HACKING: Fix URL for the automake-gcj.
13718 2002-02-07  Tom Tromey  <tromey@redhat.com>
13720         * java/lang/natThrowable.cc: Updated copyright.
13721         * java/io/natFileWin32.cc: Updated copyright.
13722         * java/io/natFileDescriptorWin32.cc: Updated copyright.
13723         * win32-threads.cc: Updated copyright.
13724         * name-finder.cc: Updated copyright.
13725         * include/name-finder.h: Updated copyright.
13727         * include/name-finder.h: Conditionally include sys/wait.h.
13728         * include/config.h.in: Rebuilt.
13730         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
13731         Size buffer based on real size of string.
13732         (_stat): Likewise.
13733         (attr): Likewise.
13734         (getCanonicalPath): Likewise.
13735         (performList): Likewise.
13736         (performMkdir): Likewise.
13737         (performSetReadOnly): Likewise.
13738         (unixroot): Removed.
13739         (performRenameTo): Likewise.
13740         (performSetLastModified): Likewise.
13741         (performCreate): Likewise.
13742         (performDelete): Likewise.
13743         (performListRoots): Always return new array.
13745         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
13746         * win32.cc (win32_exception_handler): Now static.
13747         * include/win32.h (_Jv_platform_initialize): Declare.
13748         (win32_exception_handler): Don't declare.
13749         * java/lang/natSystem.cc (currentTimeMillis): Use
13750         _Jv_platform_gettimeofday.
13751         * posix.cc (_Jv_platform_gettimeofday): Renamed.
13752         (_Jv_select): Use new name.
13753         (_Jv_platform_initialize): New function.
13754         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
13755         _Jv_gettimeofday.
13756         (_Jv_platform_initialize): Declare.
13758         * configure: Rebuilt.
13759         * configure.in: Removed unnecessary parens.
13761 2002-02-06  Adam Megacz <adam@xwt.org>
13763        * configure.in: Changed mingw) to *mingw*).
13764        * win32.cc: Created this file.
13765        * win32.h: Created this file.
13766        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
13767        win32_exception_handler from prims.cc to win32.cc, added
13768        header in win32.h.
13769        * prims.cc: removed some #ifdef-WIN32'd headers which are no
13770        longer needed now that we have platform.h
13772 2002-02-06  Adam Megacz <adam@xwt.org>
13774         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
13775         use uint<n>_t instead of LONG and BYTE
13777 2002-02-06  Adam Megacz <adam@xwt.org>
13779         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
13781 2002-02-06  Anthony Green  <green@redhat.com>
13783         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
13784         Implement missing method stubs.
13785         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
13786         targets.
13787         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
13788         concept of timezones.
13789         (init_properties): Don't refer to _Jv_Environment_Properties
13790         when this feature is not available.
13791         * include/config.h.in: Rebuilt.
13792         * acconfig.h: Add DISABLE_MAIN_ARGS.
13793         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
13794         * configure: Rebuilt.
13795         * configure.in: Add --disable-main-args option.  Test for
13796           opendir function.  Replace AC_CHECK_SIZEOF with
13797           AC_COMPILE_CHECK_SIZEOF.
13798         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
13799         * aclocal.m4: Rebuilt.
13800         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
13802 2002-02-06  Tom Tromey  <tromey@redhat.com>
13804         * verify.cc (require_array_type): If argument is a null array of
13805         references, return null as the element type.
13807 2002-02-06  Mark Wielaard  <mark@klomp.org>
13809         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
13810         duplicate of a wide type.
13812 2002-02-06  Tom Tromey  <tromey@redhat.com>
13814         * verify.cc (type::isnull): New method.
13815         (require_array_type): Handle case where array is null.
13816         (verify_instructions_0) [op_arraylength]: Likewise.
13818 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13820         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
13821         Symlink PLATFORMH to platform.h.
13822         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
13823         PLATFORMOBJS.
13824         * java/lang/natSystem.cc: #include platform.h not posix.h.
13825         * Makefile.in: Rebuilt with libgcj automake.
13826         * configure: Rebuilt.
13828 2002-02-05  Richard Henderson  <rth@redhat.com>
13830         * Makefile.in: Undo munging last change.
13832 2002-02-04  Adam Megacz <adam@xwt.org>
13834         * win32.cc: Created it.
13835         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
13836         which is set to posix.cc or win32.cc.
13837         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
13839 2002-02-04  Adam Megacz <adam@xwt.org>
13841         * configure.in: Corrected mingw case branches; added * before
13842         and after.
13844 2002-02-04  Adam Megacz <adam@xwt.org>
13846         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
13847         if compiling for win32
13849 2002-02-04  Adam Megacz <adam@xwt.org>
13851         * win32-threads.cc: #undef STRICT after gc.h inclusion
13853 2002-02-02  Tom Tromey  <tromey@redhat.com>
13855         * Makefile.in: Rebuilt.
13857 2002-02-02  Jason Merrill  <jason@redhat.com>
13859         * Makefile.am (clean-nat): New target.
13861 2002-02-02  Tom Tromey  <tromey@redhat.com>
13863         * java/io/natFile.cc: Removed old "FIXME" comments.
13865 2002-02-01  Tom Tromey  <tromey@redhat.com>
13867         * java/lang/natPosixProcess.cc (myclose): New function.
13868         (fail): Use it.
13869         (startProcess): Likewise.
13871 2002-02-01  Adam Megacz <adam@xwt.org>
13873         * prims.cc: Added #undef STRICT after #include<windows.h>.
13875 2002-02-01  Adam Megacz <adam@xwt.org>
13877         * prims.cc
13878         (_Jv_CreateJavaVM): We now use WIN32 instead of
13879         USE_WIN32_SIGNALLING and USE_WINSOCK.
13880         (win32_exception_handler): Now throws an exception out of
13881         the signal handler; assumes SJLJ.
13883 2002-02-01  Adam Megacz <adam@xwt.org>
13885         * win32-threads.cc:
13886         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
13887         wait() algorithm to make it safe.
13888         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
13889         Added lazy creation of Win32 Events for better performance
13890         (really_start): This now uses GC_CreateThread so boehm-gc
13891         knows about new threads even when statically linked.
13893 2002-02-01  Adam Megacz <adam@xwt.org>
13895         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
13896         enable safer wait() algorithm.
13897         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
13898         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
13899         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
13900         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
13901         instead of mutex.
13902         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
13904 2002-02-01  Adam Megacz <adam@xwt.org>
13906         * configure.in: Added support for mingw.
13907         * java/lang/Win32Process.java: Created as empty file.
13908         * java/lang/natWin32Process.cc: Created as empty file.
13910 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
13912         PR java/4972
13913         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
13914         for libiconv in LIBICONV variable.
13915         * configure: Regenerated.
13917 2002-01-31  Tom Tromey  <tromey@redhat.com>
13919         * verify.cc (state::enter_subroutine): New method.
13920         (handle_jsr_insn): Use it.
13921         (state::merge): When processing a `ret', correctly use
13922         subroutine's state to determine which local variables have
13923         changed.
13924         (push_exception_jump): Don't let stack overflow.
13926 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
13928         * gnu/gcj/convert/Convert.java: Only include one copyright year in
13929         --version output.
13931 2002-01-30  Tom Tromey  <tromey@redhat.com>
13933         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
13934         parameter for `recv' return type.
13936         * verify.cc (handle_ret_insn): Check for subroutine merge here...
13937         (state::merge): ... not here.
13938         (subr_entry_info): New structure.
13939         (entry_points): New field.
13940         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
13941         entry_points.
13943 2002-01-29  Tom Tromey  <tromey@redhat.com>
13945         * java/awt/List.java (addNotify): Correctly check to see if peer
13946         does not exist.
13948         * java/awt/GridLayout.java (layoutContainer): Use number of rows
13949         to compute height of each cell, and number of columns to compute
13950         width of each cell.
13951         * java/awt/Window.java (getOwnedWindows): Don't return null.
13952         * java/awt/FlowLayout.java (layoutContainer): Set width and height
13953         of component.  Increment x using horizontal gap, not vertical
13954         gap.
13956 2002-01-28  Tom Tromey  <tromey@redhat.com>
13958         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
13959         `nargs' byte is number of words, not number of arguments.
13961 2002-01-27  Tom Tromey  <tromey@redhat.com>
13963         * java/awt/event/MouseEvent.java (modifiers): Removed field.
13964         (when): Likewise.
13965         * java/awt/event/InputEvent.java (modifiers, when): Now
13966         package-private.
13968         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
13969         and to-do list.
13970         (state::merge): Use current class' class loader.
13971         (state::print): Print subroutine.
13972         (state::merge): Don't look at subroutine of unmerged `ret'.
13974 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
13976         * nogc.cc: Remove warnings.
13977         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
13978         New functions.
13980 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
13982         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
13983         int, int):  Remove empty "if" statement to work around compiler bug.
13984         (newPixels(int[], ColorModel, int, int): Likewise.
13986 2002-01-25  Per Bothner  <per@bothner.com>
13988         * verify.cc (verify_fail):  Change from being a top-level function
13989         to e method of _Jv_BytecodeVerifier.  Emit current method name.
13990         Pass the current verifier to type: and state: methods as needed,
13991         for better error messages, and for resolve.
13992         (resolve):  Pass current class's loader for Class.forName and
13993         _Jv_FindClassFromSignature, rather than using the default loader.
13994         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
13995         (get_type_val_for_signature):  Make non-static.
13996         (various methods):  Pass start_PC implicitly, not explicitly.
13998 2002-01-25  Tom Tromey  <tromey@redhat.com>
14000         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
14001         loop termination condition.
14002         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
14003         width.
14005 2002-01-24  Tom Tromey  <tromey@redhat.com>
14007         * java/awt/Shape.java: Merged with Classpath.
14008         * java/awt/Scrollbar.java: Merged with Classpath.
14010         * java/awt/Container.java (addNotify): Unconditionally call
14011         addNotifyContainerChildren and superclass addNotify.
14013         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
14014         getAlpha, not getBlue.
14016 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14018         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
14020         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
14021         (grabPixels(long)): Wait to be notified that the ImageProducer has
14022         completed.
14024 2002-01-24  Per Bothner  <per@bothner.com>
14026         * verify.cc (is_assignable_from_slow): If target is an interface,
14027         we must still check the source's superclass before giving up.
14029 2002-01-24  Tom Tromey  <tromey@redhat.com>
14031         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
14033 2002-01-23  Tom Tromey  <tromey@redhat.com>
14035         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
14036         `else'.
14038         * Makefile.in: Rebuilt.
14039         * Makefile.am (awt_java_source_files): Added new files.
14040         * java/awt/Toolkit.java: Merged with Classpath.
14041         * java/awt/PrintGraphics.java: New file from Classpath.
14042         * java/awt/PrintJob.java: New file from Classpath.
14043         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
14044         * java/awt/datatransfer/ClipboardOwner.java: New file from
14045         Classpath.
14046         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
14047         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
14048         * java/awt/datatransfer/MimeTypeParseException.java: New file from
14049         Classpath.
14050         * java/awt/datatransfer/StringSelection.java: New file from
14051         Classpath.
14052         * java/awt/datatransfer/SystemFlavorMap.java: New file from
14053         Classpath.
14054         * java/awt/datatransfer/Transferable.java: New file from
14055         Classpath.
14056         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
14057         from Classpath.
14059         * Makefile.in: Rebuilt.
14060         * Makefile.am (awt_java_source_files): Added new files.
14061         * java/awt/image/AreaAveragingScaleFilter.java: New file from
14062         Classpath.
14063         * java/awt/image/CropImageFilter.java: New file from Classpath.
14064         * java/awt/image/FilteredImageSource.java: New file from
14065         Classpath.
14066         * java/awt/image/ImageFilter.java: New file from Classpath.
14067         * java/awt/image/MemoryImageSource.java: New file from Classpath.
14068         * java/awt/image/PixelGrabber.java: New file from Classpath.
14069         * java/awt/image/RGBImageFilter.java: New file from Classpath.
14070         * java/awt/image/ReplicateScaleFilter.java: New file from
14071         Classpath.
14072         * java/awt/image/ImageProducer.java: Replaced with Classpath
14073         version.
14074         * java/awt/image/ImageObserver.java: Replaced with Classpath
14075         version.
14076         * java/awt/image/ImageConsumer.java: Replaced with Classpath
14077         version.
14078         * java/awt/GridBagConstraints.java (clone): Catch
14079         CloneNotSupportedException.
14081 2002-01-23  Per Bothner  <per@bothner.com>
14083         * java/lang/reflect/natField.cc (setAddr):  New function.
14084         Calls getAddr and then checks that the field isn't final.
14085         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
14086         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
14087         (set):  Call setAddr before check that new value has right type,
14088         to better match specified semantics.
14090 2002-01-22  Tom Tromey  <tromey@redhat.com>
14092         * java/awt/TextField.java: Replaced with Classpath version.
14093         * java/awt/TextArea.java: Replaced with Classpath version.
14094         * java/awt/TextComponent.java: Replaced with Classpath version.
14096         * java/awt/GridBagConstraints.java: Updated copyright.
14098 2002-01-22  Mark Wielaard <mark@klomp.org>
14100         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
14101         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
14102         java/awt/Dialog.java java/awt/FileDialog.java
14103         java/awt/Font.java java/awt/FontMetrics.java
14104         java/awt/Image.java java/awt/ImageMediaEntry.java
14105         java/awt/Insets.java java/awt/List.java
14106         java/awt/MediaEntry.java java/awt/MediaTracker.java
14107         java/awt/Menu.java java/awt/MenuBar.java
14108         java/awt/MenuContainer.java java/awt/MenuShortcut.java
14109         java/awt/PaintContext.java java/awt/Panel.java
14110         java/awt/PopupMenu.java java/awt/SystemColor.java
14111         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
14112         java/awt/peer/CheckboxMenuItemPeer.java
14113         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
14114         java/awt/peer/ComponentPeer.java
14115         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
14116         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
14117         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
14118         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
14119         java/awt/peer/MenuBarPeer.java
14120         java/awt/peer/MenuComponentPeer.java
14121         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
14122         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
14123         java/awt/peer/ScrollPanePeer.java
14124         java/awt/peer/ScrollbarPeer.java
14125         java/awt/peer/TextAreaPeer.java
14126         java/awt/peer/TextComponentPeer.java
14127         java/awt/peer/TextFieldPeer.java
14128         java/awt/peer/WindowPeer.java: Add license clarification.
14130 2002-01-22  Mark Wielaard <mark@klomp.org>
14132         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
14133         gnu/gcj/runtime/StringBuffer.java
14134         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
14135         gnu/java/awt/ComponentDataBlitOp.java
14136         gnu/java/awt/GLightweightPeer.java
14137         gnu/java/beans/BeanInfoEmbryo.java
14138         gnu/java/beans/EmptyBeanInfo.java
14139         gnu/java/beans/ExplicitBeanInfo.java
14140         gnu/java/beans/IntrospectionIncubator.java
14141         gnu/java/beans/editors/ColorEditor.java
14142         gnu/java/beans/editors/FontEditor.java
14143         gnu/java/beans/editors/NativeBooleanEditor.java
14144         gnu/java/beans/editors/NativeByteEditor.java
14145         gnu/java/beans/editors/NativeDoubleEditor.java
14146         gnu/java/beans/editors/NativeFloatEditor.java
14147         gnu/java/beans/editors/NativeIntEditor.java
14148         gnu/java/beans/editors/NativeLongEditor.java
14149         gnu/java/beans/editors/NativeShortEditor.java
14150         gnu/java/beans/editors/StringEditor.java
14151         gnu/java/beans/info/ComponentBeanInfo.java
14152         gnu/java/io/ClassLoaderObjectInputStream.java
14153         gnu/java/io/NullOutputStream.java
14154         gnu/java/io/ObjectIdentityWrapper.java
14155         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
14156         gnu/java/lang/reflect/TypeSignature.java
14157         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
14158         gnu/java/locale/Calendar_en.java
14159         gnu/java/locale/Calendar_nl.java
14160         gnu/java/locale/LocaleInformation.java
14161         gnu/java/locale/LocaleInformation_de.java
14162         gnu/java/locale/LocaleInformation_en.java
14163         gnu/java/locale/LocaleInformation_nl.java
14164         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
14165         gnu/java/rmi/registry/RegistryImpl.java
14166         gnu/java/rmi/rmic/Compile_gcj.java
14167         gnu/java/rmi/rmic/Compiler.java
14168         gnu/java/rmi/rmic/CompilerProcess.java
14169         gnu/java/rmi/rmic/RMIC.java
14170         gnu/java/rmi/rmic/TabbedWriter.java
14171         gnu/java/rmi/server/ProtocolConstants.java
14172         gnu/java/rmi/server/RMIDefaultSocketFactory.java
14173         gnu/java/rmi/server/RMIHashes.java
14174         gnu/java/rmi/server/RMIObjectInputStream.java
14175         gnu/java/rmi/server/RMIObjectOutputStream.java
14176         gnu/java/rmi/server/UnicastConnection.java
14177         gnu/java/rmi/server/UnicastConnectionManager.java
14178         gnu/java/rmi/server/UnicastRef.java
14179         gnu/java/rmi/server/UnicastRemoteCall.java
14180         gnu/java/rmi/server/UnicastRemoteStub.java
14181         gnu/java/rmi/server/UnicastServer.java
14182         gnu/java/rmi/server/UnicastServerRef.java
14183         gnu/java/security/provider/DefaultPolicy.java
14184         gnu/java/security/provider/Gnu.java
14185         gnu/java/security/provider/SHA.java
14186         gnu/java/security/provider/SHA1PRNG.java
14187         gnu/java/text/BaseBreakIterator.java
14188         gnu/java/text/CharacterBreakIterator.java
14189         gnu/java/text/LineBreakIterator.java
14190         gnu/java/text/SentenceBreakIterator.java
14191         gnu/java/text/WordBreakIterator.java
14192         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
14193         java/applet/AppletContext.java java/applet/AppletStub.java
14194         java/applet/AudioClip.java java/awt/AWTError.java
14195         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
14196         java/awt/AWTException.java java/awt/AWTPermission.java
14197         java/awt/ActiveEvent.java java/awt/BorderLayout.java
14198         java/awt/Button.java java/awt/Canvas.java
14199         java/awt/CardLayout.java java/awt/Checkbox.java
14200         java/awt/CheckboxGroup.java java/awt/Component.java
14201         java/awt/ComponentOrientation.java java/awt/Container.java
14202         java/awt/Dimension.java java/awt/Event.java
14203         java/awt/EventDispatchThread.java java/awt/EventQueue.java
14204         java/awt/FlowLayout.java java/awt/Frame.java
14205         java/awt/Graphics.java java/awt/Graphics2D.java
14206         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
14207         java/awt/IllegalComponentStateException.java
14208         java/awt/ItemSelectable.java java/awt/Label.java
14209         java/awt/LayoutManager.java java/awt/LayoutManager2.java
14210         java/awt/MenuComponent.java java/awt/MenuItem.java
14211         java/awt/Paint.java java/awt/Point.java
14212         java/awt/Rectangle.java java/awt/RenderingHints.java
14213         java/awt/Transparency.java java/awt/Window.java
14214         java/awt/color/ColorSpace.java
14215         java/awt/color/ICC_ColorSpace.java
14216         java/awt/color/ICC_Profile.java
14217         java/awt/event/HierarchyBoundsAdapter.java
14218         java/awt/event/HierarchyBoundsListener.java
14219         java/awt/event/HierarchyEvent.java
14220         java/awt/event/HierarchyListener.java
14221         java/awt/geom/AffineTransform.java
14222         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
14223         java/awt/geom/IllegalPathStateException.java
14224         java/awt/geom/Line2D.java
14225         java/awt/geom/NoninvertibleTransformException.java
14226         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
14227         java/awt/geom/Rectangle2D.java
14228         java/awt/geom/RectangularShape.java
14229         java/awt/geom/RoundRectangle2D.java
14230         java/awt/image/BufferedImage.java
14231         java/awt/image/ColorModel.java
14232         java/awt/image/ComponentColorModel.java
14233         java/awt/image/ComponentSampleModel.java
14234         java/awt/image/DataBuffer.java
14235         java/awt/image/DataBufferByte.java
14236         java/awt/image/DataBufferInt.java
14237         java/awt/image/DataBufferUShort.java
14238         java/awt/image/DirectColorModel.java
14239         java/awt/image/PackedColorModel.java
14240         java/awt/image/Raster.java java/awt/image/RasterOp.java
14241         java/awt/image/SampleModel.java
14242         java/awt/image/SinglePixelPackedSampleModel.java
14243         java/awt/image/WritableRaster.java
14244         java/beans/AppletInitializer.java
14245         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
14246         java/beans/Beans.java java/beans/Customizer.java
14247         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
14248         java/beans/FeatureDescriptor.java
14249         java/beans/IndexedPropertyDescriptor.java
14250         java/beans/IntrospectionException.java
14251         java/beans/Introspector.java java/beans/MethodDescriptor.java
14252         java/beans/ParameterDescriptor.java
14253         java/beans/PropertyChangeEvent.java
14254         java/beans/PropertyChangeListener.java
14255         java/beans/PropertyChangeSupport.java
14256         java/beans/PropertyDescriptor.java
14257         java/beans/PropertyEditor.java
14258         java/beans/PropertyEditorManager.java
14259         java/beans/PropertyEditorSupport.java
14260         java/beans/PropertyVetoException.java
14261         java/beans/SimpleBeanInfo.java
14262         java/beans/VetoableChangeListener.java
14263         java/beans/VetoableChangeSupport.java
14264         java/beans/Visibility.java
14265         java/beans/beancontext/BeanContext.java
14266         java/beans/beancontext/BeanContextChild.java
14267         java/beans/beancontext/BeanContextChildComponentProxy.java
14268         java/beans/beancontext/BeanContextChildSupport.java
14269         java/beans/beancontext/BeanContextContainerProxy.java
14270         java/beans/beancontext/BeanContextEvent.java
14271         java/beans/beancontext/BeanContextMembershipEvent.java
14272         java/beans/beancontext/BeanContextMembershipListener.java
14273         java/beans/beancontext/BeanContextProxy.java
14274         java/beans/beancontext/BeanContextServiceAvailableEvent.java
14275         java/beans/beancontext/BeanContextServiceProvider.java
14276         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
14277         java/beans/beancontext/BeanContextServiceRevokedEvent.java
14278         java/beans/beancontext/BeanContextServiceRevokedListener.java
14279         java/beans/beancontext/BeanContextServices.java
14280         java/beans/beancontext/BeanContextServicesListener.java
14281         java/io/BufferedInputStream.java
14282         java/io/BufferedOutputStream.java java/io/BufferedReader.java
14283         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
14284         java/io/ByteArrayOutputStream.java
14285         java/io/CharArrayReader.java java/io/CharArrayWriter.java
14286         java/io/CharConversionException.java java/io/DataInput.java
14287         java/io/DataInputStream.java java/io/DataOutput.java
14288         java/io/EOFException.java java/io/Externalizable.java
14289         java/io/FileFilter.java java/io/FileNotFoundException.java
14290         java/io/FilePermission.java java/io/FileReader.java
14291         java/io/FileWriter.java java/io/FilenameFilter.java
14292         java/io/FilterInputStream.java java/io/FilterOutputStream.java
14293         java/io/FilterReader.java java/io/FilterWriter.java
14294         java/io/IOException.java java/io/InputStream.java
14295         java/io/InterruptedIOException.java
14296         java/io/InvalidClassException.java
14297         java/io/InvalidObjectException.java
14298         java/io/NotActiveException.java
14299         java/io/NotSerializableException.java java/io/ObjectInput.java
14300         java/io/ObjectInputStream.java
14301         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
14302         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
14303         java/io/ObjectStreamConstants.java
14304         java/io/ObjectStreamException.java
14305         java/io/ObjectStreamField.java
14306         java/io/OptionalDataException.java java/io/OutputStream.java
14307         java/io/PipedInputStream.java java/io/PipedOutputStream.java
14308         java/io/PipedReader.java java/io/PipedWriter.java
14309         java/io/PrintWriter.java java/io/PushbackInputStream.java
14310         java/io/PushbackReader.java java/io/Reader.java
14311         java/io/SequenceInputStream.java java/io/Serializable.java
14312         java/io/SerializablePermission.java
14313         java/io/StreamCorruptedException.java
14314         java/io/StreamTokenizer.java
14315         java/io/StringBufferInputStream.java java/io/StringReader.java
14316         java/io/StringWriter.java java/io/SyncFailedException.java
14317         java/io/UTFDataFormatException.java
14318         java/io/UnsupportedEncodingException.java
14319         java/io/WriteAbortedException.java java/io/Writer.java
14320         java/lang/AbstractMethodError.java
14321         java/lang/ArithmeticException.java
14322         java/lang/ArrayIndexOutOfBoundsException.java
14323         java/lang/ArrayStoreException.java java/lang/Boolean.java
14324         java/lang/Byte.java java/lang/CharSequence.java
14325         java/lang/ClassCastException.java
14326         java/lang/ClassCircularityError.java
14327         java/lang/ClassFormatError.java
14328         java/lang/ClassNotFoundException.java
14329         java/lang/CloneNotSupportedException.java
14330         java/lang/Cloneable.java java/lang/Comparable.java
14331         java/lang/Compiler.java java/lang/Double.java
14332         java/lang/Error.java java/lang/Exception.java
14333         java/lang/ExceptionInInitializerError.java
14334         java/lang/Float.java java/lang/IllegalAccessError.java
14335         java/lang/IllegalAccessException.java
14336         java/lang/IllegalArgumentException.java
14337         java/lang/IllegalMonitorStateException.java
14338         java/lang/IllegalStateException.java
14339         java/lang/IllegalThreadStateException.java
14340         java/lang/IncompatibleClassChangeError.java
14341         java/lang/IndexOutOfBoundsException.java
14342         java/lang/InheritableThreadLocal.java
14343         java/lang/InstantiationError.java
14344         java/lang/InstantiationException.java java/lang/Integer.java
14345         java/lang/InternalError.java
14346         java/lang/InterruptedException.java
14347         java/lang/LinkageError.java java/lang/Long.java
14348         java/lang/NegativeArraySizeException.java
14349         java/lang/NoClassDefFoundError.java
14350         java/lang/NoSuchFieldError.java
14351         java/lang/NoSuchFieldException.java
14352         java/lang/NoSuchMethodError.java
14353         java/lang/NoSuchMethodException.java
14354         java/lang/NullPointerException.java java/lang/Number.java
14355         java/lang/NumberFormatException.java
14356         java/lang/OutOfMemoryError.java java/lang/Package.java
14357         java/lang/Process.java java/lang/Runnable.java
14358         java/lang/RuntimeException.java
14359         java/lang/RuntimePermission.java
14360         java/lang/SecurityException.java
14361         java/lang/SecurityManager.java java/lang/Short.java
14362         java/lang/StackOverflowError.java java/lang/StringBuffer.java
14363         java/lang/StringIndexOutOfBoundsException.java
14364         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
14365         java/lang/ThreadLocal.java java/lang/UnknownError.java
14366         java/lang/UnsatisfiedLinkError.java
14367         java/lang/UnsupportedClassVersionError.java
14368         java/lang/UnsupportedOperationException.java
14369         java/lang/VerifyError.java java/lang/VirtualMachineError.java
14370         java/lang/Void.java java/lang/ref/PhantomReference.java
14371         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
14372         java/lang/ref/SoftReference.java
14373         java/lang/ref/WeakReference.java
14374         java/lang/reflect/AccessibleObject.java
14375         java/lang/reflect/InvocationTargetException.java
14376         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
14377         java/lang/reflect/ReflectPermission.java
14378         java/math/BigDecimal.java java/math/BigInteger.java
14379         java/net/Authenticator.java java/net/BindException.java
14380         java/net/ConnectException.java java/net/ContentHandler.java
14381         java/net/ContentHandlerFactory.java
14382         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
14383         java/net/FileNameMap.java java/net/MalformedURLException.java
14384         java/net/MulticastSocket.java java/net/NetPermission.java
14385         java/net/NoRouteToHostException.java
14386         java/net/PasswordAuthentication.java
14387         java/net/ProtocolException.java java/net/ServerSocket.java
14388         java/net/Socket.java java/net/SocketException.java
14389         java/net/SocketImpl.java java/net/SocketImplFactory.java
14390         java/net/SocketOptions.java java/net/SocketPermission.java
14391         java/net/URLDecoder.java java/net/URLEncoder.java
14392         java/net/URLStreamHandlerFactory.java
14393         java/net/UnknownHostException.java
14394         java/net/UnknownServiceException.java
14395         java/rmi/AccessException.java
14396         java/rmi/AlreadyBoundException.java
14397         java/rmi/ConnectException.java
14398         java/rmi/ConnectIOException.java
14399         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
14400         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
14401         java/rmi/NotBoundException.java
14402         java/rmi/RMISecurityException.java
14403         java/rmi/RMISecurityManager.java java/rmi/Remote.java
14404         java/rmi/RemoteException.java java/rmi/ServerError.java
14405         java/rmi/ServerException.java
14406         java/rmi/ServerRuntimeException.java
14407         java/rmi/StubNotFoundException.java
14408         java/rmi/UnexpectedException.java
14409         java/rmi/UnknownHostException.java
14410         java/rmi/UnmarshalException.java
14411         java/rmi/activation/Activatable.java
14412         java/rmi/activation/ActivateFailedException.java
14413         java/rmi/activation/ActivationDesc.java
14414         java/rmi/activation/ActivationException.java
14415         java/rmi/activation/ActivationGroup.java
14416         java/rmi/activation/ActivationGroupDesc.java
14417         java/rmi/activation/ActivationGroupID.java
14418         java/rmi/activation/ActivationID.java
14419         java/rmi/activation/ActivationInstantiator.java
14420         java/rmi/activation/ActivationMonitor.java
14421         java/rmi/activation/ActivationSystem.java
14422         java/rmi/activation/Activator.java
14423         java/rmi/activation/UnknownGroupException.java
14424         java/rmi/activation/UnknownObjectException.java
14425         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
14426         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
14427         java/rmi/registry/Registry.java
14428         java/rmi/registry/RegistryHandler.java
14429         java/rmi/server/ExportException.java
14430         java/rmi/server/LoaderHandler.java
14431         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
14432         java/rmi/server/Operation.java
14433         java/rmi/server/RMIClassLoader.java
14434         java/rmi/server/RMIClientSocketFactory.java
14435         java/rmi/server/RMIFailureHandler.java
14436         java/rmi/server/RMIServerSocketFactory.java
14437         java/rmi/server/RMISocketFactory.java
14438         java/rmi/server/RemoteCall.java
14439         java/rmi/server/RemoteObject.java
14440         java/rmi/server/RemoteRef.java
14441         java/rmi/server/RemoteServer.java
14442         java/rmi/server/RemoteStub.java
14443         java/rmi/server/ServerCloneException.java
14444         java/rmi/server/ServerNotActiveException.java
14445         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
14446         java/rmi/server/SkeletonMismatchException.java
14447         java/rmi/server/SkeletonNotFoundException.java
14448         java/rmi/server/SocketSecurityException.java
14449         java/rmi/server/UID.java
14450         java/rmi/server/UnicastRemoteObject.java
14451         java/rmi/server/Unreferenced.java
14452         java/security/AccessControlContext.java
14453         java/security/AccessControlException.java
14454         java/security/AccessController.java
14455         java/security/AlgorithmParameterGenerator.java
14456         java/security/AlgorithmParameterGeneratorSpi.java
14457         java/security/AlgorithmParameters.java
14458         java/security/AlgorithmParametersSpi.java
14459         java/security/AllPermission.java
14460         java/security/BasicPermission.java
14461         java/security/Certificate.java java/security/CodeSource.java
14462         java/security/DigestException.java
14463         java/security/DigestInputStream.java
14464         java/security/DigestOutputStream.java
14465         java/security/DomainCombiner.java
14466         java/security/DummyKeyPairGenerator.java
14467         java/security/DummyMessageDigest.java
14468         java/security/DummySignature.java
14469         java/security/GeneralSecurityException.java
14470         java/security/Guard.java java/security/GuardedObject.java
14471         java/security/Identity.java java/security/IdentityScope.java
14472         java/security/InvalidAlgorithmParameterException.java
14473         java/security/InvalidKeyException.java
14474         java/security/InvalidParameterException.java
14475         java/security/Key.java java/security/KeyException.java
14476         java/security/KeyFactory.java java/security/KeyFactorySpi.java
14477         java/security/KeyManagementException.java
14478         java/security/KeyPair.java java/security/KeyPairGenerator.java
14479         java/security/KeyPairGeneratorSpi.java
14480         java/security/KeyStore.java
14481         java/security/KeyStoreException.java
14482         java/security/KeyStoreSpi.java
14483         java/security/MessageDigest.java
14484         java/security/MessageDigestSpi.java
14485         java/security/NoSuchAlgorithmException.java
14486         java/security/NoSuchProviderException.java
14487         java/security/Permission.java
14488         java/security/PermissionCollection.java
14489         java/security/Permissions.java java/security/Policy.java
14490         java/security/Principal.java java/security/PrivateKey.java
14491         java/security/PrivilegedAction.java
14492         java/security/PrivilegedActionException.java
14493         java/security/PrivilegedExceptionAction.java
14494         java/security/ProtectionDomain.java
14495         java/security/Provider.java
14496         java/security/ProviderException.java
14497         java/security/PublicKey.java
14498         java/security/SecureClassLoader.java
14499         java/security/SecureRandom.java
14500         java/security/SecureRandomSpi.java java/security/Security.java
14501         java/security/SecurityPermission.java
14502         java/security/Signature.java
14503         java/security/SignatureException.java
14504         java/security/SignatureSpi.java
14505         java/security/SignedObject.java java/security/Signer.java
14506         java/security/UnrecoverableKeyException.java
14507         java/security/UnresolvedPermission.java
14508         java/security/acl/Acl.java java/security/acl/AclEntry.java
14509         java/security/acl/AclNotFoundException.java
14510         java/security/acl/Group.java
14511         java/security/acl/LastOwnerException.java
14512         java/security/acl/NotOwnerException.java
14513         java/security/acl/Owner.java java/security/acl/Permission.java
14514         java/security/cert/CRL.java
14515         java/security/cert/CRLException.java
14516         java/security/cert/Certificate.java
14517         java/security/cert/CertificateEncodingException.java
14518         java/security/cert/CertificateException.java
14519         java/security/cert/CertificateExpiredException.java
14520         java/security/cert/CertificateFactory.java
14521         java/security/cert/CertificateFactorySpi.java
14522         java/security/cert/CertificateNotYetValidException.java
14523         java/security/cert/CertificateParsingException.java
14524         java/security/cert/X509CRL.java
14525         java/security/cert/X509CRLEntry.java
14526         java/security/cert/X509Certificate.java
14527         java/security/cert/X509Extension.java
14528         java/security/interfaces/DSAKey.java
14529         java/security/interfaces/DSAKeyPairGenerator.java
14530         java/security/interfaces/DSAParams.java
14531         java/security/interfaces/DSAPrivateKey.java
14532         java/security/interfaces/DSAPublicKey.java
14533         java/security/interfaces/RSAKey.java
14534         java/security/interfaces/RSAPrivateCrtKey.java
14535         java/security/interfaces/RSAPrivateKey.java
14536         java/security/interfaces/RSAPublicKey.java
14537         java/security/spec/AlgorithmParameterSpec.java
14538         java/security/spec/DSAParameterSpec.java
14539         java/security/spec/DSAPrivateKeySpec.java
14540         java/security/spec/DSAPublicKeySpec.java
14541         java/security/spec/EncodedKeySpec.java
14542         java/security/spec/InvalidKeySpecException.java
14543         java/security/spec/InvalidParameterSpecException.java
14544         java/security/spec/KeySpec.java
14545         java/security/spec/PKCS8EncodedKeySpec.java
14546         java/security/spec/RSAKeyGenParameterSpec.java
14547         java/security/spec/RSAPrivateCrtKeySpec.java
14548         java/security/spec/RSAPrivateKeySpec.java
14549         java/security/spec/RSAPublicKeySpec.java
14550         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
14551         java/sql/BatchUpdateException.java java/sql/Blob.java
14552         java/sql/CallableStatement.java java/sql/Clob.java
14553         java/sql/Connection.java java/sql/DataTruncation.java
14554         java/sql/DatabaseMetaData.java java/sql/Date.java
14555         java/sql/Driver.java java/sql/DriverManager.java
14556         java/sql/DriverPropertyInfo.java
14557         java/sql/PreparedStatement.java java/sql/Ref.java
14558         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
14559         java/sql/SQLData.java java/sql/SQLException.java
14560         java/sql/SQLInput.java java/sql/SQLOutput.java
14561         java/sql/SQLWarning.java java/sql/Statement.java
14562         java/sql/Struct.java java/sql/Time.java
14563         java/sql/Timestamp.java java/sql/Types.java
14564         java/text/Annotation.java
14565         java/text/AttributedCharacterIterator.java
14566         java/text/AttributedString.java
14567         java/text/AttributedStringIterator.java
14568         java/text/BreakIterator.java java/text/CharacterIterator.java
14569         java/text/ChoiceFormat.java java/text/Collator.java
14570         java/text/DateFormat.java java/text/DateFormatSymbols.java
14571         java/text/DecimalFormat.java
14572         java/text/DecimalFormatSymbols.java
14573         java/text/FieldPosition.java java/text/Format.java
14574         java/text/MessageFormat.java java/text/NumberFormat.java
14575         java/text/ParseException.java java/text/ParsePosition.java
14576         java/text/SimpleDateFormat.java
14577         java/text/StringCharacterIterator.java
14578         java/util/AbstractCollection.java java/util/AbstractList.java
14579         java/util/AbstractMap.java
14580         java/util/AbstractSequentialList.java
14581         java/util/AbstractSet.java java/util/ArrayList.java
14582         java/util/Arrays.java java/util/BasicMapEntry.java
14583         java/util/BitSet.java java/util/Calendar.java
14584         java/util/Collection.java java/util/Collections.java
14585         java/util/Comparator.java
14586         java/util/ConcurrentModificationException.java
14587         java/util/Date.java java/util/Dictionary.java
14588         java/util/EmptyStackException.java java/util/Enumeration.java
14589         java/util/EventListener.java java/util/EventObject.java
14590         java/util/GregorianCalendar.java java/util/HashMap.java
14591         java/util/HashSet.java java/util/Hashtable.java
14592         java/util/IdentityHashMap.java java/util/Iterator.java
14593         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
14594         java/util/LinkedList.java java/util/List.java
14595         java/util/ListIterator.java java/util/ListResourceBundle.java
14596         java/util/Locale.java java/util/Map.java
14597         java/util/MissingResourceException.java
14598         java/util/NoSuchElementException.java
14599         java/util/Observable.java java/util/Observer.java
14600         java/util/Properties.java java/util/PropertyPermission.java
14601         java/util/PropertyResourceBundle.java java/util/Random.java
14602         java/util/RandomAccess.java java/util/ResourceBundle.java
14603         java/util/Set.java java/util/SimpleTimeZone.java
14604         java/util/SortedMap.java java/util/SortedSet.java
14605         java/util/Stack.java java/util/StringTokenizer.java
14606         java/util/TimeZone.java java/util/Timer.java
14607         java/util/TimerTask.java
14608         java/util/TooManyListenersException.java
14609         java/util/TreeMap.java java/util/TreeSet.java
14610         java/util/Vector.java java/util/WeakHashMap.java
14611         java/util/jar/Attributes.java java/util/jar/JarEntry.java
14612         java/util/jar/JarException.java java/util/jar/JarFile.java
14613         java/util/jar/JarInputStream.java
14614         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
14615         java/util/zip/Adler32.java java/util/zip/CRC32.java
14616         java/util/zip/CheckedInputStream.java
14617         java/util/zip/CheckedOutputStream.java
14618         java/util/zip/Checksum.java
14619         java/util/zip/DataFormatException.java
14620         java/util/zip/Deflater.java
14621         java/util/zip/DeflaterOutputStream.java
14622         java/util/zip/GZIPInputStream.java
14623         java/util/zip/GZIPOutputStream.java
14624         java/util/zip/Inflater.java
14625         java/util/zip/InflaterInputStream.java
14626         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
14627         java/util/zip/ZipException.java java/util/zip/ZipFile.java
14628         java/util/zip/ZipInputStream.java
14629         java/util/zip/ZipOutputStream.java
14630         javax/naming/BinaryRefAddr.java
14631         javax/naming/InvalidNameException.java javax/naming/Name.java
14632         javax/naming/NamingException.java javax/naming/RefAddr.java
14633         javax/naming/StringRefAddr.java: Add license clarification.
14635 2002-01-22  Tom Tromey  <tromey@redhat.com>
14637         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
14638         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
14639         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
14640         version.
14641         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
14642         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
14643         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
14644         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
14645         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
14646         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
14647         * java/awt/peer/FontPeer.java: Replace with Classpath version.
14648         * java/awt/peer/FramePeer.java: Replace with Classpath version.
14649         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
14650         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
14651         * java/awt/peer/ListPeer.java: Replace with Classpath version.
14652         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
14653         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
14654         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
14655         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
14656         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
14657         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
14658         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
14659         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
14660         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
14661         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
14662         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
14663         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
14664         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
14665         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
14666         (minimumSize, preferredSize, reshape): Likewise.
14667         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
14668         getColorModel): New methods.
14669         * java/awt/PopupMenu.java: Merged with Classpath.
14670         * java/awt/MenuBar.java: Merged with Classpath.
14671         * java/awt/SystemColor.java: Replace with Classpath version.
14672         * java/awt/Panel.java: Merged with Classpath.
14673         * java/awt/PaintContext.java: Updated copyright.
14674         * java/awt/MenuShortcut.java: Merged with Classpath.
14675         * java/awt/MenuContainer.java: Merged with Classpath.
14676         * java/awt/Menu.java: Merged with Classpath.
14677         * java/awt/MediaEntry.java: New file from Classpath.
14678         * java/awt/MediaTracker.java: New file from Classpath.
14679         * java/awt/List.java: Merged with Classpath version.
14680         * java/awt/Insets.java: Merged with Classpath version.
14681         * java/awt/ImageMediaEntry.java: New file from Classpath.
14682         * java/awt/Image.java: Replaced with Classpath version.
14683         * java/awt/FontMetrics.java: Merged with Classpath version.
14684         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
14685         constant.
14686         * java/awt/Font.java: Merged with Classpath version.
14687         * java/awt/Dialog.java: Merged with Classpath version.
14688         * java/awt/Color.java: Merged with Classpath version.
14689         * java/awt/Choice.java: Merged with Classpath version.
14690         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
14691         * java/awt/Adjustable.java: Replace with Classpath version.
14692         * java/awt/MenuItem.java (paramString): Don't include class name
14693         or brackets.  Call superclass paramString.
14694         * java/awt/MenuComponent.java (toString): Call paramString.
14695         (paramString): Compute string; don't call toString.
14696         * java/awt/Label.java (paramString): Don't include class name
14697         or brackets.  Call superclass paramString.
14698         * java/awt/Checkbox.java (paramString): Don't include class name
14699         or brackets.  Call superclass paramString.
14700         * java/awt/Button.java (paramString): Don't include class name or
14701         brackets.  Call superclass paramString.
14702         * java/awt/MenuComponent.java (getTreeLock): Now protected.
14704 2002-01-20  Andreas Schwab  <schwab@suse.de>
14706         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
14707         function and of parameter recv_func to ssize_t, as specified by
14708         POSIX.
14710 2002-01-19  Per Bothner  <per@bothner.com>
14712         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
14713         uncompressed_size in readiness for next entry.
14715 2002-01-18  Tom Tromey  <tromey@redhat.com>
14717         * java/net/natPlainSocketImpl.cc: Include
14718         IllegalArgumentException.h.
14719         (_Jv_recv): New template function.
14720         (BooleanClass): Removed.
14721         (read): Use _Jv_recv.
14722         (setOption): Use Boolean::class$.  Throw exception if object is
14723         not Boolean or Integer.
14725 2002-01-17  Tom Tromey  <tromey@redhat.com>
14727         * java/awt/MenuComponent.java: Merged with Classpath.
14728         * java/awt/MenuItem.java: Merged with Classpath.
14729         * java/awt/Button.java: Merged with Classpath.
14731         * java/awt/ActiveEvent.java: Updated copyright.
14733         * java/awt/AWTError.java: Replaced with Classpath version.
14734         * java/awt/AWTException.java: Replaced with Classpath version.
14735         * java/awt/IllegalComponentStateException.java: Replaced with
14736         Classpath version.
14738 2002-01-16  Tom Tromey  <tromey@redhat.com>
14740         * java/awt/Canvas.java (serialVersionUID): New constant.
14741         Updated copyright.  Added javadoc from Classpath.
14742         * java/awt/ItemSelectable.java: Replaced with Classpath version.
14744         * java/awt/CheckboxGroup.java: Merged with Classpath.
14745         * java/awt/Checkbox.java: Merged with Classpath.
14747         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
14748         Classpath.
14749         * java/awt/Point.java: Updated copyright.
14751         * java/awt/Point.java (toString): Use getClass().getName().
14752         Added javadoc.
14754         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
14755         commented code.
14756         (hash): Correctly compute initial value for `h'.
14758         * java/awt/Label.java: Merged with Classpath.
14760 2002-01-15  Tom Tromey  <tromey@redhat.com>
14762         * java/awt/AWTPermission.java: Updated copyright.
14764         * java/awt/LayoutManager2.java: Merged with Classpath.
14765         * java/awt/LayoutManager.java: Merged with Classpath.
14766         * java/awt/GridLayout.java: Updated copyright and javadoc.
14767         (getSize): Use `parent.ncomponents'.  Handle insets.
14768         (layoutContainer): Use `parent.ncomponents'.  Handle case where
14769         there are fewer children than columns.  Correctly compute size of
14770         each cell in the grid.  Handle case where there isn't enough
14771         space.
14772         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
14773         all users.
14774         (gotoComponent): Use parent.ncomponents.  Ensure child exists
14775         before calling setVisible() on it.  Last item is `num - 1', not
14776         `num'.
14777         (layoutContainer): Hoist invariants out of loop.
14779         Start of AWT merge with Classpath:
14780         * Makefile.in: Rebuilt.
14781         * Makefile.am (awt_java_source_files): Reference files in
14782         gnu/java/awt, not gnu/gcj/awt.
14783         * java/awt/image/BufferedImage.java: Updated copyright.
14784         * java/awt/image/ComponentColorModel.java: Updated copyright.
14785         * java/awt/image/ComponentSampleModel.java: Updated copyright.
14786         * java/awt/image/DataBuffer.java: Updated copyright.
14787         * java/awt/image/DataBufferByte.java: Updated copyright.
14788         * java/awt/image/DataBufferInt.java: Updated copyright.
14789         * java/awt/image/DataBufferUShort.java: Updated copyright.
14790         * java/awt/image/IndexColorModel.java: Updated copyright.
14791         * java/awt/image/PackedColorModel.java: Updated copyright.
14792         * java/awt/image/Raster.java: Updated copyright.
14793         * java/awt/image/RasterOp.java: Updated copyright.
14794         * java/awt/image/SampleModel.java: Updated copyright.
14795         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
14796         * java/awt/image/WritableRaster.java: Updated copyright.
14797         * java/awt/color/ColorSpace.java: Updated copyright.
14798         * java/awt/color/ICC_ColorSpace.java: Updated copyright
14799         * java/awt/color/ICC_Profile.java: Updated copyright.
14800         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
14801         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
14802         * java/awt/event/HierarchyEvent.java: Updated copyright.
14803         * java/awt/event/HierarchyListener.java: Updated copyright.
14804         * java/awt/geom/AffineTransform.java: Updated copyright.
14805         * java/awt/geom/Dimension2D.java: Updated copyright.
14806         * java/awt/geom/Ellipse2D.java: Updated copyright.
14807         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
14808         * java/awt/geom/Line2D.java: Updated copyright.
14809         * java/awt/geom/NoninvertibleTransformException.java: Updated
14810         copyright.
14811         * java/awt/geom/PathIterator.java: Updated copyright.
14812         * java/awt/geom/Point2D.java: Updated copyright.
14813         * java/awt/geom/Rectangle2D.java: Updated copyright.
14814         * java/awt/geom/RectangularShape.java: Updated copyright.
14815         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
14816         * java/awt/Toolkit.java: Updated import for file moves.
14817         * java/awt/Rectangle.java: Updated copyright; added javadoc from
14818         Classpath.
14819         (hashCode): New method from Classpath.
14820         * java/awt/Graphics2D.java: Updated copyright.
14821         * java/awt/Transparency.java: Updated copyright.
14822         * java/awt/Paint.java: Updated copyright.
14823         * java/awt/Graphics.java: New version from Classpath.
14824         * java/awt/EventDispatchThread.java: Updated copyright.
14825         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
14826         children.
14827         (gotoComponent): Wrap around on next/previous.
14828         * gnu/gcj/awt/BitMaskExtent.java: Removed.
14829         * gnu/gcj/awt/Buffers.java: Removed.
14830         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
14831         * gnu/gcj/awt/GLightweightPeer.java: Removed.
14832         * gnu/java/awt/BitMaskExtent.java: Added.
14833         * gnu/java/awt/Buffers.java: Added.
14834         * gnu/java/awt/ComponentDataBlitOp.java: Added.
14835         * gnu/java/awt/GLightweightPeer.java: Added.
14836         * java/awt/geom/Line2D.java (clone): Ignore
14837         CloneNotSupportedException.
14838         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
14839         * java/awt/Frame.java: Merged with Classpath.
14840         * java/awt/RenderingHints.java: Copyright update.
14841         * java/awt/Paint.java: Copyright update.
14842         * java/awt/image/DirectColorModel.java: Merged with Classpath.
14843         * java/awt/image/ColorModel.java: Merged with Classpath.
14844         * java/awt/Window.java (show): New Implementation from Classpath.
14845         (isShowing): Use super.isShowing().
14846         * java/awt/EventQueue.java: Merged with Classpath.
14847         * java/awt/AWTEventMulticaster.java (save): Throw
14848         RuntimeException.
14849         (saveInternal): Likewise.
14850         * java/awt/AWTEvent.java: Now implements Serializable.
14851         * java/awt/Event.java: Copyright update.
14852         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
14853         * java/awt/image/BufferedImage.java: Copyright update.
14854         * java/awt/GraphicsConfiguration.java: Copyright update.
14855         * java/awt/Component.java: (addNotify): Don't call
14856         addNotifyContainerChildren().
14857         (addNotifyContainerChildren): Removed.
14858         (setPeer): New method from Classpath.
14859         (setTreeLock): Likewise.
14860         (setVisible): Rewrote.
14861         (show): Use it.
14862         (hide): Likewise.
14863         (validate): Set `valid'.
14864         (checkImage(Image,ImageObserver)): Implementation from Classpath.
14865         (createImage(ImageProducer)): Likewise.
14866         (prepareImage): Likewise.
14867         * java/awt/Container.java (addImpl): Handle case where constraint
14868         is not a String.  Post event via system event queue.
14869         (remove): Post event via system event queue.
14870         (validateTree): Only validate child if it is invalid.
14871         (getAlignmentX): Call super method as default.
14872         (getAlignmentY): Likewise.
14873         (addContainerListener): Now synchronized.
14874         (removeContainerListener): Likewise.
14875         (addNotifyContainerChildren): Now private.
14876         * java/awt/ComponentOrientation.java: Updated copyright.  Added
14877         @author.
14878         * java/awt/FlowLayout.java (serialVersionUID): New field.
14879         (setAlignment): Better exception message.
14880         (layoutContainer): Don't compute component's preferred size unless
14881         we're going to use it.
14882         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
14883         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
14884         (firstLine, lastLine, firstItem, lastItem): New fields.
14885         (addLayoutComponent): Handle case where constraints is null.
14886         Also, handle relative locations.
14887         (removeLayoutComponent): Handle relative locations.
14888         (MIN, MAX, PREF): New constants.
14889         (calcCompSize): New method.
14890         (calcSize): New method.
14891         (minimumLayoutSize): Use it.
14892         (preferredLayoutSize): Likewise.
14893         (maximumLayoutSize): Likewise.
14894         (toString): Include more information.
14895         (setBounds): New method.
14896         (layoutContainer): Use libgcj implementation; extended to handle
14897         relative locations.
14899 2002-01-15  Tom Tromey  <tromey@redhat.com>
14901         * java/lang/Float.java (equals): Preserve old code.
14902         * java/lang/Double.java (equals): Preserve old code.
14904 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
14906         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
14907         * java/lang/Float.java (equals, compare): Ditto.
14909 2002-01-13  Mark Wielaard  <mark@klomp.org>
14911         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
14912         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
14913         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
14914         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
14916 2002-01-11  Mark Wielaard  <mark@klomp.org>
14918         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
14919         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
14920         InetAddress.
14921         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
14922         * java/net/Socket.java: Merge with Classpath.
14923         * java/net/ServerSocket.java: Likewise.
14925 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
14927         * interpret.cc (NULLARRAYCHECK): New macro.
14928         (SAVE_PC): Just store `pc'.
14929         (find_exception): Subtract one from `pc' here.
14930         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
14931         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
14932         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
14933         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
14934         don't call SAVE_PC.
14935         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
14936         call SAVE_PC.
14938 2002-01-11  Tom Tromey  <tromey@redhat.com>
14940         * java/lang/natSystem.cc (init_properties): Only look for default
14941         locale if LC_MESSAGES is defined.
14942         * aclocal.m4, configure, include/config.h.in: Rebuilt.
14943         * configure.in: Call AM_LC_MESSAGES.
14944         * acinclude.m4 (AM_LC_MESSAGES): New macro.
14946 2002-01-10  Tom Tromey  <tromey@redhat.com>
14948         For PR libgcj/5303:
14949         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
14950         --version.  Recognize GNU-style long options.  Print GNU-style
14951         error messages.
14952         (usage): Print GNU-style help.  Exit with status 0.
14953         (error): New method.
14954         (run): Print error message if no class names found.
14955         (main): Don't print usage on error.
14957 2002-01-09  Tom Tromey  <tromey@redhat.com>
14959         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
14960         property.
14961         (help, version): Use println(), not println("").
14963         For PR libgcj/5303:
14964         * gnu/gcj/convert/Convert.java (error): Program is called
14965         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
14966         -1.
14967         (main): Handle --help and --version.
14968         (help): New method.
14969         (version): Likewise.
14971 2002-01-08  Tom Tromey  <tromey@redhat.com>
14973         * Makefile.in: Rebuilt.
14974         * Makefile.am (ordinary_java_source_files): Added new files.
14975         * gnu/java/locale/LocaleInformation.java: Extend
14976         LocaleInformation_en.
14977         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
14978         and time/date formats.
14979         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
14980         generated.
14981         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
14982         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
14983         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
14984         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
14985         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
14986         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
14987         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
14988         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
14989         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
14990         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
14991         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
14992         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
14993         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
14994         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
14995         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
14996         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
14997         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
14998         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
14999         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
15000         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
15001         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
15002         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
15003         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
15004         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
15005         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
15006         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
15007         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
15008         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
15009         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
15010         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
15011         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
15012         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
15013         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
15014         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
15015         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
15016         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
15017         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
15018         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
15019         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
15020         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
15021         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
15022         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
15023         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
15024         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
15025         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
15026         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
15027         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
15028         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
15029         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
15030         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
15031         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
15032         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
15033         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
15034         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
15035         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
15036         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
15037         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
15038         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
15039         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
15040         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
15041         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
15042         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
15043         * gnu/java/locale/LocaleInformation_es_US.java: New file.
15044         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
15045         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
15046         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
15047         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
15048         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
15049         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
15050         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
15051         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
15052         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
15053         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
15054         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
15055         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
15056         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
15057         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
15058         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
15059         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
15060         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
15061         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
15062         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
15063         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
15064         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
15065         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
15066         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
15067         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
15068         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
15069         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
15070         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
15071         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
15072         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
15073         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
15074         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
15075         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
15076         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
15077         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
15078         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
15079         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
15080         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
15081         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
15082         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
15083         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
15084         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
15085         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
15086         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
15087         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
15088         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
15089         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
15090         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
15091         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
15092         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
15093         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
15094         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
15095         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
15096         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
15097         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
15098         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
15099         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
15100         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
15101         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
15102         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
15103         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
15104         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
15105         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
15106         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
15107         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
15108         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
15109         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
15110         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
15112         For PR libgcj/5031:
15113         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
15114         choose default locale.
15116         * Makefile.in: Rebuilt.
15117         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
15119 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
15121         * java/net/natPlainSocketImpl.cc: Added timeout handling for
15122         sockets.
15123         (close): New function closes the socket.
15124         (write): New functions for output to socket.
15125         (read): New functions for reading from socket.
15126         * java/net/PlainSocketImpl.java: Glue for new timeout
15127         implementation.
15128         (write): Call the native impl.
15129         (read): Likewise.
15130         (getInputStream): Get a stream to read from the socket.
15131         (getOutputStream): Get a stream to write to the socket.
15133 2002-01-08  Tom Tromey  <tromey@redhat.com>
15135         * resolve.cc (_Jv_PrepareClass): Enable verifier.
15137 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
15139         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
15140         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
15142 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
15144         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
15145         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
15146         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
15147         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
15148         insn_bastore, insn_castore, insn_sastore]: Use it.
15149         (continue1) [insn_arraylength]: Check for null array.
15151 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
15153         * configure, include/config.h.in: Rebuilt.
15154         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
15155         * configure.in: Call AC_STRUCT_TIMEZONE.
15157 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
15159         * configure.host: Disable the interpreter for Darwin.
15161 2002-01-04  Tom Tromey  <tromey@redhat.com>
15163         * java/lang/Thread.java (stop): No longer synchronized.
15164         (start): Likewise.
15166 2002-01-02  Tom Tromey  <tromey@redhat.com>
15168         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
15169         patch.
15171 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
15173         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
15174         PPC Darwin, not for all of Darwin.