This commit was manufactured by cvs2svn to create branch
[official-gcc.git] / libjava / ChangeLog
blob73766a484c3ec5276c08ae241bedc0755094027b
1 2004-04-18  Release Manager
3         * GCC 3.4.0 released.
5 2004-03-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
7         * verify.cc: Undef PC.
9 2004-03-11  Alan Modra  <amodra@bigpond.net.au>
11         * include/powerpc-signal.h: Revert 2004-01-21 change.
12         (INIT_SEGV, INIT_FPE): Provide powerpc64 versions.  Check return
13         from syscall for ppc32 versions.
15 2004-02-25  Andrew Haley  <aph@redhat.com>
17         PR java/14296:
18         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Make sure
19         we have a valid method index.
21 2004-02-14  Per Bothner  <per@bothner.com>
23         * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
24         Set closed before calling implCloseChannel, as in the spec.
26 2004-02-08  Per Bothner  <per@bothner.com>
28         * java/nio/ByteBuffer.java (shiftDown):  New helper method.
29         * java/nio/natDirectByteBufferImpl.cc (shiftDown):  New implementation.
30         * java/nio/ByteBufferImpl.java (compact):  Use new shiftDown method.
31         * sava/nio/ByteBufferHelper.java:  Remove redundant 'final' specifiers.
32         Pass ByteOrder parameter to most methods, since the underlying
33         ByteBuffer's order isn't always what we should use.
34         * java/nio/ByteBufferImpl.java:  Pass byte-order various places.
35         * java/nio/DirectByteBufferImpl.java:  Likewise.
36         Use ByteBufferHelper methods.
37         * java/nio/MappedByteBufferImpl.java:  Likewise.
38         (compact):  Use shiftDown.
39         * java/nio/CharViewBufferImpl.java (<init>):  Pass byte-order.
40         (get, put):  Use ByteBufferHelper.
41         (compact):  Use new shiftDown method.
42         (duplicate(boolean)):  New helper method.
43         (duplicate, asReadOnlyBuffer):  Use it.
44         (order):  Return endian field.
45         * java/nio/DoubleViewBufferImpl.java:  Likewise.
46         * java/nio/FloatViewBufferImpl.java:  Likewise.
47         * java/nio/IntViewBufferImpl.java:  Likewise.
48         * java/nio/LongViewBufferImpl.java:  Likewise.
49         * java/nio/ShortViewBufferImpl.java:  Likewise.
50         * java/nio/CharViewBufferImpl.java (subsequence):  Redundant test.
51         * java/nio/DirectByteBufferImpl.java (shiftDown):  New native method.
52         (compact):  Re-implement using shiftDown.
54 2004-02-05  Michael Koch  <konqueror@gmx.de>
56         * gnu/java/nio/NIOServerSocket.java
57         (impl): Unused, removed.
58         * gnu/java/nio/SocketChannelImpl.java
59         (finnishConnect): Don't throw NoConnectionPendingException if not
60         connected or no connection pending.
62 2004-02-03  Tom Tromey  <tromey@redhat.com>
64         * java/lang/natPosixProcess.cc (startProcess): Handle case where
65         PATH or LD_LIBRARY_PATH is not set in parent environment.
67 2004-02-03  Mohan Embar  <gnustuff@thisiscool.com>
69         * gnu/java/nio/DatagramChannelImpl.java
70         (inChannelOperation): New field.
71         (isInChannelOperation): New accessor.
72         (setInChannelOperation): New modifier.
73         (receive): Use capacity() - position() of destination
74         buffer instead of remaining(). Set and reset our "in
75         channel operation indicator" before and after delegating
76         the receive to our datagram socket. Removed testing code.
77         Update destination buffer's current position if it is
78         backed by a byte array (hasArray() is true).
79         (send): Set and reset our "in channel operation indicator"
80         before and after delegating the send to our datagram socket.
81         Removed testing code. Update source buffer's current position
82         if it is backed by a byte array (hasArray() is true).
83         * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
84         Use capacity() - position() of destination buffer instead
85         of remaining().
86         * java/net/DatagramSocket.java (receive): Don't throw an
87         IllegalBlockingModeException if we have a non-blocking
88         channel which initiated this operation.
89         (send): Likewise.
91 2004-02-03  Mohan Embar  <gnustuff@thisiscool.com>
93         * gnu/java/net/PlainSocketImpl.java 
94         (inChannelOperation): New field.
95         (isInChannelOperation): New accessor.
96         (setInChannelOperation): New modifier.
97         * gnu/java/nio/ServerSocketChannelImpl.java
98         (accept): Set and reset our server socket's PlainSocketImpl's
99         "in channel operation" indicator before and after delegating
100         the accept to our server socket.
101         * gnu/java/nio/SocketChannelImpl.java
102         (connect): Set and reset our socket's PlainSocketImpl's "in channel
103         operation" indicator before and after delegating the operation to
104         our socket.
105         (read): Likewise.
106         (write): Likewise.
107         * java/net/ServerSocket.java (implAccept): Don't throw an
108         IllegalBlockingModeException if we have a non-blocking
109         channel which initiated this accept operation.
110         * java/net/Socket.java (connect): Don't throw an
111         IllegalBlockingModeException if we have a non-blocking
112         channel which initiated this connect operation.
113         * java/nio/channels/spi/AbstractSelectableChannel.java
114         (configureBlocking): Only call implConfigureBlocking() if
115         the desired blocking mode is different from our current one.
117 2004-01-24  Michael Koch  <konqueror@gmx.de>
119         * gnu/java/net/protocol/http/Connection.java
120         (connect): Don't initialize bufferedOutputStream if not needed.
121         (sendRequest): Set property for content length if content is present.
122         Write content only if present.
123         (getOutputStream): Check if already connected, dont connect,
124         initalize bufferedOutputStream if needed.
126 2004-01-24  Michael Koch  <konqueror@gmx.de>
128         * Makefile.am: Added library version to gtk peer lib.
129         * Makefile.in: Regenerated.
131 2004-01-21  Jakub Jelinek  <jakub@redhat.com>
133         * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
134         header.  For __powerpc64__ provide the default-signal.h definitions
135         for now.
136         * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
137         instead of the dummy definitions.
138         * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
139         (powerpc64*-*): Remove with_libffi_default.
140         Only add -mminimal-toc for 64-bit compilations.
141         * configure.in: Use powerpc-signal.h on powerpc64 as well.
142         (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
143         Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
144         * configure: Rebuilt.
146 2004-01-21  Tom Tromey  <tromey@redhat.com>
148         PR java/13468:
149         * Makefile.in: Rebuilt.
150         * Makefile.am (interpret.lo): New target.
152 2004-01-20  Jakub Jelinek  <jakub@redhat.com>
154         * Makefile.am (lib_org_w3c_dom_la_LIBADD,
155         lib_org_w3c_dom_la_LDFLAGS): New.
156         (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
157         * Makefile.in: Rebuilt.
159 2004-01-19  Matthias Klose  <doko@debian.org>
161         * libtool-version: Increased `current' to 5.
163 2004-01-16  Andrew Haley  <aph@redhat.com>
165         * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
166         * sysdep/i386/locks.h: Likewise.
168 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
170         * java/awt/EventDispatchThread.java (run): Stop running when
171         interrupted.
172         * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
173         Reset the queue after transferring its contents.
174         (push): Start a new dispatch thread if none is running.
176 2004-01-16  Olga Rodimina <rodimina@redhat.com>
178         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
179         (doPolygon): set fill rule of polygon to 
180         WIND_EVEN_ODD by default.
182 2004-01-15  Olga Rodimina <rodimina@redhat.com>
184         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
185         Implemented rendering hints related methods.
186         (getDefaultHints): New helper method. Returns
187         default rendering hints.
188         (walkPath): changed to normalize path if
189         the KEY_STROKE_CONTROL key is in "normalize" mode.
190         (draw3DRect): changed coordinates of rectangle by +0.5
191         if in "normalize" mode.
193 2004-01-15  Tom Tromey  <tromey@redhat.com>
195         * Makefile.in: Rebuilt.
196         * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
197         (%.lo: %.java) Filter out StackTrace.lo.
199 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
201         * configure.in: Add in AC_PREREQ(2.13)
202         * libltdl/configure.ac: Update to AC_PREREQ(2.57).  Delete 
203         FIXME comment.
205 2004-01-14  Nathan Bryant  <nbryant@optonline.net>
206             Tom Tromey  <tromey@redhat.com>
208         PR libgcj/12001:
209         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
210         array to superclass.
211         (init): Changed interface; add URLs here.
212         (initialize): New static method.
213         * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
214         (_Jv_RunMain): ... not here.
216 2004-01-14  Michael Koch  <konqueror@gmx.de>
218         * java/text/MessageFormat.java:
219         Added descriptions to exceptions.
220         This fixes PR libgcj/2429.
222 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
224         * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
225         (push): Make sure push is performed at the top of the thread stack.
227 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
229         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
230         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
231         (native create): Add width and height parameters.  Set text
232         view's size request according to new parameters.
233         (create): Calculate text view size based on current font's
234         metrics and number of rows and columns.  Set TextArea's font if
235         not already set.  Call native create.
236         (getMinimumSize): Call minimumSize.
237         (getPreferredSize): Call preferredSize.
238         (getHScrollbarHeight): New method.
239         (getVScrollbarWidth): New method.
240         (minimumSize): Calculate minimum size based on scrollbar
241         visibility, scrollbar sizes, font metrics and number of rows and
242         columns.
243         (preferredSize): Likewise for preferred size.
244         (gtkTextGetSize): Remove method.
246 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
248         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
249         (initializeInsets): Remove method.
250         (GtkComponentPeer): Initialize insets field.  Remove call to
251         initializeInsets.
252         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
253         Remove method.
254         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
255         Remove method.
256         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
257         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
258         (latestInsets): Remove field.
259         (native create): Add insets parameter.  Call
260         window_get_frame_extents.  Set the window's default size and
261         size request based on its frame extents.
262         (create): Initialize insets.
263         (postInsetsChangedEvent): New method.
264         (postConfigureEvent): Remove parameters top, left, bottom,
265         right.  Remove insets-related logic.
266         (connectJObject): Handle property-notify-event.
267         (window_get_frame_extents, request_frame_extents,
268         property_notify_predicate, window_property_changed_cb): New
269         static functions.
270         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
271         (pre_event_handler): Remove insets-related logic for configure
272         events.
273         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
274         Update postConfigureEvent signature.
276 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
278         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
279         to handle Window "Closing" events.
281 2004-01-13  David Jee  <djee@redhat.com>
283         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
284         (setBackground): New method. Children with no explicitly-set
285         background will be repainted with the parent container's new
286         background color.
288 2004-01-13  David Jee  <djee@redhat.com>
290         * Makefile.am: Add BitwiseXORComposite.java.
291         * Makefile.in: Regenerated.
292         * gcj/Makefile.in: Regenerated.
293         * include/Makefile.in: Regenerated.
294         * testsuite/Makefile.in: Regenerated.
296 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
298         * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
299         not show modal dialogs twice and so that it allows showing a modal
300         dialog from another modal dialog.
302 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
304         * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
305         and run secondary dispatch thread to process event queue while this
306         thread is blocked.
308 2004-01-12  Graydon Hoare  <graydon@redhat.com>
310         * gnu/java/awt/gtk/GdkGraphics2D.java
311         (static): Check GtkToolkit before initializing static state.
312         (Graphics2D): Don't construct transform with 0.5 unit offset.
314 2003-11-06  Sascha Brawer  <brawer@dandelis.ch>
316         * gnu/java/awt/BitwiseXORComposite.java: Add.
317         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
318         (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
319         (BitwiseXORComposite): Remove inner class.
321 2004-01-11  Michael Koch  <konqueror@gmx.de>
323         * gnu/java/lang/reflect/TypeSignature.java
324         (getEncodingOfClass): Documentation fixed.
325         (getClassForEncoding): Give class loader to Class.forName().
326         Documentation fixed.
328 2004-01-11  Sascha Brawer  <brawer@dandelis.ch>
330         * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
332 2004-01-11  Michael Koch  <konqueror@gmx.de>
334         * javax/swing/undo/StateEditable.java
335         (RCSID): Removed redundant modifiers.
337 2004-01-10  Michael Koch  <konqueror@gmx.de>
339         * javax/print/attribute/EnumSyntax.java
340         (getStringTable): Made protected.
341         (getEnumValueTable): Likewise.
342         * javax/print/attribute/standard/JobKOctetsProcessed.java
343         (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
344         * javax/print/attribute/standard/JobMediaSheetsCompleted.java
345         (JobMediaSheetsCompleted): Made class final.
346         * javax/print/attribute/standard/OutputDeviceAssigned.java
347         (getName): Fixed typo.
348         * javax/print/attribute/standard/RequestingUserName.java
349         (serialVersionUID): Fixed value.
351 2004-01-10  Michael Koch  <konqueror@gmx.de>
353         * javax/swing/plaf/basic/BasicButtonUI.java,
354         javax/swing/plaf/basic/BasicCheckBoxUI.java,
355         javax/swing/plaf/basic/BasicListUI.java,
356         javax/swing/plaf/basic/BasicOptionPaneUI.java,
357         javax/swing/plaf/basic/BasicPanelUI.java,
358         javax/swing/plaf/basic/BasicRadioButtonUI.java,
359         javax/swing/plaf/basic/BasicScrollPaneUI.java,
360         javax/swing/plaf/basic/BasicToggleButtonUI.java,
361         javax/swing/plaf/basic/BasicViewportUI.java:
362         Fixed import statements.
364 2004-01-10  Michael Koch  <konqueror@gmx.de>
366         * gnu/java/awt/image/ImageDecoder.java
367         (produce): Made public.
368         * gnu/java/awt/peer/GLightweightPeer.java,
369         gnu/java/awt/peer/gtk/GtkToolkit.java:
370         Reformated.
372 2004-01-10  Michael Koch  <konqueror@gmx.de>
374         * javax/swing/JRadioButtonMenuItem.java,
375         javax/swing/JSeparator.java,
376         javax/swing/JSplitPane.java,
377         javax/swing/JTextPane.java,
378         javax/swing/JToolBar.java,
379         javax/swing/ListCellRenderer.java,
380         javax/swing/ListModel.java,
381         javax/swing/MenuElement.java,
382         javax/swing/OverlayLayout.java,
383         javax/swing/ProgressMonitor.java,
384         javax/swing/ProgressMonitorInputStream.java,
385         javax/swing/Renderer.java,
386         javax/swing/RootPaneContainer.java,
387         javax/swing/Scrollable.java,
388         javax/swing/SingleSelectionModel.java,
389         javax/swing/ToolTipManager.java,
390         javax/swing/ViewportLayout.java,
391         javax/swing/event/DocumentEvent.java,
392         javax/swing/event/SwingPropertyChangeSupport.java,
393         javax/swing/event/TreeSelectionEvent.java,
394         javax/swing/event/UndoableEditEvent.java,
395         javax/swing/text/AbstractDocument.java,
396         javax/swing/text/AttributeSet.java,
397         javax/swing/text/Caret.java,
398         javax/swing/text/ComponentView.java,
399         javax/swing/text/DefaultCaret.java,
400         javax/swing/text/DefaultEditorKit.java,
401         javax/swing/text/Document.java,
402         javax/swing/text/EditorKit.java,
403         javax/swing/text/GapContent.java,
404         javax/swing/text/Keymap.java,
405         javax/swing/text/MutableAttributeSet.java,
406         javax/swing/text/PlainEditorKit.java,
407         javax/swing/text/Segment.java,
408         javax/swing/text/Style.java,
409         javax/swing/text/StyledDocument.java,
410         javax/swing/text/StyledEditorKit.java,
411         javax/swing/text/TextAction.java,
412         javax/swing/text/View.java: Fixed import statements.
414 2004-01-08  Graydon Hoare  <graydon@redhat.com>
416         * javax/swing/JLayeredPane.java: Rewrite to accomodate
417         djee@redhat.com's recent inverse ordering of Container elements.
419 2004-01-09  Michael Koch  <konqueror@gmx.de>
421         * gnu/java/lang/ArrayHelper.java
422         (equalsArray): Removed.
424 2004-01-09  Andrew Haley  <aph@redhat.com>
426         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
427         a Utf8Const field before looking at its class.
429 2004-01-09  Michael Koch  <konqueror@gmx.de>
431         * javax/print/attribute/standard/DocumentName.java,
432         javax/print/attribute/standard/JobHoldUntil.java,
433         javax/print/attribute/standard/JobMessageFromOperator.java,
434         javax/print/attribute/standard/JobName.java,
435         javax/print/attribute/standard/JobOriginatingUserName.java,
436         javax/print/attribute/standard/OutputDeviceAssigned.java,
437         javax/print/attribute/standard/PrinterInfo.java,
438         javax/print/attribute/standard/PrinterLocation.java,
439         javax/print/attribute/standard/PrinterMakeAndModel.java,
440         javax/print/attribute/standard/PrinterMessageFromOperator.java,
441         javax/print/attribute/standard/PrinterName.java,
442         javax/print/attribute/standard/RequestingUserName.java: New files.
443         * Makefile.am (javax_source_files): Added new files.
444         * Makefile.in: Regenerated.
446 2004-01-09  Michael Koch  <konqueror@gmx.de>
448         * javax/swing/AbstractAction.java,
449         javax/swing/AbstractSet.java,
450         javax/swing/Action.java,
451         javax/swing/ActionMap.java,
452         javax/swing/BoundedRangeModel.java,
453         javax/swing/ButtonModel.java,
454         javax/swing/CellEditor.java,
455         javax/swing/CellRendererPane.java,
456         javax/swing/ComboBoxEditor.java,
457         javax/swing/DebugGraphics.java,
458         javax/swing/DefaultCellEditor.java,
459         javax/swing/DefaultCellRenderer.java,
460         javax/swing/DefaultComboBoxModel.java,
461         javax/swing/DefaultDesktopManager.java,
462         javax/swing/DefaultFocusManager.java,
463         javax/swing/DefaultListCellRenderer.java,
464         javax/swing/Icon.java,
465         javax/swing/JButton.java,
466         javax/swing/JCheckBoxMenuItem.java,
467         javax/swing/JDesktopPane.java,
468         javax/swing/JEditorPane.java,
469         javax/swing/JMenu.java,
470         javax/swing/JPanel.java,
471         javax/swing/JPasswordField.java,
472         javax/swing/JPopupMenu.java,
473         javax/swing/JProgressBar.java: Reworked imports.
475 2004-01-09  Michael Koch  <konqueror@gmx.de>
477         * java/awt/geom/PathIterator.java
478         (WIND_EVEN_ODD): Removed redundant modifiers.
479         (WIND_NON_ZERO): Likewise.
480         (SEG_MOVETO): Likewise.
481         (SEG_LINETO): Likewise.
482         (SEG_QUADTO): Likewise.
483         (SEG_CUBICTO): Likewise.
484         (SEG_CLOSE): Likewise.
485         * java/awt/image/SinglePixelPackedSampleModel.java:
486         Removed redundant semicolon.
487         * java/io/ObjectInputStream.java
488         (inputGetObjectStreamClasses): Removed unused variable "ret_val".
489         * java/util/logging/Filter.java
490         (isLoggable): Removed redundant modifier.
491         * java/util/logging/LogManager.java:
492         Removed redundant semicolon.
493         * java/util/logging/XMLFormatter.java
494         (format): Removed unused variable "key".
496 2004-01-08  Fernando Nasser  <fnasser@redhat.com>
498         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
499         New name for the former setFile native method.
500         (setFile): New method.
501         (setDirectory): Implemented.
502         (connectSignals): New native method.
503         (setFilenameFilter): Improve comment.
504         (getGraphics): Comment.
505         (gtkHideFileDialog): New method.
506         (gtkDisposeFileDialog): New method.
507         (gtkSetFilename): New method.
508         * java/awt/Dialog.java (show): Block on modal dialogs, but only
509         for FileDialog for now.
510         (hide): New method.
511         (dispose): New method.
512         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
513         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
514         deprecated creation functions.  Make dialog modal.  Add it to the
515         window group.
516         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
517         function.
518         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
519         Rename to...
520         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
521         name.
522         (window_closed): New function.
523         (ok_clicked): New function.
524         (cancel_clicked): New function.
526 2004-01-08  Michael Koch  <konqueror@gmx.de>
528         * javax/swing/JLayeredPane.java: Revert changes to standard
529         boilerplate, reworked imports.
531 2004-01-07  Tom Tromey  <tromey@redhat.com>
533         PR libgcj/13439:
534         * verify.cc (state::merge): Copy changed locals out of subroutine
535         in NO_STACK case.
536         (state::FLAG_CHANGED): New const.
537         (state::FLAG_UNUSED): Likewise.
538         (state::local_changed): Removed.  Updated all users.
539         (state::flags): New field.
540         (state::merge): Added jsr_semantics argument, more logic.
541         (push_jump_merge): Added jsr_semantics argument.
542         (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
543         merging through the jsr instruction.
545 2004-01-07  Tom Tromey  <tromey@redhat.com>
547         * scripts/MakeDefaultMimeTypes.java: Use \n, not
548         backslash-newline.
550 2004-01-07  Graydon Hoare  <graydon@redhat.com>
552         * java/awt/Container.java (LightweightDispatcher): Implement.
553         (visitChild): Reuse graphics object.
554         (dispatchEventImpl): Optionally dispatch to lightweight.
555         (addNotifyContainerChildren): Build LightweightDispatcher.
557 2004-01-07  David Jee  <djee@redhat.com>
559         * java/awt/Container.java
560         (update): Clear only the clipped region, instead of clearing the
561         entire Container.
562         (visitChildren): Visit children in descending order.
564 2004-01-07  Michael Koch  <konqueror@gmx.de>
566         * java/lang/reflect/Array.java: Merged documentation with classpath.
568 2004-01-07  Michael Koch  <konqueror@gmx.de>
570         * java/text/CollationElementIterator.java
571         (textIndex): Renamed from index.
572         * java/text/CollationKey.java
573         (collator): New member.
574         (CollationKey): New argument for parent collator.
575         (equals): Check for same collator, source string and key array.
576         * java/text/RuleBasedCollator.java:
577         Reformated.
578         (RuleBasedCollator): Don't re-initialize frenchAccents with default
579         value.
580         (getCollationElementIterator): Rewritten.
581         (getCollationKey): Added new argument to CollationKey constructor.
583 2004-01-07  Michael Koch  <konqueror@gmx.de>
585         * gnu/java/nio/DatagramChannelImpl.java
586         (blocking): Removed.
587         (DatagramChannelImpl): Call configureBlocking().
588         (implConfigureBlocking): Dont initialize blocking.
589         * gnu/java/nio/ServerSocketChannelImpl.java
590         (blocking): Removed.
591         (ServerSocketChannelImpl): Call configureBlocking().
592         (implConfigureBlocking): Dont initialize blocking.
593         * gnu/java/nio/SocketChannelImpl.java
594         (blocking): Removed.
595         (SocketChannelImpl): Call configureBlocking().
596         (implConfigureBlocking): Dont initialize blocking.
597         (connect): Use isBlocking().
598         * java/nio/channels/spi/AbstractSelectableChannel.java
599         (configureBlocking): Use blockingLock() instead of LOCK.
600         Set blocking after successfully called implConfigureBlocking().
601         (register): Use blockingLock() instead of LOCK.
603 2004-01-07  Michael Koch  <konqueror@gmx.de>
605         * java/net/ServerSocket.java (isBound): Fixed documentation.
607 2004-01-07  Sascha Brawer  <brawer@dandelis.ch>
609         * javax/swing/DefaultBoundedRangeModel.java: Documented API.
610         (changeEvent): Create event object on demand.
611         (DefaultBoundedRangeModel, toString, setValue, setExtent,
612         setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
613         fireStateChanged): Re-written.
614         * javax/swing/event/EventListenerList.java: Reformatted, document
615         typical usage.
616         (toString): Implemented.
617         (getListeners): Re-written.
618         (remove): Re-written.
619         (add): Re-written.
620         (NO_LISTENERS): New singleton field.
621         (listenerList): Declare as transient; document.
622         (serialVersionUID): Document.
623         (getListenerCount(Class)): More efficient implementation,
624         also accepts null argument.  Improve Javadoc.
625         (getListenerCount()): Remove unnecessary cast; docfix.
626         * javax/swing/undo/UndoableEditSupport.java:
627         Re-format, document.
628         (UndoableEditSupport): Set realSource field. Improve documentation.
629         (_postEdit): Iterate over cloned listener vector.
630         (toString): Don't emit realSource.
631         (beginUpdate, endUpdate): Support nested updates.
632         (postEdit): Use compound edit if present.
634 2004-01-06  Graydon Hoare  <graydon@redhat.com>
636         * java/awt/Container.java (swapComponents): Add forgotten
637         function, required for JLayeredPane change.
639 2004-01-06  Michael Koch  <konqueror@gmx.de>
641         * java/text/CollationElementIterator.java: Reformated.
642         (CollationElementIterator): Changed order of arguments.
643         * java/text/RuleBasedCollator.java
644         (RuleBasedCollator): Merged class documentation.
645         (CollationElement): Added documentation.
646         (compare): Reformated, renamed arguments.
647         (equals): Likewise.
648         (getCollationElementIterator): Likewise.
649         (getCollationKey): Likewise.
651 2004-01-06  Graydon Hoare  <graydon@redhat.com>
653         * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
655 2004-01-06  Michael Koch  <konqueror@gmx.de>
657         * gnu/java/net/protocol/file/Connection.java:
658         Reformated copyright.
659         (hdrHash): Removed.
660         (hdrVec): Removed.
661         (gotHeaders): Removed.
662         (getHeaderField): Removed.
663         (getHeaderField): Removed.
664         (getHeaderFieldKey): Removed.
665         (getKey): Removed.
666         (getField): Removed.
667         (getHeaders): Removed.
669 2004-01-06  Michael Koch  <konqueror@gmx.de>
671         * javax/print/attribute/standard/DateTimeAtCompleted.java,
672         javax/print/attribute/standard/DateTimeAtCreation.java,
673         javax/print/attribute/standard/DateTimeAtProcessing.java,
674         javax/print/attribute/standard/JobImpressionsCompleted.java,
675         javax/print/attribute/standard/JobKOctets.java,
676         javax/print/attribute/standard/JobKOctetsProcessed.java,
677         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
678         javax/print/attribute/standard/JobPrioritySupported.java: New files.
679         * Makefile.am (javax_source_files): Added new files.
680         * Makefile.in: Regenerated.
682 2004-01-06  Michael Koch  <konqueror@gmx.de>
684         * java/net/URLConnection.java
685         (contentHandler): Removed.
686         (locale): Removed.
687         (getHeaderFields): Return an empty map instead of null.
688         (getContent): Connect if needed, renamed "cType" to "type" and
689         "contentHandler" to "ch" and made it a local variable.
690         (getPermission): Don't use package in class name.
691         (setDefaultRequestProperty): Fixed typo in documentation.
692         (initializeDateFormats): Made locale a local variable.
694 2004-01-06  Michael Koch  <konqueror@gmx.de>
696         * java/lang/Package.java
697         (getPackage): Get the current class loader directly.
698         * java/lang/SecurityManager.java
699         (currentLoadedClass): Dont iterate over class contexts.
700         (classLoaderDepth): Don't check class loaders if everything is allowed.
702 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
704         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
705         (pre_event_handler): Set all insets to 0 when a Configure event
706         is received for a GtkPlug.
707         * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
708         Make handle long, not int.
709         (EmbeddedWindow()): New constructor.
710         (EmbeddedWindow(int)): Rename window_id to handle.  Make handle
711         long, not int.
712         (setHandle): New method.
713         (getHandle): Return long, not int.
714         * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
715         declaration.
716         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
717         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
718         (create(long)): Take long parameter, not int.  Cast gtk_plug_new
719         argument to GdkNativeWindow.
720         (construct): New method.
721         (embed): New method.
723         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
724         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
725         (create(int, int)): New method.
726         (create): Call new create method.
727         (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
728         methods.
729         (childResized): Remove native implementation.  Implement in
730         Java.
731         (getHScrollbarHeight, getVScrollbarWidth): Call
732         gtk_widget_size_request to get scrollbar dimensions.
733         * java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
734         call getVScrollbarWidth and getHScrollbarHeight when vertical
735         and horizontal scrollbars respectively are needed.
736         (doLayout): Enlarge child if it is smaller than the viewport.
738 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
740         * java/awt/Dialog.java (constructor): Accept null title as per spec.
741         * java/awt/FileDialog.java (constructor): Throw exception on invalid
742         argument as per spec.
744 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
746         * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
747         (insert): Ditto.
748         (remove): Ditto.  Also, Check for valid argument.
749         (removeAll): Use peer interface method.
750         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
751         native add function.
752         (nativeRemove): New name for native remove function.
753         (getHistory): New native function.
754         (constructor): Generate ItemEvent.
755         (add): Ditto, if selection is changed.
756         (remove): Ditto, ditto.
757         (removeAll): Add implementation.
758         (handleEvent): Remove.  Dead code.
759         (choicePostItemEvent): Add comment.
760         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
761         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
762         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
763         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
764         comments and fix condition to change selection.
765         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
766         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
767         remove all capability.
768         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
769         (item_activate): Add cast to remove compiler warning.
771 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
773         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
774         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
775         (getPreferredSize): Call preferredSize.
776         (preferredSize): Call gtkWidgetGetPreferredDimensions.
777         (getMinimumSize): Call minimumSize.
778         (minimumSize): Call gtkWidgetGetPreferredDimensions.
779         (gtkWidgetGetDimensions): Return the peer widget's current size
780         request.
781         (gtkWidgetGetPreferredDimensions): Return the peer widget's
782         natural size request.
784 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
786         Thanks to Brian Gough <bjg@network-theory.com>
787         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
788         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
790 2004-01-04  Matthias Klose  <doko@debian.org>
792         * aclocal.m4: Rebuilt using "aclocal -I .".
793         * configure: Rebuilt.
795 2004-01-03  Per Bothner  <per@bothner.com>
797         * java/util/Date.java (parse):  Fix a number of problems.
798         (skipParens):  Remove no-longer-needed method.
800 2003-12-31  Michael Koch  <konqueror@gmx.de>
802         * gnu/java/net/protocol/http/Connection.java
803         (sendRequest): Dont encode output in default character encoding,
804         add correct version number to HTTP user agent string.
806 2003-12-31  Graydon Hoare  <graydon@redhat.com>
808         * configure.in: Add --enable-gtk-cairo check.
809         * configure: Regenerate.
810         * Makefile.am: Conditionally link against cairo.
811         * Makefile.in: Regenerate.
812         * acinclude.m4: Include PKG_CHECK_MODULES.
813         * aclocal.m4: Regenerate.
814         * gnu/java/awt/peer/gtk/GtkToolkit.java (useGraphics2D): New method.
815         (getFontMetrics, getClasspathFontPeer):
816         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics):
817         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (createImage):
818         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (getGraphics):
819         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics):
820         Switch behavior depending on GtkToolkit.useGraphics2D().   
821         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Extend ClasspathFontPeer.
822         * java/awt/Font.java: Switch to peer model.
823         * jni/gtk-peer/gtkcairopeer.h: Definitions of cairo stuff.
824         * jni/gtk-peer/gdkfont.h: Include gtkcairopeer.h.
825         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Include gtkcairopeer.h.
826         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: Un-include gtkpeer.h. 
828 2003-12-31  Guilhem Lavaux  <guilhem@kaffe.org>
830         * java/io/ObjectOutputStream.java
831         (putFields): Reindented. Fixed behaviour: currentPutField should be
832         null
833         before calling this method.
834         (writeFields): Likewise.
835         (markFieldsWritten): Fixed the exception message.
836         (callWriteMethod): Ensure currentPutField is null.
837         (getBooleanField): Translate IllegalArgumentException into
838         InvalidClassException.
839         (getByteField): Likewise.
840         (getCharField): Likewise.
841         (getDoubleField): Likewise.
842         (getFloatField): Likewise.
843         (getIntField): Likewise.
844         (getLongField): Likewise.
845         (getShortField): Likewise.
846         (getObjectField): Check the type code before returning the object.
847         (getField): Translate NoSuchFieldException into InvalidClassException
848         directly.
850 2003-12-31 Guilhem Lavaux <guilhem@kaffe.org>
852         * java/net/URL.java
853         (URL): Change context path to "/" if it is empty.
855 2003-12-31  Michael Koch  <konqueror@gmx.de>
857         * testsuite/libjava.mauve/xfails: Removed tests that pass now:
858         XPASS: gnu.testlet.java.net.URL.URLTest: new URL(string) (number 16)
859         XPASS: gnu.testlet.java.net.URL.URLTest: new URL(string) (number 18)
860         XPASS: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file)
861         (number 26)
862         XPASS: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file)
863         (number 54)
864         
866 2003-12-30 Guilhem Lavaux <guilhem@kaffe.org>
868         * java/util/GregorianCalendar.java
869         (computeFields): Reported by Ito Kazumitsu <kaz@maczuka.gcd.org>.
870         Fixed the computation of DAY_OF_WEEK_IN_MONTH.
871         (computeTime): 12:00 midnight is AM and 12:00 noon is PM.
873 2003-12-30  Michael Koch  <konqueror@gmx.de>
875         * testsuite/libjava.mauve/xfails: Removed the following testcase
876         because it passes now:
877         FAIL: gnu.testlet.java.text.SimpleDateFormat.Test: parse() strict
878         (number 1)
880 2003-12-30  Michael Koch  <konqueror@gmx.de>
882         * java/io/ObjectInputStream.java,
883         java/io/ObjectOutputStream.java,
884         java/io/ObjectStreamClass.java:
885         Reformated, no functional code changes.
887 2003-12-30  Michael Koch  <konqueror@gmx.de>
889         * gnu/java/net/protocol/http/Connection.java
890         (outputStream): New field.
891         (bufferedOutputStream): New field.
892         (connect): Initialize outputStream and bufferedOutputStream.
893         (sendRequest): Create PrintWriter object from outputStream,
894         support HTTP 1.1, send missing HTTP headers and buffered output data
895         for POST method.
896         (getOutputStream): Set request method to POST if output stream is
897         used, return bufferedOutputStream.
898         (setRequestMethod): Allow HEAD and POST methods.
899         This fixes libgcj PR/6302 and libgcj PR/7752.
901 2003-12-30  Guilhem Lavaux <guilhem@kaffe.org>
903         * java/io/LineNumberReader.java
904         (countLines): Removed.
905         (fill): New private method.
906         (mark): Changed logic to use and matchedNewLine.
907         (reset): Likewise.
908         (read): Likewise.
909         (skipRedundantLF): Likewise.
911 2003-12-30  Michael Koch  <konqueror@gmx.de>
913         * gnu/java/net/protocol/http/Connection.java
914         (requestProperties): New field.
915         (addRequestProperty): New method.
916         (getRequestProperty): New method.
917         (setRequestProperty): New method.
918         (getRequestProperties): New method.
920 2003-12-28  Michael Koch  <konqueror@gmx.de>
922         * gnu/java/net/protocol/http/Connection.java
923         (inputStream): Made it a DataInputStream.
924         (requestProperties): Removed.
925         (hdrHash): Removed.
926         (hdrVec): Removed.
927         (headers): New field to store headers.
928         (connect): Initialize inputStream.
929         (receiveReply): Merged from classpath. The new algorithm is line based
930         instead of character based.
931         (getHeaderField): Use headers.
932         (getHeaderFields): Use headers.
933         (getKey): Removed.
934         (getField): Removed.
935         * gnu/java/net/HeaderFieldHelper.java: New file.
936         * Makefile.am (ordinary_java_source_files):
937         Added gnu/java/net/HeaderFieldHelper.java.
938         * Makefile.in: Regenerated.
940 2003-12-28  Guilhem Lavaux <guilhem@kaffe.org>
942         * java/io/LineNumberReader.java
943         (mark): Improved error checking.
944         (read): Likewise.
945         (skip): Likewise. Skip is now really eating the specified number of
946         characters.
947         * java/io/CharArrayReader.java (read): It should throw
948         IndexOutOfBoundsException and not ArrayIndexOutOfBoundsException (see
949         mauve).
950         * java/io/BufferedReader.java (readLine): Make readLine() really block
951         until either EOF is reached or a true error happens.
953 2003-12-27  Michael Koch  <konqueror@gmx.de>
955         * gnu/java/net/protocol/http/Connection.java
956         (getRequestProperty): Removed.
957         (setRequestProperty): Removed.
959 2003-12-27  Michael Koch  <konqueror@gmx.de>
961         * gnu/java/net/protocol/http/Connection.java
962         (connect): Call receiveReply().
963         (receiveReply): Renamed from getHttpHeaders().
964         (getOutputStream): Moved check on doOutput before check for connection
965         state.
967 2003-12-27  Michael Koch  <konqueror@gmx.de>
969         * javax/print/attribute/ResolutionSyntax.java,
970         javax/print/attribute/SetOfIntegerSyntax.java,
971         javax/print/attribute/Size2DSyntax.java,
972         javax/print/attribute/standard/Copies.java,
973         javax/print/attribute/standard/JobImpressions.java,
974         javax/print/attribute/standard/JobMediaSheets.java,
975         javax/print/attribute/standard/NumberOfDocuments.java,
976         javax/print/attribute/standard/NumberOfInterveningJobs.java,
977         javax/print/attribute/standard/PagesPerMinute.java,
978         javax/print/attribute/standard/PagesPerMinuteColor.java,
979         javax/print/attribute/standard/QueuedJobCount.java:
980         Fixed typo (s/then/than/).
982 2003-12-27  Guilhem Lavaux  <guilhem@kaffe.org>
984         * java/rmi/Naming.java (lookup): Check if the first character of the
985         filename returned by URL.getFile() is a '/', only if it is the case
986         we cut this first character and call the registry with the good name.
987         (bind): Likewise.
988         (rebind): Likewise.
990 2003-12-26  Guilhem Lavaux  <guilhem@kaffe.org>
991             Mark Wielaard  <mark@klomp.org>
993         * java/io/BufferedReader.java (BufferedReader):
994         Throw IllegalArgumentException when size <= 0.
995         (mark): Document and better exception message for negative
996         readLimit IllegalArgumentException.
997         (read(char[],int,int)): Throw IndexOutOfBoundsException
998         if offset and count are not valid regarding buf.
999         (skip): Throw IllegalArgumentException when count is negative.
1001 2003-12-26  Guilhem Lavaux  <guilhem@kaffe.org>
1003         * java/io/FileInputStream.java
1004         (FileInputStream(String)): Call FileInputStream(File).
1005         (FileInputStream(File)): Check whether the argument is a directory.
1007 2003-12-26  Michael Koch  <konqueror@gmx.de>
1009         * Makefile.am (rmi_java_source_files):
1010         Added gnu/java/rmi/server/RMIVoidValue.java.
1011         * Makefile.in: Regenerated.
1013 2003-12-26  Guilhem Lavaux  <guilhem@kaffe.org>
1014             Mark Wielaard  <mark@klomp.org>
1016         * gnu/java/rmi/server/UnicastConnectionManager.java
1017         (startScavenger): Set the client connection manager to daemon
1018         state because it may block clients until TIMEOUT is reached
1019         when they are exiting.
1021         * gnu/java/rmi/RMIVoidValue.java: New file for a class representing
1022         a void return.
1024         * gnu/java/rmi/server/UnicastRemoteCall.java
1025         (DummyOutputStream): Add a boolean before each written field to
1026         know whether it is a primitive.
1027         (releaseOutputStream): Flush parameters at write time.
1029         * gnu/java/rmi/server/UnicastServerRef.java
1030         (incomingMessageCall): Return a RMIVoidValue if no value is to be
1031         returned.
1033         * gnu/java/rmi/server/UnicastServer.java
1034         (incomingMessageCall): Do not write a returned object if it is
1035         a RMIVoidValue.
1037 2003-12-25  Andreas Tobler  <a.tobler@schweiz.ch>
1039         * libltdl/ltdl.c (HAVE_DYLD): Remove ifdef conditional for 
1040         darwin. Fixed by fixinclude now.
1042 2003-12-25  Michael Koch  <konqueror@gmx.de>
1044         * java/net/ServerSocket.java bind():
1045         If InetSocketAddress.getAddress() returns "null" use "0.0.0.0" as
1046         address to bind to.
1048 2003-12-23  Guilhem Lavaux <guilhem@kaffe.org>
1050         * java/io/ObjectInputStream.java
1051         (getField): Handle transient and non persistent fields.
1052         (readClassDescriptor): Better error handling, use the right
1053         class loader.
1054         (readFields): Fields marked as not present in the stream
1055         or not to be set are not read and set.
1056         * java/io/ObjectInputStream.java
1057         (readFields): Changed implementation of GetField.
1058         (readClassDescriptor): Documented.
1059         * java/io/ObjectOutputStream.java
1060         (writeClassDescriptor): Added condition when to write class super
1061         class information.
1063 2003-12-22  Fernando Nasser  <fnasser@redhat.com>
1065         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (postItemEvent): Rename to...
1066         (choicePostItemEvent): Change signature to more specific String object.
1067         * java/awt/Choice.java (add): Generate ItemEvent for the first item
1068         added.
1069         (insert): Generate ItemEvent if insertion caused
1070         selection to change.
1071         (remove): Generate ItemEvent if removal cause selection to change.
1072         (removeAll): Change algorithm to prevent generation of ItemEvents.
1073         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1074         (connect_choice_item_selectable_hook): Change argument type.
1075         Fix argument value.
1076         Make sure resources are feed by registering callback.
1077         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Adjust call to the
1078         above function.
1079         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Ditto.
1080         (item_activate): Ditto.
1081         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Destroy removed
1082         menuitem.
1083         (item_removed): New function.  Free resources.
1084         * jni/gtk-peer/gtkpeer.h (item_event_hook_info): Change member type and
1085         name.
1086         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1087         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Obtain MethodID for
1088         choicePostItemEvent.
1090 2003-12-23  Michael Koch  <konqueror@gmx.de>
1092         * javax/print/attribute/standard/Copies.java,
1093         javax/print/attribute/standard/JobImpressions.java,
1094         javax/print/attribute/standard/JobMediaSheets.java,
1095         javax/print/attribute/standard/JobPriority.java,
1096         javax/print/attribute/standard/NumberOfDocuments.java,
1097         javax/print/attribute/standard/NumberOfInterveningJobs.java,
1098         javax/print/attribute/standard/NumberUp.java,
1099         javax/print/attribute/standard/PagesPerMinuteColor.java,
1100         javax/print/attribute/standard/PagesPerMinute.java,
1101         javax/print/attribute/standard/QueuedJobCount.java: New files.
1102         * Makefile.am (ordinary_java_source_files): Added new files.
1103         * Makefile.in: Regenerated.
1105 2003-12-23  Michael Koch  <konqueror@gmx.de>
1107         * javax/print/attribute/AttributeSetUtilities.java
1108         (verifyCategoryForValue): Renamed from verifyCategoryForAttribute.
1109         * javax/print/attribute/HashAttributeSet.java
1110         (HashAttributeSet): Call internal add methods, added missing
1111         exceptions.
1112         (add): Call addInternal, added exceptions to documentation.
1113         (addInternal): New method.
1114         (addAll): Call addAllInternal, added exception to documentation.
1115         (addAllInternal): New method.
1116         (clear): Added exception to documentation.
1117         (remove): Likewise.
1118         * javax/print/attribute/URISyntax.java
1119         (serialVersionUID): Fixed value.
1121 2003-12-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
1123         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1124         (pre_event_handler): Don't dereference NULL focus_obj_ptr.
1126 2003-12-21  Michael Koch  <konqueror@gmx.de>
1128         * javax/print/attribute/AttributeSetUtilities.java,
1129         javax/print/attribute/HashAttributeSet.java,
1130         javax/print/attribute/HashDocAttributeSet.java,
1131         javax/print/attribute/HashPrintJobAttributeSet.java,
1132         javax/print/attribute/HashPrintRequestAttributeSet.java,
1133         javax/print/attribute/HashPrintServiceAttributeSet.java: New files.
1134         * Makefile.am (ordinary_java_source_files): Added new files.
1135         * Makefile.in: Regenerated.
1137 2003-12-21  Michael Koch  <konqueror@gmx.de>
1139         * javax/print/attribute/EnumSyntax.java,
1140         javax/print/attribute/SetOfIntegerSyntax.java: New files.
1141         * Makefile.am (ordinary_java_source_files):
1142         Added javax/print/attribute/EnumSyntax.java
1143         and javax/print/attribute/SetOfIntegerSyntax.java.
1144         * Makefile.in: Regenerated.
1146 2003-12-21  Michael Koch  <konqueror@gmx.de>
1148         * javax/print/attribute/PrintJobAttribute.java,
1149         javax/print/attribute/PrintJobAttributeSet.java,
1150         javax/print/attribute/PrintRequestAttribute.java,
1151         javax/print/attribute/PrintServiceAttribute.java,
1152         javax/print/attribute/PrintServiceAttributeSet.java,
1153         javax/print/attribute/SupportedValuesAttribute.java: New files.
1154         * Makefile.am (ordinary_java_source_files): Added new files.
1155         * Makefile.in: Regenerated.
1157 2003-12-21  Michael Koch  <konqueror@gmx.de>
1159         * javax/print/attribute/DateTimeSyntax.java,
1160         javax/print/attribute/DocAttribute.java,
1161         javax/print/attribute/DocAttributeSet.java,
1162         javax/print/attribute/IntegerSyntax.java,
1163         javax/print/attribute/ResolutionSyntax.java,
1164         javax/print/attribute/Size2DSyntax.java,
1165         javax/print/attribute/TextSyntax.java,
1166         javax/print/attribute/URISyntax.java,
1167         javax/print/attribute/UnmodifiableSetException.java: New files.
1168         * Makefile.am (ordinary_java_source_files): Added new files.
1169         * Makefile.in: Regenerated.
1171 2003-12-21  Michael Koch  <konqueror@gmx.de>
1173         * gnu/java/net/PlainDatagramSocketImpl.java
1174         (mcastGrp): Added documentation.
1176 2003-12-20  Michael Koch  <konqueror@gmx.de>
1178         * gnu/java/net/protocol/jar/Connection.java
1179         (connectionCache): New field.
1180         (connect): New method.
1181         (getInputStream): New method.
1182         (hdrHash): New field.
1183         (hdrVec): New field.
1184         (gotHeaders): New field.
1185         (getHeaderField): New method.
1186         (getHeaderFields): New method.
1187         (getHeaderFieldKey): New method.
1188         (getKey): New method.
1189         (getField): New method.
1190         (getHeaders): New method.
1191         * java/net/JarURLConnection.java
1192         (connectionCache): Removed.
1193         (connect): Removed.
1194         (getInputStream): Removed.
1195         (hdrHash): Removed.
1196         (hdrVec): Removed.
1197         (gotHeaders): Removed.
1198         (getHeaderField): Removed.
1199         (getHeaderFields): Removed.
1200         (getHeaderFieldKey): Removed.
1201         (getKey): Removed.
1202         (getField): Removed.
1203         (getHeaders): Removed.
1205 2003-12-20  Michael Koch  <konqueror@gmx.de>
1207         * java/io/ObjectStreamField.java (isUnshared): Added documentation.
1209 2003-12-20  Mohan Embar  <gnustuff@thisiscool.com>
1211         * gnu/java/nio/SelectorImpl.java
1212         (selectThreadMutex): New field.
1213         (selectThread): New field.
1214         (unhandledWakeup): New field.
1215         (implCloseSelector): Added skeleton code which
1216         synchronizes as per Sun JRE JavaDoc.
1217         (keys): Throw ClosedSelectorException if selector
1218         is closed.
1219         (selectNow): Added comment that we're faking out
1220         an immediate select with a one-microsecond-timeout one.
1221         (select): Use 0 instead of -1 for infinite timeout.
1222         (implSelect): Changed comment in declaration.
1223         (select): Added synchronized to method declaration.
1224         Added synchronization and wakeup support as per Sun
1225         JRE JavaDoc.
1226         (selectedKeys): Throw ClosedSelectorException if selector
1227         is closed.
1228         (wakeup): Implemented.
1229         (deregisterCancelledKeys): Synchronize on cancelled key
1230         set before deregistering.
1231         (register): Synchronize on key set before registering.
1232         * java/nio/channels/spi/AbstractSelector.java
1233         Added import for java.nio.channels.ClosedSelectorException.
1234         (close): Added synchronized to method declaration.
1235         (cancelledKeys): Throw ClosedSelectorException if selector
1236         is closed.
1237         (cancelKey): Synchronize on cancelled key set before key.
1239 2003-12-20  Michael Koch  <konqueror@gmx.de>
1241         * Makefile.am (ordinary_java_source_files):
1242         Added gnu.java.net.URLParseError.java.
1243         * Makefile.in: Regenerated.
1245 2003-12-20  Guilhem Lavaux <guilhem@kaffe.org>
1247         * gnu/java/net/URLParseError.java: New file.
1248         * gnu/java/net/protocol/jar/Handler.java
1249         (parseURL): Throw URLParseError if needed, fix '/' handling.
1250         * java/net/URL.java (URL): Catch URLParseError and
1251         transform it into a MalformedURLException.
1253 2003-12-19  Michael Koch  <konqueror@gmx.de>
1255         * gnu/java/nio/ChannelOutputStream.java: New file.
1256         * java/nio/channels/Channels.java
1257         (newOutputStream): Implemented.
1258         * Makefile.am (ordinary_java_source_files)
1259         Added gnu/java/nio/ChannelOutputStream.java.
1260         * Makefile.in: Regenerated.
1262 2003-12-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
1264         * java/awt/FlowLayout.java (layoutContainer): Let components
1265         assume their preferred height.  Centre components vertically.
1267 2003-12-19  Michael Koch  <konqueror@gmx.de>
1269         * gnu/java/nio/ChannelInputStream.java: New file.
1270         * java/nio/channels/Channels.java (newInputStream): Implemented.
1271         * java/nio/channels/FileChannelImpl.java
1272         (readImpl): Only put data into buffer if something was read.
1273         * Makefile.am (ordinary_java_source_files):
1274         Added gnu/java/nio/ChannelInputStream.java.
1275         * Makefile.in: Regenerated.
1277 2003-12-19  Michael Koch  <konqueror@gmx.de>
1279         * gnu/java/nio/OutputStreamChannel.java: New file.
1280         * java/nio/channels/Channels.java (newChannel): Implemented.
1281         * Makefile.am (ordinary_java_source_files):
1282         Added gnu/java/nio/OutputStreamChannel.java.
1283         * Makefile.in: Regenerated.
1285 2003-12-19  Michael Koch  <konqueror@gmx.de>
1287         * Makefile.am (ordinary_java_source_files):
1288         Added gnu.java.nio.InputStreamChannel. 
1289         * Makefile.in: Regenerated.
1291 2003-12-19  Michael Koch  <konqueror@gmx.de>
1293         * gnu/java/nio/InputStreamChannel.java: New file.
1294         * java/nio/channels/Channels.java (newChannel): Implemented.
1296 2003-12-19  Michael Koch  <konqueror@gmx.de>
1298         * java/util/SimpleTimeZone.java
1299         (setStartRule): Reformated documentation.
1300         (setEndRule): Reworked documentation.
1301         (getDSTSavings): Fixed @since tag.
1302         (setDSTSavings): New method.
1304 2003-12-19  Michael Koch  <konqueror@gmx.de>
1306         * java/text/NumberFormat.java: Sorted imports.
1307         (getCurrency): New method.
1308         (setCurrency): New method.
1309         
1311 2003-12-19  Michael Koch  <konqueror@gmx.de>
1313         * java/text/MessageFormat.java
1314         (MessageFormat): New constructor.
1316 2003-12-19  Michael Koch  <konqueror@gmx.de>
1318         * gnu/java/net/protocol/jar/Handler.java
1319         (parseURL): New method.
1320         (toExternalForm): New method.
1322 2003-12-18  Fernando Nasser  <fnasser@redhat.com>
1324         * java/awt/List.java (replaceItem): Prevent selection to move with
1325         replace and minimize flickering.
1327 2003-12-18  Michael Koch  <konqueror@gmx.de>
1329         * libltdl/ltdl.c: Define __private_extern__ if needed.
1331 2003-12-18  Michael Koch  <konqueror@gmx.de>
1333         * libltdl/.cvsignore: Ignore autom4te.cache
1334         * libltdl/Makefile.in: Regenerated.
1335         * libltdl/aclocal.m4: Regenerated.
1336         * libltdl/acconfig.h: Removed (obsolete).
1337         * libltdl/config-h.in: Regenerated.
1338         * libltdl/configure.ac: Added AM_MAINTAINER_MODE.
1339         * libltdl/configure: Regenerated.
1341 2003-12-18  Michael Koch  <konqueror@gmx.de>
1343         * mauve-libgcj: Removed the disabling of java.text.ACIAttribute and
1344         java.text.CollationElementIterator tests as they compile again.
1345         * testsuite/libjava.mauve/xfails: Added failing
1346         java.text.CollationElementIterator tests.
1348 2003-12-18  Michael Koch  <konqueror@gmx.de>
1350         * java/util/prefs/AbstractPreferences.java
1351         (cachedChildren): New method.
1353 2003-12-18  Michael Koch  <konqueror@gmx.de>
1355         * java/util/TimeZone.java (getOffset): New method.
1357 2003-12-17  Fernando Nasser  <fnasser@redhat.com>
1359         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
1360         of ActionEvents for mouse double-clicks.
1362 2003-12-17  Fernando Nasser  <fnasser@redhat.com>
1364         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (handleEvent): Check for
1365         null Graphics pointer returned by FileDialogPeer.
1367 2003-12-17  Michael Koch  <konqueror@gmx.de>
1369         * libltdl/stamp-h.in: Removed, not used anymore.
1371 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
1373         * gnu/java/net/natPlainDatagramSocketImplWin32.cc:
1374         Removed unused InterruptedIOException.h include.
1375         * gnu/java/net/natPlainSocketImplWin32.cc
1376         (connect): Reset and ignore our thread's interrupted
1377         flag instead of testing and throwing an InterruptedIOException
1378         if set.
1379         (accept): Likewise + changed case of SocketTimeoutException
1380         text.
1381         (write): Likewise (for both overloads).
1382         (doRead): Likewise.
1384 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
1386         * win32.cc (WSAEventWrapper): Implemented default
1387         constructor and init() methods.
1388         (_Jv_select): Removed.
1389         * gnu/java/nio/natSelectorImplWin32.cc
1390         (helper_put_filedescriptors): Removed.
1391         (helper_get_filedescriptors): Removed.
1392         (implSelect): Implemented in terms of WSAEventWrapper
1393         and WSAWaitForMultipleEvents instead of _Jv_select().
1394         Added support for thread interruption.
1395         * include/win32.h (WSAEventWrapper): Minor formatting
1396         changes; added default constructor declaration, init(),
1397         getFD() and getEventHandle() methods.
1398         (_Jv_select): Removed.
1400 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
1402         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
1403         (peekData): Throw SocketTimeoutException instead of
1404         InterruptedIOException on timeout.
1405         (receive): Likewise.
1406         * gnu/java/net/natPlainSocketImplPosix.cc
1407         (read): Made a minor exception text case change.
1409 2003-12-16  Michael Koch  <konqueror@gmx.de>
1411         Fix for PR libgcj/13056.
1412         * libltdl/configure.in,
1413         libltdl/config.h.in: Removed.
1414         * libltdl/configure.ac,
1415         libltdl/config-h.in,
1416         libltdl/install-sh,
1417         libltdl/config.guess,
1418         libltdl/config.sub,
1419         libltdl/missing,
1420         libltdl/mkinstalldirs,
1421         libltdl/ltmain.sh: New files.
1422         * libltdl/Makefile.am,
1423         libltdl/acinclude.m4,
1424         libltdl/aclocal.m4,
1425         libltdl/ltdl.c,
1426         libltdl/ltdl.h,
1427         libltdl/README: Update to versions from libtool 1.5.
1428         libltdl/configure,
1429         * libltdl/Makefile.in: Regenerated.
1430         * java/lang/natRuntime.cc (find_symbol):
1431         Use type 'lt_ptr' instead of 'lt_ptr_t'.
1433 2003-12-16  Michael Koch  <konqueror@gmx.de>
1435         * java/awt/MenuComponent.java
1436         (serialVersionUID): Fixed value.
1438 2003-12-16  Fernando Nasser  <fnasser@redhat.com>
1440         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1441         (pre_event_handler): Handle GtkButton widgets differently as events
1442         go to its event_window.
1443         (connect_awt_hook): Remove compiler warning.
1445 i2003-12-16  Guilhem Lavaux <guilhem@kaffe.org>
1447         * java/io/ObjectInputStream.java
1448         (lookupClass): New method.
1449         (currentLoader): New method.
1450         (inputGetObjectStreamClasses): New method.
1451         (assignNewHandle): Documented.
1452         (currentClassLoader): Documented.
1453         * java/io/ObjectStreamClass.java
1454         (setClass): Changed API. Better handling of the imported/exported
1455         fields.
1456         (getSerialPersistentFields): Make it throw previously caught exceptions
1457         so they can handled in setClass.
1459 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
1461         * java/io/ObjectStreamField.java: A few methods were added in prevision
1462         of the upcoming upgrade of the serialization code. This also adds
1463         some missing documentation.
1464         (ObjectStreamField): We should throw a NullPointerException when 'name'
1465         is null.
1467  2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
1468   
1469         * java/io/ObjectInputStream.java (setBooleanField):
1470         Throw an InvalidClassException if the field hasn't the required type,
1471         documentation added.
1472         (setByteField) Likewise.
1473         (setCharField) Likewise.
1474         (setDoubleField) Likewise.
1475         (setFloatField) Likewise.
1476         (setIntField) Likewise.
1477         (setShortField) Likewise.
1478         (setLongField) Likewise.
1479         (setObjectField) Likewise.
1481 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
1482            Helmer Kraemer <hkraemer@freenet.de>
1484         * gnu/java/lang/reflect/TypeSignature.java (getClassForEncoding):
1485         Splitted the method so we can specify an explicit boot loader.
1487 2003-12-15  Graydon Hoare  <graydon@redhat.com>
1489         * jni/gtk-peer/gdkfont.h: New file.
1490         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
1491         include of cairo-xlib.h, add extra gdk_flush().
1493 2003-12-12  Fernando Nasser  <fnasser@redhat.com>
1495         * jni/gtk-peer/gtkpeer.h: Extend NSA set of macros to handle a second
1496         native state table -- native_global_ref_table.
1497         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Define
1498         native_global_ref_table pointer.
1499         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1500         (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose): Make sure JNI
1501         global reference is deleted and memory allocated for pointer freed.
1502         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): Use saved
1503         JNI global reference instead of JNI local reference.
1504         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1505         (pre_event_handler): Remove compilation warning.
1506         (connect_awt_hook): Use saved JNI global reference instead of creating
1507         a new one.
1508         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1509         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_create): Save JNI global
1510         reference to the Java object.
1511         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_connectSignals): Remove
1512         unused variable declaration and add comment.
1513         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
1514         (Java_gnu_java_awt_peer_gtk_GtkCanvasPeer_create): Save JNI global
1515         reference to the Java object.
1516         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c
1517         (Java_gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer_create): Ditto.
1518         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
1519         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeCreate): Ditto.
1520         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals): Use saved
1521         JNI global reference instead of JNI local reference.
1522         (item_toggled): Add debug statement.
1523         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1524         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_create): Save JNI global
1525         reference to the Java object.
1526         (connect_choice_item_selectable_hook): Use saved JNI global references
1527         instead of JNI local reference.
1528         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
1529         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create): Save JNI
1530         global reference to the Java object.
1531         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1532         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_create): Save JNI global
1533         reference to the Java object.
1534         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
1535         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_create): Ditto.
1536         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
1537         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_create): Ditto.
1538         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1539         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Ditto.
1540         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
1541         (Java_gnu_java_awt_peer_gtk_GtkScrollPanePeer_create): Ditto.
1542         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
1543         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Ditto.
1544         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
1545         (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_create): Ditto.
1546         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1547         (Java_gnu_java_awt_peer_gtk_GtkListPeer_create): Ditto.
1548         (Java_gnu_java_awt_peer_gtk_GtkListPeer_connectSignals): Use saved
1549         JNI global reference instead of JNI local reference.
1550         (item_selected): Add debug statement.
1551         (item_unselected): Add debug statement.
1552         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1553         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Save JNI global
1554         reference to the Java object.
1555         Connect "activate" signal handler using global JNI reference.
1556         (connect_activate_hook): Removed in favor of inline code.
1557         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
1558         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_create): Save JNI global
1559         reference to the Java object.
1560         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_connectSignals): Use saved
1561         JNI global reference instead of JNI local reference.  Add FIXME comment.
1562         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_gtkPanelNew): Save JNI global
1563         reference to the Java object.  Add FIXME comment.
1564         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
1565         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Save JNI global
1566         reference to the Java object.
1567         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_connectSignals): Use saved
1568         JNI global reference instead of JNI local reference.
1569         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
1570         (Java_gnu_java_awt_peer_gtk_GtkTextComponentPeer_connectSignals): Use
1571         saved JNI global reference instead of JNI local reference.
1572         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1573         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_create): Save JNI global
1574         reference to the Java object.
1575         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals): Use saved
1576         JNI global reference instead of JNI local reference.
1578 2003-12-11  Michael Koch  <konqueror@gmx.de>
1580         * java/text/Format.java (serialVersionUID): Fixed value.
1582 2003-12-11  Michael Koch  <konqueror@gmx.de>
1584         * javax/naming/event/EventDirContext.java: Jalopied.
1585         (addNamingListener): Fixed typo in method name.
1586         
1588 2003-12-11  Mohan Embar  <gnustuff@thisiscool.com>
1590         * gnu/java/nio/SocketChannelImpl.java
1591         (write): Removed diagnostic trace.
1592         * gnu/java/nio/natSelectorImplPosix.cc: Added
1593         includes for java.lang.Thread and java.io.InterruptedIOException.
1594         (helper_put_filedescriptors): Don't put invalid file descriptors
1595         in select set.
1596         (helper_get_filedescriptors): Clear invalid file descriptors
1597         from select set.
1598         (helper_reset): New method for clearing our file descriptor
1599         array.
1600         (implSelect): Correctly calculate timeout if specified and
1601         legal.
1602         Intercept and deal with any java.io.InterruptedIOException
1603         thrown by _Jv_select().
1605 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
1607         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
1608         Most coded moved to pre_event_handler, with the modifications
1609         mentioned below.
1610         (pre_event_handler): New function.  Called on the Gtk "event" signal.
1611         Do not retrieve the jobject from the window property as it is already
1612         available as user data in the signal.
1613         Do not try and find the grab widget as it is already done by Gtk at
1614         this point.
1615         Do not search for Window ancestor as Gtk already sends the signal to it.
1616         Do not meddle with the activation state of peer widgets on each
1617         key press or release.
1618         Add CList to the special handling when looking for the focused widget.
1619         * jni/gtk-peer/gtkpeer.h: Add declaration for pre_event_handler.
1620         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c (connectJObject):
1621         New function.
1622         (connectSignals): New function.
1623         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c (connectHooks):
1624         Rename to...
1625         (connectSignals): New name.  Get rid of NewGlobalRef call.
1626         Use g_signal_connect instead of deprecated gtk_signal_connect.
1627         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1628         (connect_choice_item_selectable_hook): Use g_signal_connect instead of
1629         deprecated gtk_signal_connect.
1630         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
1631         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1632         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1633         (Java_gnu_java_awt_peer_gtk_GtkClipboard_initNativeState): Ditto.
1634         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1635         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1636         function.
1637         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
1638         function.
1639         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
1640         function.
1641         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1642         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1643         function.
1644         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
1645         function.
1646         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1647         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1648         function.
1649         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
1650         function.
1651         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
1652         function.
1653         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_old_create): Remove dead
1654         code.
1655         (item_select): Remove indirection.
1656         (item_unselect): Ditto.
1657         (connect_selectable_hook): Folded into connectSignals.
1658         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
1659         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1660         function.
1661         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
1662         function.
1663         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
1664         function.
1665         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: Ditto.
1666         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1667         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
1668         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1669         function.
1670         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
1671         function.
1672         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Declare  and call
1673         connectJObject and connectSignals instead of connectHooks.
1674         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Declare connectJObject and
1675         connectSignals.
1676         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Declare connectSignals
1677         and not connectHooks.
1678         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Ditto.
1679         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java: Declare connectJObject
1680         and not connectHooks.
1681         * gnu/java/awt/peer/gtk/GtkListPeer.java: Declare connectJObject and
1682         connectSignals instead of connectHooks.
1683         * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Ditto.
1684         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Ditto.
1685         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Ditto. 
1687 2003-12-09  Michael Koch  <konqueror@gmx.de>
1689         * Makefile.am (nat_headers_install): New variable with header files to
1690         install automatically.
1691         (install-data-local): Install all headers listed in
1692         nat_headers_install. Install innert nat headers explicitely.
1693         * Makefile.in: Regenerated.
1695 2003-12-09  Michael Koch  <konqueror@gmx.de>
1697         * java/util/Calendar.java,
1698         java/util/IdentityHashMap.java,
1699         java/util/prefs/Preferences.java:
1700         Import used classes explicitely.
1702 2003-12-09  Michael Koch  <konqueror@gmx.de>
1704         * java/net/DatagramSocket.java
1705         (close): Directly return if socket is closed.
1706         * java/net/ServerSocket.java
1707         (close): Directly return if socket is closed.
1708         * java/net/Socket.java
1709         (close): Directly return if socket is closed.
1711 2003-12-09  Michael Koch  <konqueror@gmx.de>
1713         * gnu/java/nio/SelectorImpl.java
1714         (implSelect): Throws IOException.
1715         (select): Likewise.
1717 2003-12-08  Kim Ho  <kho@redhat.com>
1719         Fix for Checkbox states.
1720         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
1721         (currentState): New field.
1722         (nativeCreate): Add initial state parameter.
1723         (create): Changed to reflect new parameter.
1724         (setState): Fire only on changed states.
1725         (postItemEvent): Fire only on changed states. Also change the 
1726         Java Checkbox to reflect new state.
1727         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
1728         (nativeCreate): Add parameter and set active state.
1730 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
1732         * java/awt/datatransfer/StringSelection.java (getTransferData): Return
1733         object of type expected by specified DataFlavor.
1735 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
1737         * java/awt/datatransfer/DataFlavor.java (getParameter): Fix off-by-one
1738         error which was clipping off the first character of a parameter value.
1740 2003-12-08  Olga Rodimina <rodimina@redhat.com>
1742         * java/awt/Polygon.java
1743         (translate): Fixed error that caused polygon 
1744         to move right/left when up/down translation was required.
1745         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
1746         (getSelectionStart): Initialized start position to 0. 
1747         (getSelectionEnd): Initialized end position to 0.
1748         (getCaretPosition): Initialized caret position to 0.
1749         (getText): Initialized selected text to NULL 
1751 2003-12-08  Michael Koch  <konqueror@gmx.de>
1753         Fix for PR libgcj/13176.
1754         * java/io/PrintStream.java: Partly revert my previous patches to get
1755         (line_separator): New field.
1756         (converter): New field.
1757         (work): New field.
1758         (work_bytes): New field.
1759         (pw): Removed.
1760         (closed): Removed.
1761         (PrintStrean): Initialize converter and not pw.
1762         (checkError): Flush always, pw doesn't exist anymore.
1763         (close): Close underlying out stream.
1764         (print): New method.
1765         (writeChars): New method.
1766         (print): Use new internal print method.
1767         (println): Likewise.
1769 2002-12-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
1771         * java/util/Hashtable.java (Hashtable(Map)): Use putAll, not
1772         putAllInternal.
1773         (putAllInternal): Correct comment.
1774         * java/util/HashMap.java (HashMap(Map)): As above.
1775         (putAllInternal): As above.
1777 2002-12-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
1779         * java/util/Hashtable.java (internalContainsValue): Removed.
1780         (containsValue): Don't delegate to internalContainsValue.
1782 2003-12-06  Michael Koch  <konqueror@gmx.de>
1784         * javax/naming/directory/Attribute.java,
1785         javax/naming/directory/Attributes.java,
1786         javax/naming/directory/DirContext.java,
1787         javax/naming/directory/InitialDirContext.java,
1788         javax/naming/directory/SearchResult.java,
1789         javax/naming/event/EventContext.java,
1790         javax/naming/event/NamingEvent.java,
1791         javax/naming/event/NamingExceptionEvent.java,
1792         javax/naming/ldap/ControlFactory.java,
1793         javax/naming/ldap/ExtendedRequest.java,
1794         javax/naming/ldap/HasControls.java,
1795         javax/naming/ldap/InitialLdapContext.java,
1796         javax/naming/ldap/LdapContext.java,
1797         javax/naming/ldap/LdapReferralException.java,
1798         javax/naming/ldap/UnsolicitedNotification.java,
1799         javax/naming/ldap/UnsolicitedNotificationListener.java,
1800         javax/naming/spi/DirObjectFactory.java,
1801         javax/naming/spi/DirStateFactory.java,
1802         javax/naming/spi/DirectoryManager.java,
1803         javax/naming/spi/NamingManager.java,
1804         javax/naming/spi/ObjectFactoryBuilder.java,
1805         javax/naming/spi/ResolveResult.java,
1806         javax/naming/spi/Resolver.java,
1807         javax/naming/spi/StateFactory.java:
1808         Import used classes explicitely.
1810 2003-12-05  Scott Gilbertson  <scottg@mantatest.com>
1812         * gnu/gcj/xlib/GC.java (updateClip): Added rectangles argument.
1813         (clip): Removed field
1814         (clipRectangles): New field.
1815         (clone): Use new updateClip.
1816         (setClipRectangles): Use new updateClip.
1817         * gnu/gcj/xlib/natGC.cc (updateClip): Prepare passed rectangles.
1819 2003-12-04  Michael Koch  <konqueror@gmx.de>
1821         * java/io/FilePermission.java:
1822         Import used classes explicitely.
1824 2003-12-04  Michael Koch  <konqueror@gmx.de>
1826         * java/beans/BeanDescriptor.java,
1827         java/beans/EventSetDescriptor.java,
1828         java/beans/FeatureDescriptor.java,
1829         java/beans/IndexedPropertyDescriptor.java,
1830         java/beans/Introspector.java,
1831         java/beans/MethodDescriptor.java,
1832         java/beans/PropertyDescriptor.java,
1833         java/beans/SimpleBeanInfo.java: Explicitely import used classes.
1834         * java/beans/beancontext/BeanContextServicesSupport.java
1835         (serialVersionUID): New field.
1837 2003-12-04  Michael Koch  <konqueror@gmx.de>
1839         * java/awt/MenuComponent.java: Import java.io.Serialization.
1840         * java/awt/MenuItem.java: Likewise.
1841         * java/awt/TextComponent.java: Likewise.
1842         * java/awt/image/ImagingOpException.java
1843         (serialVersionUID): Fixed.
1845 2003-12-04  Michael Koch  <konqueror@gmx.de>
1847         * gnu/java/net/protocol/http/Connection.java
1848         (sendRequest): Merged writing http headers with classpath.
1849         (getInputStream): Merged documentation from classpath.
1850         (getHeaderField): Likewise.
1851         (getHeaderFieldKey): Likewise.
1853 2003-12-04  Michael Koch  <konqueror@gmx.de>
1855         * boehm.cc (_Jv_MarkObj): Access hack_signers field.
1857 2003-12-04  Michael Koch  <konqueror@gmx.de>
1859         * java/net/DatagramPacket.java
1860         (length): Made packge-private to make it accessible via CNI.
1861         (maxlen): New field.
1862         (DatagramPacket): Cleaned up.
1863         (setSocketAddress): Add message to exception.
1864         (setData): Call other setData().
1865         (setData): Call setLength().
1866         (setLength): Initialize maxlen too.
1867         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (peekData):
1868         Get maximal length from maxlen field, set length field directly.
1869         (receive): Likewise.
1870         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
1871         Get maximal length from maxlen field, set length field directly.
1872         (receive): Likewise.
1874 2003-12-03  Mohan Embar  <gnustuff@thisiscool.com>
1876         * gnu/java/nio/natSelectorImplPosix.cc
1877         (implSelect): A timeout of 0 means an infinite
1878         timeout.
1880 2003-12-02  Fernando Nasser  <fnasser@redhat.com>
1882         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
1883         of ActionEvents.
1885 2003-12-03  Michael Koch  <konqueror@gmx.de>
1887         * java/lang/Class.h (hack_signers): Renamed signers to hack_signers.
1888         * java/lang/natClass.cc (getSigners): Likewise.
1889         (setSigners): Likewise.
1891 2003-12-02  Mohan Embar  <gnustuff@thisiscool.com>
1893         * configure.in: Added new MinGW-specific configure flag
1894         --with-win32-nlsapi.
1895         Added new AC_DEFINE MINGW_LIBGCJ_UNICODE.
1896         Add -lunicows to MinGW SYSTEMSPEC if --with-win32-nlsapi
1897         is set to unicows.
1898         * configure: Rebuilt.
1899         * include/config.h.in: Rebuilt.
1900         * win32.cc (_Jv_Win32NewString): Implemented.
1901         (nativeToUnicode): New helper function defined only for
1902         non-UNICODE builds.
1903         (unicodeToNative): Likewise.
1904         (_Jv_Win32TempString): Implemented.
1905         (lots): Refactored using tchar.h macros.
1906         (WSAEventWrapper): Use _Jv_Win32NewString.
1907         (_Jv_platform_initialize): Use GetModuleFileNameA instead
1908         of GetModuleFileName.
1909         (_Jv_platform_initProperties): Use _Jv_Win32NewString.
1910         Use temporary stack buffer instead of a heap buffer.
1911         * include/win32.h
1912         Added defines for UNICODE and _UNICODE if MINGW_LIBGCJ_UNICODE is
1913         defined; added tchar.h include.
1914         (_Jv_Win32TempString): Declared new helper class.
1915         (JV_TEMP_STRING_WIN32): New helper macro.
1916         (_Jv_Win32NewString): Declared new helper method.
1917         * java/io/natFileDescriptorWin32.cc (open): Use
1918         JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
1919         (write): Reformatted slightly.
1920         * java/io/natFileWin32.cc (lots): Use tchar.h macros;
1921         use JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
1922         (getCanonicalPath): Use _Jv_Win32NewString instead of
1923         JvNewStringUTF.
1924         (performList): Likewise.
1925         * java/lang/natWin32Process.cc (ChildProcessPipe):
1926         Use tchar.h macros.
1927         (startProcess): Use tchar.h macros, JV_TEMP_STRING_WIN32,
1928         and UNICODE environment flag for CreateProcess.
1929         * java/net/natNetworkInterfaceWin32.cc
1930         (winsock2GetRealNetworkInterfaces): Use tchar.h macros and
1931         _Jv_Win32NewString.
1933 2003-12-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
1935         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
1936         (initState): Mark obj parameter as unused.
1937         (stringWidth): Mark obj parameter as unused.  Initialize
1938         font_name properly.
1940         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Make
1941         BufferedImageBuilder class static.
1943 2003-12-02  Mark Wielaard  <mark@klomp.org>
1945         * java/security/Security.java: Don't use &nbsp; in the api doc.
1947 2003-12-02  Dalibor Topic <robilad@kaffe.org>
1949         Reported by: Jim Pick <jim@kaffe.org>
1950         * libraries/javalib/java/util/Hashtable.java
1951         (internalcontainsValue): New method.
1952         (contains): Delegate to internalContainsValue.
1953         
1954         Reported by: Mark Wielaard  <mark@klomp.org>
1955         * libraries/javalib/java/util/Hashtable.java
1956         (contains): Improved comment.
1957         
1958         Reported by: Jeroen Frijters  <jeroen@frijters.net>
1959         * libraries/javalib/java/util/Hashtable.java
1960         (containsValue): Delegate to contains(Object) to make sure older
1961         code overwriting it continues to work.
1963 2003-12-02  Fernando Nasser  <fnasser@redhat.com>
1965         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): New
1966         method. Handle mouse and key events that must generate
1967         ActionEvents.
1968         * java/awt/List.java (getSelectedIndex): Return -1
1969         if no list element is selected.
1970         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
1971         Correct handling of mouse and key events so that List receives them.
1972         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1973         (Java_gnu_java_awt_peer_gtk_GtkListPeer_delItems): Fix removal of
1974         multiple list elements. 
1976 2003-12-02  Ito Kazumitsu  <kaz@maczuka.gcd.org>
1978         * java/text/SimpleDateFormat.java (compileFormat):
1979         isLowerCase() and isUpperCase() allow too many characters.
1980         Just use >= 'A' && <= 'Z' || >= 'a' && <= 'z'.
1982 2003-12-02  Dalibor Topic <robilad@kaffe.org>
1984         * java/text/FieldPosition.java (equals): Fixed comment.
1986 2003-12-02  Mark Wielaard  <mark@klomp.org>
1988         Reported by Archie Cobbs:
1989         * java/security/DigestInputStream.java (read(byte[], int, int): Call
1990         digest.update() with temp, not len as lenght.
1992 2003-12-02  Michael Koch  <konqueror@gmx.de>
1994         * java/net/DatagramSocket.java
1995         (close): Close associated DatagramChannel object.
1996         * java/net/ServerSocket.java
1997         * java/net/Socket.java
1998         (close): Reset impl and bound before calling getChannel().close() to
1999         prevent from loops.
2001 2003-12-02  Michael Koch  <konqueror@gmx.de>
2003         * java/nio/channels/spi/AbstractInterruptibleChannel.java
2004         (opened): Removed.
2005         (closed): New field.
2006         (close): Check of channel is closed already.
2007         (isOpen): Return !closed.
2009 2003-12-02  Michael Koch  <konqueror@gmx.de>
2011         * gnu/java/nio/DatagramChannelImpl.java
2012         (blocking): Initialize with true by default.
2013         * gnu/java/nio/ServerSocketChannelImpl.java
2014         (serverSocket): Made private.
2015         (blocking): Likewise.
2016         (connected): Likewise.
2017         * gnu/java/nio/SocketChannelImpl.java
2018         (connectionPending): Made private.
2019         * gnu/java/nio/FileLockImpl.java
2020         (static): Load native library (needed for classpath).
2021         * gnu/java/nio/SelectorImpl.java
2022         (static): Load native library (needed for classpath).
2024 2003-12-02  Michael Koch  <konqueror@gmx.de>
2026         * gnu/java/net/protocol/file/Connection.java
2027         (getLastModified): Implement for file connections.
2028         (getContentLength): Likewise.
2030 2003-12-02  Michael Koch  <konqueror@gmx.de>
2032         * gnu/java/net/protocol/file/Connection.java:
2033         Some reformating.
2034         (file): Renamed from fileIn.
2035         (getPermission): Moved around.
2037 2003-12-02  Michael Koch  <konqueror@gmx.de>
2039         * gnu/java/net/protocol/jar/Connection.java
2040         (Connection): Made class final, merged documentation with classpath.
2041         (file_cache): Made private.
2042         (jar_file): Renamed from jarfile.
2044 2003-12-02  Michael Koch  <konqueror@gmx.de>
2046         * gnu/java/net/protocol/http/Connection.java
2047         (Connection): Initialize doOutput to false;
2048         (connect): Initialize inputStream, moved "send request" code to new
2049         method.
2050         (sendRequest): New method.
2051         (getHttpHeaders): Don't reinitialize inputStream.
2053 2003-12-02  Michael Koch  <konqueror@gmx.de>
2055         * gnu/java/net/protocol//http/Connection.java
2056         (defRequestProperties): Removed. This dont gets used since JDK 1.3.
2057         (requestProperties): Initialize, documentation added.
2058         (inputStream): Renamed from bufferedIn.
2059         (Connection): Dont initialize requestProperties.
2060         (setDefaultRequestProperty): Removed.
2061         (getDefaultRequestProperty): Removed.
2062         (usingProxy): Documentation added.
2063         (getHttpHeaders): Likewise.
2065 2003-12-02  Michael Koch  <konqueror@gmx.de>
2067         * java/text/DateFormat.java:
2068         Explicitely import used classes.
2070 2003-12-01  Jeff Sturm  <jsturm@one-point.com>
2072         * verify.cc (state::clean_subrs): Clear seen_subrs.
2073         (state::copy): Walk seen_subrs from copy, not `this'.
2074         Don't clear seen_subrs.
2076 2003-12-01  Kim Ho <kho@redhat.com>
2078         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create):
2079         Disable wrapping if TextArea has horizontal scroll bars.
2081 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
2083         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2084         (awt_event_handler): Hard-code inset values.
2086         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (GdkFontMetrics):
2087         Pass font name, not XLFD, to initState.
2088         (stringWidth(String, int, String)): New method.
2089         (stringWidth(String)): Call new stringWidth.
2090         (getLeading): Always return 0.
2091         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
2092         (initState): New Pango implementation.
2093         (stringWidth): Likewise.
2095 2003-12-01  Olga Rodimina <rodimina@redhat.com>
2097         * java/awt/TextComponent.java:
2098         (getSelectionStart): Updated javadocs.
2099         (getSelectionEnd): Ditto.
2100         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer:
2101         (getSelectionStart): Changed to return caret position if no
2102         text is selected
2103         (getSelectionEnd): Ditto.
2105 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
2107         * gnu/awt/gtk/GtkButtonPeer.java, gnu/awt/gtk/gtkcommon.cc,
2108         gnu/awt/gtk/gtkcommon.h, gnu/awt/gtk/GtkComponentPeer.java,
2109         gnu/awt/gtk/GtkContainerPeer.java,
2110         gnu/awt/gtk/GtkFramePeer.java, gnu/awt/gtk/GtkLabelPeer.java,
2111         gnu/awt/gtk/GtkMainThread.java, gnu/awt/gtk/GtkToolkit.java,
2112         gnu/awt/gtk/GtkWindowPeer.java, gnu/awt/gtk/natGtkButtonPeer.cc,
2113         gnu/awt/gtk/natGtkComponentPeer.cc,
2114         gnu/awt/gtk/natGtkContainerPeer.cc,
2115         gnu/awt/gtk/natGtkFramePeer.cc, gnu/awt/gtk/natGtkLabelPeer.cc,
2116         gnu/awt/gtk/natGtkMainThread.cc, gnu/awt/gtk/natGtkToolkit.cc,
2117         gnu/awt/gtk/natGtkWindowPeer.cc: Remove files.
2119         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
2120         (closed): Mark loader parameter as unused.
2122 2003-12-01  Michael Koch  <konqueror@gmx.de>
2124         * gnu/java/net/protocol/http/Connection.java
2125         (Connection): Merged class documentation.
2126         (socket): Renamed from sock.
2127         (Connection): Made protected, documentation added.
2128         (connect): Give URL'S host instead of InetAddress to Socket
2129         constructor.
2130         (disconnect): Documentation added.
2131         (getOutputStream): Rewrapped.
2133 2003-12-01  Michael Koch  <konqueror@gmx.de>
2135         * gnu/java/net/protocol/file/Connection.java
2136         (fileIn): Documentation added.
2137         (inputStream): Likewise.
2138         (outputStream): Likewise.
2139         (Connection): Likewise.
2140         (connect): Simplified.
2142 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
2144         * gnu/java/awt/peer/gtk/GtkImage.java (setDimensions,
2145         setProperties): Check that io is not null before calling
2146         io.imageUpdate.
2147         * java/awt/image/ImageConsumer.java (setPixels, imageComplete):
2148         Update javadocs.
2149         * java/awt/image/PixelGrabber.java: Fix implementation and
2150         update javadocs.
2152 2003-12-01  Michael Koch  <konqueror@gmx.de>
2154         * gnu/java/net/natPlainSocketImplPosix.cc
2155         bind(): Dont set SockedImpl.address field on succesful bind.
2156         * gnu/java/net/natPlainSocketImplWin32.cc
2157         bind(): Likewise.
2159 2003-11-30  Jeff Sturm <jsturm@one-point.com>
2161         * java/net/InetAddress.java:
2162         (static): Don'f force DNS request for ANY_IF address.
2164 2003-11-30  Michael Koch  <konqueror@gmx.de>
2166         * java/net/InetAddress.java,
2167         java/net/natInetAddressNoNet.cc,
2168         java/net/natInetAddressPosix.cc,
2169         java/net/natInetAddressWin32.cc:
2170         Reverted my last patch.
2172 2003-11-28  Michael Koch  <konqueror@gmx.de>
2174         * java/net/InetAddress.java
2175         (lookup): New method that doesnt lookup "0.0.0.0".
2176         (ImplLookup): Renamed from lookup.
2177         * java/net/natInetAddressNoNet.cc
2178         (ImplLookup): Renamed from lookup.
2179         * java/net/natInetAddressPosix.cc
2180         (ImplLookup): Renamed from lookup.
2181         * java/net/natInetAddressWin32.cc
2182         (ImplLookup): Renamed from lookup.
2184 2003-11-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
2186         * configure: Rebuilt.
2187         * configure.in: Require gtk and glib 2.2.0.
2189 2003-11-27  Dalibor Topic <robilad@kaffe.org>
2191         * java/text/FieldPosition.java (equals): Adapted to handle
2192         field_attribute. Added fast-circuit check for comparison to self.
2193         Replaced use of instanceof by getClass to fix symmetry for derived
2194         types.
2195         (toString): Adapted to handle field_attribute. Improved readability.
2196         (hashCode): New method.
2198 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
2200         * java/text/FieldPosition.java (field_attribute): New field.
2201         (FieldPosition (Format.Field), FieldPosition(Format.Field, int),
2202         getFieldAttribute): New methods.
2204 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
2206         * java/text/DecimalFormatSymbols.java (locale): New field.
2207         (DecimalFormatSymbols (Locale)): Set locale.
2208         (serialVersionOnStream): Upgraded to number 2.
2209         (readObject): Assign locale if it wasn't by the serializer.
2211 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
2213         * java/text/FormatCharacterIterator.java: Documented the class and
2215 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
2217         * java/text/FormatCharacterIterator.java: Fixed some typos.
2219 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
2221         * java/text/NumberFormat.java:
2222         (getIntegerInstance) Added the java version in the comments.
2224 2003-11-27  Mark Wielaard  <mark@klomp.org>
2226         * java/text/NumberFormat.java: Import java.io.InvalidObjectException.
2227         (readResolve): Reformat.
2229 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
2231         * java/text/NumberFormat.java
2232         (NumberFormat.Field): New implemented class to match Java 1.4. 
2233         (getIntegerInstance): Two new Java 1.4 methods.o
2235 2003-11-27  Ito Kazumitsu  <kaz@maczuka.gcd.org>
2237         * java/util/GregorianCalendar.java (getLinearTime): Avoid counting
2238         the leap day of the leap year twice.
2239         (computeFields): First week of month is 1 not 0.
2241 2003-11-27  Mark Wielaard  <mark@klomp.org>
2243         * javax/swing/plaf/basic/BasicDefaults.java (BasicDefaults): Put
2244         AbstractUndoableEdit.undoText and AbstractUndoableEdit.redoText.
2246 2003-11-27  Michael Koch  <konqueror@gmx.de>
2248         * javax/swing/UIDefaults.java:
2249         Reformated to match classpath's version.
2251 2003-11-27  Sascha Brawer  <brawer@dandelis.ch>
2253         * javax/swing/UIManager.java (getDefaults, getDimension,
2254         getIcon, getInsets, getInstalledLookAndFeels, getInt,
2255         getLookAndFeel, getString, getSystemLookAndFeelClassName):
2256         Declare as public.
2258 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
2260         * javax/swing/undo/StateEdit.java (getPresentationName): Docfix.
2261         * javax/swing/undo/AbstractUndoableEdit.java (canUndo, canRedo,
2262         isSignificant): Likewise.
2264 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
2266         * javax/swing/undo/CompoundEdit.java: Re-format, document.
2267         (inProgress): Set initial value to true.
2268         (undo, redo, die, canUndo, canRedo): Also call inherited
2269         implementation; simplify code structure.
2270         (getPresentationName, getUndoPresentationName,
2271         getRedoPresentationName): Make behavior dependent on lastEdit.
2272         (addEdit, isSignificant): Completely re-written.
2274 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
2276         * javax/swing/undo/StateEdit.java: Re-format, document.
2277         (undo, redo): Also call inherited implementation.
2279 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
2281         * javax/swing/undo/StateEditable.java: Re-format, document.
2283 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
2285         * javax/swing/undo/AbstractUndoableEdit.java: Re-format, document.
2286         (AbstractUndoableEdit): Initialize hasBeenDone to true.
2287         (canUndo, canRedo): Simplify.
2288         (getUndoPresentationName, getRedoPresentationName): Support
2289         localized message; call getPresentationName() only once.
2291 2003-11-26  David Belanger  <dbelan2@cs.mcgill.ca>
2293         * java/util/zip/ZipFile (Zipfile(File)): Set file path as name.
2294         (ZipFile(File,int)): Likewise.
2296 2003-11-26  Stuart Ballard <stuart.ballard@corp.fast.net>
2298         * java/util/HashMap.java (putAll): Use Iterator hasNext() method.
2299         (putAllInternal): Likewise.
2300         * java/util/Hashtable.java (putAll): Use Iterator hasNext() method.
2301         (putAllInternal): Likewise.
2303 2003-11-26  Michael Koch  <konqueror@gmx.de>
2305         * java/net/URLStreamHandler.java
2306         (parseURL): Added comment in catch statement.
2307         (canonicalizeFilename): Add documentation.
2308         (sameURL): Completed documentation.
2309         (equals): Likewise.
2310         (hostsEqual): Likewise.
2311         (getDefaulPort): Likewise.
2312         (hashCode): Likewise.
2313         (toExternalForm): Likewise.
2314         (getHostName): Fix empty hostname check, completed documentation.
2316 2003-11-26  Tom Tromey  <tromey@redhat.com>
2318         * java/lang/natDouble.cc (parseDouble): Reverted patch of
2319         2003-11-13.
2321 2003-11-26  Guilhem Lavaux  <guilhem@kaffe.org>
2322             Mark Wielaard  <mark@klomp.org>
2324         * java/net/URLStreamHandler (parseUrl): Fixed URL parsing
2325         ('@' should be checked to distinguish port from userinfo).
2326         (toExternalForm): Add @ userInfo if necessary.
2329 2003-11-26  Michael Koch  <konqueror@gmx.de>
2331         * java/net/DatagramSocket.java
2332         (DategramSocket, bind): Moved binding code from DatagramSocket
2333         constructor to bind method.
2335 2003-11-26  Michael Koch  <konqueror@gmx.de>
2337         * java/net/DatagramSocket.java
2338         (impl): Made private.
2339         (bound): New private member variable.
2340         (DatagramSocket): Fixed documentation, use getImpl().
2341         (getImpl): New package-private method.
2342         (isClosed): Use getImpl().
2343         (getLocalAddress): Completed documentation, use getImpl().
2344         (getLocalPort): Use getImpl().
2345         (getSoTimeout): Likewise.
2346         (setSoTimeout): Likewise.
2347         (getSendBufferSize): Likewise.
2348         (setSendBufferSize): Likewise.
2349         (getReceiveBufferSize): Likewise.
2350         (setReceiveBufferSize): Likewise.
2351         (connect): Likewise.
2352         (disconnect): Likewise.
2353         (receive): Likewise.
2354         (send): Likewise.
2355         (setReuseAddress): Likewise.
2356         (setTrafficClass): Likewise.
2357         (bind): Added message to exception.
2358         (isClosed): Completed documentation.
2359         (getChannel): Likewise.
2360         (connect): Added missing exception, refined exception message.
2361         (isBound): Completed documentation, just return bound.
2362         (isConnected): Completed documentation.
2363         (getRemoteSocketAddress): Likewise.
2364         (getReuseAddress): Completed documentation, use getImpl().
2365         (setSoBroadcast): Likewise.
2366         (getSoBroadcast): Likewise.
2367         (getTrafficClass): Likewise.
2368         (getLocalSocketAddress): Simplified.
2369         * java/net/MulticastSocket.java
2370         (MulticastSocket): Removed comment not applying anymore.
2371         (getInterface): Use getImpl().
2372         (getTTL): Likewise.
2373         (getTimeToLive): Likewise.
2374         (setInterface): Likewise.
2375         (setNetworkInterface): Likewise.
2376         (getNetworkInterface): Likewise.
2377         (setLoopback): Likewise.
2378         (getLoopback): Likewise.
2379         (setTTL): Likewise.
2380         (setTimeToLive): Likewise.
2381         (joinGroup): Likewise.
2382         (leaveGroup): Likewise.
2383         (send): Likewise.
2385 2003-11-26  Michael Koch  <konqueror@gmx.de>
2387         * java/net/Socket.java
2388         (implCreated): Dont set default value explicitely, added
2389         documentation.
2390         (inputShutdown): Likewise.
2391         (outputShutdown): Likewise.
2392         (bound): New private member variable.
2393         (bind): Set bound to true.
2394         (close): Set bound to false.
2395         (isBound): Return bound.
2396         * java/net/ServerSocket.java
2397         (bound): New private member variable.
2398         (bind): Set bound to true.
2399         (close): Set bound to false.
2400         (isBound): Return bound.
2402 2003-11-26  Michael Koch  <konqueror@gmx.de>
2404         * java/net/URL.java
2405         (URL): Fixed documentation to be HTML compliant.
2406         (getContent): Completed documentation.
2407         (getFile): Likewise.
2408         (getPath): Likewise.
2409         (getAuthority): Likewise.
2410         (getHost): Likewise.
2411         (getDefaultPort): Likewise.
2412         (getProtocol): Likewise.
2413         (hashCode): Likewise.
2414         (openConnection): Likewise.
2415         (openStream): Likewise.
2416         (set): Likewise.
2417         (getURLStreamHandler): Wrapped lines to fit into our 79 chars rule.
2419 2003-11-26  Michael Koch  <konqueror@gmx.de>
2421         * java/net/InetSocketAddress.java
2422         (hostname): Made private, added documentation.
2423         (addr): Likewise.
2424         (port): Likewise.
2425         (equals): Completed documentation.
2426         (getAddress): Likewise.
2427         (getHostName): Likewise.
2428         (getPort): Likewise.
2429         (hashCode): Likewise.
2430         (isUnresolved): Likewise.
2431         (toString): Likewise.
2433 2003-11-26  Michael Koch  <konqueror@gmx.de>
2435         * gnu/java/net/protocol/file/Handler.java
2436         (Handler): New explicit constructor.
2437         (openConnection): Added documentation.
2438         * gnu/java/net/protocol/jar/Handler.java
2439         (Handler): New explicit constructor.
2440         (openConnection): Added documentation.
2442 2003-11-26  Michael Koch  <konqueror@gmx.de>
2444         * java/net/DatagramPacket.java
2445         (DatagramPacket): Fixed documentation to become legal HTML.
2447 2003-11-25  Michael Koch  <konqueror@gmx.de>
2449         * gcj/javaprims.h: Added missing java.util.Currency.
2451 2003-11-25  Michael Koch  <konqueror@gmx.de>
2453         * testsuite/libjava.mauve/xfails:
2454         Removed these two tests, they mystically pass now:
2455         -FAIL: gnu.testlet.java.net.ServerSocket.ServerSocketTest: Error :
2456         test_params failed - 5getInetAddress did not return proper values
2457         (number 1)
2458         -FAIL: gnu.testlet.java.net.Socket.SocketTest: Error :
2459         test_BasicServer failed - 11 exception was thrown :Illegal seek
2460         (number 1)
2462 2003-11-25  Michael Koch  <konqueror@gmx.de>
2464         * java/net/DatagramSocket.java
2465         (factory): Made private.
2466         (closed): Removed.
2467         (DatagramSocket): Check impl argument, use constructor with
2468         SocketAddress argument.
2469         (close): Set impl to null, use isClosed().
2470         (isClosed): Check for impl == null.
2471         (getLocalAddress): Use isClosed().
2472         (getLocalPort): Check if socket is closed.
2473         (getSoTimeout): Likewise.
2474         (setSoTimeout): Likewise.
2475         (getSendBufferSize): Likewise.
2476         (setSendBufferSize): Likewise.
2477         (getReceiveBufferSize): Likewise.
2478         (setReceiveBufferSize): Likewise.
2479         (receive): Likewise.
2480         (send): Likewise.
2481         (bind): Likewise.
2482         (connect): Likewise.
2483         (setReuseAddress): Likewise.
2484         (getReuseAddress): Likewise.
2485         (setBroadcast): Likewise.
2486         (getBroadcast): Likewise.
2487         (setTrafficClass): Likewise.
2488         (getTrafficClass): Likewise.
2489         * java/net/MulticastSocket.java
2490         (getInterface): Check if socket is closed.
2491         (getTTL): Likewise.
2492         (getTimeToLive): Likewise.
2493         (setInterface): Likewise.
2494         (setNetworkInterface): Likewise.
2495         (getNetworkInterface): Likewise.
2496         (setLoopbackMode): Likewise.
2497         (setTTL): Likewise.
2498         (setTimeToLive): Likewise.
2499         (joinGroup): Likewise.
2500         (leaveGroup): Likewise.
2501         (send): Likewise.
2502         * java/net/ServerSocket.java
2503         (closed): Removed.
2504         (close): Check if socket is closed, set impl to null.
2505         (isClosed): Check impl == null;
2506         (ServerSocket): Check impl argument.
2507         (getInetAddress): Check if socket is bound.
2508         (getLocalPort): Likewise.
2509         (getLocalSocketAddress): Likewise.
2510         (bind): Check if socket is closed.
2511         (implAccept): Likewise.
2512         (setSoTimeout): Likewise.
2513         (getSoTimeout): Likewise.
2514         (setReuseAddress): Likewise.
2515         (getReuseAddress): Likewise.
2516         (setReceiveBufferSize): Likewise.
2517         (getReceiveBufferSize): Likewise.
2518         (toString): Make output compliant to JDK 1.4.2.
2519         * java/net/Socket.java
2520         (closed): Removed.
2521         (Socket): Fixed documentation.
2522         (connect): Check if socket is closed, changed exception text,
2523         fixed documentation.
2524         (getInputStream): Check of socket is closed  and connected.
2525         (getOutputStream): Likewise.
2526         (bind): Check if socket is closed.
2527         (setTcpNoDelay): Likewise.
2528         (getTcpNoDelay): Likewise.
2529         (setSoLinger): Likewise.
2530         (getSoLinger): Likewise.
2531         (sendUrgentData): Likewise.
2532         (setOOBInline): Likewise.
2533         (getOOBInline): Likewise.
2534         (setSoTimeout): Likewise.
2535         (getSoTimeout): Likewise.
2536         (setSendBufferSize): Likewise.
2537         (getSendBufferSize): Likewise.
2538         (setReceiveBufferSize): Likewise.
2539         (getReceiveBufferSize): Likewise.
2540         (setKeepAlive): Likewise.
2541         (getKeepAlive): Likewise.
2542         (close): Likewise.
2543         (shutdownInput): Likewise.
2544         (shutdownOutput): Likewise.
2545         (getReuseAddress): Likewise.
2546         (getTrafficClass): Likewise.
2547         (setTrafficClass): Likewise.
2548         (isClosed): Check impl == null.
2549         (toString): Added missing ']'.
2551 2003-11-24  Tom Tromey  <tromey@redhat.com>
2553         * Makefile.in: Rebuilt.
2554         * Makefile.am (propdir): New macro.
2555         (install-data-local): Install logging.properties.
2556         (core_java_source_files): Added java.util.logging.*.
2557         * java/util/logging/logging.properties: New file.
2559 2003-11-25  Michael Koch  <konqueror@gmx.de>
2561         * java/net/DatagramSocket.java
2562         (DatagramSocket): Move binding code to bind(), simplify constructors.
2563         * java/net/MulticastSocket.java
2564         (MulticastSocket): Call parent constructor with null argument,
2565         bind socket after setReuseAddress is called, simplify constructors.
2567 2003-11-24  Michael Koch  <konqueror@gmx.de>
2569         * javax/swing/BoxLayout.java
2570         (serialVersionUIR): New member variable.
2571         (X_AXIS, Y_AXIS): Documentation added.
2572         (LINE_AXIS, PAGE_AXIS): New constants.
2573         (grid): Renamed from gridbag.
2574         (BoxLayout): Use new constants, throw exception if invalid value for
2575         way, added documentation.
2576         (BoxLayout): Removed.
2577         (addLayoutComponent): Use new constants, added documentation.
2578         (removeLayoutComponent): Likewise.
2579         (addLayoutContainer): Added documentation.
2580         (preferredLayoutSize): Added documentation, check given argument.
2581         (minimumLayoutSize): Likewise.
2582         (layoutContainer): Likewise.
2583         (getLayoutAlignmentX): Likewise.
2584         (getLayoutAlignmentY): Likewise.
2585         (invalidateLayout): Likewise.
2586         (maximumLayoutSize): Likewise.
2588 2003-11-22  Michael Koch  <konqueror@gmx.de>
2590         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
2591         (peekData): Use offset and maximal free space in datagram packet.
2592         (receive): Likewise.
2593         (send): Use offset in datagram packet.
2595 2003-11-22  Michael Koch  <konqueror@gmx.de>
2597         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
2598         (peekData): Use offset and maximal free space in datagram packet.
2599         (receive): Likewise.
2600         (send): Use offset in datagram packet.
2602 2003-11-22  Michael Koch  <konqueror@gmx.de>
2604         * gnu/java/nio/DatagramChannelImpl.java
2605         (getNativeFD): Use getPlainDatagramSocketImpl().
2606         * gnu/java/nio/NIODatagramSocket.java
2607         (getPlainDatagramSocketImpl): Renamed from getImpl().
2608         * gnu/java/nio/NIOSocket.java
2609         (getPlainSocketImpl): Renamed from getImpl().
2610         (setChannel): Use getPlainSocketImpl().
2611         * gnu/java/nio/SocketChannelImpl.java
2612         (SocketChannelImpl): Use getPlainSocketImpl().
2613         (getPlainSocketImpl): Renamed from getImpl().
2614         (getNativeFD): Use getPlainSocketImpl().
2616 2003-11-18  Graydon Hoare  <graydon@redhat.com>
2618         * javax/swing/JLayeredPane.java: Implement.
2619         * javax/swing/JFrame.java (getContentPane): Make public
2620         * javax/swing/javax/swing/JRootPane.java (setContentPane): 
2621         Use JLayeredPane.FRAME_CONTENT_LAYER.
2623 2003-11-21  Mark Wielaard  <mark@klomp.org>
2625         * java/lang/Float.java (static): Removed.
2627 2003-11-18  Graydon Hoare  <graydon@redhat.com>
2629         * java/awt/font/TextLayout.java: Implement simple layouts
2630         using attributed strings and glyph vectors.
2632 2003-11-17  Graydon Hoare  <graydon@redhat.com>
2634         * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: New file.
2635         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java 
2636         (GdkFontLineMetrics): New inner class.
2637         (getLineMetrics): Return new GdkFontLineMetrics.
2638         (getFontMetrics): Return new GdkClasspathFontPeerMetrics.
2639         (layoutGlyphVector): Create GdkGlyphVector.
2640         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (stateStack): New member.
2641         (GdkGraphics2D): Initialize state via mathod calls.
2642         (cairoSetMatrix, cairoShowGlyphs): Simplify native calls.
2643         (cairoTranslate, cairoScale, cairoRotate): Remove.
2644         (various methods): use setTransform for special transform cases.
2645         (DrawState): New inner class.
2646         (stateSave): New method.
2647         (stateRestore): New method.
2648         (various methods): use stateSave, stateRestore.
2649         (getClipInDevSpace): New method.
2650         (clip, clipRect, setClip, getClip, getClipBounds): 
2651         Follow spec more closely.
2652         (getTransform): Return clone of transform.
2653         (setStroke): Set linewidth to passed width / 2.0.
2654         (setPaintMode): Set SrcOver rather than Xor.
2655         (setColor): Set paint to passed color.
2656         (drawRaster, drawImage, PainterThread, drawPixels): Take affine
2657         transform from image to user space.
2658         (drawRenderedImage, drawRenderableImage): Implement.
2659         (getFontRenderContext, getFontMetrics, drawString, getFont): 
2660         Implement
2661         (drawArc, drawOval, drawRoundRect, fillArc, fillOval, fillRoundRect): 
2662         Implement.
2663         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: 
2664         Match changes to java side.
2665         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c: 
2666         Release resources.
2667         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
2668         Don't use pango for metrics.
2669         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: 
2670         New file.
2672 2003-11-19  Guilhem Lavaux <guilhem@kaffe.org>
2673             Jim Pick  <jim@kaffe.org>
2675         * java/text/DecimalFormat.java (getCurrency, setCurrency): New
2676         methods.
2678 2003-11-19  Guilhem Lavaux  <guilhem@kaffe.org>
2680         * java/text/DecimalFormatSymbols.java (getCurrency,
2681         setCurrency): New methods.
2683 2003-11-19  Sascha Brawer  <brawer@dandelis.ch>
2685         * java/awt/geom/FlatteningPathIterator.java: Entirely re-written.
2686         * java/awt/geom/doc-files/FlatteningPathIterator-1.html:
2687         Describe how the implementation works.
2689 2003-11-19  Michael Koch  <konqueror@gmx.de>
2691         * java/net/Socket.java
2692         (implCreated): New variable that indicates created impl.
2693         (getImpl): New method.
2694         (toString): Return more SUN compliant string representation.
2695         (various): Use getImpl() instead of impl.
2697 2003-11-19  Andreas Tobler  <a.tobler@schweiz.ch>
2699         * lib/libjava.exp: Add DYLD_LIBRARY_PATH for darwin. Look for
2700         the right libgcc. Add -multiply_defined suppress and -bind_at_load
2701         flags.
2703 2003-11-18  Tom Tromey  <tromey@redhat.com>
2705         PR libgcj/13026:
2706         * verify.cc (state::copy): Only set local_changed if we're in a
2707         subroutine.  Correctly copy local variables which were modified
2708         by the subroutine.
2709         (push_jump_merge): Added more debugging output.
2711         * jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string
2712         is null.
2714 2003-11-17  Graydon Hoare  <graydon@redhat.com>
2716         * javax/swing/plaf/basic/BasicDefaults.java: Rewrite to spec.
2717         * javax/swing/UIDefaults.java: Modify to reflect rewrite.
2719 2003-11-16  Tom Tromey  <tromey@redhat.com>
2721         PR libgcj/13062:
2722         * java/io/StreamTokenizer.java (commentChar): Clear other
2723         attributes for character.
2724         (quoteChar): Likewise.
2726 2003-11-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
2728         * java/awt/GridBagLayout.java (getLayoutDimensions): Return array of two
2729         zero-length int arrays when layoutInfo is null.
2730         (getLayoutWeights): Return array of two zero-length double arrays when
2731         layoutInfo is null.
2733 2003-11-13  Tom Tromey  <tromey@redhat.com>
2735         * jni.cc (_Jv_JNI_GetStringUTFChars): Pass length of string to
2736         JvGetStringUTFRegion.
2737         * java/lang/natPosixProcess.cc (new_string): Pass length of string
2738         to JvGetStringUTFRegion.
2739         * java/lang/natDouble.cc (parseDouble): Pass length of string to
2740         JvGetStringUTFRegion.
2741         * java/lang/natWin32Process.cc (startProcess): Pass length of
2742         string to JvGetStringUTFRegion.
2743         * java/lang/natClass.cc (forName): Pass length of string to
2744         JvGetStringUTFRegion.
2745         * gnu/gcj/runtime/natNameFinder.cc (getExternalLabel): Pass length
2746         of string to JvGetStringUTFRegion.
2747         * gnu/gcj/convert/natIconv.cc (init): Pass length of string to
2748         JvGetStringUTFRegion.
2749         * gnu/awt/gtk/natGtkLabelPeer.cc (setText): Pass length of string
2750         to JvGetStringUTFRegion.
2751         * gnu/awt/gtk/natGtkButtonPeer.cc (setLabel): Pass length of
2752         string to JvGetStringUTFRegion.
2754 2003-11-13  Mohan Embar  <gnustuff@thisiscool.com>
2756         * gnu/java/nio/natSelectorImplPosix.cc
2757         (helper_put_filedescriptors): Change to static linkage.
2758         (helper_get_filedescriptors): Likewise.
2760 2003-11-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
2762         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Remove
2763         null check.
2764         * gnu/java/awt/peer/gtk/GtkToolkit.java (prepareImage): Likewise.
2765         * java/awt/Component.java (prepareImage): Likewise.
2767         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (setAlignment):
2768         Rename to nativeSetAlignment.
2770 2003-11-11  Danny Smith  <dannysmith@users.sourceforge.net>
2772         * jni.cc (JNI_CreateJavaVM): Remove JNIEXPORT.
2773         (JNI_GetCreatedJavaVMs): Likewise.
2774         (JNI_GetDefaultJavaVMInitArgs): Likewise.
2775         * include/jni.h (JNIIMPEXP): Remove definition
2776         and replace with...
2777         (__GCJ_JNIIMPEXP__): New macro, applicable only to libgcj
2778         symbols,
2779         (__GCJ_DLL__): New macro, controlling __GCJ_JNIIMPEXP__.
2781 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
2783         * Makefile.am: Add GdkPixbufDecoder.java and
2784         gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
2785         * Makefile.in: Regenerate.
2786         * gnu/java/awt/image/ImageDecoder.java (ImageDecoder(byte[],int,int)):
2787         New constructor.
2788         (startProduction): Create ByteArrayInputStream when url and filename are
2789         null.
2790         (produce): Declare stream parameter as InputStream.
2791         * gnu/java/awt/image/XBMDecoder.java (produce): Declare stream parameter
2792         as InputStream.
2793         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
2794         (GdkPixbufDecoder(byte[],int,int)): New constructor.
2795         (produce): Declare stream parameter as InputStream.
2796         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Throw NPE
2797         if image is null.  Set image's observer before running PrepareImage
2798         thread.  Pass image to startProduction.
2799         * gnu/java/awt/peer/gtk/GtkImage.java: Add null checks before calls to
2800         source's member functions.
2801         (observer): New field.
2802         (setObserver): New method.
2803         (setDimensions, setPixels, imageComplete): Call observer's imageUpdate.
2804         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage, getImage): Return
2805         new GtkImage.
2806         (prepareImage): Implement.
2807         * java/awt/Component.java: Add static fields incrementalDraw and
2808         redrawRate.
2809         (imageUpdate): Implement.
2810         (createImage): Call Toolkit's createImage if peer is null.
2811         (prepareImage): Throw NPE if image is null.
2812         * java/awt/MediaTracker.java: Fix return value.
2814 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
2816         * gnu/java/awt/peer/gtk/GtkLabelPeer.java (create()): Call new create.
2817         (create(String, float)): New method.
2818         (setText): Make native.
2819         (nativeSetAlignment): New method.
2820         (setAlignment): Call nativeSetAlignment.
2821         (getArgs): Remove method.
2822         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2823         (find_fg_color_widget, find_bg_color_widget): New functions.
2824         (gtkWidgetSetForeground): Call find_fg_color_widget.
2825         (gtkWidgetSetBackground): Call find_bg_color_widget.  Modify active and
2826         prelight colors.
2827         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create): Wrap label
2828         widget in event box.
2829         (setText, setAlignment): Implement new native methods.
2831 2003-11-11  Michael Koch  <konqueror@gmx.de>
2833         * java/awt/Font.java,
2834         java/awt/datatransfer/DataFlavor.java,
2835         java/math/BigInteger.java,
2836         java/net/Inet4Address.java,
2837         java/net/Inet6Address.java,
2838         java/rmi/MarshalledObject.java,
2839         java/rmi/server/RMIClassLoader.java,
2840         java/security/cert/CertStore.java,
2841         java/sql/Timestamp.java,
2842         java/text/SimpleDateFormat.java,
2843         javax/naming/CompoundName.java:
2844         Removed some redundant obj == null checks.
2846 2003-11-11  Michael Koch  <konqueror@gmx.de>
2848         * java/nio/ByteBuffer.java
2849         (equals): Remove redundant obj == null check.
2851 2003-11-11  Michael Koch  <konqueror@gmx.de>
2853         * gnu/java/nio/natPipeImpl.cc,
2854         gnu/java/nio/natSelectorImpl.cc: Removed
2855         * gnu/java/nio/natPipeImplEcos.cc,
2856         gnu/java/nio/natPipeImplPosix.cc,
2857         gnu/java/nio/natPipeImplWin32.cc,
2858         gnu/java/nio/natSelectorImplEcos.cc,
2859         gnu/java/nio/natSelectorImplPosix.cc,
2860         gnu/java/nio/natSelectorImplWin32.cc: New files
2861         * configure.in: Create links for gnu/java/nio/natPipeImpl.cc and
2862         gnu/java/nio/natSelectorImpl.cc
2863         * configure: Regenerated.
2865 2003-11-11  Micheal Koch  <konqueror@gmx.de>
2867         * java/net/URLStreamHandler.java (toExternalForm): Print port only
2868         if host is printed too and port was really given to URL.
2870 2003-11-10  Gary Benson  <gbenson@redhat.com>
2872         * java/sql/Timestamp.java (valueOf): Correctly handle
2873         nanoseconds.
2875 2003-11-09  Tom Tromey  <tromey@redhat.com>
2877         * java/net/Inet4Address.java (serialVersionUID): Updated.
2879 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
2881         * gnu/gcj/runtime/FirstThread.java (Klocale, Kcalendar):
2882         New fields.
2884 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
2886         * java/io/ByteArrayOutputStream.java (resize):
2887         Fix off-by-one error.
2889 2003-11-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
2891         * gnu/gcj/xlib/XAnyEvent.java (XAnyEvent): Make constructor
2892         public.
2894 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
2896         PR libgcj/12231
2897         * java/lang/Win32Process.java (hasExited) Changed from
2898         public to private.
2899         (startProcess): Likewise.
2900         (cleanup): Likewise.
2901         * java/lang/natWin32Process.cc (cleanup) Don't close
2902         input, output and error streams.
2903         (ChildProcessPipe): New helper class.
2904         (startProcess): Refactored to use ChildProcessPipe.
2905         Use CREATE_NO_WINDOW when launching child process.
2907 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
2909         * include/win32.h (_Jv_platform_close_on_exec): Changed
2910         signature and declared extern.
2911         * win32.cc (_Jv_platform_close_on_exec): Implemented.
2912         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
2913         (create): Use new signature of _Jv_platform_close_on_exec.
2914         * gnu/java/net/natPlainSocketImplWin32.cc 
2915         (create): Eliminated a few typecasts
2916         Use new signature of _Jv_platform_close_on_exec.
2917         (accept): Eliminated a few typecasts
2918         Use new signature of _Jv_platform_close_on_exec.
2919         * java/io/natFileDescriptorWin32.cc (open): Use
2920         _Jv_platform_close_on_exec.
2922 2003-11-04  Bryce McKinlay  <bryce@mckinlay.net.nz>
2924         * java/lang/natClass.cc (newInstance): Throw InstantiationException
2925         if class has no null-argument constructor.
2927 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
2929         PR libgcj/12647:
2930         * win32-threads.cc (_Jv_CondWait): Respect mutex's
2931         refcount when releasing and reacquiring it.
2933 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
2935         * win32.cc: (dirExists) Internal helper function to
2936         test for directory existence.
2937         (getUserHome) New helper function refactored out
2938         of _Jv_platform_initProperties. Uses USERPROFILE
2939         instead of HOMEDIR and attempts to support Win9X and NT.
2940         (_Jv_platform_initProperties) Use getUserHome.
2942 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
2944         PR libgcj/11521:
2945         * gnu/java/net/natPlainSocketImplWin32.cc
2946         (bind): Don't use SO_REUSEADDR
2948 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
2950         PR libgcj/6652:
2951         * java/io/natFileWin32.cc (getCanonicalPath): Treat "" like ".".
2953 2003-10-30  Bryce McKinlay  <bryce@mckinlay.net.nz>
2955         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Don't use vtable
2956         dispatch for final methods.
2958 2003-10-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2960         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Turn on
2961         word wrapping.
2963 2003-10-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
2965         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (getSize): Return
2966         scrolled window's size request.
2968 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
2970         * java/awt/geom/CubicCurve2D.java (contains): Docfix for URL of embedded drawing.
2971         * java/awt/geom/QuadCurve2D.java: Likewise.
2973 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
2975         * java/awt/geom/CubicCurve2D.java: Added documentation.
2976         * java/awt/geom/QuadCurve2D.java: Likewise.
2978         * java/awt/geom/doc-files/QuadCurve2D-4.png,
2979         java/awt/geom/doc-files/QuadCurve2D-5.png,
2980         java/awt/geom/doc-files/CubicCurve2D-4.png,
2981         java/awt/geom/doc-files/Cubicurve2D-5.png: New illustrations.
2983 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
2985         * java/awt/geom/CubicCurve2D.java (getFlatnessSq): Implement.
2986         (subdivide(CubicCurve2D, CubicCurve2D)): Avoid useless object allocation.
2987         (subdivide(double[],int,double[],int,double[],int)): Implement.
2989 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
2991         * java/awt/geom/doc-files/CubicCurve2D-1.png,
2992         java/awt/geom/doc-files/CubicCurve2D-2.png,
2993         java/awt/geom/doc-files/CubicCurve2D-3.png: New illustrations.
2995 2003-10-29  Ito Kazumitsu <kaz@maczuka.gcd.org>
2997         * java/text/DecimalFormat.java
2998         (scanFormat) corrected so that '%' may appear in a pattern.
3000 2003-10-29  Mark Wielaard  <mark@klomp.org>
3002         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
3003         * java/text/DateFormat.java (Field): New public static inner class.
3004         * java/text/Format.java (Field): Likewise.
3005         (formatToCharacterIterator): New method.
3006         * java/text/FormatCharacterIterator.java: New file.
3008 2003-10-29  Mark Wielaard  <mark@klomp.org>
3010         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
3011         * java/util/Currency.java: New file.
3013 2003-10-29  Michael Koch  <konqueror@gmx.de>
3015         * Makefile.am (ordinary_java_source_files): Added
3016         java/text/FormatCharacterIterator.java and java/util/Currency.java.
3017         * Makefile.in: Regenerated.
3019 2003-10-29  Dalibor Topic  <robilad@kaffe.org>
3021         * gnu/java/beans/IntrospectionIncubator.java (addMethod): Add public
3022         static methods.
3024 2003-10-29  Julian Dolby  <dolby@us.ibm.com>
3026         * javax/naming/spi/NamingManager.java (getContinuationContext): Call
3027         getObjectInstance() with Object, Name, Context and environment
3028         Hashtable from exception. Call fillInStackTrace() on exception when
3029         rethrown.
3030         * javax/naming/InitialContext.java (lookup(Name)): When a
3031         CannotProceedException is thrown use the ContinuationContext.
3032         (lookup(String)): Likewise.
3033         (close): Clear myProps and defaultInitCtx.
3035 2003-10-29  Michael Koch  <konqueror@gmx.de>
3037         * java/net/InetAddress.java
3038         (equals): Remove redundant obj == null check.
3039         * java/net/SocketPermission.java
3040         (equals): Likewise.
3041         * java/net/URL.java
3042         (equals): Likewise.
3043         (getURLStreamHandler): Likewise.
3045 2003-10-29  Michael Koch  <konqueror@gmx.de>
3047         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
3048         (setOption): Directly return if no error occured.
3049         * gnu/java/net/natPlainSocketImplPosix.cc
3050         (setOption): Likewise.
3052 2003-10-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
3054         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Always assign a
3055         vtable slot for final methods. Add FIXME comment.
3057 2003-10-28  David S. Miller  <davem@redhat.com>
3059         * sysdep/sparc/locks.h (__cas_start_atomic): %g0 --> %%g0.
3061 2003-10-26  Mark Wielaard  <mark@klomp.org>
3063         Reported by Helmer Kraemer <hkraemer@freenet.de>
3064         * java/util/jar/JarInputStream.java (readManifest): Don't call
3065         closeEntry().
3067         * java/util/zip/DeflaterOutputStream.java (inbufWrite): New method.
3068         (finish): Use inbufWrite().
3069         (write(int)): Likewise.
3070         (write(byte[],int,int)): Likewise.
3072 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
3074         * java/lang/reflect/AccessibleObject.java (secureSetAccessible):
3075         Don't check for AccessibleObject. Update javadocs.
3076         
3077         * java/util/TreeMap.java: Doc fixes. HashMap -> TreeMap.
3079 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
3081         * java/lang/reflect/Constructor.java (toString): Avoid extra 
3082         whitespace on constructor with no modifiers.
3083         * java/lang/reflect/natConstructor.java (newInstance): Look up
3084         caller and perform accessibility check only if constructor is
3085         non-public and accessible flag is not set.
3087 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
3089         * jni.cc (_Jv_JNI_CallAnyMethodV, _Jv_JNI_CallAnyMethodA,
3090         _Jv_JNI_CallAnyVoidMethodV, _Jv_JNI_CallAnyVoidMethodA): Don't
3091         use _Jv_LookupDeclaredMethod(). Call _Jv_CallAnyMethodA with 
3092         is_virtual_call argument.
3093         * include/jvm.h (_Jv_isVirtualMethod): Moved and renamed from 
3094         natClass.cc.
3095         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use 
3096         _Jv_isVirtualMethod.
3097         * java/lang/reflect/natMethod.cc (invoke): Don't use 
3098         _Jv_LookupDeclaredMethod.
3099         (_Jv_CallAnyMethodA): New is_virtual_call argument. If specified,
3100         look up method in target object's vtable.
3102 2003-10-25  Graydon Hoare  <graydon@redhat.com>
3104         * gnu/java/awt/ClasspathToolkit.java: New abstract class.
3105         * gnu/java/awt/peer/ClasspathFontPeer.java: New abstract class.
3106         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
3107         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
3108         New concrete implementation of ClasspathFontPeer, with native part.
3109         * gnu/java/awt/peer/gtk/GdkGlyphVector.java,
3110         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
3111         New class, with native part.
3112         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3113         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
3114         implement setFont, cairoSetFont, drawGlyphVector, cairoShowGlyphs.
3116 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
3118         * java/lang/reflect/Method.java (toString): Avoid extra whitespace
3119         on method with no modifiers.
3121 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
3123         PR libgcj/11780:
3124         * java/lang/reflect/natMethod.cc (invoke): Look up caller and perform
3125         accessibility check only if target is non-public and accessible flag
3126         is not set.
3127         * java/lang/reflect/natField.cc (getAddr): Likewise.
3129 2003-10-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
3131         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (handleEvent):
3132         Remove method.
3133         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postWindowEvent):
3134         New method.
3135         * java/awt/Window.java (Window(Window,GraphicsConfiguration),
3136         show, hide, dispose, getOwnedWindows): Synchronize on tree lock.
3137         (dispose): Post WINDOW_CLOSED event.
3138         (addWindowFocusListener, addWindowStateListener): Assign result
3139         of multicaster add back to window listener.
3140         (removeWindowFocusListener, removeWindowStateListener): Assign
3141         result of multicaster remove back to window listener.
3142         (dispatchEventImpl): Add null checks for focus and state
3143         listeners.
3144         (processWindowEvent): Handle case where windowListener is null
3145         but state or focus listeners exist.
3146         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
3147         glue for postWindowEvent.
3148         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3149         (window_delete_cb, window_destroy_cb, window_show_cb,
3150         window_focus_in_cb, window_focus_out_cb, window_window_state_cb,
3151         window_get_new_state): New functions.
3152         * jni/gtk-peer/gtkpeer.h: Define window event and frame state
3153         macros.  Declare postWindowEventID.
3155 2003-10-24  Anthony Green  <green@redhat.com>
3157         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Fix case where
3158         we have no interpreter.
3160 2003-10-22  Andrew Haley  <aph@redhat.com>
3162         * java/lang/natClass.cc (initializeClass): Call
3163         _Jv_linkExceptionClassTable.
3164         (_Jv_LinkSymbolTable): Call )_Jv_ThrowNoSuchMethodError.  Call
3165         _Jv_Defer_Resolution on a method whose ncode is NULL.
3166         (_Jv_linkExceptionClassTable): New function.
3167         (_Jv_LayoutVTableMethods): If superclass looks like a constant pool
3168         entry, look it up.
3169         * java/lang/Class.h (struct _Jv_CatchClass): New.
3170         (_Jv_linkExceptionClassTable): New friend.
3171         (_Jv_Defer_Resolution): New friend.
3172         (class Class.catch_classes): New field.
3173         * include/java-interp.h (Jv_Defer_Resolution): New method.
3174         (_Jv_PrepareClass): Make a friend of _Jv_MethodBase.
3175         (_Jv_MethodBase.deferred): New field.
3176         (_Jv_Defer_Resolution): New function.
3177         * resolve.cc (_Jv_PrepareClass): Resolve deferred handlers.
3178         * exception.cc (get_ttype_entry): Change return type to void**.
3179         (PERSONALITY_FUNCTION): Remove all code related to using a
3180         Utf8Const* for a match type.  Change match type to be a pointer to
3181         a pointer, rather than a pointer to a Class.
3182         * defineclass.cc (handleCodeAttribute): Initialize
3183         method->deferred.
3184         (handleMethodsEnd): Likewise.
3186 2003-10-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3188         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Use
3189         _Jv_MutexCheckMonitor instead of accessing mutex.owner directly.
3191 2003-10-22  Tom Tromey  <tromey@redhat.com>
3193         PR libgcj/12416:
3194         * java/lang/Class.h: Updated.
3195         * java/lang/natClass.cc (_getFields): Removed.
3196         (getFields): Likewise.
3197         (getDeclaredFields): Added `public_only' parameter.
3198         * java/lang/Class.java (getFields): Now implemented in java; from
3199         Classpath.
3200         (getDeclaredFields): Likewise.
3201         (getDeclaredFields(boolean)): Declare.
3202         (_getFields): Removed.
3203         (internalGetFields): New method, from Classpath.
3205         PR libgcj/12656:
3206         * gnu/gcj/runtime/natFirstThread.cc (call_main): Use
3207         _Jv_LookupDeclaredMethod, not _Jv_GetMethodLocal.
3209 2003-10-22  David Daney  <ddaney@avtrex.com)
3211         * include/mips-signal.h: New file.
3212         * sysdep/dwarf2-backtrace.cc: New file.
3213         * sysdep/mips: New directory.
3214         * sysdep/mips/locks.h: New file.
3215         * Makefile.am(extra_cc_files): New, to allow extra c++ files to be
3216         added to libgcj.
3217         (extra_cc_source_files): Ditto.
3218         * configure.host(disable_dladdr):  New shell variable passed to
3219         configure.
3220         (mips*-*-linux*): sysdeps_dir=mips,
3221         can_unwind_signal=yes, disable_dladdr=yes, use -mxgot.
3222         (mipsel*-linux* | mipsisa32el*-linux*): Enable hash synchronization.
3223         * configure.in:(mips*-*-linux*): Use sysdep/dwarf2-backtrace.cc to
3224         generate backtrace, and include/mips-signal.h as SIGNAL_HANDLER
3225         (HAVE_DLADDR): Make it depend on setting of disable_dladdr.
3226         (EXTRA_CC_FILES): New, to support conditional addition of
3227         sysdep/dwarf2-backtrace.cc.
3228         * configure: Regenerated.
3229         * Makefile.in: Regenerated.
3230         * gcj/Makefile.in: Regenerated.
3231         * include/config.h.in: Regenerated.
3232         * include/Makefile.in: Regenerated.
3233         * testsuite/Makefile.in: Regenerated.
3234         
3235 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
3237         * java/awt/geom/QuadCurve2D.java (subdivide): Added documentation.
3238         java/awt/geom/doc-files/QuadCurve2D-3.png: New illustration.
3240 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
3242         * java/awt/geom/QuadCurve2D.java: Reformatted, wrote Javadoc.
3243         * java/awt/geom/doc-files: New directory.
3244         * java/awt/geom/doc-files/QuadCurve2D-1.png,
3245         java/awt/geom/doc-files/QuadCurve2D-2.png: New illustrations.
3246         
3247 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
3249         * java/awt/geom/QuadCurve2D.java (subdivide): Implement.
3251 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
3253         * java/awt/geom/QuadCurve2D.java (getFlatness, getFlatnessSq): Implement.
3255 2003-10-22  Michael Koch  <konqueror@gmx.de>
3257         * java/io/File.java
3258         (equals): Removed redundant obj == null check.
3259         (createTempFile): Merged comments from classpath.
3261 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
3263         Fix for bug #2944, reported by David Holmes <dholmes@dltech.com.au>
3264         * java/util/logging/ErrorManager.java (everUsed): Made volatile.
3265         (error): Synchronize on instance, not class.
3267 2003-10-21  Mark Wielaard  <mark@klomp.org>
3269         Reported by M.Negovanovic
3270         * java/beans/Introspector.java (getBeanInfo(ClassLoader, String)): New
3271         method.
3272         (reallyFindExplicitBeanInfo): Use new getBeanInfo() method.
3274 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
3276         Fix for Classpath bug #6076.
3277         * java/awt/geom/GeneralPath.java (append): Re-written.
3279 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
3281         Fix for Classpath bug #6089.
3282         * java/awt/geom/GeneralPath.java (curveTo): Set correct segment type.
3283         (getPathIterator, GeneralPathIterator): Re-written from scratch.
3285 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
3287         * java/awt/geom/GeneralPath.java (getCurrentPoint): Return last
3288         point, not start of subpath.  Fixes Classpath bug #6075.
3290 2003-10-21  Michael Koch  <konqueror@gmx.de>
3292         * java/nio/ByteOrder.java,
3293         java/nio/DirectByteBufferImpl.java,
3294         java/nio/channels/FileChannelImpl.java:
3295         Add code to load library with code for native methods if needed.
3297 2003-10-21  Michael Koch  <konqueror@gmx.de>
3299         * gnu/java/net/PlainDatagramSocketImpl.java,
3300         gnu/java/net/PlainSocketImpl.java,
3301         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
3302         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
3303         gnu/java/net/natPlainSocketImplPosix.cc,
3304         gnu/java/net/natPlainSocketImplWin32.cc:
3305         Renamed fnum to native_fd to match classpath more.
3307 2003-10-21  Jerry Quinn  <jlquinn@optonline.net>
3309         * posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename
3310         _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor.
3311         * include/no-threads.h (_Jv_MutexCheckMonitor): New.
3312         * include/posix-threads.h (_Jv_MutexCheckMonitor): Rename from
3313         _Jv_PthreadCheckMonitor.  Simplify code.
3314         (_Jv_MutexUnlock): Use _Jv_MutexCheckMonitor.
3315         * include/win32-threads.h (_Jv_MutexCheckMonitor): New.
3316         * java/lang/Object.h (_Jv_ObjectCheckMonitor): Declare.
3317         * java/lang/Thread.java (holdsLock): New.
3318         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): New, with and
3319         without JV_HASH_SYNCHRONIZATION.
3320         * java/lang/natThread.cc (java::lang::Thread::holdsLock): New.
3322 2003-10-20  Michael Koch  <konqueror@gmx.de>
3324         * java/text/RuleBasedCollator.java
3325         (RuleBasedCollator): Check rules not empty, fixed search in already
3326         existing collation elements.
3327         (is_special): Removed common whitespace characters.
3328         (text_argument): Dont return on whitespaces, add characters between
3329         two ' to string buffer.
3331 2003-10-18  Michael Koch  <konqueror@gmx.de>
3333         * gnu/java/net/protocol/file/Connection.java,
3334         gnu/java/net/protocol/file/Handler.java,
3335         gnu/java/net/protocol/http/Connection.java,
3336         gnu/java/net/protocol/http/Handler.java,
3337         gnu/java/net/protocol/jar/Connection.java,
3338         gnu/java/net/protocol/jar/Handler.java:
3339         Merged copyright text from classpath to make
3340         it possible to merge the classes.
3342 2003-10-18  Mark Wielaard  <mark@klomp.org>
3344         Reported by M.Negovanovic
3345         * java/beans/IndexedPropertyDescriptor.java
3346         (IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex.
3348 2003-10-17  Mohan Embar  <gnustuff@thisiscool.com>
3350         * win32.cc (_Jv_pipe): Implemented.
3351         * gnu/java/nio/natPipeImpl.cc (nativeInit): Use
3352         _Jv_pipe instead of ::pipe.
3353         * include/posix.h (_Jv_pipe): New inline.
3354         * include/win32.h (_Jv_pipe): New declaration.
3355         
3356 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
3358         * java/lang/StringBuffer.java (getChars): Fix array index checks.
3359         (append, substring, insert): Likewise.
3360         * testsuite/libjava.lang/StringBuffer_overflow.java: New file.
3361         * testsuite/libjava.lang/StringBuffer_overflow.out: New file.
3362         
3363 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
3365         * java/lang/natString.cc (getChars):
3366         Fix validation of array indexes.
3367         (getBytes, regionMatches, startsWith, valueOf): Likewise.
3368         * testsuite/libjava.lang/String_overflow.java: New file.
3369         * testsuite/libjava.lang/String_overflow.out: New file.
3371 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
3373         * prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't
3374         overflow a jint.
3375         (_Jv_NewPrimArray): Check for overflowing a jint, replacing a
3376         check for overflowing size_t, since the lower level functions
3377         take a jint.
3378         * testsuite/libjava.lang/newarray_overflow.java:  New file.
3379         * testsuite/libjava.lang/newarray_overflow.out:  New file.
3380         
3381 2003-10-15  Michael Koch  <konqueror@gmx.de>
3383         * java/text/RuleBasedCollator.java
3384         (RuleBasedCollator): Moved around, documentation added.
3385         (compare): Documentation added.
3386         (equals): Likewise.
3387         (getCollationElementIterator): Likewise.
3388         (getCollationKey): Likewise.
3389         (getRules): Likewise.
3390         (hashCode): Likewise.
3392 2003-10-15  Michael Koch  <konqueror@gmx.de>
3394         * java/text/RuleBasedCollator.java
3395         (CollationElement): Renamed from RBCElement and moved into
3396         RuledBasedCollator as inner class.
3398 2003-10-15  Michael Koch  <konqueror@gmx.de>
3400         * java/text/CollationElementIterator.java
3401         (CollationElementIterator): Moved, documenatation added, call setText.
3402         (next): Reformated.
3403         (reset): Reformated.
3404         (setText): New method.
3405         (getOffset): New method.
3406         * java/text/CollationKey.java
3407         (getSourceString): Reformated.
3408         (hashCode): Reformated.
3409         (toByteArray): Reformated.
3411 2003-10-15  Michael Koch  <konqueror@gmx.de>
3413         * java/util/zip/InflaterInputStream.java
3414         (InflaterInputStream): Renamed infl to inf and bufsize to size,
3415         added description to exception, check for inf == null and size < 0.
3417 2003-10-15  Michael Koch  <konqueror@gmx.de>
3419         * java/text/AttributedCharacterIterator.java,
3420         java/text/CharacterIterator.java: Reformated.
3422 2003-10-15  Michael Koch  <konqueror@gmx.de>
3424         * javax/swing/UIDefaults.java (putDefaults):
3425         Readded accidently removed "public" modifier.
3427 2003-10-14  Paolo Bonzini  <bonzini@gnu.org>
3429         * interpret.cc (_Jv_InterpMethod::run): Don't
3430         use libffi types, they were meant to be internal.
3431         * gcj/javaprims.h (_Jv_ulong): New typedef.
3433 2003-10-13  Tom Tromey  <tromey@redhat.com>
3435         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields): Removed.
3436         (defineClass): Updated.
3437         (_Jv_NewClass): Likewise.
3438         * prims.cc (_Jv_InitPrimClass): Don't call
3439         _Jv_InitNewClassFields.
3441 2003-10-13  Taras Glek  <taras.judge@shaw.ca>
3443         PR libgcj/12592
3444         * gnu/java/net/protocol/http/Connection.java (connect): Use \r\n,
3445         not just \n.
3447 2003-10-13  Michael Koch  <konqueror@gmx.de>
3449         * java/io/File.java: Reformated.
3450         (equals): Check for obj == null.
3452 2003-10-13  Michael Koch  <konqueror@gmx.de>
3454         * java/net/JarURLConnection.java
3455         (jarFileURL): Added dcoumentation.
3456         (jarFileURLConnection): Reformated documentation.
3457         (entryName): Renamed from "element", documentation rewritten.
3458         (connectionCache): Renamed from "conn_cache", documentation
3459         reformated.
3460         (JarURLConnection): Check URL protocol.
3461         (getEntryName): Use entryName.
3462         (connect): Use connectionCache.
3463         (getInputStream): Use entryName, fixed comment.
3464         (getJarEntry): Use entryName.
3465         (getHeaders): Use entryName.
3466         * java/net/URLConnection.java
3467         (addRequestProperty): Fixed documentation.
3468         (setDefaultRequestProptery): Added comment that it does nothing since
3469         JDK 1.3.
3470         (getDefaultRequestProperty): Likewise.
3472 2003-10-13  Michael Koch  <konqueror@gmx.de>
3474         * java/net/java/net/URLStreamHandlerFactory.java
3475         (createURLStreamHandler): Removed redundant "public" modifier.
3476         * java/sql/DatabaseMetaData.java:
3477         (DatabaseMetaData):  Readded accidently removed "public" modifier.
3478         * java/sql/ParameterMetaData.java:
3479         (ParameterMetaData): Readded accidently removed "public" modifier.
3480         * java/sql/PreparedStatement.java:
3481         (PreparedStatement): Readded accidently removed "public" modifier.
3482         * java/sql/Ref.java:
3483         (Ref): Readded accidently removed "public" modifier.
3485 2003-10-13  Michael Koch  <konqueror@gmx.de>
3487         * java/nio/Buffer.java
3488         (hasRemaining): Made implementation more clear.
3489         * java/nio/MappedByteBuffer.java
3490         (loaded): New member variable.
3491         (force): Added comment.
3492         (isLoaded): Return value of loaded.
3493         (load): Set loaded to true, added comment.
3495 2003-10-12  Michael Koch  <konqueror@gmx.de>
3497         * gnu/java/nio/PipeImpl.java
3498         (SourceChannelImpl): New inner class.
3499         (SinkChannelImpl): New inner class.
3500         (sink): New member variable.
3501         (source): New member variable.
3502         (PipeImpl): Add SelectorProvider argument, implemented.
3503         (nativeInit): New method.
3504         (sink): Return sink channel.
3505         (source): Return source channel.
3506         * gnu/java/nio/SelectorProviderImpl.java
3507         (openPipe): Give provider as argument to PipeImpl constructor.
3508         * java/nio/channels/spi/SelectorProvider.java
3509         (pr): Removed.
3510         (systemDefaultProvider): New member variable.
3511         (provider): Made it synchronized, use property
3512         java.nio.channels.spi.SelectorProvider.
3513         * gnu/java/nio/natPipeImpl.cc: New file.
3514         * Makefile.am (nat_source_files): Added gnu/java/nio/natPipeImpl.cc.
3515         * Makefile.in: Regenerated.
3517 2003-10-12  Michael Koch  <konqueror@gmx.de>
3519         * javax/swing/table/DefaultTableModel.java,
3520         javax/swing/table/TableCellEditor.java,
3521         javax/swing/table/TableCellRenderer.java,
3522         javax/swing/table/TableColumnModel.java,
3523         javax/swing/table/TableModel.java,
3524         javax/swing/text/AbstractDocument.java,
3525         javax/swing/text/Document.java,
3526         javax/swing/text/MutableAttributeSet.java,
3527         javax/swing/text/StyledDocument.java,
3528         javax/swing/text/ViewFactory.java,
3529         javax/swing/tree/DefaultMutableTreeNode.java,
3530         javax/swing/tree/MutableTreeNode.java,
3531         javax/swing/tree/RowMapper.java,
3532         javax/swing/tree/TreeCellEditor.java,
3533         javax/swing/tree/TreeCellRenderer.java,
3534         javax/swing/tree/TreeModel.java,
3535         javax/swing/tree/TreeNode.java,
3536         javax/swing/tree/TreeSelectionModel.java,
3537         javax/swing/undo/StateEditable.java,
3538         javax/swing/undo/UndoableEdit.java:
3539         Removed redundant modifiers.
3541 2003-10-12  Michael Koch  <konqueror@gmx.de>
3543         * javax/swing/event/AncestorListener.java,
3544         javax/swing/event/CaretListener.java,
3545         javax/swing/event/CellEditorListener.java,
3546         javax/swing/event/ChangeListener.java,
3547         javax/swing/event/DocumentEvent.java,
3548         javax/swing/event/DocumentListener.java,
3549         javax/swing/event/HyperlinkListener.java,
3550         javax/swing/event/InternalFrameListener.java,
3551         javax/swing/event/ListDataListener.java,
3552         javax/swing/event/ListSelectionListener.java,
3553         javax/swing/event/MenuDragMouseListener.java,
3554         javax/swing/event/MenuKeyListener.java,
3555         javax/swing/event/MenuListener.java,
3556         javax/swing/event/MouseInputListener.java,
3557         javax/swing/event/PopupMenuListener.java,
3558         javax/swing/event/TableColumnModelListener.java,
3559         javax/swing/event/TableModelListener.java,
3560         javax/swing/event/TreeExpansionListener.java,
3561         javax/swing/event/TreeModelListener.java,
3562         javax/swing/event/TreeSelectionListener.java,
3563         javax/swing/event/TreeWillExpandListener.java,
3564         javax/swing/event/UndoableEditListener.java,
3565         javax/swing/plaf/UIResource.java,
3566         javax/swing/plaf/metal/MetalLookAndFeel.java:
3567         Removed redundant modifiers.
3569 2003-10-12  Michael Koch  <konqueror@gmx.de>
3571         * javax/swing/Action.java,
3572         javax/swing/BoundedRangeModel.java,
3573         javax/swing/CellEditor.java,
3574         javax/swing/ComboBoxEditor.java,
3575         javax/swing/ComboBoxModel.java,
3576         javax/swing/DesktopManager.java,
3577         javax/swing/JComboBox.java,
3578         javax/swing/ListCellRenderer.java,
3579         javax/swing/ListSelectionModel.java,
3580         javax/swing/MenuElement.java,
3581         javax/swing/MutableComboBoxModel.java,
3582         javax/swing/Renderer.java,
3583         javax/swing/RootPaneContainer.java,
3584         javax/swing/ScrollPaneConstants.java,
3585         javax/swing/SingleSelectionModel.java,
3586         javax/swing/SpinnerModel.java,
3587         javax/swing/SwingConstants.java,
3588         javax/swing/UIDefaults.java,
3589         javax/swing/WindowConstants.java,
3590         javax/swing/border/Border.java,
3591         javax/swing/colorchooser/ColorSelectionModel.java:
3592         Removed redundant modifiers.
3594 2003-10-11  Michael Koch  <konqueror@gmx.de>
3596         * javax/transaction/Status.java,
3597         javax/transaction/Synchronization.java,
3598         javax/transaction/Transaction.java,
3599         javax/transaction/TransactionManager.java,
3600         javax/transaction/UserTransaction.java,
3601         javax/transaction/xa/XAResource.java,
3602         javax/transaction/xa/Xid.java:
3603         Removing redundant modifiers.
3605 2003-10-11  Michael Koch  <konqueror@gmx.de>
3607         * javax/print/attribute/Attribute.java,
3608         javax/print/attribute/AttributeSet.java,
3609         javax/print/attribute/PrintRequestAttributeSet.java:
3610         Removing redundant modifiers.
3612 2003-10-11  Michael Koch  <konqueror@gmx.de>
3614         * javax/sql/ConnectionEventListener.java,
3615         javax/sql/ConnectionPoolDataSource.java,
3616         javax/sql/DataSource.java,
3617         javax/sql/PooledConnection.java,
3618         javax/sql/RowSet.java,
3619         javax/sql/RowSetInternal.java,
3620         javax/sql/RowSetListener.java,
3621         javax/sql/RowSetMetaData.java,
3622         javax/sql/RowSetReader.java,
3623         javax/sql/RowSetWriter.java,
3624         javax/sql/XAConnection.java,
3625         javax/sql/XADataSource.java:
3626         Removing redundant modifiers.
3628 2003-10-11  Michael Koch  <konqueror@gmx.de>
3630         * javax/naming/Context.java,
3631         javax/naming/Name.java,
3632         javax/naming/NameParser.java,
3633         javax/naming/NamingEnumeration.java,
3634         javax/naming/Referenceable.java,
3635         javax/naming/directory/Attribute.java,
3636         javax/naming/directory/Attributes.java,
3637         javax/naming/directory/DirContext.java,
3638         javax/naming/event/EventContext.java,
3639         javax/naming/event/EventDirContext.java,
3640         javax/naming/event/NamespaceChangeListener.java,
3641         javax/naming/event/NamingListener.java,
3642         javax/naming/event/ObjectChangeListener.java,
3643         javax/naming/ldap/Control.java,
3644         javax/naming/ldap/ExtendedRequest.java,
3645         javax/naming/ldap/ExtendedResponse.java,
3646         javax/naming/ldap/HasControls.java,
3647         javax/naming/ldap/LdapContext.java,
3648         javax/naming/ldap/UnsolicitedNotification.java,
3649         javax/naming/ldap/UnsolicitedNotificationListener.java,
3650         javax/naming/spi/DirObjectFactory.java,
3651         javax/naming/spi/DirStateFactory.java,
3652         javax/naming/spi/InitialContextFactory.java,
3653         javax/naming/spi/InitialContextFactoryBuilder.java,
3654         javax/naming/spi/ObjectFactory.java,
3655         javax/naming/spi/ObjectFactoryBuilder.java,
3656         javax/naming/spi/Resolver.java,
3657         javax/naming/spi/StateFactory.java:
3658         Removing redundant modifiers.
3660 2003-10-11  Michael Koch  <konqueror@gmx.de>
3662         * java/security/Key.java,
3663         * java/security/PrivateKey.java,
3664         * java/security/PublicKey.java,
3665         * java/security/acl/Acl.java,
3666         * java/security/acl/AclEntry.java,
3667         * java/security/acl/Group.java,
3668         * java/security/acl/Owner.java,
3669         * java/security/acl/Permission.java,
3670         * java/security/cert/X509Extension.java,
3671         * java/security/interfaces/DSAKey.java,
3672         * java/security/interfaces/DSAKeyPairGenerator.java,
3673         * java/security/interfaces/DSAParams.java,
3674         * java/security/interfaces/DSAPrivateKey.java,
3675         * java/security/interfaces/DSAPublicKey.java,
3676         * java/security/interfaces/RSAKey.java,
3677         * java/security/interfaces/RSAPrivateCrtKey.java,
3678         * java/security/interfaces/RSAPrivateKey.java,
3679         * java/security/interfaces/RSAPublicKey.java:
3680         Removed redundant modifiers.
3682 2003-10-11  Michael Koch  <konqueror@gmx.de>
3684         * gnu/java/rmi/server/ProtocolConstants.java,
3685         gnu/java/security/der/DER.java:
3686         Removing redundant modifiers.
3688 2003-10-11  Michael Koch  <konqueror@gmx.de>
3690         * java/util/Map.java,
3691         java/util/Observer.java,
3692         java/util/zip/Checksum.java,
3693         java/util/zip/ZipConstants.java:
3694         Removed redundant modifiers.
3696 2003-10-11  Michael Koch  <konqueror@gmx.de>
3698         * java/text/AttributedCharacterIterator.java,
3699         java/text/CharacterIterator.java:
3700         Removed redundant modifiers.
3702 2003-10-11  Michael Koch  <konqueror@gmx.de>
3704         * java/sql/Array.java,
3705         java/sql/Blob.java,
3706         java/sql/CallableStatement.java,
3707         java/sql/Clob.java,
3708         java/sql/Connection.java,
3709         java/sql/DatabaseMetaData.java,
3710         java/sql/Driver.java,
3711         java/sql/ParameterMetaData.java,
3712         java/sql/PreparedStatement.java,
3713         java/sql/Ref.java,
3714         java/sql/ResultSet.java,
3715         java/sql/ResultSetMetaData.java,
3716         java/sql/SQLData.java,
3717         java/sql/SQLInput.java,
3718         java/sql/SQLOutput.java,
3719         java/sql/Savepoint.java,
3720         java/sql/Statement.java,
3721         java/sql/Struct.java:
3722         Removed redundant modifiers.
3724 2003-10-11  Michael Koch  <konqueror@gmx.de>
3726         * java/nio/channels/Channel.java,
3727         java/nio/channels/GatheringByteChannel.java,
3728         java/nio/channels/ReadableByteChannel.java,
3729         java/nio/channels/ScatteringByteChannel.java,
3730         java/nio/channels/WritableByteChannel.java:
3731         Removed redundant modifiers.
3733 2003-10-11  Michael Koch  <konqueror@gmx.de>
3735         * java/rmi/activation/ActivationInstantiator.java,
3736         java/rmi/activation/ActivationMonitor.java,
3737         java/rmi/activation/ActivationSystem.java,
3738         java/rmi/activation/Activator.java,
3739         java/rmi/dgc/DGC.java,
3740         java/rmi/registry/Registry.java,
3741         java/rmi/registry/RegistryHandler.java,
3742         java/rmi/server/LoaderHandler.java,
3743         java/rmi/server/RMIClientSocketFactory.java,
3744         java/rmi/server/RMIFailureHandler.java,
3745         java/rmi/server/RMIServerSocketFactory.java,
3746         java/rmi/server/RemoteCall.java,
3747         java/rmi/server/RemoteRef.java,
3748         java/rmi/server/ServerRef.java,
3749         java/rmi/server/Skeleton.java,
3750         java/rmi/server/Unreferenced.java:
3751         Removed redundant modifiers.
3753 2003-10-11  Michael Koch  <konqueror@gmx.de>
3755         * java/net/ContentHandlerFactory.java,
3756         java/net/DatagramSocketImplFactory.java,
3757         java/net/FileNameMap.java,
3758         java/net/SocketImplFactory.java,
3759         java/net/SocketOptions.java,
3760         java/net/URLStreamHandlerFactory.java:
3761         Removed redundant modifiers.
3763 2003-10-11  Michael Koch  <konqueror@gmx.de>
3765         * java/io/Externalizable.java,
3766         java/io/FileFilter.java,
3767         java/io/FilePermission.java,
3768         java/io/ObjectInput.java,
3769         java/io/ObjectInputValidation.java,
3770         java/io/ObjectOutput.java,
3771         java/io/ObjectStreamClass.java,
3772         java/io/ObjectStreamConstants.java,
3773         java/io/Serializable.java:
3774         Removed redundant modifiers.
3776 2003-10-11  Ingo Proetel  <proetel@aicas.com>
3778         * java/rmi/server/RMIClassLoader.java: Identify cached classloaders by 
3779         codebase and context classloader.
3781 2003-10-11  Michael Koch  <konqueror@gmx.de>
3783         * java/beans/beancontext/BeanContext.java,
3784         java/beans/beancontext/BeanContextChild.java,
3785         java/beans/beancontext/BeanContextChildComponentProxy.java,
3786         java/beans/beancontext/BeanContextChildSupport.java,
3787         java/beans/beancontext/BeanContextContainerProxy.java,
3788         java/beans/beancontext/BeanContextMembershipListener.java,
3789         java/beans/beancontext/BeanContextProxy.java,
3790         java/beans/beancontext/BeanContextServiceProvider.java,
3791         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java,
3792         java/beans/beancontext/BeanContextServiceRevokedListener.java,
3793         java/beans/beancontext/BeanContextServices.java,
3794         java/beans/beancontext/BeanContextServicesListener.java:
3795         Removed redundant modifiers.
3797 2003-10-11  Michael Koch  <konqueror@gmx.de>
3799         * java/beans/AppletInitializer.java,
3800         java/beans/BeanInfo.java,
3801         java/beans/Customizer.java,
3802         java/beans/DesignMode.java,
3803         java/beans/PropertyEditor.java,
3804         java/beans/Visibility.java:
3805         Removed redundant modifiers.
3807 2003-10-11  Michael Koch  <konqueror@gmx.de>
3809         * java/awt/print/Pageable.java,
3810         * java/awt/print/Printable.java,
3811         java/awt/print/PrinterGraphics.java:
3812         Removed redundant modifiers.
3814 2003-10-11  Michael Koch  <konqueror@gmx.de>
3816         * java/awt/peer/ButtonPeer.java,
3817         java/awt/peer/CheckboxMenuItemPeer.java,
3818         java/awt/peer/CheckboxPeer.java,
3819         java/awt/peer/ChoicePeer.java,
3820         java/awt/peer/ComponentPeer.java,
3821         java/awt/peer/ContainerPeer.java,
3822         java/awt/peer/DialogPeer.java,
3823         java/awt/peer/FileDialogPeer.java,
3824         java/awt/peer/FramePeer.java,
3825         java/awt/peer/LabelPeer.java,
3826         java/awt/peer/ListPeer.java,
3827         java/awt/peer/MenuBarPeer.java,
3828         java/awt/peer/MenuComponentPeer.java,
3829         java/awt/peer/MenuItemPeer.java,
3830         java/awt/peer/MenuPeer.java,
3831         java/awt/peer/PopupMenuPeer.java,
3832         java/awt/peer/RobotPeer.java,
3833         java/awt/peer/ScrollPanePeer.java,
3834         java/awt/peer/ScrollbarPeer.java,
3835         java/awt/peer/TextAreaPeer.java,
3836         java/awt/peer/TextComponentPeer.java,
3837         java/awt/peer/TextFieldPeer.java,
3838         java/awt/peer/WindowPeer.java:
3839         Removed redundant modifiers.
3841 2003-10-11  Michael Koch  <konqueror@gmx.de>
3843         * gnu/java/nio/NIOSocket.java (setChannel): Initialize impl.
3844         * gnu/java/nio/ServerSocketChannelImpl.java
3845         (serverSocket): Made it a NIOServerSocket.
3846         (impl): Removed.
3847         (ServerSocketChannelImpl): Initialize only serverSocket.
3848         (initServerSocket): Removed.
3849         (getNativeFD): Rewritten.
3850         (implConfigureBlocking): Set socket timeout and removed comment.
3851         (accept): Rewritten.
3852         * gnu/java/nio/SocketChannelImpl.java
3853         (impl): New variable.
3854         (connected): Removed.
3855         (SocketChannelImpl): Initialize impl too.
3856         (getImpl): New method.
3857         (isConnected): Rewritten.
3858         (read): Rewritten, set position in buffer correctly.
3859         (write): Set position in buffer correctly.
3860         * java/net/ServerSocket.java (getImpl): New method.
3861         * gnu/java/nio/NIOServerSocket.java,
3862         gnu/java/nio/natNIOServerSocket.cc: New files.
3863         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
3864         * Makefile.am
3865         (ordinary_java_source_files):
3866         Added gnu/java/nio/NIOServerSocket.java.
3867         (nat_source_files):
3868         Removed gnu/java/nio/natServerSocketChannelImpl.cc
3869         and added gnu/java/nio/natNIOServerSocket.cc.
3870         * Makefile.in: Regenerated.
3872 2003-10-11  Michael Koch  <konqueror@gmx.de>
3874         * java/awt/ActiveEvent.java,
3875         java/awt/datatransfer/ClipboardOwner.java,
3876         java/awt/datatransfer/FlavorMap.java,
3877         java/awt/datatransfer/Transferable.java,
3878         java/awt/dnd/Autoscroll.java,
3879         java/awt/dnd/peer/DragSourceContextPeer.java,
3880         java/awt/dnd/peer/DropTargetContextPeer.java,
3881         java/awt/dnd/peer/DropTargetPeer.java,
3882         java/awt/font/MultipleMaster.java,
3883         java/awt/font/OpenType.java,
3884         java/awt/im/spi/InputMethodDescriptor.java,
3885         java/awt/image/ImageObserver.java,
3886         java/awt/image/ImageConsumer.java,
3887         java/awt/image/ImageProducer.java,
3888         java/awt/image/RGBImageFilter.java,
3889         java/awt/image/RasterOp.java,
3890         java/awt/image/renderable/RenderableImage.java:
3891         Removed redundant modifiers.
3893 2003-10-11  Michael Koch  <konqueror@gmx.de>
3895         * gnu/awt/j2d/DirectRasterGraphics.java,
3896         gnu/java/awt/EmbeddedWindowSupport.java:
3897         Removed redundant modifiers.
3899 2003-10-09  Michael Koch  <konqueror@gmx.de>
3901         * gnu/java/nio/SelectorImpl.java (register):
3902         Use ServerSocketChannelSelectionKey for server socket channels,
3903         removed unneeded comments.
3904         * gnu/java/nio/ServerSocketChannelImpl.java
3905         (ServerSocketChannelImpl): Made class public final.
3906         (impl): New member variable.
3907         (ServerSocketChannelImpl): Initialize member variables correctly.
3908         (initServerSocket): New method.
3909         (getNativeFD): Likewise.
3910         * gnu/java/nio/ServerSocketChannelSelectionKey.java,
3911         gnu/java/nio/natServerSocketChannelImpl.cc: New files.
3912         * Makefile.am (ordinary_java_source_files):
3913         Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
3914         (nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
3915         * Makefile.in: Regenrated.
3917 2003-10-09  Michael Koch  <konqueror@gmx.de>
3919         * java/nio/channels/spi/AbstractSelectableChannel.java
3920         (registered): Made private.
3921         (blocking): Likewise.
3922         (LOCK): Likewise.
3923         (provider): Likewise.
3924         (keys): Made it a private LinkedList.
3925         (AbstractSelectableChannel): Initialize keys.
3926         (isRegistered): New implementation.
3927         (locate): Rewritten.
3928         (register): Rewritten.
3929         * java/nio/channels/spi/AbstractSelectionKey.java
3930         (ok): Removed.
3931         (cancelled): New member variable.
3932         (cancel): Rewritten.
3933         (isValid): Rewritten.
3934         * java/nio/channels/spi/AbstractSelector.java:
3935         Some methods moved.
3936         (closed): Make private.
3937         (provider): Likewise.
3938         (cancelledKeys): New member variable.
3939         (AbstractSelector): Initialize cancelledKeys.
3940         (cancelKey): New method.
3942 2003-10-09  Tom Tromey  <tromey@redhat.com>
3944         * java/lang/ClassLoader.java (setSigners): Implemented.
3945         * boehm.cc (_Jv_MarkObj): Mark `signers' field.
3946         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
3947         Initialize new fields.
3948         * java/lang/Class.java (getSigners): Now native.
3949         (setSigners): Declare.
3950         * java/lang/natClass.cc (getSigners): New method.
3951         (getSigners): Likewise.
3952         * java/lang/Class.h (Class::signers): New field.
3953         (Class::setSigners): New method.
3955 2003-10-09  Michael Koch  <konqueror@gmx.de>
3957         * java/rmi/server/RMIClassLoader.java:
3958         Removed unused imports, little reformatings.
3959         (getClassLoader): New method, implementation was part of old loadCLass
3960         method.
3961         (loadClass): Simplified by moving functionality to new method and
3962         reworking the code a bit.
3963         (getClassAnnotation): Merged documentation from classpath.
3965 2003-10-09  Michael Koch  <konqueror@gmx.de>
3967         * java/math/BigInteger.java
3968         (add): Removed unused local variable len.
3970 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
3972         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
3973         modality check.
3974         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
3975         Initialize insets to use latest insets.
3976         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
3977         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
3978         field.
3979         (postConfigureEvent): Update latestInsets field when insets
3980         change.  Remove call to setSize.  Move validate call outside of
3981         if blocks.
3982         (setVisible): Call setBounds before showing window.
3983         (nativeSetVisible): New native method.
3984         * java/awt/Window.java (show): Show visible owned windows.
3985         (hide): Hide visible owned windows.
3986         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3987         (awt_event_handler): Implement modality using GTK grabs.
3988         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3989         (global_gtk_window_group): New global variable.
3990         (gtkInit): Initialize global_gtk_window_group.
3991         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3992         Clamp width and height values to at least 1.  Add this window to
3993         the global GTK window group.
3994         (setVisible): Rename to nativeSetVisible.
3995         (setup_window): Remove function.
3996         (setSize): Clamp width and height values to at least 1.
3997         (nativeSetBounds): Likewise.
3998         (gdk_window_get_root_geometry): Remove function.
3999         * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
4000         and setup_window declarations.  Declare global_gtk_window_group.
4002         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4003         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
4004         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
4005         (gtkWidgetSetForeground): New method.
4006         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4007         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4008         (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
4009         (setBackground, setForeground): Implement.
4010         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4011         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
4012         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
4013         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4014         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
4015         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
4016         Position PangoLayout relative to text's baseline.
4017         * jni/gtk-peer/gtkpeer.h: Define AWT font style constants.
4019         * java/awt/FlowLayout.java (layoutContainer): Fix offset problem
4020         for CENTER and RIGHT alignments.
4022 2003-10-08  Michael Koch  <konqueror@gmx.de>
4024         * java/security/Security.java: Reformated.
4026 2003-10-08  Michael Koch  <konqueror@gmx.de>
4028         * java/text/SimpleDateFormat.java
4029         (compileFormat): Replace Character.isLetter() test with
4030         Character.isLowerCase() || Character.isUpperCase().
4032 2003-10-08  Tom Tromey  <tromey@redhat.com>
4034         * java/lang/StrictMath.java (toDegrees): Multiply before
4035         dividing.
4036         (toRadians): Likewise.
4038 2003-10-08  C. Brian Jones  <cbj@gnu.org>
4040         * java/lang/Math.java
4041         (toRadians): multiply before dividing to reduce decimal error
4042         (toDegrees): ditto
4044 2003-10-08  Michael Koch  <konqueror@gmx.de>
4046         * gnu/gcj/protocol/core/Connection.java,
4047         gnu/gcj/protocol/core/CoreInputStream.java,
4048         gnu/gcj/protocol/core/Handler.java,
4049         gnu/gcj/protocol/core/natCoreInputStream.cc,
4050         gnu/gcj/protocol/file/Connection.java,
4051         gnu/gcj/protocol/file/Handler.java,
4052         gnu/gcj/protocol/gcjlib/Connection.java,
4053         gnu/gcj/protocol/gcjlib/Handler.java,
4054         gnu/gcj/protocol/http/Connection.java,
4055         gnu/gcj/protocol/http/Handler.java,
4056         gnu/gcj/protocol/jar/Connection.java,
4057         gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
4058         * gnu/java/net/protocol/core/Connection.java,
4059         gnu/java/net/protocol/core/CoreInputStream.java,
4060         gnu/java/net/protocol/core/Handler.java,
4061         gnu/java/net/protocol/core/natCoreInputStream.cc,
4062         gnu/java/net/protocol/file/Connection.java,
4063         gnu/java/net/protocol/file/Handler.java,
4064         gnu/java/net/protocol/gcjlib/Connection.java,
4065         gnu/java/net/protocol/gcjlib/Handler.java,
4066         gnu/java/net/protocol/http/Connection.java,
4067         gnu/java/net/protocol/http/Handler.java,
4068         gnu/java/net/protocol/jar/Connection.java,
4069         gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
4070         * gnu/gcj/runtime/FirstThread.java,
4071         java/net/URL.java: Use moved protocol handlers.
4072         * Makefile.am
4073         (ordinary_java_source_files): Moved files.
4074         (nat_source_files): Likewise.
4075         * Makefile.in: Regenerated.
4077 2003-10-08  Michael Koch  <konqueror@gmx.de>
4079         * gnu/java/nio/SocketChannelImpl.java
4080         (read): Write only read data to buffer.
4082 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
4084         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
4085         out.
4086         * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
4087         (JCL_free): Attach "unused" attribute to env parameter.
4088         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
4089         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
4090         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
4091         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
4092         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
4093         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
4094         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
4095         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
4096         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
4097         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
4098         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
4099         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
4100         jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
4101         parameters.
4102         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
4103         (initNativeState): Pass 0 as info argument to
4104         gtk_selection_add_target.
4105         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4106         (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
4107         unused method implementations.
4108         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4109         (awt_event_handler): Add break statement after default label.
4110         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
4111         (drawPixels): Remove unused variable i.
4112         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
4113         (setEnabled): Remove method implementation.
4114         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
4115         (accel_attach): Call _gtk_accel_group_attach with G_OBJECT
4116         argument.
4117         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
4118         unused function.
4119         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
4120         (menu_pos): Assign TRUE to push_in.
4121         (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
4122         argument.
4123         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
4124         (create): Remove unused variable layout.
4125         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
4126         Pass window_widget, rather than window, to
4127         gtk_widget_set_size_request.
4128         * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
4129         structure initialization with NULL values.
4130         * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.
4132 2003-10-08  Michael Koch  <konqueror@gmx.de>
4134         * java/util/LinkedList.java:
4135         Removed whitespace to match classpath's version again.
4137 2003-10-08  Michael Koch  <konqueror@gmx.de>
4139         * java/util/prefs/Preferences.java
4140         (defaultFactoryClass): Fixed class name.
4141         (getFactory): Create instance of class returned by Class.forName(),
4142         reformated code.
4144 2003-10-08  Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
4146         * javax/swing/table/AbstractTableModel.java
4147         (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
4148         helped stop pulling my hair on this +1 then -1 tricky thing!
4150 2003-10-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
4152         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
4153         Remove unused parameters.
4154         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
4155         Likewise.
4156         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4157         (keyevent_state_to_awt_mods): Export function.
4158         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4159         (getCaretPosition): Fix TextArea case.
4160         (textcomponent_commit_cb): Get exact event time and modifier
4161         state.
4162         * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.
4164 2003-10-02  Guilhem Lavaux  <guilhem@kaffe.org>
4166         * java/net/InetSocketAddress.java
4167         (InetSocketAddress): Made exception more clear.
4168         (equals): Handle case when addr is null.
4169         (toString): Likewise.
4170         * java/net/NetworkInterface.java
4171         (static): Load native library.
4172         (getNetworkInterfaces): Rewritten.
4174 2003-10-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
4176         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
4177         field.
4178         (initializeInsets): New method.
4179         (GtkComponentPeer): Call initializeInsets.  Call setCursor and
4180         setBounds unconditionally.
4181         (setBounds): Convert coordinates if parent is a Window.
4182         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
4183         field to GtkComponentPeer.
4184         (GtkContainerPeer): Don't initialize insets.
4185         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
4186         New method.
4187         (create): Call new GtkWindowPeer create method.
4188         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
4189         New method.
4190         (create): Call new GtkWindowPeer create method.
4191         (setBounds): Remove method.
4192         (postConfigureEvent): Likewise.
4193         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
4194         type constants with GDK window type constants.
4195         (create(int,boolean,int,int,GtkWindowPeer)): New method.
4196         (create(int,boolean)): Likewise.
4197         (create()): Call create(int,boolean).
4198         (nativeSetBounds): New native method declaration.
4199         (setBounds): Call native method declaration.
4200         (setSize): New native method declaration.
4201         (setBoundsCallback): Likewise.
4202         (postConfigureEvent): Handle change in insets.  Call setSize and
4203         setBoundsCallback methods.
4204         * java/awt/Window.java (Window): Set visible to false.
4205         (setBoundsCallback): New method.
4206         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4207         (gtkWidgetGetLocationOnScreen): If this component is not a
4208         container, adjust the location returned based on the peer's
4209         allocation.
4210         (set(String,boolean)): Revert change from 2003-09-19.
4211         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4212         (awt_event_handler): Fix inset calculation.
4213         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
4214         glue for Window.setBoundsCallback.
4215         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
4216         Set up stacking order, window decorations and window manager
4217         hints.
4218         (setBoundsCallback): New method.
4219         (setSize): New method.
4220         (nativeSetBounds): New method.
4221         * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
4223 2003-10-02  Tom Tromey  <tromey@redhat.com>
4225         * java/lang/VMClassLoader.java (loadClass): Now native.
4226         * java/lang/natClassLoader.cc (loadClass): Implement.
4227         * prims.cc (_Jv_RunMain): Initialize ClassLoader.
4229 2003-10-02  Michael Koch  <konqueror@gmx.de>
4231         * java/net/InetAddress.java
4232         (zeros): Removed.
4233         (ANY_IF): Initalizie in static block.
4234         (static): Load library with native methods here and initialize ANY_IF.
4235         (isAnyLocalAddress): Check if equal to ANY_IF.
4236         (equals): Use addr directly instead of addr1. Simplify for loop.
4237         (toString): Rename "result" to "host" and add IP address allways.
4238         (getLocalHost): Merged documentation from classpath.
4239         * java/net/ServerSocket.java
4240         (ServerSocket): New package-private constructor used by java.nio.
4241         * java/net/URLConnection.java
4242         (getRequestProperties): Check if already connected.
4244 2003-10-02  Michael Koch  <konqueror@gmx.de>
4246         * java/nio/ByteBufferHelper.java:
4247         Rewrote all methods by suggestions from Eric Blake.
4249 2003-10-02  Michael Koch  <konqueror@gmx.de>
4251         * java/net/URL.java
4252         (DEFAULT_SEARCH_PATH): New static variable.
4253         (ph_cache): Made it a HashMap.
4254         (getURLStreamHandler): Rename propVal to ph_search_path and use
4255         DEFAULT_SEARCH_PATH.
4257 2003-10-02  Michael Koch  <konqueror@gmx.de>
4259         * javax/swing/table/AbstractTableModel.java
4260         (findColumnName): Prevent from NullPointerException if argument
4261         columnName is null.
4263 2003-10-02  Michael Koch  <konqueror@gmx.de>
4265         * javax/swing/table/AbstractTableModel.java:
4266         This patch is based on a patch done by Arnaud Vandyck
4267         <arnaud.vandyck@ulg.ac.be>.
4268         (getColumnName): Fixed method documentation.
4269         (findColumn): Likewise.
4270         (getColumnClass): Likewise.
4271         (isCellEditable): Likewise.
4272         (setValueAt): Likewise.
4273         (addTableModelListener): Likewise.
4274         (removeTableModelListener): Likewise.
4275         (getTableModelListeners): New method.
4277 2003-10-02  Michael Koch  <konqueror@gmx.de>
4279         * javax/swing/table/AbstractTableModel.java:
4280         Reformated.
4282 2003-10-01  Bryce McKinlay  <bryce@mckinlay.net.nz>
4284         Fix PR libgcj/12475
4285         * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
4286         * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
4288 2003-10-01  Tom Tromey  <tromey@redhat.com>
4290         * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
4292 2003-10-01  Andrew Haley  <aph@redhat.com>
4294         * java/lang/natClass.cc (initializeClass): Check for otable and
4295         atable.
4296         (_Jv_LinkOffsetTable): Check for existence of atable.  Rewrite
4297         loops using for().  Search superinterfaces.  Check for fields as
4298         well as methods.  Initialize atable as well as otable: check for
4299         static methods as well as virtual methods.
4300         * java/lang/Class.h (struct _Jv_AddressTable): New.
4301         (atable): New.
4302         (atable_syms): New.
4303         * include/jvm.h (_Jv_equalUtf8Consts): constify.
4304         * prims.cc (_Jv_equalUtf8Consts): constify.
4306 2003-09-29  Tom Tromey  <tromey@redhat.com>
4308         PR libgcj/10596:
4309         * include/jvm.h (_Jv_FinalizeString,
4310         _Jv_RegisterStringFinalizer): Declare.
4311         * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
4312         unintern.
4313         (intern): Updated.
4314         (_Jv_NewStringUtf8Const): Likewise.
4315         * java/lang/ref/natReference.cc (finalize_referred_to_object):
4316         Add special case when finalizing a String.
4317         (in_hash): New function.
4318         (_Jv_RegisterStringFinalizer): Likewise.
4319         (maybe_add_finalize): Likewise.
4321 2003-09-29  Michael Koch  <konqueror@gmx.de>
4323         * java/net/InetAddress.java:
4324         (isMulticastAddress): Dont use local variable to store address length.
4325         Let the compiler optimize this.
4326         (getHostName): Merged dcoumentation from classpath.
4327         (getAddress): Likewise.
4328         (getHostAddress): Likewise.
4329         (hashCode): Likewise.
4330         (equals): Likewise.
4331         (toString): Likewise.
4332         (getByName): Likewise.
4333         (getAllByName): Likewise.
4335 2003-09-29  Michael Koch  <konqueror@gmx.de>
4337         * java/awt/image/IndexColorModel.java: Reformated.
4339 2003-09-29  Michael Koch  <konqueror@gmx.de>
4341         * java/net/InetAddress.java,
4342         java/net/URL.java: Reformated.
4344 2003-09-29  Bryce McKinlay  <bryce@mckinlay.net.nz>
4346         * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most 
4347         significant bit of descriptor. Include the vtable and sync_info 
4348         fields.
4350 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
4352         * java/text/DateFormat.java (format): Throw IllegalArgumentException
4353         if `obj' is not a Number or Date instance.
4354         * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
4355         instead of Vector.
4357 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
4359         * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
4360         Don't call setTimeZone on calendar.
4362 2003-09-27  Michael Koch  <konqueror@gmx.de>
4364         * java/net/URL.java (getURLStreamHandler): Compile fixes.
4366 2003-09-27  Michael Koch  <konqueror@gmx.de>
4368         * java/net/URL.java (getURLStreamHandler):
4369         Check if we have to use cache before trying to retrieve handler from
4370         cache. Rename facName to clsName to match classpath more. Reformated
4371         some little pieces.
4373 2003-09-27  Michael Koch  <konqueror@gmx.de>
4375         * gnu/java/nio/SelectionKeyImpl.java
4376         (ch): Make package-private again. Jikes found this bug.
4377         Jeff Sturm submitted PR12426 for this to bugzilla
4378         to fix this bug in gcj.
4380 2003-09-26  Michael Koch  <konqueror@gmx.de>
4382         * java/rmi/server/RMIClassLoader.java:
4383         Reformatted file, no functional code changes.
4385 2003-09-26  Sascha Brawer  <brawer@dandelis.ch>
4387         * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer): 
4388         Save space for some pixels at the buffer end.  Added Javadoc.
4390 2003-09-26  Tom Tromey  <tromey@redhat.com>
4392         * java/io/ObjectOutputStream.java (writeFields): Fixed
4393         indentation.
4394         (putFields): Likewise.
4396 2003-09-26  Michael Koch  <konqueror@gmx.de>
4398         * java/nio/ByteBufferHelper.java:
4399         Totally reworked with help from Eric Blake.
4401 2003-09-26  Tom Tromey  <tromey@redhat.com>
4403         * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
4404         * java/awt/geom/PathIterator.java: Documentation fixes.
4406 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
4408         * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
4409         (select): Likewise.
4410         (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
4412 2003-09-25  Michael Koch  <konqueror@gmx.de>
4414         * gnu/java/nio/DatagramChannelImpl.java
4415         (getNativeFD): New method.
4416         * gnu/java/nio/SelectionKeyImpl.java
4417         (SelectionKeyImpl): Class made abstract.
4418         (fd): Removed.
4419         (SelectionKeyImpl): Remove fd argument.
4420         (getNativeFD): New method.
4421         * gnu/java/nio/SocketChannelImpl.java
4422         (getNativeFD): New method.
4423         gnu/java/nio/DatagramChannelSelectionKey.java,
4424         * gnu/java/nio/SocketChannelSelectionKey.java:
4425         New files.
4426         * Makefile.am (ordinary_java_source_files):
4427         Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
4428         gnu/java/nio/SocketChannelSelectionKey.java.
4429         * Makefile.in: Regenerated.
4431 2003-09-25  Michael Koch  <konqueror@gmx.de>
4433         * java/lang/reflect/Proxy.java
4434         (getProxyClass): Remove workaround for gcj 3.0.x.
4436 2003-09-25  Michael Koch  <konqueror@gmx.de>
4438         * gnu/java/net/PlainDatagramSocketImpl.java
4439         (finalize): Moved to directly after constructor.
4440         (getNativeFD): New method.
4441         * gnu/java/net/PlainSocketImpl.java
4442         (getNativeFD): New method.
4444 2003-09-25  Ingo Proetel  <proetel@aicas.com>
4446         * java/io/ObjectOutputStream.java:
4447         Allow putFields be called more than once.
4449 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
4451         * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
4452         * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
4453         * java/awt/image/BufferedImage.java (toString): Implement.
4455 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
4457         * aclocal.m4: Rebuilt.
4458         * configure: Rebuilt.
4460 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
4462         * java/text/SimpleDateFormat.java (parse): Don't use class calendar
4463         field.
4465 2003-09-25  Michael Koch  <konqueror@gmx.de>
4467         * gnu/java/nio/SelectorImpl.java
4468         (implSelect): Renamed from java_do_select.
4469         (select): Call native implSelect() and add support for Thread
4470         interruption.
4471         * gnu/java/nio/natSelectorImpl.cc
4472         (implSelect): Renamed from java_do_select.
4474 2003-09-25  Michael Koch  <konqueror@gmx.de>
4476         * gnu/java/nio/SelectorImpl.java
4477         (selectNow): Made final, throws IOException.
4478         (select): Likewise.
4479         (getFDsAsArray): Made final.
4480         (selectedKeys): Likewise.
4481         (wakeup): Likewise.
4482         (deregisterCancelledKeys): Likewise.
4483         (register): Likewise.
4484         (ass): Removed.
4485         (add_selected): Removed.
4486         * gnu/java/nio/natSelectorImpl.cc:
4487         No need to include bstring.h or gcj/cni.h.
4488         (helper_put_filedescriptors): Rewritten.
4489         (helper_get_filedescriptors): Rewritten.
4491 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
4493         * java/awt/font/FontRenderContext.java (getTransform): Return
4494         copy of internal transform object. Add Javadoc.
4495         * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
4496         winding rule as Sun J2SE.
4497         * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
4499 2003-09-25  Ingo Proetel  <proetel@aicas.com>
4501         * java/rmi/Naming.java:
4502         Added comments, now accepts pseudo protocol "rmi".
4504 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
4506         * java/text/DecimalFormat.java (format): Don't immediatly round
4507         baseNumber to long.
4508         (setMinimumIntegerDigits): Call super.
4509         (setMinimumFractionDigits): Likewise.
4510         (setMaximumIntegerDigits): Likewise.
4511         (setMaximumFractionDigits): Likewise.
4513 2003-09-25  Michael Koch  <konqueror@gmx.de>
4515         * gnu/java/nio/DatagramChannelImpl.java
4516         (DatagramChannelImpl): Made class final.
4517         (blocking): Made private.
4518         (socket): Made it a NIODatagramSocket and private.
4519         (DatagramChannelImpl): create NIODatagramSocket instead of
4520         DatagramSocket.
4521         (implConfigureBlocking): Set socket timeout.
4522         (connect): Check that channel is not closed.
4523         (write): Implemented.
4524         (write): Rewritten.
4525         (read): Implemented.
4526         (read): Rewritten.
4527         (receive): Implemented.
4528         (send): Implemented.
4529         * gnu/java/nio/SelectionKeyImpl.java
4530         (readyOps): Made private.
4531         (interestOps): Made private.
4532         (impl): Made private.
4533         (ch): Made private.
4534         (readyOps): Check if selection key is valid.
4535         (interestOps): Likewise.
4536         * gnu/java/nio/SelectorImpl.java
4537         (closed): Removed.
4538         (keys): Made private.
4539         (selected): Made private.
4540         (finalize): New method.
4541         (implCloseSelector): Rewritten.
4542         (keys): Return unmodifiable Set.
4543         (deregisterCancelledKeys): Fixed typo in method name.
4544         * gnu/java/nio/SocketChannelImpl.java
4545         (SocketChannelImpl): Made class final.
4546         (socket): Made it a NIOSocket and private.
4547         (blocking): Made private.
4548         (connected): Made private.
4549         (connectionPending): New member variable.
4550         (SocketChannelImpl): New implementation.
4551         (finalizer): Use isConnected().
4552         (connect): Rewritten.
4553         (finishConnect): Throws IOException, implemented.
4554         (isConnectionPending): Return connectionPending.
4555         (read): Rewritten.
4556         (write): Rewritten.
4557         * gnu/java/nio/NIOConstants.java: New file.
4558         * Makefile.am (ordinary_java_source_files):
4559         Added gnu/java/nio/NIOConstants.java.
4560         * Makefile.in: Regenerated.
4562 2003-09-25  Michael Koch  <konqueror@gmx.de>
4564         * java/net/InetAddress.java:
4565         Reorder imports, remove implementation comment.
4566         (isMulticastAddress): Merged documentation from classpath.
4567         * java/net/URLConnection.java
4568         (setRequestProperty): Check key for null, fix documentation.
4569         (adREquestProperty): Check key for null, remove wrong implementation
4570         and replace it with comment to overwrite this method in subclasses,
4571         fix documentation.
4573 2003-09-25  Tom Tromey  <tromey@redhat.com>
4575         * java/lang/reflect/Proxy.java (generate): Uncomment protection
4576         domain code.
4577         * java/lang/natClassLoader.cc (defineClass): Added `loader'
4578         argument.
4579         (linkClass0): Now in VMClassLoader.
4580         (markClassErrorState0): Likewise.
4581         (getSystemClassLoaderInternal): New method.
4582         * java/lang/natClass.cc (initializeClass): Use
4583         VMClassLoader::resolveClass.
4584         * java/lang/ClassLoader.java: New version, from Classpath.
4585         * java/lang/Class.java (getProtectionDomain):
4586         protectionDomainPermission and unknownProtectionDomain now in
4587         VMClassLoader.
4588         * java/lang/Class.h: VMClassLoader now a friend class.
4589         * gnu/gcj/runtime/VMClassLoader.java (instance): Now
4590         package-private.
4591         * gcj/javaprims.h: Regenerated class list.
4592         * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
4593         * java/lang/VMClassLoader.java: New version from Classpath;
4594         modified for libgcj use.
4596 2003-09-25  Michael Koch  <konqueror@gmx.de>
4598         * java/nio/ByteBufferHelper.java:
4599         New file.
4600         * java/nio/ByteBufferImpl.java,
4601         java/nio/DirectByteBufferImpl.java,
4602         java/nio/MappedByteBufferImpl.java
4603         (getType,putType): Use new helper class ByteBufferHelper.
4604         * Makefile.am (ordinary_java_source_files):
4605         Added java/nio/ByteBufferHelper.java.
4606         * Makefile.in: Regenerated.
4608 2003-09-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
4610         * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
4611         PR libgcj/12388.
4613 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
4615         * java/lang/StringBuffer.java (substring): Don't set `shared' on small
4616         Strings, even if buffer is already shared.
4618 2003-09-24  Michael Koch  <konqueror@gmx.de>
4620         * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
4622 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
4624         * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
4625         (write): Likewise.
4626         (SocketInputStream): Declare `read' and `write' methods native.
4627         Remove implementations which called back into PlainSocketImpl.
4628         Remove unneccessary overridden methods.
4629         * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation 
4630         to inner class PlainSocketImpl.SocketInputStream.
4631         (write): Likewise.
4632         * gnu/java/net/natPlainSocketImplPosix.cc: As above.
4633         * gnu/java/net/natPlainSocketImplWin32.cc: As above.
4634         * gnu/java/net/SocketInputStream.java: Remove unused file.
4635         * gnu/java/net/SocketOutputStream.java: Likewise.
4636         * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
4637         and SocketOutputStream.
4638         * Makefile.in: Rebuilt.
4640 2003-09-23  Nathanael Nerode  <neroden@gcc.gnu.org>
4642         * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
4644         * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
4645         markers.
4647 2003-09-22  Anthony Green  <green@redhat.com>
4649         * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
4650         * configure: Rebuilt.
4652 2003-09-21  Ralph Loader  <suckfish@ihug.co.nz>
4654         PR java/12350:
4655         * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
4657 2003-09-22  Michael Koch  <konqueror@gmx.de>
4659         * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
4660         compiler warning but produces a different one now.
4662 2003-09-22  Michael Koch  <konqueror@gmx.de>
4664         * java/net/InetAddress.java:
4665         Moves around some code, reformats and adds documentation.
4666         No functional changes.
4668 2003-09-22  Michael Koch  <konqueror@gmx.de>
4670         * java/net/JarURLConnection.java
4671         (JarURLConnection): Modifed code to match classpath more, fixed comment.
4672         (getCertificates): Made it more error prone.
4673         (getMainAttributes): Likewise.
4674         (getAttributes): Implemented.
4675         (getManifest): Reformatted code.
4677 2003-09-20  Tom Tromey  <tromey@redhat.com>
4679         * java/awt/Component.java: Indentation cleanup from Classpath.
4681 2003-09-20  Dalibor Topic  <robilad@kaffe.org>
4683        * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
4684        checking to follow 1.4.2 spec.
4686 2003-08-11  Ingo Proetel  <proetel@aicas.com>
4688         * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject  
4689         is compatible in case client and server are running in the same VM
4690         (remerged from Classpath on 2003-09-20)
4692 2003-09-19  David Daney <ddaney@avtrex.com>
4694         * java/lang/ref/Reference.java (clear): Set referent to null and
4695         synchronize.
4697 2003-09-19  Michael Koch  <konqueror@gmx.de>
4699         * gnu/java/nio/NIODatagramSocket.java,
4700         gnu/java/nio/NIOSocket.java: New files.
4701         * Makefile.am (ordinary_java_source_files):
4702         Added gnu/java/nio/NIODatagramSocket.java and
4703         gnu/java/nio/NIOSocket.java.
4704         * Makefile.in: Regenerated.
4706 2003-09-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
4708         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
4709         top-level GTK window.
4710         (getArgs): Add "title" property.
4711         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
4712         "allow_shrink" and "allow_grow" properties.
4713         * java/awt/Dialog.java: Initialize resizable to true and change
4714         comments accordingly.  Initialize visible to false in
4715         constructors.
4716         * java/awt/Frame.java (dispose): Remove method.
4717         * java/awt/Window.java (ownedWindows): New field.
4718         (Window(Window,GraphicsConfiguration)): Add a weak reference to
4719         owner's ownedWindows vector.
4720         (finalize): Remove method.
4721         (hide): Hide owned windows.
4722         (dispose): Dispose of owned windows.
4723         (getOwnedWindows): Implement.
4724         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
4725         unused GtkArg code.
4726         (set(String,boolean)): Clamp gboolean parameter to g_object_set
4727         to TRUE or FALSE.
4728         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4729         (create): Set window's size requisition.
4730         (connectHooks): Fix indentation.
4731         (setResizable): Remove function.
4732         (static setBounds): Likewise.
4733         (setBounds): Replace call to setBounds with GTK size requisition
4734         and resize calls.
4736 2003-09-19  Mohan Embar  <gnustuff@thisiscool.com>
4738         * win32-threads.cc: (ensure_interrupt_event_initialized) New
4739         function for lazy initialization of an auto-reset event.
4740         (_Jv_CondWait) Added thread interrupt support.
4741         (_Jv_ThreadInitData) Added initialization of interrupt support
4742         members.
4743         (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
4744         (_Jv_ThreadStart) Removed unused code.
4745         (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
4746         to an external caller.
4747         (_Jv_ThreadInterrupt) Implemented.
4748         * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
4749         event for interrupt support as well as a mutex which regulates
4750         access to this.
4751         (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
4752         event to an external caller.
4753         * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
4754         process.
4755         (waitFor) Added interrupt support.
4757 2003-09-19  Michael Koch  <konqueror@gmx.de>
4759         * java/net/DatagramSocket.java (getLocalAddress):
4760         Renamed result variable to localAddr.
4761         * java/net/MulticastSocket.java:
4762         No need to import gnu.java.net.PlainDatagramSocketImpl.
4764 2003-09-18  Sascha Brawer  <brawer@dandelis.ch>
4766         * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
4767         Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
4769 2003-09-18  Tom Tromey  <tromey@redhat.com>
4771         * javax/naming/InitialContext.java: Reindented.
4773 2003-09-18  Dalibor Topic <robilad@kaffe.org>,
4774             Helmer Kraemer <hkraemer@freenet.de>
4776         * javax/naming/spi/NamingManager.java (getURLContext,
4777         getObjectInstance, getStateToBind): Always use current thread's
4778         context class loader when calling Class.forName.
4780 2003-09-18  Michael Koch  <konqueror@gmx.de>
4782         * java/util/Timer.java (finalize): Added "throws Throwable".
4784 2003-09-18  Michael Koch  <konqueror@gmx.de>
4786         * java/net/DatagramSocket.java
4787         (ch): Removed.
4788         (receive): Use getChannel() instead of ch.
4789         (send): Likewise.
4790         (getChannel): Return null.
4791         * java/net/ServerSocket.java
4792         (ch): Removed.
4793         (setChannel): Removed.
4794         (implAccept): Use getChannel() instead of ch.
4795         (close): Likewise.
4796         (getChannel): Return null.
4797         * java/net/Socket.java
4798         (ch): Removed.
4799         (connect): Use getChannel() instead of ch.
4800         (setChannel): Removed.
4801         (getChannel): Return null.
4803 2003-09-18  Mark Wielaard  <mark@klomp.org>
4805         Reported by Guilhem Lavaux and Julian Dolby
4806         * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
4807         field "serialPersistentFields", not "getSerialPersistentFields".
4809 2003-09-18  Ingo Proetel  <proetel@aicas.com>
4811         * java/util/TimeZone.java: Initialize lazily.
4812         * java/util/Locale.java (readManifest): Fix check for country.
4813         * java/util/GregorianCalendar.java: Make use of ResourceBundle better
4814         traceable 
4815         * java/util/Calendar.java: Make use of ResourceBundle better
4816         traceable.
4818 2003-09-18  Jeroen Frijters  <jeroen@frijters.net>
4820         * java/sql/Timestamp.java
4821         (valueOf): Fixed confusion of java.sql.Date and java.util.Date
4823 2003-09-18  David P Grove  <groved@us.ibm.com>
4825         * java/io/LineNumberReader (read): Don't reset pos & limit when
4826         markPos is 0.
4828 2003-09-18  Dalibor Topic  <robilad@kaffe.org>
4830         * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
4831         constant.
4832         (computeArguments): use computeTypicalArguments.
4834         * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
4835         Compile_jikes.java and RMICException.java.
4836         * gnu/java/rmi/rmic/Compile_kjc.java: New file.
4837         * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
4838         * gnu/java/rmi/rmic/RMICException.java: Likewise.
4840         * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
4842         * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
4843         (computeTypicalArguments): New method.
4844         (compile): Print compiler output to System.out. Collect compiler
4845         error output and use it in exception message.
4847         * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
4848         (destination): Initialize to null.
4849         (run): Replace file separator with '.' when processing class.
4850         (processClass): Replace '.' with file separator when compiling
4851         classes.
4852         (findClass): Use SystemClassLoader to load class.
4853         (generateStub): Use full class name for generated stub, that puts
4854         it in right path.  Replace '.' with file separator when generating
4855         stub file name. Write just the stub class name without package
4856         information as class name, and constructor name. Write only
4857         interface names for interfaces extending java.rmi.Remote as
4858         implemented.
4859         (generateSkel): Use full class name for generated skel, that puts
4860         it in right path.  Replace '.' with file separator when generating
4861         stub file name. Write just the stub class name without package
4862         information as class name.
4864 2003-09-18  Michael Koch  <konqueror@gmx.de>
4866         * Makefile.am (rmi_java_source_files):
4867         Added gnu/java/rmi/rmic/Compile_kjc.java,
4868         gnu/java/rmi/rmic/Compile_jikes.java and
4869         gnu/java/rmi/rmic/RMICException.java
4870         * Makefile.in: Regenerated.
4872 2003-09-17  Graydon Hoare  <graydon@redhat.com>
4874         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4875         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4876         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
4877         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: 
4878         New files.
4880 2003-09-16  Graydon Hoare  <graydon@redhat.com>
4882         * java/awt/BufferedImage.java (setData): Support non-component
4883         sample models.
4884         (getData): Same.
4886 2003-09-10  Graydon Hoare  <graydon@redhat.com>
4888         * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
4889         * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
4891 2003-09-17  Mohan Embar  <gnustuff@thisiscool.com>
4893         * configure.in: Standardized help text case of
4894         --enable-hash-synchronization
4895         New configure switch --enable-libgcj-multifile and corresponding
4896         automake conditional ONESTEP.
4897         * configure: Rebuilt.
4898         * Makefile.am: Use automake conditional ONESTEP to determine
4899         whether classfiles should be compiled individually or all
4900         at once.
4901         * Makefile.in: Rebuilt.
4903 2003-09-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
4905         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
4906         Remove method declaration.
4907         (create()): Call native create.
4908         (create(int)): New method.
4909         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
4910         (create): Add window_id parameter.  Call gtk_plug_new with
4911         window_id parameter.
4912         (construct): Remove method implementation.
4914 2003-09-16  Mohan Embar  <gnustuff@thisiscool.com>
4916         * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
4917         (mostlyclean-local): New target patterned after clean-local
4918         which recursively deletes all libtool objects using 'libtool rm'.
4919         (clean-local): Slightly modified comment to alleviate monotony.
4920         (distclean-local): New target patterned after clean-local
4921         which recursively deletes all .d files.
4922         * Makefile.in: Rebuilt.
4924 2003-09-11  Tom Tromey  <tromey@redhat.com>
4926         * java/net/URLStreamHandler.java (parseURL): If original file
4927         ends with "/", so must canonical result.
4928         * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
4929         with nul-termination and finding previous "/".
4931 2003-09-11  Michael Koch  <konqueror@gmx.de>
4933         * acconfig.h: Removed most items.
4934         * configure.in: Added descriptions to AC_DEFINE macros that where in
4935         acconfig.h before.
4936         * include/config.h.in: Regenerated.
4938 2003-09-11  Sascha Brawer  <brawer@dandelis.ch>
4940         * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
4941         if one is installed. Improve Javadoc.
4942         (getSystemEventQueueImpl): Improve Javadoc.
4944 2003-09-11  Tom Tromey  <tromey@redhat.com>
4946         * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
4947         file does not exist.
4949 2003-09-10  Anthony Green  <green@redhat.com>
4951         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
4952         Specify full name when referencing ::java::net::InetAddress.
4953         * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
4954         Fix argument type.
4956 2003-09-10  Michael Koch  <konqueror@gmx.de>
4958         * acconfig.h (__NO_MATH_INLINES): Removed.
4959         * configure.in: Removed check for g++ math inlining bug from 2000.
4960         * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
4961         libgcj_cxxflags.
4962         * configure: Regenerated.
4964 2003-09-10  David Daney <ddaney@avtrex.com>
4966         * java/util/Arrays.java (equals(all variants)): Quit using
4967         NullPointerException catching to detect null valued parameters.
4969 2003-09-10  Michael Koch  <konqueror@gmx.de>
4971         * java/net/DatagramSocket.java,
4972         java/net/MulticastSocket.java,
4973         java/net/ServerSocket.java,
4974         java/net/Socket.java:
4975         Use gnu.java.net.Plain*SocketImpl instead of
4976         java.net.PlainSocketImpl.
4977         * java/net/PlainDatagramSocketImpl.java,
4978         java/net/PlainSocketImpl.java,
4979         java/net/SocketInputStream.java,
4980         java/net/SocketOutputStream.java,
4981         java/net/natPlainDatagramSocketImplNoNet.cc,
4982         java/net/natPlainDatagramSocketImplPosix.cc,
4983         java/net/natPlainDatagramSocketImplWin32.cc,
4984         java/net/natPlainSocketImplNoNet.cc,
4985         java/net/natPlainSocketImplPosix.cc,
4986         java/net/natPlainSocketImplWin32.cc:
4987         Removed.
4988         * gnu/java/net/PlainDatagramSocketImpl.java,
4989         gnu/java/net/PlainSocketImpl.java,
4990         gnu/java/net/SocketInputStream.java,
4991         gnu/java/net/SocketOutputStream.java,
4992         gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
4993         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
4994         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
4995         gnu/java/net/natPlainSocketImplNoNet.cc,
4996         gnu/java/net/natPlainSocketImplPosix.cc,
4997         gnu/java/net/natPlainSocketImplWin32.cc:
4998         New files (moved from java/net).
4999         * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
5000         instead of java/net/natPlain*SocketImpl.cc.
5001         * configure: Regenerated.
5002         * Makefile.am: Moved files from java/net to gnu/java/net.
5003         * Makefile.in: Regenerated.
5005 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
5007         * configure: Regenerate.
5009 2003-09-04  Tom Tromey  <tromey@redhat.com>
5011         * configure.host: Removed erroneous comment.
5013         * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
5014         lvalue cast; use correct rvalue cast.
5016 2003-09-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
5018         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
5019         and height arguments to GtkWindowPeer.create method call.
5020         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
5021         (create(int,int,int)): New method.
5022         (create(int)): Add call to new create method.
5023         (create()): Add width and height arguments to create method
5024         call.
5025         (GtkWindowPeer): Remove call to setBounds.
5026         * java/awt/Frame.java (Frame(String)): Initialize visible field
5027         to false.
5028         (Frame(GraphicsConfiguration)): Likewise.
5029         (Frame(String,GraphicsConfiguration)): Likewise.
5030         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
5031         Add width and height parameters.  Call
5032         gtk_window_set_default_size.
5033         (connectHooks): Remove unused name variable.
5034         (static setBounds): Call gtk_window_resize not
5035         gtk_widget_set_usize.
5036         (setBounds): Remove unused nchildren variable.
5038 2003-08-31  Ingo Proetel  <proetel@aicas.com>
5040         * java/util/logging/Logger.java: provide class and method information
5041         * java/util/logging/LogManager.java: create handlers
5042         * java/util/logging/SimpleFormatter.java: print souceClassName and
5043         sourceMethodName
5045 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
5047         * win32.cc: fixed tab, indentation and whitespace
5048         inconsistencies
5049         removed jvm.h include
5050         added includes java/lang/UnsupportedOperationException.h,
5051         java/io/IOException.h, java/net/SocketException.h
5052         (WSAEventWrapper): class implementation
5053         (_Jv_WinStrError): implemented both overloads
5054         (_Jv_ThrowIOException): implemented both overloads
5055         (_Jv_ThrowSocketException): implemented both overloads
5056         (_Jv_select): implemented
5057         * include/win32.h: fixed tab, indentation and whitespace
5058         inconsistencies
5059         wrapped <windows.h> include with  #define WIN32_LEAN_AND_MEAN
5060         added jvm.h include
5061         (WSAEventWrapper): added class declaration
5062         (_Jv_WinStrError): added both overload declarations
5063         (_Jv_ThrowIOException): added both overload declarations
5064         (_Jv_ThrowSocketException): added both overload declarations
5065         removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
5066         (_Jv_select): added declaration
5067         (_Jv_socket): removed
5068         (_Jv_connect): removed
5069         (_Jv_close): removed
5070         (_Jv_bind): removed
5071         (_Jv_accept): removed
5072         (_Jv_listen): removed
5073         (_Jv_write): removed
5074         (_Jv_read): removed
5075         * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
5076         whitespace inconsistencies
5077         replaced <windows.h> #include with <platform.h>
5078         removed jvm.h include
5079         (testCanUseGetHandleInfo): new function which tests whether Win32
5080         GetHandleInformation() call can be used with console buffer handles
5081         (only supported on >=WinNT 5.0)
5082         (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
5083         (valid): rewrote implementation using GetHandleInformation()
5084         (sync):         changed exception throwing to use error string and exception
5085         helper methods declared in include/win32.h
5086         (open): likewise
5087         (write): likewise
5088         (setLength): likewise
5089         (close): likewise
5090         (seek): likewise
5091         (getFilePointer): likewise
5092         (read): likewise
5093         * java/io/natFileWin32.cc: fixed tab, indentation and
5094         whitespace inconsistencies
5095         replaced <windows.h> #include with <platform.h>
5096         removed jvm.h include
5097         (_access): use JV_TEMP_UTF_STRING
5098         (_stat): likewise
5099         (performMkDir): use JV_TEMP_UTF_STRING
5100         (performRenameTo): likewise
5101         (performDelete): likewise
5102         (performCreate): likewise
5103         (performSetReadOnly): likewise
5104         (performSetLastModified): likewise
5105         * java/lang/natWin32Process.cc: fixed tab, indentation and
5106         whitespace inconsistencies
5107         replaced <windows.h> #include with <platform.h>
5108         removed includes gcj/cni.h, jvm.h
5109         (new_string): removed
5110         (startProcess): use JV_TEMP_UTF_STRING,
5111         changed exception throwing to use error string and exception
5112         helper methods declared in include/win32.h
5113         * java/net/natInetAddressWin32.cc: fixed tab, indentation and
5114         whitespace inconsistencies
5115         replaced <windows.h> #include with <platform.h>
5116         removed jvm.h include
5117         removed DISABLE_JAVA_NET conditional code
5118         removed POSIX conditional code not relevant to Win32
5119         (aton): use JV_TEMP_UTF_STRING
5120         removed POSIX conditional code not relevant to Win32
5121         (lookup): likewise
5122         (getLocalHostName): likewise
5123         * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
5124         whitespace inconsistencies
5125         removed unnecessary windows.h, winsock.h and gcj/cni.h includes
5126         removed DISABLE_JAVA_NET conditional code
5127         removed POSIX conditional code not relevant to Win32
5128         (winsock2GetRealNetworkInterfaces): new function to compute network
5129         interfaces via Winsock2 API
5130         (determineGetRealNetworkInterfacesFN): new function for returning
5131         a function pointer to the function used to compute network interfaces.
5132         (getRealNetworkInterfaces): implemented
5133         * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
5134         whitespace inconsistencies
5135         removed gcj/cni.h include
5136         removed DISABLE_JAVA_NET conditional code
5137         removed POSIX conditional code not relevant to Win32
5138         changed net POSIXisms to Win32isms
5139         replaced _Jv socket-related calls with their real Win32 equivalents
5140         changed exception throwing to use error string and exception
5141         helper methods declared in include/win32.h
5142         (peekData): implemented timeout support
5143         (receive): likewise
5144         * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
5145         whitespace inconsistencies
5146         removed gcj/cni.h and gcj/javaprims.h includes
5147         removed DISABLE_JAVA_NET conditional code
5148         removed POSIX conditional code not relevant to Win32
5149         changed net POSIXisms to Win32isms
5150         replaced _Jv socket-related calls with their real Win32
5151         equivalents
5152         changed exception throwing to use error string and exception
5153         helper methods declared in include/win32.h
5154         (throwConnectException): helper function for connect()
5155         (connect): implemented timeout support
5156         (accept): likewise
5157         (doRead): new helper function common to both read() method overloads,
5158         includes timeout support
5159         (read): implemented both overloads in terms of doRead()
5160         (available): implemented using ioctlsocket()
5162 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
5164         * java/net/natInetAddressWin32.cc,
5165         java/net/natNetworkInterfaceWin32.cc,
5166         java/net/natPlainDatagramSocketImplWin32.cc,
5167         java/net/natPlainSocketImplWin32.cc:
5168         Readded code enclosed in DISABLE_JAVA_NET defines
5169         in preparation for MinGW cleanup / networking
5170         patch
5172 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
5174         * Makefile.am: Fixed problems with parallel makes.
5175         (all_java_class_files): Readded definition.
5176         (all_java_class_files): New target which depends on
5177         libgcj-@gcc_version@.jar
5178         * Makefile.in: Rebuilt
5180 2003-08-28  Tom Tromey  <tromey@redhat.com>
5182         * Makefile.in: Rebuilt.
5183         * Makefile.am (ordinary_java_source_files): Added new files.
5184         * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
5185         friend.
5186         * java/net/URLClassLoader.java (findClass): Don't use
5187         findURLResource.  Use loader's getClass method.
5188         (URLLoader.getClass): New method.
5189         (addURL): Handle `gcjlib' URLs.
5190         (SoURLLoader): New class.
5191         (SoResource): Likewise.
5192         * gnu/gcj/protocol/gcjlib/Connection.java: New file.
5193         * gnu/gcj/protocol/gcjlib/Handler.java: New file.
5194         * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
5195         (_Jv_RegisterCoreHook): Declare.
5196         (_Jv_FindCore): Declare.
5197         * gnu/gcj/runtime/SharedLibHelper.java: New file.
5198         * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
5199         typedef.
5200         (core_hook): New function.
5201         (struct SharedLibDummy) [saved_core]: New field.
5202         (init): Set _Jv_RegisterCoreHook.  Throw exception on failure.
5203         (register_hook): Set protection domain and class loader on new
5204         class.
5205         (finalize): Free core chain.
5206         * gnu/gcj/Core.java (Core): New constructor.
5207         * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
5208         SharedLibHelper.
5209         * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
5210         (_Jv_create_core): New function.
5211         (create): Use it.
5212         (default_register_resource): New function.
5213         (_Jv_RegisterCoreHook): New global.
5214         (_Jv_RegisterResource): Use it.
5215         (core_chain_struct): Removed.
5216         (_Jv_FindCore): New function.
5217         (_Jv_FreeCoreChain): New function.
5219 2003-08-29  Michael Koch  <konqueror@gmx.de>
5221         * java/net/natInetAddressWin32.cc,
5222         java/net/natNetworkInterfaceWin32.cc,
5223         java/net/natPlainDatagramSocketImplWin32.cc,
5224         java/net/natPlainSocketImplWin32.cc:
5225         Removed code enclosed in DISABLE_JAVA_NET defines.
5227 2003-08-26  Mohan Embar  <gnustuff@thisiscool.com>
5229         * Makefile.am: (write_entries_to_file) New parameterized
5230         function for writing entries to a file one line at a time.
5231         (all_java_class_files): Removed definition.
5232         (.java.class) Removed.target.
5233         (libgcj-@gcc_version@.jar): Changed dependency to
5234         $(all_java_source_files); added compilation step which compiles
5235         all changed source files in one pass.
5236         (libgcj.la) Refactored to use write_entries_to_file.
5237         (lib-gnu-awt-xlib.la) Likewise.
5238         (install-data-local) Likewise.
5239         (write-entries-to-file-check) New target which tests write_entries_to_file.
5240         (all-recursive): Changed dependency from $(all_java_class_files)
5241         to libgcj-@gcc_version@.jar
5242         * Makefile.in: Rebuilt.
5244 2003-08-26  Tom Tromey  <tromey@redhat.com>
5246         * java/lang/StrictMath.java: Typo fix.
5247         * java/lang/Math.java: Typo fix.
5249 2003-08-26  Stephen Crawley  <crawley@dstc.edu.au>
5251         * java/lang/ThreadGroup.java (removeThread): null the 'group' field
5252         of the removed Thread.
5254 2003-08-26  Mark Wielaard  <mark@klomp.org>
5256         Reported by David Holmes <dholmes@dltech.com.au>.
5257         * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
5258         Collections.synchronizedMap.
5259         * java/lang/ThreadLocal.java (valueMap): Likewise.
5261 2003-08-26  Mark Wielaard  <mark@klomp.org>
5263         * java/security/acl/Acl.java: Fix broken p tag.
5264         * java/text/DateFormatSymbols.java: Correctly open and close li tags.
5265         * javax/swing/border/LineBorder.java: Close img tag alt attributes.
5266         * javax/swing/plaf/TreeUI.java: Likewise.
5267         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
5268         * java/util/Properties.java: Use the word umlaut, not &auml; in api
5269         documentation.
5270         * java/util/PropertyResourceBundle.java: Likewise and add closing code
5271         tag.
5273 2003-08-26  Tom Tromey  <tromey@redhat.com>
5275         * Makefile.in: Rebuilt.
5276         * Makefile.am: Removed all GNU-make-specific FIXME comments.
5278         * java/lang/ref/Reference.java (get): Indentation fix.
5279         (clear): Comment fix.
5280         (enqueue): Likewise.
5281         (lock): Likewise.
5282         (referent): Likewise.
5284 2003-08-26  Tom Tromey  <tromey@redhat.com>
5286         PR java/12058:
5287         * java/lang/reflect/natArray.cc (set): Allow null as argument.
5289         * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
5290         (ProxyData.getPackage): New method.
5291         (ProxyData.getProxyData): Use package name, not Package.
5292         (ClassFactory.ClassFactory): Updated.
5294 2003-08-25  Scott Gilbertson  <scottg@mantatest.com>
5295         * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
5296         * Makefile.in: re-generated.
5297         * gnu/awt/j2d/IntegerGraphicsState.java
5298         (ScreenCoupledImage): new interface.
5299         (drawImage): detect ScreenCoupledImage instances.
5300         * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
5301         * gnu/awt/xlib/XEventLoop.java
5302         (createEvent): re-formatted, and rearranged to avoid null pointer.
5303         * gnu/awt/xlib/XGraphics.java
5304         (drawImage): added XOffScreenImage handling.
5305         * gnu/awt/xlib/XOffScreenImage.java: new file.
5306         * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
5307         * gnu/gcj/xlib/GC.java (copyArea): new native method.
5308         * gnu/gcj/xlib/XAnyEvent.java
5309         (TYPE_KEY_PRESS): new constant.
5310         (TYPE_KEY_RELEASE): new constant.
5311         (TYPE_MOTION_NOTIFY): new constant.
5312         (TYPE_ENTER_NOTIFY): new constant.
5313         (TYPE_LEAVE_NOTIFY): new constant.
5314         (TYPE_FOCUS_IN): new constant.
5315         (TYPE_FOCUS_OUT): new constant.
5316         (TYPE_KEYMAP_NOTIFY): new constant.
5317         (TYPE_GRAPHICS_EXPOSE): new constant.
5318         (TYPE_NO_EXPOSE): new constant.
5319         (TYPE_VISIBILITY_NOTIFY): new constant.
5320         (TYPE_CREATE_NOTIFY): new constant.
5321         (TYPE_DESTROY_NOTIFY): new constant.
5322         (TYPE_MAP_REQUEST): new constant.
5323         (TYPE_CONFIGURE_REQUEST): new constant.
5324         (TYPE_GRAVITY_NOTIFY): new constant.
5325         (TYPE_RESIZE_REQUEST): new constant.
5326         (TYPE_CIRCULATE_NOTIFY): new constant.
5327         (TYPE_CIRCULATE_REQUEST): new constant.
5328         (TYPE_PROPERTY_NOTIFY): new constant.
5329         (TYPE_SELECTION_CLEAR): new constant.
5330         (TYPE_SELECTION_REQUEST): new constant.
5331         (TYPE_SELECTION_NOTIFY): new constant.
5332         (TYPE_COLORMAP_NOTIFY): new constant.
5333         (TYPE_MAPPING_NOTIFY): new constant.
5334         * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
5335         * gnu/gcj/xlib/natGC.cc (copyArea): new method
5336         * java/awt/Component.java (createImage): changed to use peer method.
5338 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
5340         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
5341         name, not XLFD, to native drawString.
5342         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5343         Replace XLFD-based implementation with Pango-based
5344         implementation.
5346 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
5348         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
5349         GTK_WINDOW_DIALOG.  Set GTK_WINDOW_POPUP to 1.
5351 2003-08-21  David Daney  <ddaney@avtrex.com>
5353         Fix for PR libgcj/12013:
5354         * java/lang/ref/natReference.cc (finalize_referred_to_object):
5355         Check `cleared' field.
5356         * java/lang/ref/Reference.java (copy): Updated comments.
5357         (cleared): New field.
5358         (clear): Rewrote.
5360 2003-08-21  Scott Gilbertson  <scottg@mantatest.com>
5361             Thomas Fitzsimmons  <fitzsim@redhat.com>
5363         * Makefile.am (gtk_awt_peer_sources): Add
5364         gnu/java/awt/peer/GLightweightPeer.java.  Remove
5365         gnu/java/awt/GLightweightPeer.java.
5366         * gnu/java/awt/GLightweightPeer.java: Remove file.
5367         * gnu/java/awt/peer/GLightweightPeer.java: New file.
5368         * java/awt/Component.java (getToolkit): Add comment about
5369         lightweight components.
5370         * java/awt/Toolkit.java (createComponent): Return
5371         gnu.java.awt.peer.GLightweightPeer.
5373 2003-08-21  Richard Earnshaw  <rearnsha@arm.com>
5375         * configure.in: Fix detection of gcj when building with newlib.
5376         * configure: Regenerated.
5378 2003-08-20  Graydon Hoare  <graydon@redhat.com>
5380         * jni.cc: Replace "cheating" pointer-casting code with
5381         extract_from_jvalue<> template.
5383 2003-08-20  Andrew Haley  <aph@redhat.com>
5385         * gnu/gcj/runtime/StackTrace.java (getClass): New method.
5386         * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
5387         (classAt): Break out class lookup function into getClass().
5388         * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
5389         handlers when using -fno-assume-compiled.
5391 2003-08-20  Tom Tromey  <tromey@redhat.com>
5393         Fix for PR libgcj/9125:
5394         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
5395         object outside of loop.  Respect lib_control setting.
5396         * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
5397         field.
5398         (lib_control): New field.
5399         (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
5400         (VMClassLoader): Initialize new field.
5402         * java/lang/ref/natReference.cc (finalize_referred_to_object):
5403         Set `list->reference' to DELETED_REFERENCE when removing dead
5404         object.
5405         (find_slot): Added an assert.
5406         (DELETED_REFERENCE): New define.
5407         (add_to_hash): Check for DELETED_REFERENCE.
5408         (remove_from_hash): Just return if found slot isn't ours.
5410 2003-08-19  Andrew Haley  <aph@redhat.com>
5412         * prims.cc (unblock_signal): New function.
5413         (catch_segv): Use it.
5414         (catch_fpe): Likewise.
5416 2003-08-19  Danny Smith  <dannysmith@users.sourceforge.net>
5418         PR libgcj/11575
5419         * java/io/natFileDescriptorWin32.cc (open): Set create
5420         flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
5421         Honor EXCL when openning with WRITE flag. 
5423 2003-08-19  Mohan Embar  <gnustuff@thisiscool.com>
5425         * include/jvm.h: New class _Jv_TempUTFString (helper class for
5426         getting a temporary C string from a jstring)
5427         New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
5428         but uses a stack buffer if the string length is less than 256
5429         bytes.
5431 2003-08-18  Tom Tromey  <tromey@redhat.com>
5433         PR libgcj/11951:
5434         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
5435         void.  Throw VirtualMachineError if ffi fails.  Initialize return
5436         value.  Added is_jni_call argument; only wrap exception if not a
5437         JNI call.  Use descriptive message if operation not supported.
5438         (_Jv_GetTypesFromSignature): Use declaring class' loader to find
5439         array class.
5440         * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
5441         * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
5442         _Jv_CallAnyMethodA.
5443         (_Jv_JNI_CallAnyMethodA): Likewise.
5444         (_Jv_JNI_CallAnyVoidMethodV): Likewise.
5445         (_Jv_JNI_CallAnyVoidMethodA): Likewise.
5447 2003-08-13  Tom Tromey  <tromey@redhat.com>
5449         * gij.cc (help): Document -? and -X.
5451 2003-08-12  Graydon Hoare  <graydon@redhat.com>
5453         * java/awt/Font.java: 
5454         Stub out more recent API. 
5456 2003-08-12  Graydon Hoare  <graydon@redhat.com>
5458         * java/awt/Color.java (getAlpha): 
5459         Prevent sign-extended alpha values.
5461 2003-08-12  Tom Tromey  <tromey@redhat.com>
5463         * gij.cc (main): Handle -? and -X.
5465 2003-08-10  Jeroen Frijters  <jeroen@frijters.net>
5467         * java/awt/Container.java
5468         (getPreferredSize): Call preferredSize.
5469         (preferredSize): Moved body of getPreferredSize here.
5470         (getMinimumSize): Call minimumSize.
5471         (minimumSize): Moved body of getMinimumSize here.
5473 2003-08-11  Tom Tromey  <tromey@redhat.com>
5475         * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
5476         (postEvent): Removed FIXME comment.
5477         (isDispatchThread): Documented.
5478         (getCurrentEvent): New method.
5479         (dispatchEvent): Set currentEvent and lastWhen.
5480         (getMostRecentEventTime): Rewrote.
5481         (invokeLater): Documented.
5483 2003-08-10  Bryce McKinlay  <bryce@mckinlay.net.nz>
5485         * java/io/PrintStream.java (print): Always flush if auto_flush is
5486         set. Don't check for newline characters.
5487         (write (int)): Implement without using a temporary array.
5488         (write (byte[], int, int): Always flush if auto_flush is set. Don't
5489         check for newline characters.
5490         Fixes PR libgcj/11778.
5492 2003-08-08  Andrew Haley  <aph@redhat.com>
5494         * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
5495         * Makefile.in: Rebuild.
5496         * java/lang/natRuntime.cc (insertSystemProperties): Add
5497         "sun.boot.class.path".
5499 2003-08-07  Andrew Haley  <aph@redhat.com>
5501         * java/io/PrintStream.java: Don't crash on a null string.
5502         
5503 2003-08-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5505         * configure.in: Don't initialize GCINCS to boehm-gc/include.
5506         * configure: Regenerate.
5508 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
5510         * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
5511         SocketImpl. Update Javadoc.
5512         (bind): Call close() not impl.close() in event of exception.
5513         (connect): Likewise.
5514         Remove superfluous null checks throughout.
5515         * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
5516         Don't create an extra socket. Fix for PR libgcj/10868.
5517         (bind): Clean up exception handling.
5518         Remove superfluous null checks throughout.
5520 2003-08-07  Jacob Gladish <gladish@spinnakernet.com>
5521             Bryce McKinlay  <bryce@mckinlay.net.nz>
5523         * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
5524         ready-to-write argument to _Jv_Select. Reset the socket back to 
5525         non-blocking state after connecting.
5526         (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
5527         Throw SocketTimeoutException not InterruptedIOException.
5528         (read): Throw SocketTimeoutException not InterruptedIOException.
5530 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
5532         * java/lang/Thread.java (Thread): Check for null "name" from
5533         start of private constructor, not after calling the private
5534         constructor.
5536 2003-08-06  Tom Tromey  <tromey@redhat.com>
5538         * java/io/FilePermission.java (equals): Use correct index for
5539         last character of path.
5541 2003-08-06  Alan Modra  <amodra@bigpond.net.au>
5543         * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
5544         * configure.in: Compare with_cross_host to build_alias, not build.
5545         * aclocal.m4: Regenerate.
5546         * configure: Regenerate.
5548 2003-08-05  Tom Tromey  <tromey@redhat.com>
5550         Fix for PR libgcj/11779:
5551         * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
5552         class.
5554         * java/lang/reflect/Method.java: Updated status comment.
5555         Imported javadoc from Classpath and re-ordered methods.
5556         * java/lang/reflect/Constructor.java: Reindented.  Updated
5557         status comment.  Imported javadoc from Classpath and re-ordered
5558         methods.
5560 2003-08-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
5562         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
5563         Add keyLocation parameter.
5564         * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
5565         string.
5566         (paramString): Generate keyChar string according to keyChar, not
5567         keyCode.
5568         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5569         (state_to_awt_mods): Handle ALT key.
5570         (keyevent_state_to_awt_mods): New function.
5571         (get_first_keyval_from_keymap): New function.
5572         (keysym_to_awt_keycode): Get virtual key code from keymap.
5573         Handle missing VK_ values.
5574         (keysym_to_awt_keylocation): New function.
5575         (keyevent_to_awt_keychar): New function.
5576         (generates_key_typed_event): Handle non-text-component case.
5577         Handle GDK_KP_Delete and GDK_KP_Enter.
5578         (awt_event_handler): Call new functions to get postKeyEvent
5579         parameters.
5580         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
5581         Update postKeyEvent method signature.
5582         * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines.  Add missing
5583         VK_ defines.
5585 2003-08-05  Matthias Klose  <doko@debian.org>
5587         * aclocal.m4: check for libart-config binary
5588           under the name libart2-config as well.
5589         * configure: regenerated.
5591 2003-08-04  David P Grove  <groved@us.ibm.com>
5593         * java/text/DecimalFormat.java (format): avoid ArithmeticException
5594         when groupingSize is 0.
5595         (parse): Likewise.
5597 2003-08-04  Matthias Klose  <doko@debian.org>
5599         * libart.m4: check for libart-config binary
5600           under the name libart2-config as well.
5601         * configure, aclocal.m4: regenerated.
5603 2003-08-02  Michael Koch  <konqueror@gmx.de>
5605         * java/nio/ByteBufferImpl.java
5606         (getChar): Check remaining bytes, fixed comment about endianess.
5607         (putChar): Likewise.
5608         (getShort): Likewise.
5609         (putShort): Likewise.
5610         (getInt): Check remaining bytes, fixed conversion, fixed comment about
5611         endianess.
5612         (putInt): Likewise.
5613         (getLong): Likewise.
5614         (putLong): Likewise.
5615         (getFloat): Likewise.
5616         (putFloat): Likewise.
5617         (getDouble): Likewise.
5618         (putDouble): Likewise.
5619         * java/nio/DirectByteBufferImpl.java
5620         (getChar): Wrapped code, fixed comment about endianess.
5621         (putchar): Likewise.
5622         (getShort): Likewise.
5623         (putShort): Likewise.
5624         (getInt): Fixed conversion, fixed comment about endianess.
5625         (putInt): Likewise.
5626         (getLong): Likewise.
5627         (putLong): Likewise.
5628         (getFloat): Likewise.
5629         (putFloat): Likewise.
5630         (getDouble): Likewise.
5631         (putDouble): Likewise.
5632         * java/nio/MappedByteBufferImpl.java
5633         (compact): Implemented.
5634         (getChar): Implemented.
5635         (putChar): Implemented.
5636         (getDouble): Implemented.
5637         (putdouble): Implemented.
5638         (getFloat): Implemented.
5639         (putFloat): Implemented.
5640         (getInt): Implemented.
5641         (putInt): Implemented.
5642         (getLong): Implemented.
5643         (putLong): Implemented.
5644         (getShort): Implemented.
5645         (putShort): Implemented.
5646         * java/nio/channels/FileChannelImpl.java
5647         (read): Set position where to access file.
5648         (write): Likewise.
5649         (transferTo): Flip buffer after read and before write.
5650         (transferFrom): Likewise.
5652 2003-08-02  Michael Koch  <konqueror@gmx.de>
5654         * gnu/java/lang/ArrayHelper.java
5655         (equalsArray): Reformated, added method documentation.
5657 2003-08-02  Michael Koch  <konqueror@gmx.de>
5659         * java/net/URL.java
5660         (URL): Added paragraph about the
5661         gnu.java.net.nocache_protocol_handlers property.
5662         (ph_cache): Renamed from handlers to match classpath's implementation.
5663         Reordered it with factory and serialVersionUID member variables.
5664         (cache_handlers): New member variable.
5665         (static): New static initializer to initialize cache_handlers from
5666         gnu.java.net.nocache_protocol_handlers property.
5667         (URL): Use ph_cache instead of handlers, reformatted some code to
5668         match classpath's implementation.
5670 2003-08-01  Tom Tromey  <tromey@redhat.com>
5672         Fix for PR libgcj/11241:
5673         * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
5674         initialCapacity is 0, set it to 1.
5676 2003-08-01  Stephen Crawley <crawley@dstc.edu.au>
5678         * java/net/SocketImpl.java (toString): Display the remote address
5679         of an unconnected server socket as "0.0.0.0/0.0.0.0".
5681 2003-08-01  Sascha Brawer  <brawer@dandelis.ch>
5683         * javax/swing/border/BevelBorder.java,
5684         javax/swing/border/EtchedBorder.java,
5685         javax/swing/border/LineBorder.java,
5686         javax/swing/border/MatteBorder.java,
5687         javax/swing/border/SoftBevelBorder.java,
5688         javax/swing/plaf/BorderUIResource.java,
5689         javax/swing/plaf/ComponentUI.java,
5690         javax/swing/plaf/TreeUI.java,
5691         javax/swing/plaf/basic/BasicBorders.java,
5692         javax/swing/plaf/basic/BasicGraphicsUtils.java,
5693         javax/swing/plaf/basic/BasicTreeUI.java:
5694         Prepend "doc-files" to all paths to embedded Javadoc images, so
5695         that the generated documentation contains the correct URL.
5697 2003-08-01  Tom Tromey  <tromey@redhat.com>
5699         * configure: Rebuilt.
5700         * configure.in (tool_include_dir): Redefine to match gcc.
5702 2003-08-01  Jerry Quinn  <jlquinn@optonline.net>
5703             Mark Wielaard  <mark@klomp.org>
5704             
5705         * java/math/BigDecimal (divide): Correctly handle
5706         ROUND_HALF_EVEN when amount is greater than 0.5.
5707         Simplify and optimize code.
5709 2003-07-31  Tom Tromey  <tromey@redhat.com>
5711         More for PR libgcj/11737:
5712         * java/io/ObjectInputStream.java (processResolution): Use
5713         getMethod.
5714         (getMethod): Make method accessible.
5715         (getField): Make field accessible.
5716         (setBooleanField): Don't call setAccessible here.
5717         (setByteField, setCharField, setDoubleField, setFloatField,
5718         setIntField, setLongField, setShortField, setObjectField):
5719         Likewise.
5720         (callReadMethod): Don't check whether method is null.  Catch
5721         NoSuchMethodException.
5722         * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
5723         cause on thrown exceptions.
5725 2003-07-31  Stepan Koltsov  <yozh@mx1.ru>
5727         Fix for PR libgcj/11728:
5728         * java/util/HashMap.java (readObject): Set size.
5730 2003-07-31  Tom Tromey  <tromey@redhat.com>
5732         Fix for PR libgcj/11737:
5733         * java/io/ObjectOutputStream.java (getMethod): Make method
5734         accessible.
5735         (getField): Likewise.
5736         (writeObject): Use getMethod.
5737         Import PrivilegedAction and AccessController.
5738         (callWriteMethod): Don't check whether m is null.  Catch
5739         NoSuchMethodException.
5741         * java/awt/geom/Arc2D.java (getBounds2D): Implement.
5742         (containsAngle): Likewise.
5743         (getStartPoint): Rewrote.
5744         (getEndPoint): Likewise.
5745         (setAngleStart(Point2D)): Likewise.
5747 2003-07-31  Roger Sayle  <roger@eyesopen.com>
5748             Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5750         * configure.in: Add new THREADCXXFLAGS variable.
5751         Handle POSIX threads on alpha*-dec-osf*.
5752         * configure: Regenerate.
5753         * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
5754         * Makefile.in: Regenerate.
5756 2003-07-08  Andrew Haley  <aph@redhat.com>
5758         * include/i386-signal.h (RESTORE): New.
5759         (INIT_SEGV): Set restorer.
5760         (INIT_FPE): Likewise.
5762 2003-07-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
5764         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
5765         than getXLFD.
5766         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
5767         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
5768         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
5769         (gtkSetFont): Scale size parameter by PANGO_SCALE.
5770         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
5771         Likewise.
5772         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
5773         Likewise.
5775 2003-07-29  Tom Tromey  <tromey@redhat.com>
5777         * defineclass.cc (handleField): Throw exception if field name is
5778         duplicated.
5779         (handleMethod): Throw exception for duplicate method.
5781 2003-07-29  Tom Tromey  <tromey@redhat.com>
5783         * gnu/gcj/convert/natIconv.cc (write): Handle case where
5784         output buffer is too small.
5786 2003-07-28  Tom Tromey  <tromey@redhat.com>
5788         * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
5789         New method.
5790         Include gnu/gcj/runtime/StringBuffer.h.
5791         * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
5792         native method.
5793         (String(gnu.gcj.runtime.StringBuffer)): Use it.
5795 2003-07-27  Anthony Green  <green@redhat.com>
5797         * configure.in: Fix newlib check.
5798         * configure: Rebuilt.
5800 2003-07-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
5802         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
5803         Create vbox and layout for GtkPlug.
5805 2003-07-27  Michael Koch  <konqueror@gmx.de>
5807         * java/awt/Window.java
5808         (Window): Removed now unused constructor. It became oboslete with the
5809         new embedded window patch.
5811 2003-07-27  Thomas Fitzsimmons <fitzsim@redhat.com.h> 
5812             Michael Koch  <konqueror@gmx.de>
5814         * gnu/java/awt/EmbeddedWindow.java
5815         (EmbeddedWindow): Extends Frame instead of Window.
5816         (window_id): New member variable to store the native window handle.
5817         (create): Removed.
5818         (EmbeddedWindow): New constructor.
5819         (addNotify): New method.
5820         (getHandler): Likewise.
5821         (setWindowPeer): New native method.
5822         * gnu/java/awt/EmbeddedWindowSupport.java
5823         (EmbeddedWindowSupport): Fixed documentation.
5824         (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
5825         WindowPeer, give it an EmbeddedWindow instance instead of the raw
5826         window data.
5827         * gnu/java/awt/natEmbeddedWindow.cc
5828         (create): Removed.
5829         (setWindowPeer): New method.
5830         * gnu/java/awt/peer/EmbeddedWindowPeer.java,
5831         gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
5832         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
5833         New files
5834         * gnu/java/awt/peer/gtk/GtkToolkit.java
5835         (GtkToolkit): Implements EmbeddedWindowSupport.
5836         (createEmbeddedWindow): New method.
5837         * java/awt/Window.java
5838         (Window): Removed.
5839         * Makefile.am
5840         (java_source_files): Added EmbeddedWindowPeer.java.
5841         (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
5842         (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
5843         * Makefile.in: Regenerated.
5845 2003-07-26  Ranjit Mathew  <rmathew@hotmail.com>
5847         * java/lang/Win32Process.java (ConcreteProcess): Surround
5848         a command line element with quotes if it contains an
5849         embedded space or tab.
5850         * java/lang/natWin32Process.cc (startProcess): Do not
5851         surround command line elements with quotes here.
5853         * configure.host: Use -fcheck-references and 
5854         -fuse-divide-subroutine for MinGW until we fix
5855         win32_exception_handler( ) in win32.cc w.r.t. Win32 
5856         Structured Exception Handling (SEH).
5858         * win32.cc (_Jv_platform_initProperties): Use generic names
5859         like "x86" for the "os.arch" property to be consistent with
5860         what Sun's JDK produces. Use the wProcessorArchitecture
5861         member of the Win32 SYSTEM_INFO structure, filled in a call 
5862         to GetSystemInfo( ), instead of dwProcessorType.
5864 2003-07-26  Mohan Embar  <gnustuff@thisiscool.com>
5865             Ranjit Mathew  <rmathew@hotmail.com>
5867         * Makefile.am: Use cross-compiling gcjh from the path for
5868         a crossed-native build.
5869         * Makefile.in: Rebuilt.
5870         * configure.in: Include libltdl in non-newlib builds.
5871         Moved determination of gcj used to build libraries to
5872         its own section. Fixed cross-compilation issues for
5873         non-newlib builds.
5874         * configure: Rebuilt.
5876 2003-07-25  Tom Tromey  <tromey@redhat.com>
5878         * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
5879         (write): Likewise.
5880         (read): Likewise.
5881         (read): Likewise.
5883 2003-07-25  Mark Wielaard  <mark@klomp.org>
5885         * java/lang/natRuntime.cc (_load): Add library name to
5886         UnsatisfiedLinkError when thrown.
5888 2003-07-25  Mark Wielaard  <mark@klomp.org>
5890         * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
5891         added.
5892         * Makefile.in: Likewise.
5894 2003-07-25  Jeroen Frijters  <jeroen@frijters.net>
5896         * java/awt/Component.java
5897         (getPreferredSize): Call preferredSize.
5898         (preferredSize): Moved body of getPreferredSize here.
5899         (getMinimumSize): Call minimumSize.
5900         (minimumSize): Moved body of getMinimumSize here.
5901         (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
5902         (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
5903         pass -1
5904         * java/awt/Container.java
5905         (validate): Don't validate if there is no peer.
5906         (update): Clear background before calling paint.
5907         * java/awt/GridBagLayout.java
5908         Completed the implementation and fixed several bugs.
5909         * java/awt/MediaTracker.java
5910         (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
5911         combine flags.
5912         * java/awt/Window.java
5913         (Window): Don't call setVisible(false). Windows are invisible by
5914         default and calling virtual methods from constructor causes
5915         compatibility problems (e.g. subclasses may assume that the peer
5916         already exists).
5918 2003-07-25  Michael Koch  <konqueror@gmx.de>
5920         * java/awt/GridBagLayout.java:
5921         Totally reworked and partly implemented.
5922         * java/awt/GridBagLayoutInfo.java:
5923         New file.
5925 2003-07-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
5927         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
5928         Don't pack label in an event box.
5930 2003-07-24  Tom Tromey  <tromey@redhat.com>
5932         For PR libgcj/7482:
5933         * verify.cc (ref_intersection): New class.
5934         (type_val): Removed unresolved_reference_type,
5935         uninitialized_unresolved_reference_type.
5936         (is_assignable_from_slow): Rewrote.
5937         (type::data): Removed.
5938         (type::klass): New field.
5939         (type::type): Added verifier argument.
5940         (type::resolve): Removed.
5941         (type::set_uninitialized): Updated for change to type_val.
5942         (type::set_initialized): Likewise.
5943         (type::isinitialized): Likewise.
5944         (type::print): Likewise.
5945         (construct_primitive_array_type): Likewise.
5946         (type::compatible): Updated for change to type_val and to use
5947         ref_intersection.
5948         (type::isarray): Updated to use ref_intersection.
5949         (type::isinterface): Likewise.
5950         (type::element_type): Likewise.
5951         (type::to_array): Likewise.
5952         (type::verify_dimensions): Rewrote.
5953         (type::merge): Likewise.
5954         (check_class_constant): Updated for type constructor change.
5955         (check_constant): Likewise.
5956         (check_field_constant): Likewise.
5957         (get_one_type): Likewise.
5958         (initialize_stack): Likewise.
5959         (verify_instructions_0): Likewise.
5960         (verify_instructions_0) [op_invokeinterface]: Removed special
5961         case.
5962         (isect_list): New field.
5963         (_Jv_BytecodeVerifier): Initialize it.
5964         (~_Jv_BytecodeVerifier): Destroy ref_intersection objects. 
5966 2003-07-24  H. Väisänen  <hvaisane@joyx.joensuu.fi>
5968         * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
5969         unless field size is 2.
5971 2003-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
5973         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5974         (connectHooks): New method.
5975         (handleEvent): Remove.
5976         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
5977         (createHooks): Remove declaration.
5978         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5979         (generates_key_typed_event): Change to handle only certain
5980         keyvals.
5981         (awt_event_handler): Add special handling for GtkTextView.
5982         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
5983         (textcomponent_commit_cb): New function.
5984         (textcomponent_changed_cb): Likewise.
5985         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
5986         (connectHooks): Remove.
5988 2003-07-23  Tom Tromey  <tromey@redhat.com>
5990         * java/lang/natSystem.cc (arraycopy): Check for overflow.
5992         * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
5994 2003-07-22  Tom Tromey  <tromey@redhat.com>
5996         * boehm.cc (_Jv_BuildGCDescr): Wrote.
5997         Include limits.h.
5999 2003-07-22  Tom Tromey  <tromey@redhat.com>
6001         * java/awt/Window.java (getWarningString): Just return the
6002         string.
6003         (Window): Set warningString; check with security manager.
6005 2003-07-22  Scott Gilbertson  <scottg@mantatest.com>
6007         * gnu/awt/xlib/XGraphicsConfiguration.java
6008         (FontMetricsCache): Made static.
6010 2003-07-22  Tom Tromey  <tromey@redhat.com>
6012         * java/net/URLEncoder.java (encode(String)): Use platform default
6013         encoding.
6014         (encode(String,String)): Convert to 2-digit upper-case hex
6015         number.
6016         (hex): New field.
6018 2003-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
6020         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6021         (create): Remove unused method implementation.
6022         (connectHooks): Remove debug messages.
6024 2003-07-20  Anthony Green  <green@redhat.com>
6026         * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
6027         CloneNotSupportedException.
6028         * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
6029         * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
6030         * gnu/gcj/xlib/GC.java (clone): Ditto.
6031         * gnu/awt/xlib/XGraphics.java (clone): Ditto.
6032         * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
6034         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
6035         handler.
6036         * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
6038 2003-07-20  Steve Pribyl <steve@netfuel.com.>
6040         * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
6041         String.  Put dlerror() message into exception.
6042         Include UnsatisfiedLinkError.
6043         * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
6044         String.  Now native.
6046 2003-07-20  Tom Tromey  <tromey@redhat.com>
6048         * java/lang/Runtime.java: Comment fix.
6049         * java/lang/ClassLoader.java (isAncestorOf): New method.
6050         (getParent): Uncommented security check.  Use isAncestorOf.
6051         * include/jvm.h (_Jv_CheckAccess): Declare.
6052         * java/lang/reflect/natConstructor.cc (newInstance): Perform
6053         access check.
6054         Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
6055         * java/lang/reflect/natArray.cc (newInstance): Pass caller's
6056         class loader to _Jv_GetArrayClass.
6057         Include ArrayIndexOutOfBoundsException.h.
6058         * java/lang/reflect/Field.java: Update comment to reflect status.
6059         (equals): Fixed indentation.
6060         * java/lang/Class.h (Class): Declare memberAccessCheck, not
6061         checkMemberAccess.  Make _Jv_CheckAccess a friend.
6062         * java/lang/Class.java (memberAccessCheck): New method from
6063         Classpath.
6064         (checkMemberAccess): Removed.
6065         (getDeclaredMethod): Use memberAccessCheck.
6066         (getField): Likewise.
6067         (getMethod): Likewise.
6068         * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
6069         (_Jv_SearchMethodInClass): Likewise.
6070         * prims.cc (_Jv_CheckAccess): New function.
6071         * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
6072         (_Jv_JNI_GetAnyFieldID): Likewise.
6073         * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
6074         (getClassLoader): Added security check.
6075         (getConstructor): Call memberAccessCheck.
6076         (getDeclaredClasses): Likewise.
6077         (getDeclaredField): Likewise.
6078         (getDeclaredFields): Likewise.
6079         (_getConstructors): Likewise.
6080         (getDeclaredConstructor): Likewise.
6081         (getDeclaredMethods): Likewise.
6082         (getFields): Likewise.
6083         (getMethods): Likewise.
6084         (newInstance): Likewise.
6085         (_Jv_MakeVTable): Put method name in exception.
6086         * java/lang/reflect/natMethod.cc (getType): Use
6087         getClassLoaderInternal.
6088         (_Jv_GetTypesFromSignature): Likewise.
6089         (invoke): Perform access check.
6090         (_Jv_CallAnyMethodA): Removed old FIXME comments.
6091         Include ArrayIndexOutOfBoundsException.h.
6092         * java/lang/reflect/natField.cc (getType): Use
6093         getClassLoaderInternal.
6094         (_Jv_CheckFieldAccessibility): Removed.
6095         (getAddr): Use _Jv_CheckAccess; find caller.
6096         Include ArrayIndexOutOfBoundsException.h.
6098 2003-07-20  Michael Koch  <konqueror@gmx.de>
6100         * java/net/URL.java
6101         (URL): Fixed documentation to name an argument correcty, Reformatted
6102         one method declaration.
6103         (getURLStreamHandler): Added documentation from classpath.
6105 2003-07-19  Tom Tromey  <tromey@redhat.com>
6107         * mauve-libgcj: Don't run CollationElementIterator tests.
6109 2003-07-19  Jeroen Frijters <jeroen@sumatra.nl>
6111         * java/net/URLClassLoader.java (addURL): Moved implementation to
6112         private addURLImpl() to avoid calling addURL from the constructor.
6113         (addURLImpl): Contains the code that was previously in addURL.
6114         (addURLs): Call addURLImpl(), not addURL().
6116 2003-07-18  Graydon Hoare  <graydon@redhat.com>
6118         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 
6119         Handle missing event cases, connect to "value-changed" signal.
6121 2003-07-18  Graydon Hoare  <graydon@redhat.com>
6123         * java/awt/geom/CubicCurve2D.java,
6124         java/awt/geom/Line2D.java,
6125         java/awt/geom/QuadCurve2D.java,
6126         java/awt/geom/Rectangle2D.java: 
6127         Fix path some calculations, make path iterators follow
6128         a consistent style.
6130 2003-07-18  Mark Wielaard  <mark@klomp.org>
6132         * java/util/logging/Handler.java (isLoggable): Check record level
6133         smaller or equal.
6135 2003-07-17  Michael Koch  <konqueror@gmx.de>
6137         * gnu/java/awt/peer/gtk/GtkToolkit.java:
6138         Reworked imports.
6140 2003-07-14  Michael Koch  <konqueror@gmx.de>
6142         * gnu/java/rmi/server/UnicastServerRef.java:
6143         New version from classpath.
6145 2003-07-14  Michael Koch  <konqueror@gmx.de>
6147         * java/awt/image/MemoryImageSource.java,
6148         java/beans/PropertyEditorManager.java,
6149         javax/naming/CompoundName.java,
6150         javax/naming/spi/NamingManager.java,
6151         javax/swing/AbstractButton.java,
6152         javax/swing/ButtonModel.java,
6153         javax/swing/SwingUtilities.java,
6154         javax/swing/UIManager.java,
6155         javax/swing/colorchooser/DefaultColorSelectionModel.java,
6156         javax/swing/event/AncestorEvent.java,
6157         javax/swing/event/InternalFrameEvent.java,
6158         java/util/zip/ZipFile.java:
6159         New versions from classpath.
6161 2003-07-13  Michael Koch  <konqueror@gmx.de>
6163         * gnu/java/nio/FileChannelImpl.java,
6164         gnu/java/nio/natFileChannelImpl.cc: Removed.
6165         * java/io/FileInputStream.java,
6166         java/io/FileOutputStream.java,
6167         java/io/RandomAccessFile.java,
6168         java/nio/MappedByteBufferImpl.java:
6169         Import java.nio.channels.FileChannelImpl instead of
6170         gnu.java.nio.FileChannelImpl.
6171         * java/nio/channels/FileChannelImpl.java,
6172         java/nio/channels/natFileChannelImpl.cc:
6173         New files.
6174         * Makefile.am
6175         (ordinary_java_source_files):
6176         Removed gnu/java/nio/FileChannelImpl.java and added
6177         java/nio/channels/FileChannelImpl.java.
6178         (nat source_files):
6179         Removed gnu/java/nio/natFileChannelImpl.cc and added
6180         java/nio/channels/natFileChannelImpl.cc.
6181         * Makefile.in: Regenerated.
6183 2003-07-13  Michael Koch  <konqueror@gmx.de>
6185         * javax/swing/plaf/basic/BasicBorders.java,
6186         javax/swing/plaf/basic/BasicLabelUI.java,
6187         javax/swing/plaf/basic/BasicLookAndFeel.java,
6188         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6189         javax/swing/plaf/basic/BasicTextUI.java,
6190         javax/swing/plaf/metal/MetalLookAndFeel.java:
6191         New versions from classpath.
6193 2003-07-13  Michael Koch  <konqueror@gmx.de>
6195         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
6196         * gnu/java/awt/peer/gtk/GdkGraphics.java
6197         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
6198         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
6199         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
6200         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
6201         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
6202         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
6203         * gnu/java/awt/peer/gtk/GtkClipboard.java
6204         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
6205         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
6206         * gnu/java/awt/peer/gtk/GtkFramePeer.java
6207         * gnu/java/awt/peer/gtk/GtkGenericPeer.java
6208         * gnu/java/awt/peer/gtk/GtkImage.java
6209         * gnu/java/awt/peer/gtk/GtkImagePainter.java
6210         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
6211         * gnu/java/awt/peer/gtk/GtkListPeer.java
6212         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
6213         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
6214         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
6215         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
6216         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
6217         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
6218         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
6219         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
6220         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
6221         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
6222         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
6223         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
6225 2003-07-13  Michael Koch  <konqueror@gmx.de>
6227         * gnu/java/locale/LocaleInformation_de.java
6228         * gnu/java/locale/LocaleInformation_en.java
6229         * gnu/java/locale/LocaleInformation_nl.java
6231 2003-07-13  Michael Koch  <konqueror@gmx.de>
6233         * gnu/java/awt/EmbeddedWindow.java,
6234         gnu/java/awt/EmbeddedWindowSupport.java,
6235         gnu/java/awt/natEmbeddedWindow.cc:
6236         New files.
6237         * java/awt/Window.java
6238         (Window): New constructor to support embedded windows.
6239         * Makefile.am
6240         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
6241         gnu/java/awt/EmbeddedWindowSupport.java.
6242         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
6243         * Makefile.in: Regenerated.
6245 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
6247         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
6248         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
6249         * java/awt/im/InputContext.java: Remove a redundant
6250         partial line.
6252 2003-07-09  Tom Tromey  <tromey@redhat.com>
6254         * Makefile.in: Rebuilt.
6255         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
6257 2003-07-09  Mark Wielaard  <mark@klomp.org>
6259         * java/io/ObjectOutputStream.java (writeObject): break after
6260         calling writeClassDescriptor().
6262 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
6264         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
6266 2003-07-09  Michael Koch  <konqueror@gmx.de>
6268         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6269         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
6270         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
6271         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
6272         Explicitly import used classes.
6273         * java/awt/Container.java: New version from classpath.
6275 2003-07-09  Michael Koch  <konqueror@gmx.de>
6277         * libgcj.pc.in: New file.
6278         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
6279         * Makefile.in: Regenerated.
6280         * configure: Regenrated.
6281         * configure.in: Create libgcj.pc from libgcj.pc.in.
6283 2003-07-08  Mark Wielaard <mark@klomp.org>
6285         * gcj/cni.h: CNI now expands to Compiled Native Interface.
6287         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
6288         * java/lang/fdlibm.h: Likewise.
6290 2003-07-07  Adam Megacz <adam@xwt.org>
6292         * posix.cc: added #include<stdio.h>
6293                 
6294 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
6296         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
6297         formatting.
6299         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
6300         (setCaretPosition, setEditable): Rely entirely on native
6301         implementation.
6302         (getArgs): Remove.
6303         (postTextEvent): New method.
6304         (handleEvent): New method.
6305         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
6306         method.
6307         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
6308         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6309         (keysym_to_awt_keycode): Fix range checks.
6310         (generates_key_typed_event): New function.
6311         (awt_event_handler): Post AWT_KEY_RELEASED events to event
6312         queue.
6313         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6314         (gtkInit): Store TextComponent's postTextEvent method ID.
6315         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
6316         (setText): Post TEXT_VALUE_CHANGED event to event queue.
6318 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
6320         * configure.in: Check for usleep declaration.
6321         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
6322         * configure: Regenerate.
6323         * include/config.h.in: Likewise.
6324         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
6326 2003-07-01  Michael Koch  <konqueror@gmx.de>
6328         * gnu/gcj/convert/natIconv.cc
6329         (iconv_init): Fixed possible memory leak by releasing allocated iconv
6330         handle.
6332 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
6334         * glib-2.0.m4: New file.
6335         * gtk-2.0.m4: New file.
6336         * glib.m4: Remove.
6337         * gtk.m4: Remove.
6338         * configure.in: Update AM_PATH_GTK macro call to
6339         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
6340         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
6341         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
6342         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
6343         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
6344         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
6345         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
6346         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
6347         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
6348         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
6349         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
6350         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
6351         jni/gtk-peer/gthread-jni.c,
6352         jni/gtk-peer/gthread-jni.h:
6353         New versions from classpath.
6354         * aclocal.m4: Regenerate.
6355         * configure: Regenerate.
6356         * Makefile.in: Regenerate.
6357         * gcj/Makefile.in: Regenerate.
6358         * include/Makefile.in: Regenerate.
6359         * testsuite/Makefile.in: Regenerate.
6361 2003-06-30  Gary Benson  <gbenson@redhat.com>
6363         For PR libgcj/11349:
6364         * javax/naming/spi/NamingManager.java (getURLContext): Use
6365         correct name for factory class.
6367 2003-06-28  Michael Koch  <konqueror@gmx.de>
6369         * java/io/PrintStream.java
6370         (checkError): Call flush() instead of direct flushing of the Writer
6371         object.
6372         (print): Call print(String) instead of direct print method of the
6373         Writer Object.
6374         (println): Call println(String) instead of direct println method of the
6375         Writer Object.
6376         (write): Simplified.
6378 2003-06-28  Michael Koch  <konqueror@gmx.de>
6380         * java/net/ServerSocket.java
6381         (setChannel): New method.
6382         * java/net/Socket.java
6383         (setChannel): New method.
6385 2003-06-27  Michael Koch  <konqueror@gmx.de>
6387         * java/beans/beancontext/BeanContextSupport.java:
6388         New version from classpath.
6390 2003-06-27  Michael Koch  <konqueror@gmx.de>
6392         * java/awt/Window.java,
6393         java/awt/font/GraphicAttribute.java,
6394         java/awt/font/ImageGraphicAttribute.java,
6395         java/awt/image/DataBufferByte.java,
6396         java/awt/image/DataBufferInt.java,
6397         java/awt/image/DataBufferUShort.java,
6398         java/awt/image/DirectColorModel.java,
6399         java/awt/image/PixelGrabber.java:
6400         New versions from classpath.
6402 2003-06-27  Michael Koch  <konqueror@gmx.de>
6404         * java/security/Certificate.java
6405         (getGuarantor): Removed wrong @deprecated tag.
6406         (getPrincipal): Likewise.
6407         (getPublicKey): Likewise.
6408         (encode): Likewise.
6409         (decode): Likewise.
6410         (getFormat): Likewise.
6411         (toString): Likewise.
6412         * java/security/cert/PolicyQualifierInfo.java
6413         (PolicyQualifierInfo): Made final.
6414         * javax/security/auth/x500/X500Principal.java
6415         (serialVersionUID): New member variable.
6417 2003-06-27  Michael Koch  <konqueror@gmx.de>
6419         * java/text/Format.java
6420         (serialVersionUID): Fixed value.
6422 2003-06-27  Michael Koch  <konqueror@gmx.de>
6424         * java/net/Inet4Address.java
6425         (Inet4Address): Made package-private.
6426         * java/net/Inet6Address.java
6427         (Inet4Address): Made package-private.
6429 2003-06-27  Michael Koch  <konqueror@gmx.de>
6431         * java/io/RandomAccessFile.java
6432         (readLine): Removed wrong @deprecated tag.
6433         (getChannel): Made final.
6435 2003-06-27  Michael Koch  <konqueror@gmx.de>
6437         * gnu/java/nio/FileChannelImpl.java
6438         (write): Removed.
6440 2003-06-27  Michael Koch  <konqueror@gmx.de>
6442         * java/nio/ByteBufferImpl.java
6443         (ByteBufferImpl): Made it a package-private class
6444         * java/nio/CharBufferImpl.java
6445         (CharBufferImpl): Made it a package-private class
6446         * java/nio/DirectByteBufferImpl.java
6447         (DirectByteBufferImpl): Made it a package-private class
6448         * java/nio/DoubleBufferImpl.java
6449         (DoubleBufferImpl): Made it a package-private class
6450         * java/nio/FloatBufferImpl.java
6451         (FloatBufferImpl): Made it a package-private class
6452         * java/nio/IntBufferImpl.java
6453         (IntBufferImpl): Made it a package-private class
6454         * java/nio/LongBufferImpl.java
6455         (LongBufferImpl): Made it a package-private class
6456         * java/nio/ShortBufferImpl.java
6457         (ShortBufferImpl): Made it a package-private class
6458         * java/nio/channels/FileChannel.java
6459         (write): Made final.
6460         * java/nio/channels/ServerSocketChannel.java
6461         (ServerSocketChanne): Made protected.
6463 2003-06-27  Michael Koch  <konqueror@gmx.de>
6465         * javax/naming/CompositeName.java
6466         (serialVersionUID): New member variable.
6467         * javax/naming/CompoundName.java
6468         (serialVersionUID): New member variable.
6469         * javax/naming/InitialContext.java
6470         (InitialContext): Throws NamingException.
6471         (init): Likewise.
6472         * javax/naming/LinkRef.java
6473         (serialVersionUID): New member variable.
6474         (gteLinkName): Throws NamingException.
6475         * javax/naming/NamingException.java
6476         (serialVersionUID): New member variable.
6477         * javax/naming/NamingSecurityException.java
6478         (NamingSecurityException): Made abstract.
6479         (serialVersionUID): New member variable.
6480         * javax/naming/ReferralException.java
6481         (serialVersionUID): New member variable.
6482         * javax/naming/StringRefAddr.java
6483         (serialVersionUID): New member variable.
6484         * javax/naming/directory/BasicAttribute.java:
6485         Reworked imports.
6486         (serialVersionUID): New member variable.
6487         (get): Throws NamingException.
6488         (getAll): Throws NamingException.
6489         * javax/naming/directory/BasicAttributes.java:
6490         Reworked imports.
6491         (serialVersionUID): New member variable.
6492         * javax/naming/ldap/UnsolicitedNotificationEvent.java
6493         (serialVersionUID): New member variable.
6495 2003-06-27  Michael Koch  <konqueror@gmx.de>
6497         * Makefile.am
6498         (awt_java_source_files): Added new files:
6499         javax/swing/Popup.java,
6500         javax/swing/PopupFactory.java
6501         * Makefile.in: Regenerated.
6503 2003-06-27  Michael Koch  <konqueror@gmx.de>
6505         * javax/swing/JWindow.java,
6506         javax/swing/event/AncestorEvent.java,
6507         javax/swing/event/HyperlinkEvent.java,
6508         javax/swing/event/InternalFrameEvent.java,
6509         javax/swing/event/ListDataEvent.java,
6510         javax/swing/event/TableModelEvent.java,
6511         javax/swing/plaf/PopupMenuUI.java,
6512         javax/swing/plaf/SplitPaneUI.java,
6513         javax/swing/plaf/TabbedPaneUI.java,
6514         javax/swing/plaf/TextUI.java,
6515         javax/swing/plaf/TreeUI.java,
6516         javax/swing/plaf/basic/BasicTextUI.java,
6517         javax/swing/plaf/basic/BasicTreeUI.java:
6518         New versions from classpath.
6519         * javax/swing/Popup.java,
6520         javax/swing/PopupFactory.jav:
6521         New source files from classpath.
6522         * javax/swing/plaf/doc-files/TreeUI-1.png:
6523         New binary files from classpath.
6525 2003-06-25  Michael Koch  <konqueror@gmx.de>
6527         * Makefile.am
6528         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
6529         * Makefile.in: Regenerated.
6531 2003-06-25  Michael Koch  <konqueror@gmx.de>
6533         * javax/swing/plaf/ActionMapUIResource.java,
6534         javax/swing/plaf/BorderUIResource.java,
6535         javax/swing/plaf/ButtonUI.java,
6536         javax/swing/plaf/ColorChooserUI.java,
6537         javax/swing/plaf/ColorUIResource.java,
6538         javax/swing/plaf/ComboBoxUI.java,
6539         javax/swing/plaf/ComponentInputMapUIResource.java,
6540         javax/swing/plaf/ComponentUI.java,
6541         javax/swing/plaf/DesktopIconUI.java,
6542         javax/swing/plaf/DesktopPaneUI.java,
6543         javax/swing/plaf/DimensionUIResource.java,
6544         javax/swing/plaf/FileChooserUI.java,
6545         javax/swing/plaf/FontUIResource.java,
6546         javax/swing/plaf/IconUIResource.java,
6547         javax/swing/plaf/InputMapUIResource.java,
6548         javax/swing/plaf/InsetsUIResource.java,
6549         javax/swing/plaf/InternalFrameUI.java,
6550         javax/swing/plaf/LabelUI.java,
6551         javax/swing/plaf/ListUI.java,
6552         javax/swing/plaf/MenuBarUI.java,
6553         javax/swing/plaf/MenuItemUI.java,
6554         javax/swing/plaf/OptionPaneUI.java,
6555         javax/swing/plaf/PanelUI.java,
6556         javax/swing/plaf/ProgressBarUI.java,
6557         javax/swing/plaf/RootPaneUI.java,
6558         javax/swing/plaf/ScrollBarUI.java,
6559         javax/swing/plaf/ScrollPaneUI.java,
6560         javax/swing/plaf/SeparatorUI.java,
6561         javax/swing/plaf/SliderUI.java,
6562         javax/swing/plaf/TableHeaderUI.java,
6563         javax/swing/plaf/TableUI.java,
6564         javax/swing/plaf/ToolBarUI.java,
6565         javax/swing/plaf/ToolTipUI.java,
6566         javax/swing/plaf/ViewportUI.java:
6567         New versions from classpath.
6568         * javax/swing/plaf/SpinnerUI.java: 
6569         New file from classpath
6571 2003-06-25  Michael Koch  <konqueror@gmx.de>
6573         * java/awt/image/ColorModel.java:
6574         New version from classpath.
6576 2003-06-25  Michael Koch  <konqueror@gmx.de>
6578         * java/net/PlainDatagramSocketImpl.java:
6579         Partly merged with classpath, this mainly adds documentation.
6581 2003-06-25  Michael Koch  <konqueror@gmx.de>
6583         * java/io/ObjectInputStream.java
6584         (readClassDescriptor): New method.
6585         (readObject): Moved functionality to readClassDescriptor().
6586         * java/io/ObjectOutputStream.java
6587         (writeClassDescriptor): New method.
6588         (writeObject): Moved functionality to writeClassDescriptor().
6590 2003-06-25  Michael Koch  <konqueror@gmx.de>
6592         * javax/swing/plaf/basic/BasicListUI.java,
6593         javax/swing/plaf/basic/BasicOptionPaneUI.java:
6594         Added missing methods.
6596 2003-06-25  Michael Koch  <konqueror@gmx.de>
6598         * javax/swing/event/AncestorEvent.java
6599         javax/swing/event/HyperlinkEvent.java
6600         javax/swing/event/InternalFrameEvent.java
6601         javax/swing/event/ListDataEvent.java
6602         javax/swing/event/TableModelEvent.java:
6603         Compile fixes.
6605 2003-06-24  Michael Koch  <konqueror@gmx.de>
6607         * java/net/URL.java:
6608         Renamed "handler" to "ph" in the whole file to match classpaths
6609         version.
6610         * java/net/URLStreamHandler.java:
6611         (equals): Renamed "handler" to "ph".
6613 2003-06-24  Michael Koch  <konqueror@gmx.de>
6615         * javax/swing/event/AncestorEvent.java,
6616         javax/swing/event/HyperlinkEvent.java,
6617         javax/swing/event/InternalFrameEvent.java,
6618         javax/swing/event/ListDataEvent.java,
6619         javax/swing/event/TableModelEvent.java,
6620         javax/swing/event/TreeWillExpandListener.java,
6621         javax/swing/plaf/ComponentUI.java,
6622         javax/swing/plaf/DesktopIconUI.java,
6623         javax/swing/plaf/DesktopPaneUI.java,
6624         javax/swing/plaf/DimensionUIResource.java,
6625         javax/swing/plaf/FileChooserUI.java,
6626         javax/swing/plaf/FontUIResource.java,
6627         javax/swing/plaf/IconUIResource.java,
6628         javax/swing/plaf/InputMapUIResource.java,
6629         javax/swing/plaf/InsetsUIResource.java,
6630         javax/swing/plaf/InternalFrameUI.java,
6631         javax/swing/plaf/LabelUI.java,
6632         javax/swing/plaf/ListUI.java,
6633         javax/swing/plaf/MenuBarUI.java,
6634         javax/swing/plaf/MenuItemUI.java,
6635         javax/swing/plaf/OptionPaneUI.java,
6636         javax/swing/plaf/PanelUI.java,
6637         javax/swing/plaf/ProgressBarUI.java,
6638         javax/swing/plaf/doc-files/ComponentUI-1.dia,
6639         javax/swing/plaf/doc-files/ComponentUI-1.png:
6640         New versions from classpath.
6642 2003-06-24  Michael Koch  <konqueror@gmx.de>
6644         * java/nio/Buffer.java
6645         (cap): Made package-private.
6646         (pos): Likewise.
6647         (limit): Likewise.
6648         (mark): Likewise.
6650 2003-06-24  Michael Koch  <konqueror@gmx.de>
6652         * java/net/SocketImpl.java
6653         (shutdownInput): Made it non-abstract method throwing an exception
6654         like in SUNs JRE.
6655         (shutdownOutput): Likewise.
6656         * java/net/SocketInputStream.java,
6657         java/net/SocketOutputStream.java:
6658         New files from classpath.
6660 2003-06-24  Michael Koch  <konqueror@gmx.de>
6662         * java/awt/Font.java,
6663         java/awt/Window.java,
6664         java/awt/color/ColorSpace.java,
6665         java/awt/datatransfer/StringSelection.java,
6666         java/awt/image/ColorModel.java:
6667         New versions from classpath.
6669 2003-06-24  Michael Koch  <konqueror@gmx.de>
6671         * Makefile.am
6672         (awt_java_source_files): Added new files:
6673         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
6674         javax/swing/plaf/basic/BasicSplitPaneUI.java
6675         * Makefile.in: Regenerated.
6677 2003-06-24  Michael Koch  <konqueror@gmx.de>
6679         * javax/swing/text/JTextComponent.java:
6680         New version from classpath.
6682 2003-06-24  Michael Koch  <konqueror@gmx.de>
6684         * javax/swing/Timer.java,
6685         javax/swing/plaf/ActionMapUIResource.java,
6686         javax/swing/plaf/ButtonUI.java,
6687         javax/swing/plaf/ColorChooserUI.java,
6688         javax/swing/plaf/ColorUIResource.java,
6689         javax/swing/plaf/ComboBoxUI.java,
6690         javax/swing/plaf/ComponentInputMapUIResource.java,
6691         javax/swing/plaf/basic/BasicBorders.java:
6692         New versions from classpath.
6693         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
6694         javax/swing/plaf/basic/BasicSplitPaneUI.java:
6695         New file from classpath.
6696         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
6697         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
6698         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
6699         javax/swing/plaf/doc-files/ComponentUI-1.dia,
6700         javax/swing/plaf/doc-files/ComponentUI-1.png:
6701         New binary files from classpath.
6703 2003-06-24  Michael Koch  <konqueror@gmx.de>
6705         * java/io/LineNumberReader.java
6706         (skip): Dont do line number accounting here as this is already done in
6707         read(), simplified.
6709 2003-06-21  Michael Koch  <konqueror@gmx.de>
6711         * java/io/File.java
6712         (static): Load javaio lib if existing (only in classpath).
6713         (File): Revised documentation to show the correct argument name.
6714         (createTempFile): Partly merged with classpath.
6715         (compareTo): Simplified.
6716         (lastModified): Throw exception if time < 0.
6717         (deleteOnExit): Revised documentation.
6719 2003-06-21  Michael Koch  <konqueror@gmx.de>
6721         * java/net/PlainSocketImpl.java:
6722         Reformatted.
6723         (PlainSocketImpl): Merged class documentaion with classpath.
6724         (in): Moved.
6725         (out): Moved.
6726         (PlainSocketImpl): New empty constructor.
6727         (finalize): Moved.
6728         (setOption): Merged documentation from classpath.
6729         (getOption): Likewise.
6730         (create): Likewise.
6731         (connect): Likewise.
6732         (bind): Likewise.
6733         (listen): Likewise.
6734         (accept): Likewise.
6735         (available): Likewise.
6736         (close): Likewise.
6737         (read): Likewise.
6738         (write): Likewise.
6739         (getInputStream): Made synchronozed to get sure that only one stream
6740         object can be created for this socket, merged documentation from
6741         classpath.
6742         (getOutputStream): Likewise.
6744 2003-06-21  Michael Koch  <konqueror@gmx.de>
6746         * java/net/PlainSocketImpl.java:
6747         Reformatting.
6748         (static): New implicit method.
6749         (read): Made package private.
6750         (write): Likewise.
6752 2003-06-21  Michael Koch  <konqueror@gmx.de>
6754         * java/util/SimpleTimeZone.java:
6755         Removed unneeded import, reformatting.
6757 2003-06-21  Michael Koch  <konqueror@gmx.de>
6759         * java/text/DateFormat.java,
6760         java/text/SimpleDateFormat.java,
6761         java/util/Locale.java:
6762         New versions from classpath.
6764 2003-06-21  Michael Koch  <konqueror@gmx.de>
6766         * javax/swing/SpinnerModel.java:
6767         New file from classpath.
6768         * javax/swing/border/LineBorder.java,
6769         javax/swing/border/SoftBevelBorder.java,
6770         javax/swing/plaf/BorderUIResource.java,
6771         javax/swing/plaf/basic/BasicBorders.java:
6772         New versions from classpath.
6773         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
6774         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
6775         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
6776         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
6777         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
6778         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
6779         New binary files from classpath.
6781 2003-06-21  Michael Koch  <konqueror@gmx.de>
6783         * java/util/logging/LogRecord.java,
6784         java/util/logging/Logger.java,
6785         java/util/logging/SocketHandler.java,
6786         java/util/logging/SimpleFormatter.java,
6787         java/util/logging/Formatter.java,
6788         java/util/logging/ErrorManager.java,
6789         java/util/logging/Handler.java,
6790         java/util/logging/FileHandler.java,
6791         java/util/logging/LogManager.java,
6792         java/util/logging/Level.java,
6793         java/util/logging/ConsoleHandler.java,
6794         java/util/logging/StreamHandler.java,
6795         java/util/logging/LoggingPermission.java,
6796         java/util/logging/Filter.java,
6797         java/util/logging/MemoryHandler.java,
6798         java/util/logging/XMLFormatter.java:
6799         New files from classpath.
6801 2003-06-20  Michael Koch  <konqueror@gmx.de>
6803         * java/io/ObjectStreamField.java
6804         (unshared): new member variable.
6805         (ObjectStreamField): New constructor.
6806         (isUnshared): New method.
6808 2003-06-20  Michael Koch  <konqueror@gmx.de>
6810         * java/net/URLStreamHandler.java
6811         (hostsEqual): Rewritten.
6813 2003-06-20  Michael Koch  <konqueror@gmx.de>
6815         * gnu/java/nio/MappedByteFileBuffer.java,
6816         gnu/java/nio/natMappedByteFileBuffer.cc:
6817         Removed
6818         * java/nio/MappedByteBufferImpl.java:
6819         New file.
6820         * gnu/java/nio/FileChannelImpl.java:
6821         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
6822         * Makefile.am
6823         (ordinary_java_source_files): Removed
6824         gnu/java/nio/MappedByteFileBuffer.java and added
6825         java/nio/MappedByteBufferImpl.java.
6826         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
6827         * Makefile.in: Regenerated.
6829 2003-06-19  Michael Koch  <konqueror@gmx.de>
6831         * gnu/java/nio/DatagramChannelImpl.java
6832         (fd): Removed.
6833         (blocking): New member variable.
6834         (socket): Likewise.
6835         (DatagramChannelImpl): Throws IOException, initialize socket.
6836         (socket):Implemented.
6837         (implCloseSelectableChannel): Throws IOException, implemented.
6838         (implConfigureBlocking): Likewise.
6839         (connect): Likewise.
6840         (disconnect): Likewise.
6841         (isConnected): Likewise.
6842         (write): Likewise.
6843         (read): Likewise.
6844         (receive): Throws IOException.
6845         (send): Likewise.
6846         * gnu/java/nio/SocketChannelImpl.java
6847         (read): Implemented.
6848         (write): Implemented.
6850 2003-06-19  Michael Koch  <konqueror@gmx.de>
6852         * javax/swing/JComponent.java,
6853         javax/swing/JInternalFrame.java,
6854         javax/swing/MenuSelectionManager.java,
6855         javax/swing/SwingUtilities.java,
6856         javax/swing/ToggleButtonModel.java:
6857         New versions from classpath.
6859 2003-06-19  Michael Koch  <konqueror@gmx.de>
6861         * java/text/CollationElementIterator.java
6862         (NULLORDER): Initialize with -1 as JDK documentation says.
6864 2003-06-19  Michael Koch  <konqueror@gmx.de>
6866         * java/net/HttpURLConnection.java,
6867         java/net/Inet4Address.java,
6868         java/net/Inet6Address.java,
6869         java/net/SocketImpl.java,
6870         java/net/URLClassLoader.java:
6871         Reworked import statements.
6872         * java/net/InetAddress.java
6873         (getByAddress): Simplified.
6874         * java/net/ServerSocket.java
6875         (ServerSocket): Moved special handling during bind operation to
6876         bind().
6877         (bind): Handle different cases when trying to bind a socket.
6878         * java/net/URLConnection.java
6879         (getHeaderFieldDate): Merged with classpath.
6880         (getHeaderFieldInt): Likewise.
6882 2003-06-19  Michael Koch  <konqueror@gmx.de>
6884         * java/util/zip/InflaterInputStream.java
6885         (InflaterInputStream): Throw NullPointerException if in is null (as
6886         JDK does).
6888 2003-06-19  Michael Koch  <konqueror@gmx.de>
6890         * java/awt/Font.java
6891         javax/swing/UIManager.java
6892         javax/swing/border/AbstractBorder.java
6893         javax/swing/border/BevelBorder.java
6894         javax/swing/border/Border.java
6895         javax/swing/border/CompoundBorder.java
6896         javax/swing/border/EmptyBorder.java
6897         javax/swing/border/EtchedBorder.java
6898         javax/swing/border/LineBorder.java
6899         javax/swing/border/MatteBorder.java
6900         javax/swing/border/TitledBorder.java
6901         javax/swing/plaf/BorderUIResource.java
6902         javax/swing/plaf/basic/BasicBorders.java
6903         javax/swing/plaf/basic/BasicButtonUI.java
6904         javax/swing/plaf/basic/BasicCheckBoxUI.java
6905         javax/swing/plaf/basic/BasicGraphicsUtils.java
6906         javax/swing/plaf/basic/BasicLabelUI.java
6907         javax/swing/plaf/basic/BasicRadioButtonUI.java
6908         javax/swing/plaf/basic/BasicToggleButtonUI.java:
6909         New versions from classpath.
6910         * javax/swing/border/SoftBevelBorder.java:
6911         New file from classpath.
6912         * javax/swing/border/doc-files/LineBorder-1.png,
6913         javax/swing/border/doc-files/BevelBorder-1.png,
6914         javax/swing/border/doc-files/BevelBorder-2.png,
6915         javax/swing/border/doc-files/BevelBorder-3.png,
6916         javax/swing/border/doc-files/EmptyBorder-1.png,
6917         javax/swing/border/doc-files/EtchedBorder-1.png,
6918         javax/swing/border/doc-files/EtchedBorder-2.png,
6919         javax/swing/border/doc-files/MatteBorder-1.png,
6920         javax/swing/border/doc-files/MatteBorder-2.png,
6921         javax/swing/border/doc-files/MatteBorder-3.png,
6922         javax/swing/border/doc-files/MatteBorder-4.png,
6923         javax/swing/border/doc-files/MatteBorder-5.png,
6924         javax/swing/border/doc-files/MatteBorder-6.png,
6925         javax/swing/border/doc-files/SoftBevelBorder-1.png,
6926         javax/swing/border/doc-files/SoftBevelBorder-2.png,
6927         javax/swing/border/doc-files/SoftBevelBorder-3.png,
6928         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
6929         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
6930         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
6931         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
6932         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
6933         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
6934         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
6935         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
6936         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
6937         New binary files from classpath.
6938         * Makefile.am
6939         (awt_java_source_files): Added
6940         javax/swing/border/SoftBevelBorder.java.
6941         * Makefile.in: Regenerated.
6943 2003-06-19  Michael Koch  <konqueror@gmx.de>
6945         * gnu/java/security/x509/X509Certificate.java
6946         (writeReplace): Merged from classpath.
6948 2003-06-19  Michael Koch  <konqueror@gmx.de>
6950         * gnu/java/nio/FileChannelImpl.java
6951         (map_address): Made public.
6952         (FileChannelImpl): Merged with classpath.
6953         * gnu/java/nio/natFileChannelImpl.cc
6954         (nio_mmap_file): Commented out unused arguments.
6955         (nio_unmmap_file): Likewise.
6956         (niu_msync): Likewise.
6958 2003-06-19  Michael Koch  <konqueror@gmx.de>
6960         * java/awt/image/IndexColorModel.java:
6961         New version from classpath.
6963 2003-06-18  Tom Tromey  <tromey@redhat.com>
6965         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
6966         on arrays.
6967         (isLoopbackAddress): Likewise.
6968         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
6969         on arrays.
6971 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
6973         * java/lang/natVMSecurityManager.cc (getClassContext):
6974         Use maxlen instead of len for loop bound.
6976 2003-06-18  Michael Koch  <konqueror@gmx.de>
6978         * gnu/java/nio/SelectorImpl.java
6979         (register): Use fd with value 0 for now, will be fixed later.
6980         * gnu/java/nio/ServerSocketChannelImpl.java
6981         (fd): Removed.
6982         (local_port): Removed.
6983         (InetSocketAddress): Removed.
6984         (ServerSocketChannelImpl): Just initialize internal socket object.
6985         (implCloseSelectableChannel): Close internal socket object.
6986         (implConfigureBlocking): Added comment.
6987         (accept): Use jaba.net stuff to accept socket.
6988         * gnu/java/nio/SocketChannelImpl.java
6989         (fd): Removed.
6990         (local_port): Removed.
6991         (InetSocketAddress): Removed.
6992         (SocketCreate): Removed.
6993         (SocketConnect): Removed.
6994         (SocketBind): Removed.
6995         (SocketListen): Removed.
6996         (SocketAvailable): Removed.
6997         (SocketClose): Removed.
6998         (SocketRead): Removed.
6999         (SocketWrite): Removed.
7000         (SocketChannelImpl): Just initialize internal socket object.
7001         (implCloseSelectableChannel): Close internal socket object.
7002         (implConfigureBlocking): Fixed implementation, added comment.
7003         (connect): Use internal socket object to connect.
7004         (socket): No need for sanity checks.
7005         (read): Comment out some stuff, this will be reimplemented in the next
7006         commit.
7007         (write): Likewise.
7008         * gnu/java/nio/natFileChannelImpl.cc
7009         (nio_mmap_file): Line wrapped.
7010         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
7011         * Makefile.am
7012         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
7013         * Makefile.in: Regenerated.
7015 2003-06-18  Michael Koch  <konqueror@gmx.de>
7017         * java/util/Locale.java
7018         (equals): Merged from classpath.
7020 2003-06-18  Michael Koch  <konqueror@gmx.de>
7022         * java/net/InetAddress.java:
7023         Reformatted to better match classpath's version.
7024         * java/net/URL.java
7025         (equals): Simplified.
7026         * java/net/URLConnection.java
7027         (setDoInput): Revised documentation.
7028         (getDefaultUseCaches): Likewise.
7029         (setRequestProperty): Added @since tag.
7031 2003-06-17  Michael Koch  <konqueror@gmx.de>
7033         * java/net/InetSocketAddress.java
7034         (InetSocketAddress): Use wildcard address if addr is null.
7035         (InetSocketAddress): Dont duplicate implementation.
7036         (InetSocketAddress): Throw exception when hostname is null.
7037         * java/net/Socket.java:
7038         Reworked imports.
7039         (Socket): Throw exception when raddr is null, handle case when laddr
7040         is null.
7042 2003-06-17  Michael Koch  <konqueror@gmx.de>
7044         * java/nio/DirectByteBufferImpl.java
7045         (address): Made package private.
7046         (DirectByteBufferImpl): New constructor.
7047         * java/nio/natDirectByteBufferImpl.cc
7048         (allocateImpl): Moved to java.nio namespace, implemented.
7049         (freeImpl): Likewise.
7050         (getImpl): Likewise.
7051         (putImpl): Likewise.
7052         * jni.cc
7053         (_Jv_JNI_NewDirectByteBuffer): Implemented.
7054         (_Jv_JNI_GetDirectBufferAddress): Implemented.
7055         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
7057 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7059         * include/powerpc-signal.h: New File.
7060         * configure.in: Use it.
7061         * configure: Regenerated.
7063 2003-06-17  Michael Koch  <konqueror@gmx.de>
7065         * java/util/Locale.java
7066         (getDisplayLanguage): Made it final.
7067         (getDisplayCountry): Likewise.
7068         (getDisplayVariant): Likewise.
7069         (getDisplayName): Likewise.
7071 2003-06-17  Michael Koch  <konqueror@gmx.de>
7073         * java/util/PropertyResourceBundle.java:
7074         Removed unneeded import.
7076 2003-06-17  Michael Koch  <konqueror@gmx.de>
7078         * java/util/prefs/AbstractPreferences.java,
7079         java/util/prefs/PreferencesFactory.java:
7080         Reworked imports, removed unused imports.
7081         * java/util/prefs/Preferences.java
7082         (systemNodeForPackage): Method takes a Class not an Object.
7083         (userNodeForPackage): Likewise.
7084         (nodeForPackage): Likewise.
7086 2003-06-17  Michael Koch  <konqueror@gmx.de>
7088         * gnu/java/security/x509/X509Certificate.java:
7089         Explicitely import used classes.
7091 2003-06-17  Michael Koch  <konqueror@gmx.de>
7093         * java/util/zip/ZipEntry.java,
7094         java/util/zip/ZipFile.java,
7095         java/util/zip/ZipInputStream.java,
7096         java/util/zip/ZipOutputStream.java:
7097         Reworked imports, only import used classes.
7099 2003-06-17  Michael Koch  <konqueror@gmx.de>
7101         * gnu/java/lang/ArrayHelper.java,
7102         gnu/java/lang/ClassHelper.java:
7103         Reformatted to match classpath's versions.
7105 2003-06-14  Michael Koch  <konqueror@gmx.de>
7107         * gnu/java/nio/FileChannelImpl.java
7108         (map_address): Removed incorrect comment.        
7109         * gnu/java/nio/SelectorImpl.java
7110         (register): Remove code duplication and code for file channel handling.        
7111         * gnu/java/nio/ServerSocketChannelImpl.java
7112         (serverSocket): Renamed from sock_object.
7113         (ServerSocketChannel): Initialize serverSocket.
7114         (socket): Return serverSocket.
7115         * gnu/java/nio/SocketChannelImpl.java
7116         (socket): Renamed from sock_object.
7117         (isConnectionPenging): Simplified.
7118         (socket): Return socket.
7119 2003-06-14  Michael Koch  <konqueror@gmx.de>
7121         * java/security/BasicPermission.java:
7122         New version from classpath.
7124 2003-06-14  Michael Koch  <konqueror@gmx.de>
7126         * javax/naming/directory/Attribute.java:
7127         New version from classpath.
7129 2003-06-14  Michael Koch  <konqueror@gmx.de>
7131         * java/io/BufferedReader.java,
7132         java/io/FileOutputStream.java:
7133         New versions from classpath.
7135 2003-06-12  Andrew Haley  <aph@redhat.com>
7137         * prims.cc (catch_segv): Create exception in handler.
7138         (catch_fpe): Likewise.  
7139         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
7140         (_Jv_ThrowSignal): Remove.
7142         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
7143         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
7144         to nullp and arithexception.
7145         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
7146         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
7147         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
7148         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
7149         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
7151 2003-06-11  Andrew Haley  <aph@redhat.com>
7153         * jni.cc (_Jv_JNI_check_types): New.
7154         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
7155         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
7156         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
7157         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
7158         
7159         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
7160         infinite loop.
7162 2003-06-11  Tom Tromey  <tromey@redhat.com>
7164         * java/lang/ClassLoader.java (loadClass): Not deprecated.
7165         * java/io/PrintStream.java: Not deprecated.
7167 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
7169         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
7170         (fillOval): implemented
7171         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
7172         (fillArc): implemented.
7173         * gnu/gcj/xlib/GC.java (drawArc): added native method.
7174         (fillArc): added native method.
7175         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
7176         (fillArc): added native method.
7178 2003-06-11  Michael Koch  <konqueror@gmx.de>
7180         * java/awt/im/InputSubset.java:
7181         New version from classpath.
7183 2003-06-11  Michael Koch  <konqueror@gmx.de>
7185         * javax/swing/AbstractAction.java,
7186         javax/swing/AbstractButton.java,
7187         javax/swing/AbstractCellEditor.java,
7188         javax/swing/AbstractListModel.java,
7189         javax/swing/BorderFactory.java,
7190         javax/swing/Box.java,
7191         javax/swing/BoxLayout.java,
7192         javax/swing/ButtonGroup.java,
7193         javax/swing/DefaultButtonModel.java,
7194         javax/swing/DefaultListModel.java,
7195         javax/swing/DefaultListSelectionModel.java,
7196         javax/swing/FocusManager.java,
7197         javax/swing/ImageIcon.java,
7198         javax/swing/InputMap.java,
7199         javax/swing/JApplet.java,
7200         javax/swing/JButton.java,
7201         javax/swing/JCheckBox.java,
7202         javax/swing/JCheckBoxMenuItem.java,
7203         javax/swing/JColorChooser.java,
7204         javax/swing/JComboBox.java,
7205         javax/swing/JComponent.java,
7206         javax/swing/JDesktopPane.java,
7207         javax/swing/JDialog.java,
7208         javax/swing/JEditorPane.java,
7209         javax/swing/JFileChooser.java,
7210         javax/swing/JFormattedTextField.java,
7211         javax/swing/JFrame.java,
7212         javax/swing/JLabel.java,
7213         javax/swing/JLayeredPane.java,
7214         javax/swing/JList.java,
7215         javax/swing/JMenuBar.java,
7216         javax/swing/JMenuItem.java,
7217         javax/swing/JOptionPane.java,
7218         javax/swing/JPanel.java,
7219         javax/swing/JPasswordField.java,
7220         javax/swing/JPopupMenu.java,
7221         javax/swing/JProgressBar.java,
7222         javax/swing/JRadioButton.java,
7223         javax/swing/JRadioButtonMenuItem.java,
7224         javax/swing/JRootPane.java,
7225         javax/swing/JScrollBar.java,
7226         javax/swing/JScrollPane.java,
7227         javax/swing/JSeparator.java,
7228         javax/swing/JSlider.java,
7229         javax/swing/JTabbedPane.java,
7230         javax/swing/JTable.java,
7231         javax/swing/JTextField.java,
7232         javax/swing/JToggleButton.java,
7233         javax/swing/JToolBar.java,
7234         javax/swing/JToolTip.java,
7235         javax/swing/JTree.java,
7236         javax/swing/JViewport.java,
7237         javax/swing/JWindow.java,
7238         javax/swing/KeyStroke.java,
7239         javax/swing/ListSelectionModel.java,
7240         javax/swing/LookAndFeel.java,
7241         javax/swing/RepaintManager.java,
7242         javax/swing/ScrollPaneLayout.java,
7243         javax/swing/SizeRequirements.java,
7244         javax/swing/SwingConstants.java,
7245         javax/swing/Timer.java,
7246         javax/swing/UIDefaults.java,
7247         javax/swing/UIManager.java,
7248         javax/swing/border/AbstractBorder.java,
7249         javax/swing/border/CompoundBorder.java,
7250         javax/swing/colorchooser/AbstractColorChooserPanel.java,
7251         javax/swing/colorchooser/ColorChooserComponentFactory.java,
7252         javax/swing/colorchooser/ColorSelectionModel.java,
7253         javax/swing/colorchooser/DefaultColorSelectionModel.java,
7254         javax/swing/event/AncestorEvent.java,
7255         javax/swing/event/HyperlinkEvent.java,
7256         javax/swing/event/InternalFrameAdapter.java,
7257         javax/swing/event/InternalFrameEvent.java,
7258         javax/swing/event/ListDataEvent.java,
7259         javax/swing/event/MouseInputAdapter.java,
7260         javax/swing/event/SwingPropertyChangeSupport.java,
7261         javax/swing/event/TableModelEvent.java,
7262         javax/swing/event/TreeWillExpandListener.java,
7263         javax/swing/event/UndoableEditEvent.java,
7264         javax/swing/filechooser/FileFilter.java,
7265         javax/swing/filechooser/FileSystemView.java,
7266         javax/swing/filechooser/FileView.java,
7267         javax/swing/plaf/BorderUIResource.java,
7268         javax/swing/plaf/basic/BasicDefaults.java,
7269         javax/swing/table/AbstractTableModel.java,
7270         javax/swing/table/DefaultTableCellRenderer.java,
7271         javax/swing/table/DefaultTableColumnModel.java,
7272         javax/swing/table/DefaultTableModel.java,
7273         javax/swing/table/TableColumn.java,
7274         javax/swing/text/JTextComponent.java,
7275         javax/swing/tree/AbstractLayoutCache.java,
7276         javax/swing/tree/DefaultMutableTreeNode.java,
7277         javax/swing/tree/DefaultTreeCellEditor.java,
7278         javax/swing/tree/DefaultTreeCellRenderer.java,
7279         javax/swing/tree/DefaultTreeModel.java,
7280         javax/swing/tree/DefaultTreeSelectionModel.java,
7281         javax/swing/tree/FixedHeightLayoutCache.java,
7282         javax/swing/tree/TreeCellEditor.java,
7283         javax/swing/tree/TreeModel.java,
7284         javax/swing/tree/TreeNode.java,
7285         javax/swing/tree/TreePath.java,
7286         javax/swing/tree/TreeSelectionModel.java,
7287         javax/swing/tree/VariableHeightLayoutCache.java,
7288         javax/swing/undo/AbstractUndoableEdit.java,
7289         javax/swing/undo/CompoundEdit.java,
7290         javax/swing/undo/StateEdit.java,
7291         javax/swing/undo/UndoManager.java,
7292         javax/swing/undo/UndoableEditSupport.java:
7293         New versions from classpath.
7294         * javax/swing/table/JTableHeader.java:
7295         New file from classpath.
7296         * Makefile.am
7297         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
7298         * Makefile.in: Regenerated.
7300 2003-06-11  Michael Koch  <konqueror@gmx.de>
7302         * java/nio/MappedByteBuffer.java,
7303         java/nio/channels/Channels.java,
7304         java/nio/channels/ServerSocketChannel.java,
7305         java/nio/channels/spi/AbstractSelector.java:
7306         Removed unneeded imports.
7308 2003-06-11  Michael Koch  <konqueror@gmx.de>
7310         * java/net/DatagramSocket.java:
7311         Partly merged with classpath.
7313 2003-06-11  Michael Koch  <konqueror@gmx.de>
7315         * java/awt/Frame.java,
7316         java/awt/Graphics.java,
7317         java/awt/Menu.java,
7318         java/awt/Robot.java,
7319         java/awt/image/ColorModel.java:
7320         New versions from classpath.
7322 2003-06-10  Michael Koch  <konqueror@gmx.de>
7324         * java/io/PrintStream.java:
7325         Merged version from classpath.
7326         (close): Removed sychronized keyword. This class is not garantied to
7327         be thread-safe.
7328         (write): Likewise.
7330 2003-06-09  Tom Tromey  <tromey@redhat.com>
7332         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
7333         field.
7334         (getDescent): Likewise, for "descent".
7336 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
7338         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
7339         (getMaxDescent): adjusted return value.
7340         (getAscent): modified to use metrics for 'O'.
7341         (getDescent): modified to use metrics for 'y'.
7343 2003-06-08  Anthony Green  <green@redhat.com>
7345         * java/net/URLStreamHandler.java (sameFile): Fix port value
7346         comparison.
7347         * java/net/URL.java (handler): Make package private.
7348         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
7350 2003-06-07  Tom Tromey  <tromey@redhat.com>
7352         For PR libgcj/11085:
7353         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
7354         Limit number of characters in numeric field when required.
7355         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
7356         Respect maximumIntegerDigits.
7358 2003-06-08  Michael Koch  <konqueror@gmx.de>
7360         * java/net/Socket.java
7361         (Socket): Dont initialize inputShutdown and outputShutdown twice,
7362         call bind() and connect() to actually do the bind and connect tasks.
7363         (bind): Connect to canonical address if bindpoint is null, create
7364         socket and bind it to bindpoint.
7365         (connect): Check for exceptions.
7367 2003-06-08  Michael Koch  <konqueror@gmx.de>
7369         * java/net/DatagramSocket.java
7370         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
7371         into the Multicast constructors.
7372         * java/net/DatagramSocketImpl.java
7373         (getOption): Removed.
7374         (setOption): Removed.
7375         * java/net/MulticastSocket.java
7376         (MulticastSocket): Call setReuseAddress (true).
7377         * java/net/SocketImpl.java
7378         (getOption): Removed.
7379         (setOption): Removed.
7381 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
7383         PR libgcj/10886:
7384         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
7385         Test for empty vector.
7387 2003-06-06  Mark Wielaard  <mark@klomp.org>
7389         * java/security/Security.java (secprops): Initialize.
7390         (loadProviders): Return boolean.
7391         (static): Check result of loadProvider calls. If necessary
7392         display WARNING and fallback to Gnu provider.
7394 2002-06-06  James Clark  <jjc@jclark.com>
7396         Fix for PR libgcj/8738:
7397         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
7398         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
7399         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
7400         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
7401         (write): Always decrease avail when count is increased.
7402         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
7403         and whether output buffer is full before increasing size.
7405 2002-06-06  Mark Wielaard  <mark@klomp dot org>
7407         * java/io/PrintStream.java (writeChars(char[],int, int)):
7408         Check converter.havePendingBytes().
7409         (writeChars(String,int,int)): Likewise.
7410         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
7411         Check converter.havePendingBytes() and flush buffer when stalled.
7413 2003-06-07  Michael Koch  <konqueror@gmx.de>
7415         * include/posix.h
7416         (O_DSYNC): Define O_DSYNC on platforms not
7417         supporting O_FSYNC (newlib).
7419 2003-06-06  Mark Wielaard  <mark@klomp.org>
7421         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
7422         AWTError.
7424 2003-06-06  Michael Koch  <konqueror@gmx.de>
7426         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
7427         More compile fixes from my stupid work yesterday.
7429 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
7431         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
7432         if _IEEE_LIBM is undefined.
7434 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
7436         * libjava/include/posix.h (O_SYNC): Define if not available
7437         and a reasonable, perhaps more conservative, replacement exists.
7438         (O_DSYNC): Likewise.
7439         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
7441 2003-06-05  Michael Koch  <konqueror@gmx.de>
7443         * javax/swing/plaf/BorderUIResource.java,
7444         javax/swing/plaf/basic/BasicDefaults.java,
7445         javax/swing/plaf/basic/BasicOptionPaneUI.java:
7446         More compile fixes for latest Border commit. I should not commit
7447         something in this heat here ...
7449 2003-06-05  Michael Koch  <konqueror@gmx.de>
7451         * javax/swing/border/BevelBorder.java
7452         (BevelBorder): Removed.
7453         * javax/swing/border/EmptyBorder.java:
7454         Reformatted.
7455         (EmptyBorder): Removed.
7456         (getBorderInsets): Dont use l, r, t and b.
7457         * javax/swing/border/EtchedBorder.java
7458         (EtchedBorder): Removed.
7459         * javax/swing/border/LineBorder.java
7460         (LineBorder): Removed.
7461         * javax/swing/border/MatteBorder.java
7462         (MatteBorder): Removed.
7463         * javax/swing/border/TitledBorder.java
7464         (defaultBorder): Use other default for now.
7465         (defaultFont): Likewise.
7466         (defaultColor): Likewise.
7468 2003-06-05  Michael Koch  <konqueror@gmx.de>
7470         * javax/swing/border/Border.java:
7471         New version from classpath.
7473 2003-06-05  Michael Koch  <konqueror@gmx.de>
7475         * javax/swing/border/AbstractBorder.java,
7476         javax/swing/border/BevelBorder.java,
7477         javax/swing/border/CompoundBorder.java,
7478         javax/swing/border/EmptyBorder.java,
7479         javax/swing/border/EtchedBorder.java,
7480         javax/swing/border/LineBorder.java,
7481         javax/swing/border/MatteBorder.java,
7482         javax/swing/border/TitledBorder.java:
7483         New versions from Classpath.
7485 2003-06-05  Michael Koch  <konqueror@gmx.de>
7487         * java/awt/Button.java,
7488         java/awt/Checkbox.java,
7489         java/awt/CheckboxMenuItem.java,
7490         java/awt/Choice.java,
7491         java/awt/Container.java,
7492         java/awt/Dialog.java,
7493         java/awt/EventQueue.java,
7494         java/awt/FileDialog.java,
7495         java/awt/Frame.java,
7496         java/awt/Label.java,
7497         java/awt/List.java,
7498         java/awt/Menu.java,
7499         java/awt/MenuItem.java,
7500         java/awt/Panel.java,
7501         java/awt/PopupMenu.java,
7502         java/awt/Rectangle.java,
7503         java/awt/ScrollPane.java,
7504         java/awt/Scrollbar.java,
7505         java/awt/TextArea.java,
7506         java/awt/TextField.java,
7507         java/awt/Window.java,
7508         java/awt/datatransfer/DataFlavor.java,
7509         java/awt/dnd/DragSource.java,
7510         java/awt/dnd/DragSourceContext.java,
7511         java/awt/event/HierarchyEvent.java,
7512         java/awt/event/MouseWheelEvent.java,
7513         java/awt/im/InputContext.java,
7514         java/awt/image/BufferedImage.java,
7515         java/awt/image/ComponentColorModel.java,
7516         java/awt/image/Raster.java,
7517         java/awt/image/WritableRaster.java,
7518         java/awt/peer/ComponentPeer.java,
7519         java/awt/print/PageFormat.java,
7520         java/awt/print/PrinterJob.java:
7521         New versions from Classpath.
7523 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
7525         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
7526         numberFormat.setParseIntegerOnly(true).
7528 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
7530         * include/posix-threads.h: Include <machine/pal.h> on OSF.
7532 2003-06-03  Andrew Haley  <aph@redhat.com>
7534         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
7535         stack volatile to prevent optimization from removing it.
7537 2003-05-27  Michael Koch  <konqueror@gmx.de>
7539         * java/util/zip/Deflater.java
7540         (FILTERED): Merged documentation from classpath.
7541         * java/util/zip/DeflaterOutputStream.java
7542         (DeflaterOutputStream): Merged documentation and argument validity
7543         check from classpath.
7544         (deflate): Merged documentation from classpath.
7545         (finish): Likewise.
7546         * java/util/zip/Inflater.java
7547         (Inflater): Merged class documentation from classpath.
7548         (zstream): Reordered.
7549         (is_finished): Reordered.
7550         (dict_needed): Reordered.
7551         (Inflater): Reordered, merged documentation from classpath.
7552         (end): Likewise.
7553         (finalize): Merged documentation from classpath.
7554         (finished): Likewise.
7555         (getAdler): Likewise.
7556         (getRemaining): Likewise.
7557         (getTotalIn): Likewise.
7558         (getTotalOut): Likewise.
7559         (inflate): Likewise.
7560         (needsDictionary): Likewise.
7561         (needsInput): Likewise.
7562         (reset): Likewise.
7563         (setDictionary): Likewise.
7564         (setInput): Likewise.
7566 2003-05-27  Michael Koch  <konqueror@gmx.de>
7568         * java/net/URLConnection.java
7569         (getHeaderFieldInt): Merged with classpath.
7571 2003-05-27  Michael Koch  <konqueror@gmx.de>
7573         * java/io/PrintStream.java
7574         (PrintStream): Reformatted.
7575         (PrintStream): New method, merged from classpath.
7576         (write): Reformatted.
7578 2003-05-27  Michael Koch  <konqueror@gmx.de>
7580         * java/lang/System.java:
7581         Explicitely import needed classes.
7583 2003-05-26  Michael Koch  <konqueror@gmx.de>
7585         * java/net/NetPermission.java,
7586         java/net/NetworkInterface.java,
7587         java/net/PasswordAuthentication.java,
7588         java/net/SocketPermission.java:
7589         New versions from classpath.
7591 2003-05-25  Michael Koch  <konqueror@gmx.de>
7593         * java/io/PushbackInputStream.java,
7594         java/net/Authenticator.java,
7595         java/net/ContentHandler.java,
7596         java/net/ContentHandlerFactory.java,
7597         java/net/DatagramSocket.java,
7598         java/net/DatagramSocketImpl.java,
7599         java/net/DatagramSocketImplFactory.java,
7600         java/net/FileNameMap.java,
7601         java/net/SocketImplFactory.java,
7602         java/net/SocketOptions.java,
7603         java/net/URLStreamHandlerFactory.java:
7604         Merged new versions from classpath.
7606 2003-05-25  Michael Koch  <konqueror@gmx.de>
7608         * java/awt/Checkbox.java,
7609         java/awt/Dialog.java,
7610         java/awt/Font.java,
7611         java/awt/Frame.java,
7612         java/awt/ScrollPaneAdjustable.java,
7613         java/awt/Scrollbar.java,
7614         java/awt/Window.java:
7615         New versions from classpath.
7617 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
7619         PR libgcj/10838:
7620         * java/io/ObjectInputStream (enableResolveObject):
7621         Fixed spelling of permission name.
7623 2003-05-20  Michael Koch  <konqueror@gmx.de>
7625         * java/io/DataInputStream.java
7626         (convertFromUTF): Merged comment from classpath.
7627         * java/io/PrintStream.java
7628         (error_occured): Renamed from error, merged comment from classpath.
7629         (PrintStream): No need to initialized error.
7630         (checkError): Replace error with error_occurred.
7631         (setError): Likewise.
7633 2003-05-20  Michael Koch  <konqueror@gmx.de>
7635         * java/io/DataInputStream.java:
7636         Reformatted, Replaced < and & with html entitites in documentation.
7637         * java/io/File.java:
7638         Reformatted.
7639         * java/io/PrintWriter.java:
7640         Moved class documentation.
7642 2003-05-20  Michael Koch  <konqueror@gmx.de>
7644         * gnu/java/nio/ByteBufferImpl.java,
7645         gnu/java/nio/CharBufferImpl.java,
7646         gnu/java/nio/CharViewBufferImpl.java,
7647         gnu/java/nio/DirectByteBufferImpl.java,
7648         gnu/java/nio/DoubleBufferImpl.java,
7649         gnu/java/nio/DoubleViewBufferImpl.java,
7650         gnu/java/nio/FloatBufferImpl.java,
7651         gnu/java/nio/FloatViewBufferImpl.java,
7652         gnu/java/nio/IntBufferImpl.java,
7653         gnu/java/nio/IntViewBufferImpl.java,
7654         gnu/java/nio/LongBufferImpl.java,
7655         gnu/java/nio/LongViewBufferImpl.java,
7656         gnu/java/nio/natDirectByteBufferImpl.cc,
7657         gnu/java/nio/ShortBufferImpl.java,
7658         gnu/java/nio/ShortViewBufferImpl.java:
7659         Moved files to java/nio.
7660         * gnu/java/nio/SocketChannelImpl.java
7661         
7662         * java/nio/ByteBuffer.java,
7663         java/nio/CharBuffer.java,
7664         java/nio/DoubleBuffer.java,
7665         java/nio/FloatBuffer.java,
7666         java/nio/IntBuffer.java,
7667         java/nio/LongBuffer.java,
7668         java/nio/ShortBuffer.java:
7669         Dont import anything.
7670         * java/nio/ByteBufferImpl.java,
7671         java/nio/CharBufferImpl.java,
7672         java/nio/CharViewBufferImpl.java,
7673         java/nio/DirectByteBufferImpl.java,
7674         java/nio/DoubleBufferImpl.java,
7675         java/nio/DoubleViewBufferImpl.java,
7676         java/nio/FloatBufferImpl.java,
7677         java/nio/FloatViewBufferImpl.java,
7678         java/nio/IntBufferImpl.java,
7679         java/nio/IntViewBufferImpl.java,
7680         java/nio/LongBufferImpl.java,
7681         java/nio/LongViewBufferImpl.java,
7682         java/nio/natDirectByteBufferImpl.cc,
7683         java/nio/ShortBufferImpl.java,
7684         java/nio/ShortViewBufferImpl.java:
7685         Moved from gnu/java/nio.
7686         * Makefile.am
7687         (ordinary_java_source_files): Moved files from gnu/java/nio to
7688         java/nio.
7689         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
7690         to java/nio.
7691         * Makefile.in: Regenerated.
7693 2003-05-19  Michael Koch  <konqueror@gmx.de>
7695         * java/util/Calendar.java
7696         (get): Not final anymore since JDK 1.4
7697         (set): Likewise.
7699 2003-05-19  Michael Koch  <konqueror@gmx.de>
7701         * java/text/CollationKey.java:
7702         Merged copyright and dat from classpath.
7703         * java/text/RuleBasedCollator.java:
7704         Merged class documentation from classpath.
7706 2003-05-19  Michael Koch  <konqueror@gmx.de>
7708         * java/nio/CharBuffer.java
7709         (toString): Compile fix.
7711 2003-05-19  Michael Koch  <konqueror@gmx.de>
7713         * gnu/java/nio/ByteBufferImpl.java
7714         (putLong): Fixed conversion to bytes.
7715         (putDouble): Fixed conversion to bytes.
7716         * gnu/java/nio/DirectByteBufferImpl.java
7717         (putLong): Fixed conversion to bytes.
7718         (putDouble): Fixed conversion to bytes.
7719         * gnu/java/nio/FileLockImpl.java
7720         (isValid): Reformatted.
7721         * java/nio/Buffer.java
7722         (Buffer): Fixed off-by-one bug in handling mark.
7723         * java/nio/ByteBuffer.java:
7724         Added newline.
7725         * java/nio/CharBuffer.java
7726         (toString): Don't use relative get to get string data.
7728 2003-05-16  Michael Koch  <konqueror@gmx.de>
7730         * java/io/natFileDescriptorPosix.cc
7731         (open): Commented out the O_SYNC and O_DSYNC usage until its better
7732         tested.
7734 2003-05-14  Michael Koch  <konqueror@gmx.de>
7736         * gnu/java/nio/FileLockImpl.java
7737         (released): New member variable.
7738         (FileLockImpl): Initialize released.
7739         (releaseImpl): New native method.
7740         (release): Implemented.
7741         * gnu/java/nio/SelectorImpl.java: Reformatted.
7742         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
7743         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
7744         (accept): Throws IOException.
7745         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
7746         (implConfigureBlocking): Throws IOException.
7747         (connect): Likewise.
7748         (read): Likewise.
7749         (write): Likewise.
7750         * gnu/java/nio/natFileLockImpl.cc: New file.
7751         * java/nio/channels/FileLock.java: Reformatted.
7752         * Makefile.am:
7753         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
7754         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
7755         * Makefile.in: Regenerated.
7757 2003-05-13  Michael Koch  <konqueror@gmx.de>
7759         * gnu/java/nio/CharViewBufferImpl.java
7760         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
7761         (get): Shift bits to the right direction.
7762         (put): Likewise.
7763         * gnu/java/nio/DoubleViewBufferImpl.java
7764         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
7765         (get): Shift bits to the right direction.
7766         (put): Likewise.
7767         * gnu/java/nio/FloatViewBufferImpl.java
7768         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
7769         (get): Shift bits to the right direction.
7770         (put): Likewise.
7771         * gnu/java/nio/IntViewBufferImpl.java
7772         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
7773         (get): Shift bits to the right direction.
7774         (put): Likewise.
7775         * gnu/java/nio/LongViewBufferImpl.java
7776         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
7777         (get): Shift bits to the right direction.
7778         (put): Likewise.
7779         * gnu/java/nio/ShortViewBufferImpl.java
7780         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
7781         (get): Shift bits to the right direction.
7782         (put): Likewise.
7784 2003-05-13  Michael Koch  <konqueror@gmx.de>
7786         * gnu/java/nio/natDirectByteBufferImpl.cc
7787         (allocateImpl): jlong -> RawData*.
7788         (freeImpl): Likewise.
7790 2003-05-13  Michael Koch  <konqueror@gmx.de>
7792         * java/nio/channels/FileChannel.java
7793         (MapMode.m): Made it package-private to match JDK 1.4.
7794         * java/nio/charset/Charset.java
7795         (decode): Made it final to match JDK 1.4.
7797 2003-05-13  Michael Koch  <konqueror@gmx.de>
7799        * java/io/FileDescriptor.java
7800        (SYNC): New constant.
7801        (DSYNC): Likewise.
7802        (getLength): Renamed from lenght() to match classpath's
7803        FileDescriptor.java.
7804        * java/io/RandomAccessFile.java
7805        (RandomAccessFile): Removed unneeded mode check, implemented mode
7806        "rws" and "rwd", merged documentation from classpath.
7807        (setLength): Reformatted.
7808        (length): Use new getLength() of FileDescriptor.
7809        * java/io/natFileDescriptorEcos.cc
7810        (getLength): Renamed from length().
7811        * java/io/natFileDescriptorPosix.cc
7812        (open): Implemented support for SYNC and DSYNC.
7813        (seek): Use getLength() instead of length().
7814        (getLength): Renamed from length().
7815        * java/io/natFileDescriptorWin32.cc
7816        (getLength): Renamed from length().
7817        (seek): Use getLength() instead of length().
7818        (available): Likewise.
7819        * gnu/java/nio/natFileChannelImpl.cc
7820        (size): Use getLength() instead of length().
7822 2003-05-13  Michael Koch  <konqueror@gmx.de>
7824         * gnu/java/nio/ByteBufferImpl.java
7825         (ByteBufferImpl): All constructors revised.
7826         (slice): Reimplemented.
7827         (duplicate): Reimplemented.
7828         (asReadOnlyBuffer): Reimplemented.
7829         * java/nio/ByteBuffer.java:
7830         Reformatted.
7831         (array_offset): Renamed from "offset" to match all other buffer
7832         classes.
7833         (ByteBuffer): All constructors revised.
7834         (allocateDirect): Implemented.
7835         (allocate): New implementation, documentation reworked.
7836         (wrap): Likewise.
7837         (get): Documentation reworked.
7838         (put): New implementation, documentation reworked.
7839         (hasArray): Documentation reworked.
7840         (arrayOffset): Likewise.
7841         (hashCode): Likewise.
7842         (equals): Likewise.
7843         (compareTo): Likewise.
7844         (order): Likewise.
7845         (compact): Likewise.
7846         (isDirect): Likewise.
7847         (slice): Likewise.
7848         (duplicate): Likewise.
7849         (asReadOnlyBuffer): Likewise.
7850         * Makefile.am
7851         (ordinary_java_source_files):
7852         Added gnu/java/nio/DirectByteBufferImpl.java.
7853         (nat_source_files):
7854         Added gnu/java/nio/natDirectByteBufferImpl.cc.
7855         * Makefile.in: Regenerated.
7857 2003-05-12  Michael Koch  <konqueror@gmx.de>
7859         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
7860         (nio_get_*): Removed.
7861         (nio_put_*): Removed.
7862         (as*Buffer): Implemented.
7863         (compact): Implemented.
7864         (get): Documentation added.
7865         (put): Documentation added.
7866         (get*): Newly implemented.
7867         (put*): Newly implemented.
7868         * gnu/java/nio/CharBufferImpl.java: Reformatted.
7869         (CharBufferImpl): Revised.
7870         (slice): New implementation.
7871         (duplicate): New implementation.
7872         (compact): New implementation.
7873         (asReadOnlyBuffer): New implementation.
7874         (get): Documentation revised.
7875         (order): Return native byte order.
7876         * gnu/java/nio/DirectByteBufferImpl.java
7877         (allocateDirect): objects can be null not 0.
7878         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
7879         (DoubleBufferImpl): Revised.
7880         (slice): New implementation.
7881         (duplicate): New implementation.
7882         (compact): New implementation.
7883         (asReadOnlyBuffer): New implementation.
7884         (get): Documentation revised.
7885         (order): Return native byte order.
7886         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
7887         (FloatBufferImpl): Revised.
7888         (slice): New implementation.
7889         (duplicate): New implementation.
7890         (compact): New implementation.
7891         (asReadOnlyBuffer): New implementation.
7892         (get): Documentation revised.
7893         (order): Return native byte order.
7894         * gnu/java/nio/IntBufferImpl.java: Reformatted.
7895         (IntBufferImpl): Revised.
7896         (slice): New implementation.
7897         (duplicate): New implementation.
7898         (compact): New implementation.
7899         (asReadOnlyBuffer): New implementation.
7900         (get): Documentation revised.
7901         (order): Return native byte order.
7902         * gnu/java/nio/LongBufferImpl.java: Reformatted.
7903         (LongBufferImpl): Revised.
7904         (slice): New implementation.
7905         (duplicate): New implementation.
7906         (compact): New implementation.
7907         (asReadOnlyBuffer): New implementation.
7908         (get): Documentation revised.
7909         (order): Return native byte order.
7910         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
7911         (ShortBufferImpl): Revised.
7912         (slice): New implementation.
7913         (duplicate): New implementation.
7914         (compact): New implementation.
7915         (asReadOnlyBuffer): New implementation.
7916         (get): Documentation revised.
7917         (order): Return native byte order.
7918         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
7919         (CharBuffer): Revised.
7920         (order): Removed.
7921         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
7922         (DoubleBuffer): Revised.
7923         (allocateDirect): Removed.
7924         (order): Removed.
7925         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
7926         (FloatBuffer): Revised.
7927         (allocateDirect): Removed.
7928         (order): Removed.
7929         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
7930         (IntBuffer): Revised.
7931         (allocateDirect): Removed.
7932         (order): Removed.
7933         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
7934         (LongBuffer): Revised.
7935         (allocateDirect): Removed.
7936         (order): Removed.
7937         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
7938         (ShortBuffer): Revised.
7939         (allocateDirect): Removed.
7940         (order): Removed.
7941         * gnu/java/nio/natByteBufferImpl.cc: Removed.
7942         * gnu/java/nio/natCharBufferImpl.cc: Removed.
7943         * Makefile.am
7944         (ordinary_java_source_files): Added the following files:
7945         gnu/java/nio/CharViewBufferImpl.java,
7946         gnu/java/nio/DoubleViewBufferImpl.java,
7947         gnu/java/nio/FloatViewBufferImpl.java,
7948         gnu/java/nio/IntViewBufferImpl.java,
7949         gnu/java/nio/LongViewBufferImpl.java,
7950         gnu/java/nio/ShortViewBufferImpl.java
7951         (nat_source_files): Removed the following files:
7952         gnu/java/nio/natByteBufferImpl.cc,
7953         gnu/java/nio/natCharBufferImpl.cc
7954         * Makefile.in: Regenerated.
7956 2003-05-12  Michael Koch  <konqueror@gmx.de>
7958         * gnu/java/nio/CharViewBufferImpl.java,
7959         gnu/java/nio/DirectByteBufferImpl.java,
7960         gnu/java/nio/DoubleViewBufferImpl.java,
7961         gnu/java/nio/FloatViewBufferImpl.java,
7962         gnu/java/nio/IntViewBufferImpl.java,
7963         gnu/java/nio/LongViewBufferImpl.java,
7964         gnu/java/nio/ShortViewBufferImpl.java,
7965         gnu/java/nio/natDirectByteBufferImpl.cc:
7966         New files, not yet to be compiled.
7968 2003-05-10  Michael Koch  <konqueror@gmx.de>
7970         * javax/swing/plaf/ButtonUI.java,
7971         javax/swing/plaf/ColorUIResource.java,
7972         javax/swing/plaf/ComponentUI.java,
7973         javax/swing/plaf/DimensionUIResource.java,
7974         javax/swing/plaf/FontUIResource.java,
7975         javax/swing/plaf/IconUIResource.java,
7976         javax/swing/plaf/InsetsUIResource.java,
7977         javax/swing/plaf/LabelUI.java,
7978         javax/swing/plaf/ListUI.java,
7979         javax/swing/plaf/OptionPaneUI.java,
7980         javax/swing/plaf/PanelUI.java,
7981         javax/swing/plaf/TabbedPaneUI.java,
7982         javax/swing/plaf/TextUI.java,
7983         javax/swing/plaf/TreeUI.java,
7984         javax/swing/plaf/ViewportUI.java,
7985         javax/swing/plaf/basic/BasicBorders.java,
7986         javax/swing/plaf/basic/BasicButtonUI.java,
7987         javax/swing/plaf/basic/BasicCheckBoxUI.java,
7988         javax/swing/plaf/basic/BasicDefaults.java,
7989         javax/swing/plaf/basic/BasicGraphicsUtils.java,
7990         javax/swing/plaf/basic/BasicIconFactory.java,
7991         javax/swing/plaf/basic/BasicLabelUI.java,
7992         javax/swing/plaf/basic/BasicListUI.java,
7993         javax/swing/plaf/basic/BasicOptionPaneUI.java,
7994         javax/swing/plaf/basic/BasicPanelUI.java,
7995         javax/swing/plaf/basic/BasicRadioButtonUI.java,
7996         javax/swing/plaf/basic/BasicScrollPaneUI.java,
7997         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7998         javax/swing/plaf/basic/BasicTextUI.java,
7999         javax/swing/plaf/basic/BasicToggleButtonUI.java,
8000         javax/swing/plaf/basic/BasicTreeUI.java,
8001         javax/swing/plaf/basic/BasicViewportUI.java,
8002         javax/swing/plaf/metal/MetalLookAndFeel.java:
8003         New versions from classpath. This adds copyrights to all files and
8004         some serialVersionUIDs.
8006 2003-05-10  Michael Koch  <konqueror@gmx.de>
8008         * java/nio/CharBuffer.java
8009         (offset): Make it package-private.
8010         (backing_buffer): Likewise.
8011         * java/nio/DoubleBuffer.java
8012         (offset): Make it package-private.
8013         (backing_buffer): Likewise.
8014         (put): Reformatted.
8015         * java/nio/FloatBuffer.java
8016         (offset): Make it package-private.
8017         (backing_buffer): Likewise.
8018         * java/nio/IntBuffer.java
8019         (offset): Make it package-private.
8020         (backing_buffer): Likewise.
8021         * java/nio/LongBuffer.java
8022         (offset): Make it package-private.
8023         (backing_buffer): Likewise.
8024         * java/nio/ShortBuffer.java
8025         (offset): Make it package-private.
8026         (backing_buffer): Likewise.
8028 2003-05-10  Michael Koch  <konqueror@gmx.de>
8030         * java/nio/CharBuffer.java
8031         (put): Fixed precondtion check.
8032         (toString): Make it work without backing array.
8033         (put): Skip one level of method calling.
8035 2003-05-10  Michael Koch  <konqueror@gmx.de>
8037         * java/security/Identity.java,
8038         java/security/IdentityScope.java,
8039         java/security/Key.java,
8040         java/security/KeyPair.java,
8041         java/security/PrivateKey.java,
8042         java/security/Provider.java,
8043         java/security/PublicKey.java,
8044         java/security/SecureRandom.java,
8045         java/security/SecureRandomSpi.java,
8046         java/security/SignedObject.java,
8047         java/security/Signer.java,
8048         java/security/cert/Certificate.java,
8049         java/security/cert/PKIXCertPathBuilderResult.java,
8050         java/security/cert/X509Certificate.java:
8051         New versions from classpath.
8053 2003-05-09  Tom Tromey  <tromey@redhat.com>
8055         * Makefile.in: Rebuilt.
8056         * Makefile.am (nat_source_files): Removed old files.
8057         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
8058         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
8059         * gnu/java/nio/natIntBufferImpl.cc: Removed.
8060         * gnu/java/nio/natLongBufferImpl.cc: Removed.
8061         * gnu/java/nio/natShortBufferImpl.cc: Removed.
8063 2003-05-09  Michael Koch  <konqueror@gmx.de>
8065         * gnu/java/nio/ByteBufferImpl.java
8066         (nio_cast): Removed.
8067         (ByteBufferImpl): Removed.
8068         (nio_get_Byte): Removed.
8069         (nio_put_Byte): Removed.
8070         (asByteBuffer): Removed.
8071         (asCharBuffer): Removed implementation and throw exception.
8072         (asShortBuffer): Likewise.
8073         (asIntBuffer): Likewise.
8074         (asLongBuffer): Likewise.
8075         (asFloatBuffer): Likewise.
8076         (asDoubleBuffer): Likewise.
8077         * gnu/java/nio/CharBufferImpl.java
8078         (CharBufferImpl): Removed.
8079         (nio_get_Byte): Removed.
8080         (nio_put_Byte): Removed.
8081         (asByteBuffer): Removed.
8082         * gnu/java/nio/DoubleBufferImpl.java
8083         (DoubleBufferImpl): Removed.
8084         (nio_get_Byte): Removed.
8085         (nio_put_Byte): Removed.
8086         (asByteBuffer): Removed.
8087         * gnu/java/nio/FloatBufferImpl.java
8088         (FloatBufferImpl): Removed.
8089         (nio_get_Byte): Removed.
8090         (nio_put_Byte): Removed.
8091         (asByteBuffer): Removed.
8092         * gnu/java/nio/IntBufferImpl.java
8093         (IntBufferImpl): Removed.
8094         (nio_get_Byte): Removed.
8095         (nio_put_Byte): Removed.
8096         (asByteBuffer): Removed.
8097         * gnu/java/nio/LongBufferImpl.java
8098         (LongBufferImpl): Removed.
8099         (nio_get_Byte): Removed.
8100         (nio_put_Byte): Removed.
8101         (asByteBuffer): Removed.
8102         * gnu/java/nio/ShortBufferImpl.java
8103         (ShortBufferImpl): Removed.
8104         (nio_get_Byte): Removed.
8105         (nio_put_Byte): Removed.
8106         (asByteBuffer): Removed.
8107         * gnu/java/nio/natByteBufferImpl.cc
8108         (nio_cast): Removed.
8109         (nio_get_Byte): Removed.
8110         (nio_put_Byte): Removed.
8111         * gnu/java/nio/natCharBufferImpl.cc
8112         (nio_get_Byte): Removed.
8113         (nio_put_Byte): Removed.
8115 2003-05-09  Michael Koch  <konqueror@gmx.de>
8117         * java/net/JarURLConnection.java
8118         (getJarEntry): Merged documentation from classpath.
8119         (getJarFile): Likewise.
8120         (getMainAttributes): Likewise.
8121         (getAttributes): Likewise.
8122         (getManifest): Likewise.
8123         (getCertificates): Reformatted.
8124         * java/net/URLConnection.java:
8125         Little classpath merge.
8127 2003-05-09  Michael Koch  <konqueror@gmx.de>
8129         * java/io/DataOutputStream.java
8130         (writeShort): Made it synchronized.
8131         (writeChar): Likewise.
8132         (writeInt): Likewise.
8133         (writeLong): Liekwise.
8134         (writeUTF): Made it synchronized, renamed argument to match classpath.
8135         * java/io/InputStreamReader.java
8136         (converter): Added documentation.
8137         (read): Merged documentation from classpath.
8138         * java/io/OutputStreamWriter.java
8139         (OutputStreamWriter): Merged documentation from classpath.
8140         (close): Reformatted.
8141         (getEncoding): Likewise.
8142         (flush): Likewise.
8143         (write): Merged documentation from classpath, reformatted.
8145 2003-05-08  Tom Tromey  <tromey@redhat.com>
8147         * configure.host <powerpc64*-*>: Set with_libffi_default and
8148         libgcj_interpreter to "yes".
8150 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
8152         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
8153         
8154 2003-05-06  Tom Tromey  <tromey@redhat.com>
8156         * verify.cc: Reverted previous patch.
8158 2003-05-06  Michael Koch  <konqueror@gmx.de>
8160         * java/io/DataOutputStream.java
8161         (write): Renamed argument to "value", merged documentation from
8162         classpath.
8163         (writeBoolean): Likewise.
8164         (writeByte): Likewise.
8165         (writeShort): Likewise.
8166         (writeChar): Likewise.
8167         (writeInt): Likewise.
8168         (writeLong): Likewise.
8169         (writeFloat): Likewise.
8170         (writeDouble): Likewise.
8171         (writeBytes): Likewise.
8172         (writeChars): Likewise.
8173         (writeUTF): Likewise.
8174         * java/io/File.java
8175         (performDelete): Added documentation.
8176         (performList): Likewise.
8177         (performMkdir): Likewise.
8178         (performSetReadOnly): Likewise.
8179         (performRenameTo): Likewise.
8180         (performSetLastModified): Likewise.
8181         (delete): Made it sychronized.
8182         (renameTo): Made it sychronized.
8183         (equals): Reformatted.
8184         (isHidden): Likewise.
8185         (listFiles): Likewise.
8186         (setReadOnly): Likewise.
8187         (listRoots): Likewise.
8188         (setLastModified): Likewise.
8189         (checkRead): Likewise.
8190         (checkWrite): Likewise.
8191         * java/io/FileInputStream.java
8192         (skip): Made it sychronized, merged from classpath.
8193         * java/io/FileOutputStream.java
8194         (write): Merged from classpath.
8195         * java/io/InputStreamReader.java:
8196         (InputStreamReader): Merged documentation from classpath.
8198 2003-05-05  Michael Koch  <konqueror@gmx.de>
8200         * java/net/NetworkInterface.java
8201         (networkInterfaces): Removed.
8202         (getByName): Use getRealNetworkInterfaces() instead of
8203         networkInterfaces.
8204         (getByInetAddress): Likewise.
8205         (getNetworkInterfaces): Likewise.
8206         (toString): Fix output of addresses of an interface.
8208 2003-05-05  Michael Koch  <konqueror@gmx.de>
8210         * java/io/DataInputStream.java:
8211         Merged new documentation from classpath.
8213 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
8215         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
8216         "version".
8217         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
8218         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
8219         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
8220         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
8221         * gnu/awt/gtk/GtkMainThread.java: Likewise.
8222         * gnu/awt/gtk/GtkToolkit.java: Likewise.
8223         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
8224         * java/security/Key.java: Likewise.
8225         * java/security/PrivateKey.java: Likewise.
8226         * java/security/Provider.java: Likewise.
8227         * java/security/PublicKey.java: Likewise.
8229 2003-05-02  Michael Koch  <konqueror@gmx.de>
8231         * java/net/URI.java
8232         (create): Doesnt throws any exceptions.
8233         * java/net/URLConnection.java
8234         (URLConnection): Commend added.
8235         (getExpiration): The header field is called "expires" not
8236         "expiration".
8237         (getHeaderField): Merged documentation with classpath.
8238         (getHeaderFieldInt): Likewise.
8239         (getHeaderFieldDate): Likewise.
8240         (getHeaderFieldKey): Likewise.
8241         (getPermission): Likewise.
8242         (setDefaultUseCaches): Likewise.
8243         (setRequestProperty): Likewise.
8244         (addRequestProperty): Likewise.
8245         (getRequestProperty): Likewise.
8246         (getRequestProperties): Likewise.
8247         (setDefaultRequestProperty): Likewise.
8248         (getDefaultRequestProperty): Likewise.
8249         (guessContentTypeFromStream): Likewise.
8250         (getFileNameMap): Likewise.
8251         (setFileNameMap): Likewise.
8252         (setDoInput): Merged implementation and documentation with classpath.
8253         (setDoOutput): Likewise.
8254         (setAllowUserInteraction): Likewise.
8255         (setDefaultAllowUserInteraction): Likewise.
8256         (setContentHandlerFactory): Made it synchronized, merged documentation
8257         with classpath.
8258         (guessContentTypeFromName): Renamed argument fname to filename to
8259         match classpath, merged documentation with classpath.
8261 2003-05-02  Michael Koch  <konqueror@gmx.de>
8263         * java/net/JarURLConnection.java
8264         (JarURLConnection): Class documentation merged with classpath.
8265         (getJarFileURL): Moved and documentation merged with classpath.
8266         (getEntryName): Likewise.
8267         (JarURLConnection): Documentation merged with classpath.
8268         (getJarEntry): Likewise.
8269         (getJarFile): Likewise.
8270         * java/net/PlainDatagramSocketImpl.java:
8271         Class documentation moved.
8272         * java/net/URLConnection.java
8273         (fileNameMap): Moved and documentation merged with classpath.
8274         (factory): Likewise.
8275         (defaultAllowUserInteraction): Likewis.
8276         (defaultUseCaches): Likewise.
8277         (allowUserInteraction): Likewise.
8278         (connected): Likewise.
8279         (url): Likewise.
8280         (connect): Documentation merged with classpath.
8281         (getURL): Likewise.
8282         (getContentLength): Likewise.
8283         (getContentType): Likewise.
8284         (getContentEncoding): Likewise.
8285         (getExpiration): Likewise.
8286         (getDate): Likewise.
8287         (getLastModified): Likewise.
8288         (getHeaderField): Likewise.
8289         (getContent): Likewise.
8290         (getPermission): Likewise.
8291         (getInputStream): Likewise.
8292         (getOutputStream): Likewise.
8293         (toString): Likewise.
8294         (getDoInput): Likewise.
8295         (getDoOutput): Likewise.
8296         (setAllowUserInteraction): Likewise.
8297         (getAllowUserInteraction): Likewise.
8298         (setDefaultAllowUserInteraction): Likewise.
8299         (getDefaultAllowUserInteraction): Likewise.
8300         (setUseCaches): Likewise.
8301         (getUseCaches): Likewise.
8302         (setIfModifiedSince): Likewise.
8303         (getIfModifiedSince): Likewise.
8304         (setDefaultRequestProperty): Likewise.
8305         (getDefaultRequestProperty): Likewise.
8306         (setContentHandlerFactory): Likewise.
8307         (setFileNameMap): Likewise.
8309 2003-05-02  Michael Koch  <konqueror@gmx.de>
8311         * java/net/InetAddress.java:
8312         Merged class documentation with classpath.
8313         * java/net/JarURLConnection.java:
8314         Explicitely import all used classes.
8315         * java/net/URL.java:
8316         Reformatting.
8317         * java/net/ServerSocket.java,
8318         java/net/Socket.java:
8319         New versions from classpath.
8321 2003-05-02  Michael Koch  <konqueror@gmx.de>
8323         * gnu/java/nio/FileChannelImpl.java
8324         (read): New implementation.
8325         (implRead): New methods.
8326         (write): New implementation, call other write insteal of read method.
8327         (implWrite): New methods.
8328         (map): Added comment.
8329         (transferFrom): Implemented.
8330         (transferTo): Implemented.
8331         (lock): Added checks to throw exceptions.
8332         (truncate): Added check to throw exception.
8333         * gnu/java/nio/natFileChannelImpl.cc
8334         (implRead): New method.
8335         (implWrite): New method.
8336         * java/nio/ByteBuffer.java
8337         (hashCode): Fixed comment.
8338         (get): Fixed exception documentation.
8339         (put): Fixed exception documentation.
8340         * java/nio/CharBuffer.java:
8341         Added comment for later optimizations.
8343 2003-04-30  Tom Tromey  <tromey@redhat.com>
8345         PR libgcj/10582:
8346         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
8347         Removed.
8348         (type::compatible): Use _Jv_IsAssignableFrom.
8349         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
8350         (_Jv_IsAssignableFrom): Work even when source or target class is
8351         not prepared.
8353 2003-04-30  Michael Koch  <konqueror@gmx.de>
8355         * java/text/BreakIterator.java
8356         (clone): New method.
8358 2003-04-30  Michael Koch  <konqueror@gmx.de>
8360         * java/text/CollationElementIterator.java,
8361         java/text/CollationKey.java,
8362         java/text/RuleBasedCollator.java:
8363         Merged copyright and documentation from classpath and
8364         rearranged some code. No code changes done.
8366 2003-04-30  Michael Koch  <konqueror@gmx.de>
8368         * java/util/regex/Matcher.java
8369         (pattern): New member variable.
8370         (appendReplacement): New method.
8371         (appendTail): New method.
8372         (end): New method.
8373         (find): New method.
8374         (group): New method.
8375         (replaceFirst): Added documentation.
8376         (replaceAll): Added documentation.
8377         (groupCount): New method.
8378         (lookingAt): New method.
8379         (matches): New method.
8380         (reset): New method.
8381         (start): New method.
8382         * java/util/regex/Pattern.java
8383         (serialVersionUID): New constant.
8384         (CANON_EQ): New constant.
8385         (CASE_INSENSITIVE): New constant.
8386         (COMMENTS): New constant.
8387         (DOTALL): New constant.
8388         (MULTILINE): New constant.
8389         (UNICODE_CASE): New constant.
8390         (UNIX_LINES): New constant.
8391         (regex): New member variable.
8392         (flags): New member variable.
8393         (Pattern): New method.
8394         (compile): Documentation added.
8395         (flags): New method.
8396         (matches): Documentation added.
8397         (matcher): Documentation added.
8398         (split): Documentation added.
8399         (pattern): New method.
8401 2003-04-30  Michael Koch  <konqueror@gmx.de>
8403         * gnu/java/security/Engine.java,
8404         gnu/java/security/OID.java,
8405         gnu/java/security/der/BitString.java,
8406         gnu/java/security/der/DER.java,
8407         gnu/java/security/der/DERReader.java,
8408         gnu/java/security/der/DERValue.java,
8409         gnu/java/security/der/DERWriter.java,
8410         gnu/java/security/provider/DSAKeyFactory.java,
8411         gnu/java/security/provider/X509CertificateFactory.java,
8412         gnu/java/security/x509/X500DistinguishedName.java,
8413         gnu/java/security/x509/X509CRL.java,
8414         gnu/java/security/x509/X509CRLEntry.java,
8415         gnu/java/security/x509/X509Certificate.java,
8416         java/security/cert/CRLSelector.java,
8417         java/security/cert/CertPathBuilder.java,
8418         java/security/cert/CertPathBuilderResult.java,
8419         java/security/cert/CertPathBuilderSpi.java,
8420         java/security/cert/CertPathParameters.java,
8421         java/security/cert/CertPathValidator.java,
8422         java/security/cert/CertPathValidatorResult.java,
8423         java/security/cert/CertPathValidatorSpi.java,
8424         java/security/cert/CertSelector.java,
8425         java/security/cert/CertStore.java,
8426         java/security/cert/CertStoreParameters.java,
8427         java/security/cert/CertStoreSpi.java,
8428         java/security/cert/CollectionCertStoreParameters.java,
8429         java/security/cert/LDAPCertStoreParameters.java,
8430         java/security/cert/PKIXBuilderParameters.java,
8431         java/security/cert/PKIXCertPathBuilderResult.java,
8432         java/security/cert/PKIXCertPathChecker.java,
8433         java/security/cert/PKIXCertPathValidatorResult.java,
8434         java/security/cert/PKIXParameters.java,
8435         java/security/cert/PolicyNode.java,
8436         java/security/cert/PolicyQualifierInfo.java,
8437         java/security/cert/TrustAnchor.java,
8438         javax/security/auth/x500/X500Principal.java:
8439         New files from classpath.
8440         * gnu/java/io/ASN1ParsingException.java,
8441         gnu/java/io/Base64InputStream.java,
8442         gnu/java/security/der/DEREncodingException.java,
8443         gnu/java/security/provider/DSAParameters.java,
8444         gnu/java/security/provider/DSASignature.java,
8445         gnu/java/security/provider/Gnu.java,
8446         gnu/java/security/provider/GnuDSAPrivateKey.java,
8447         gnu/java/security/provider/GnuDSAPublicKey.java,
8448         java/security/AlgorithmParameterGenerator.java,
8449         java/security/AlgorithmParameters.java,
8450         java/security/KeyFactory.java,
8451         java/security/KeyPairGenerator.java,
8452         java/security/KeyStore.java,
8453         java/security/MessageDigest.java,
8454         java/security/SecureClassLoader.java,
8455         java/security/SecureRandom.java,
8456         java/security/Security.java,
8457         java/security/Signature.java,
8458         java/security/cert/Certificate.java,
8459         java/security/cert/CertificateFactory.java,
8460         java/security/cert/CertificateFactorySpi.java,
8461         java/security/cert/X509CRL.java,
8462         java/security/cert/X509Certificate.java,
8463         java/security/spec/DSAPublicKeySpec.java:
8464         New versions from classpath.
8465         * gnu/java/security/provider/DERReader.java,
8466         gnu/java/security/provider/DERWriter.java,
8467         java/security/Engine.java: Removed.
8468         * Makefile.am
8469         (java_source_files, javax_source_files): Added new files.
8470         * Makefile.in: Regenerated.
8472 2003-04-29  Michael Koch  <konqueror@gmx.de>
8474         * javax/swing/JTable.java
8475         (AUTO_RESIZE_ALL_COLUMNS): New constant.
8476         (AUTO_RESIZE_LAST_COLUMN): New constant.
8477         (AUTO_RESIZE_NEXT_COLUMN): New constant.
8478         (AUTO_RESIZE_OFF): New constant.
8479         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
8480         (JTable): New method.
8481         (columnAdded): New method.
8482         (columnMarginChanged): New method.
8483         (columnMoved): New method.
8484         (columnRemoved): New method.
8485         (columnSelectionChanged): New method.
8486         (editingCanceled): New method.
8487         (editingStopped): New method.
8488         (getColumnModel): New method.
8489         (getPreferredScrollableViewportSize): New method.
8490         (getScrollableBlockIncrement): New method.
8491         (getScrollableTracksViewportHeight): New method.
8492         (getScrollableTracksViewportWidth): New method.
8493         (getScrollableUnitIncrement): New method.
8494         (getSelectedRow): New method.
8495         (getSelectionModel): New method.
8496         (tableChanged): New method.
8497         (setModel): New method.
8498         (setSelectionMode): New method.
8499         (setSelectionModel): New method.
8500         (setShowGrid): New method.
8501         (valueChanged): New method.
8502         * javax/swing/text/DefaultEditorKit.java
8503         (backwardAction): New constant.
8504         (beepAction): New constant.
8505         (beginAction): New constant.
8506         (beginLineAction): New constant.
8507         (beginParagraphAction): New constant.
8508         (beginWordAction): New constant.
8509         (copyAction): New constant.
8510         (cutAction): New constant.
8511         (defaultKeyTypedAction): New constant.
8512         (deleteNextCharAction): New constant.
8513         (deletePrevCharAction): New constant.
8514         (downAction): New constant.
8515         (endAction): New constant.
8516         (endLineAction): New constant.
8517         (endOfLineStringProperty): New constant.
8518         (endParagraphAction): New constant.
8519         (endWordAction): New constant.
8520         (forwardAction): New constant.
8521         (insertBreakAction): New constant.
8522         (insertContentAction): New constant.
8523         (insertTabAction): New constant.
8524         (nextWordAction): New constant.
8525         (pageDownAction): New constant.
8526         (pageUpAction): New constant.
8527         (pasteAction): New constant.
8528         (previousWordAction): New constant.
8529         (readOnlyAction): New constant.
8530         (selectAllAction): New constant.
8531         (selectionBackwardAction): New constant.
8532         (selectionBeginAction): New constant.
8533         (selectionBeginLineAction): New constant.
8534         (selectionBeginParagraphAction): New constant.
8535         (selectionBeginWordAction): New constant.
8536         (selectionDownAction): New constant.
8537         (selectionEndAction): New constant.
8538         (selectionEndLineAction): New constant.
8539         (selectionEndParagraphAction): New constant.
8540         (selectionEndWordAction): New constant.
8541         (selectionForwardAction): New constant.
8542         (selectionNextWordAction): New constant.
8543         (selectionPreviousWordAction): New constant.
8544         (selectionUpAction): New constant.
8545         (selectLineAction): New constant.
8546         (selectParagraphAction): New constant.
8547         (selectWordAction): New constant.
8548         (upAction): New constant.
8549         (writableAction): New constant.
8551 2003-04-29  Michael Koch  <konqueror@gmx.de>
8553         * java/util/PropertyPermission.java:
8554         New version from classpath
8555         * java/util/ResourceBundle.java:
8556         Partly merged from classpath
8557         (getObject): Reformated.
8558         (tryBundle): Set foundBundle = null if no bundle found.
8560 2003-04-29  Michael Koch  <konqueror@gmx.de>
8562         * javax/swing/AbstractListModel.java,
8563         javax/swing/DefaultBoundedRangeModel.java,
8564         javax/swing/DefaultSingleSelectionModel.java:
8565         New Versions from classpath.
8567 2003-04-29  Michael Koch  <konqueror@gmx.de>
8569         * java/awt/Window.java
8570         (show): Call super.show() instead of setVisible() to avoid endless
8571         loop.
8572         (hide): Call super.hide() instead of setVisible() to avoid endless
8573         loop.
8575 2003-04-29  Michael Koch  <konqueror@gmx.de>
8577         * java/util/zip/Deflater.java,
8578         java/util/zip/DeflaterOutputStream.java:
8579         Partly merged with classpath.
8581 2003-04-27  Tom Tromey  <tromey@redhat.com>
8583         * java/lang/natString.cc (_Jv_AllocString): Initialize
8584         cachedHashCode.
8585         (init): Likewise.
8586         (_Jv_NewStringUtf8Const): Likewise.
8588 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
8590         * include/jvm.h: (_Jv_GetNbArgs) added
8591         (_Jv_GetSafeArg) added
8592         (_Jv_SetArgs) added
8593         * prims.cc: (_Jv_GetNbArgs) implemented
8594         (_Jv_GetSafeArg) implemented
8595         (_Jv_SetArgs) implemented
8596         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
8597         setting _Jv_argc and _Jv_argv
8598         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
8599         instead of _Jv_argv
8600         * java/lang/natRuntime.cc: (insertSystemProperties) use
8601         _Jv_GetSafeArg() instead of _Jv_argv
8603 2003-04-23  Tom Tromey  <tromey@redhat.com>
8605         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
8606         required by this object.  Search superclasses to find required
8607         alignment.
8608         (get_alignment_from_class): Use alignment of type as it appears
8609         in a struct.
8610         (ALIGNOF): New macro.
8611         (struct aligner): New helper structure.
8613 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
8615         * java/awt/Container.java (addImpl): Enable paint events if adding
8616         a lightweight to a heavyweight.
8617         (addNotify): Ensure that peer is created before
8618         addNotifyContainerChildren.
8619         (addNotifyContainerChildren): Enable paint events if a heavyweight
8620         container contains a lightweight.
8622 2003-04-20  Tom Tromey  <tromey@redhat.com>
8624         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
8625         java/io/DataInput.java, java/io/DataOutput.java: Imports from
8626         Classpath.
8628 2003-04-19  Tom Tromey  <tromey@redhat.com>
8630         * java/sql/Date.java, java/sql/DriverManager.java,
8631         java/sql/Time.java, java/sql/Timestamp.java: New versions from
8632         Classpath.
8634         * Makefile.in: Rebuilt.
8635         * Makefile.am (ordinary_java_source_files): Added new files.
8636         * java/security/AlgorithmParameterGenerator.java,
8637         java/security/AlgorithmParameters.java, java/security/Engine.java,
8638         java/security/Identity.java, java/security/IdentityScope.java,
8639         java/security/KeyFactory.java,
8640         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
8641         java/security/MessageDigest.java, java/security/Policy.java,
8642         java/security/ProtectionDomain.java,
8643         java/security/SecureRandom.java, java/security/Security.java,
8644         java/security/Signature.java, java/security/SignatureSpi.java,
8645         java/security/SignedObject.java, java/security/Signer.java,
8646         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
8647         java/security/spec/PSSParameterSpec.java,
8648         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
8649         java/security/spec/RSAOtherPrimeInfo.java: New versions from
8650         Classpath.
8652 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
8654         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
8655         (dispose): Null metrics.
8656         * gnu/awt/xlib/XToolkit.java (sync): Implement.
8657         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
8658         finalize.
8659         (finalize): Call dispose.
8660         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
8661         (gcCachedCount): New field.
8662         (finalize): New method.
8663         (putGCInCache): New method.
8664         (getGCFromCache): New method.
8665         * gnu/gcj/xlib/GC.java (GC): Make protected.
8666         (clone): Get new GC from cache if possible.
8667         (create): New static method.
8668         (dispose): Save old GC in cache.
8669         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
8670         deleting.
8671         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
8672         is null.
8673         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
8674         * java/awt/Container.java (visitChild): Dispose gfx2 when
8675         finished.
8677 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
8679         * java/math/BigInteger.java (probablePrime): New.
8680         * java/math/BigDecimal.java (unscaledValue): New.
8682 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
8684         * java/io/File.java (getAbsolutePath): On Windows, take care
8685         of paths like "C:", "G:foo\bar", etc.
8686         (getName): Make it work correctly on Windows.
8687         (getParent): Make it work correctly on Windows. For UNIX,
8688         fix bug that causes "/" to be returned as the parent of "/",
8689         instead of null as returned by Sun's JRE.
8691         * java/io/natFileWin32.cc: Change copyright owner to FSF.
8693 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
8695         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
8696         inner class.
8697         (CACHE_SIZE_PER_DISPLAY): New field
8698         (fontMetricsCache): New field
8699         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
8700         loading ISO10646-1 fonts.
8702 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
8704         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
8705         characters.
8706         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
8707         characters.
8709 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
8711         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
8712         floating point.
8714 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
8716         * configure.host (*-linux*): Don't set slow_pthread_self if primary
8717         installed libpthread is either linuxthreads with floating stacks or
8718         NPTL.
8720 2003-04-14  Tom Tromey  <tromey@redhat.com>
8722         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
8723         of alignment.
8725 2003-04-10  Tom Tromey  <tromey@redhat.com>
8727         * verify.cc (pop64): Removed.
8728         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
8729         exception if top-of-stack is narrow.
8730         (initialize_stack): Check to ensure that <init> is not static and
8731         <clinit> is.
8733 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
8735         * java/io/ObjectStreamException
8736         * java/io/FileFilter
8737         * java/io/FilenameFilter
8738         * java/io/ObjectInput
8739         * java/io/ObjectOutput
8740         * java/io/ObjectStreamConstants
8741         Minor doc fixes, format fixes, spelling corrections, etc.
8742         * java/io/DataInput
8743         Corrected code samples in Javadocs to match reality
8744         * java/io/DataOutput
8745         * java/io/ObjectInputValidation
8746         Major documentation fixes - all Javadocs re-written or updated
8748 2003-04-06  Michael Koch  <konqueror@gmx.de>
8750         * java/net/URLConnection.java:
8751         Import classes directly.
8752         (URLConnection): Merged class documentation with classpath.
8753         (url): Moved, documentation from classpath added.
8754         (doInput): Moved, documentation from classpath added.
8755         (doOutput): Moved, documentation from classpath added.
8756         (allowUserInteraction): Moved.
8757         (useCaches): Moved, documentation from classpath added.
8758         (ifModifiedSince): Moved, documentation from classpath added.
8759         (connected): Moved, documentation from classpath added.
8761 2003-04-06  Michael Koch  <konqueror@gmx.de>
8763         * java/io/FileInputStream.java
8764         (skip): Renamed some variables to match classpath, added
8765         checks from classpath.
8767 2003-03-31  Michael Koch  <konqueror@gmx.de>
8769         * javax/swing/AbstractAction.java
8770         (AbstractAction): Reformatted.
8771         (serialVersionUID): New private member variable.
8772         * javax/swing/plaf/BorderUIResource.java
8773         (serialVersionUID): New private member variable.
8774         * javax/swing/plaf/basic/BasicLookAndFeel.java
8775         (serialVersionUID): New private member variable.
8777 2003-03-31  Michael Koch  <konqueror@gmx.de>
8779         * java/sql/Date.java
8780         (valueOf): Deprecated, reformatted.
8781         (toString): Deprecated, reformatted.
8782         * java/sql/Time.java
8783         (valueOf): Deprecated, reformatted.
8784         (toString): Deprecated, reformatted.
8786 2003-03-31  Michael Koch  <konqueror@gmx.de>
8788         * java/rmi/dgc/VMID.java
8789         (isUnique): Deprecated.
8791 2003-03-31  Michael Koch  <konqueror@gmx.de>
8793         * java/io/File.java
8794         (separator): Merged documentation from classpath.
8795         (separatorChar): Merged documentation from classpath.
8796         (pathSeparator): Merged documentation from classpath.
8797         (pathSeparatorChar): Merged documentation from classpath.
8798         (path): Merged documentation from classpath.
8799         (canRead): Merged documentation from classpath.
8800         (canWrite): Merged documentation from classpath.
8801         (createNewFile): Merged documentation from classpath.
8802         (delete): Merged documentation from classpath.
8803         (equals): Merged documentation from classpath.
8804         (exists): Merged documentation from classpath.
8805         (File): Renamed p to name to match classpath, merged documentation
8806         from classpath.
8807         (getAbsolutePath): Merged documentation from classpath.
8808         (getCanonicalPath): Merged documentation from classpath.
8809         (getCanonicalFile): Merged documentation from classpath.
8810         (getName): Merged documentation from classpath.
8811         (getParent): Merged documentation from classpath.
8812         (getParentFile): Merged documentation from classpath.
8813         (getPath): Merged documentation from classpath.
8814         (hashCode): Merged documentation from classpath.
8815         (isAbsolute): Merged documentation from classpath.
8816         (isDirectory): Merged documentation from classpath.
8817         (isFile): Merged documentation from classpath.
8818         (isHidden): Merged documentation from classpath.
8819         (lastModified): Merged documentation from classpath.
8820         (length): Merged documentation from classpath.
8821         (list): Merged documentation from classpath.
8822         (listFiles): Merged documentation from classpath.
8823         (toString): Merged documentation from classpath.
8824         (toURL): Merged documentation from classpath.
8825         (mkdir): Merged documentation from classpath.
8826         (mkdirs): Merged documentation from classpath.
8827         (createTempFile): Merged documentation from classpath.
8828         (setReadOnly): Merged documentation from classpath.
8829         (listRoots): Merged documentation from classpath.
8830         (compareTo): Merged documentation from classpath.
8831         (renameTo): Merged documentation from classpath.
8832         (setLastModified): Merged documentation from classpath.
8833         * java/io/PrintStream.java
8834         (auto_flush): Merged documentation from classpath.
8835         (PrintStream): Merged documentation from classpath.
8836         (checkError): Merged documentation from classpath.
8837         (setError): Merged documentation from classpath.
8838         (close): Merged documentation from classpath.
8839         (flush): Merged documentation from classpath.
8840         (print): Merged documentation from classpath.
8841         (println):  Merged documentation from classpath.
8842         (write): Renamed count to len to match classpath,
8843         merged documentation from classpath.
8844         * java/io/RandomAccessFile.java
8845         (readShort): Merged documentation from classpath.
8846         (readUnsignedByte): Merged documentation from classpath.
8847         (readUnsignedShort): Merged documentation from classpath.
8848         (readUTF): Merged documentation from classpath.
8849         (seek): Reformatted, merged documentation from classpath.
8850         (skipBytes): Renamed some variables to match classpath, reformatted,
8851         merged documentation from classpath.
8852         (write): Merged documentation from classpath.
8853         (writeBoolean): Merged documentation from classpath.
8854         (writeByte): Merged documentation from classpath.
8855         (writeShort): Merged documentation from classpath.
8856         (writeChar): Merged documentation from classpath.
8857         (writeInt): Merged documentation from classpath.
8858         (writeLong): Merged documentation from classpath.
8859         (writeFloat): Merged documentation from classpath.
8860         (writeDouble): Merged documentation from classpath.
8861         (writeBytes): Merged documentation from classpath.
8862         (writeChars): Merged documentation from classpath.
8863         (writeUTF): Reformatted.
8864         (getChannel): Reformatted.
8866 2003-03-31  Michael Koch  <konqueror@gmx.de>
8868         * java/awt/font/TextAttribute.java
8869         (readResolve): Throws java.io.InvalidObjectException.
8871 2003-03-31  Michael Koch  <konqueror@gmx.de>
8873         * java/rmi/server/LoaderHandler.java
8874         (loadClass): Deprecated.
8875         (getSecurityContext): Deprecated.
8876         * java/rmi/server/LogStream.java
8877         (getDefaultStream): Deprecated.
8878         (setDefaultStream): Deprecated.
8879         (getOutputStream): Deprecated.
8880         (setOutputStream): Deprecated.
8881         (write): Deprecated.
8882         (toString): Deprecated.
8883         (parseLevel): Deprecated.
8884         * java/rmi/server/Operation.java
8885         (Operation): Deprecated.
8886         (getOperation): Deprecated.
8887         (toString): Deprecated.
8888         * java/rmi/server/RemoteCall.java
8889         (getOutputStream): Deprecated.
8890         (releaseOutputStream): Deprecated.
8891         (getInputStream): Deprecated.
8892         (releaseInputStream): Deprecated.
8893         (getResultStream): Deprecated.
8894         (executeCall): Deprecated.
8895         (done): Deprecated.
8896         * java/rmi/server/RemoteRef.java
8897         (invoke): Deprecated.
8898         (newCall): Deprecated.
8899         (done): Deprecated.
8900         * java/rmi/server/RemoteStub.java
8901         (setRef): Deprecated.
8902         * java/rmi/server/Skeleton.java:
8903         No need to import java.lang.Exception explicitly.
8904         (dispatch): Deprecated.
8905         (getOperations): Deprecated.
8907 2003-03-31  Michael Koch  <konqueror@gmx.de>
8909         * java/rmi/dgc/VMID.java,
8910         java/rmi/registry/RegistryHandler.java,
8911         java/rmi/server/LogStream.java,
8912         java/rmi/server/Operation.java,
8913         java/rmi/server/RemoteCall.java,
8914         java/rmi/server/RemoteRef.java,
8915         java/rmi/server/RemoteStub.java:
8916         Reformatted.
8918 2003-03-31  Michael Koch  <konqueror@gmx.de>
8920         * javax/swing/AbstractCellEditor.java,
8921         javax/swing/AbstractListModel.java,
8922         javax/swing/ActionMap.java,
8923         javax/swing/BorderFactory.java,
8924         javax/swing/ButtonGroup.java,
8925         javax/swing/DefaultBoundedRangeModel.java,
8926         javax/swing/DefaultButtonModel.java,
8927         javax/swing/DefaultCellEditor.java,
8928         javax/swing/DefaultComboBoxModel.java,
8929         javax/swing/DefaultDesktopManager.java,
8930         javax/swing/DefaultListCellRenderer.java,
8931         javax/swing/DefaultSingleSelectionModel.java,
8932         javax/swing/InputMap.java,
8933         javax/swing/JComponent.java,
8934         javax/swing/JMenu.java,
8935         javax/swing/JSlider.java,
8936         javax/swing/KeyStroke.java,
8937         javax/swing/OverlayLayout.java,
8938         javax/swing/ScrollPaneLayout.java,
8939         javax/swing/SizeRequirements.java,
8940         javax/swing/UIManager.java,
8941         javax/swing/ViewportLayout.java,
8942         javax/swing/border/AbstractBorder.java,
8943         javax/swing/colorchooser/DefaultColorSelectionModel.java,
8944         javax/swing/event/EventListenerList.java,
8945         javax/swing/table/AbstractTableModel.java,
8946         javax/swing/table/DefaultTableCellRenderer.java,
8947         javax/swing/table/DefaultTableColumnModel.java,
8948         javax/swing/table/DefaultTableModel.java,
8949         javax/swing/table/TableColumn.java,
8950         javax/swing/text/StyledEditorKit.java,
8951         javax/swing/tree/DefaultMutableTreeNode.java,
8952         javax/swing/tree/DefaultTreeModel.java,
8953         javax/swing/tree/DefaultTreeSelectionModel.java,
8954         javax/swing/tree/TreePath.java,
8955         javax/swing/undo/AbstractUndoableEdit.java,
8956         javax/swing/undo/StateEdit.java,
8957         javax/swing/undo/StateEditable.java,
8958         javax/swing/undo/UndoableEditSupport.java:
8959         Merges from classpath.
8961 2003-03-30  Tom Tromey  <tromey@redhat.com>
8963         * java/lang/String.java (data, boffset, count): Documented.
8964         (String(byte[],String)): Reformatted.
8965         (String(byte[])): Likewise.
8966         (lastIndexOf(int)): Likewise.
8967         (lastIndexOf(String)): Likewise.
8968         (substring(int)): Renamed argument to match Classpath.
8969         (String(StringBuffer)): Don't share buffer if it is nearly empty.
8971         * java/lang/String.java: Miscellaneous minor formatting changes
8972         to match Classpath more closely.
8974 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
8975             Tom Tromey  <tromey@redhat.com>
8977         * java/lang/natString.cc (hashCode): Use cachedHashCode.
8978         (init()): Removed.
8979         (charAt): Put index in exception.
8980         (contentEquals): New method.
8981         Include StringBuffer.h.
8982         * java/lang/String.java (cachedHashCode): New field.
8983         (String()): Follow classpath implementation.
8984         (init()): Removed.
8985         (contentEquals): Declare.
8986         (subSequence): Don't declare IndexOutIfBoundsException in throws
8987         clause.
8988         (matches, replaceFirst, replaceAll, split): New methods from
8989         Classpath.
8991 2003-03-29  Tom Tromey  <tromey@redhat.com>
8993         * java/lang/String.java: Reordered to follow Classpath; merged in
8994         javadoc.
8996         * java/text/MessageFormat.java: Removed some whitespace.
8998         * Makefile.in: Rebuilt.
8999         * Makefile.am (awt_java_source_files): Added new files.
9000         * gnu/javax/rmi/PortableServer.java,
9001         gnu/javax/rmi/CORBA/DelegateFactory.java,
9002         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
9003         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
9004         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
9005         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
9006         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
9007         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
9008         javax/rmi/PortableRemoteObject.java,
9009         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
9010         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
9011         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
9012         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
9013         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
9014         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
9016         * java/lang/natClass.cc (newInstance): Put method name in
9017         exception.
9018         (getConstructor): Likewise.
9019         (getDeclaredConstructor): Likewise.
9020         (getPrivateMethod): Likewise.
9022 2003-03-28  Tom Tromey  <tromey@redhat.com>
9024         * java/lang/reflect/Proxy.java: New version from Classpath.
9025         * java/lang/Package.java: New version from Classpath.
9027 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
9029         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
9030         * configure: Regenerate.
9032 2003-03-28  Michael Koch  <konqueror@gmx.de>
9034         * java/io/File.java:
9035         Import needed classes instead of whole packages, merged class
9036         documentation with classpath, moved constants and variables to top of
9037         class.
9038         * java/io/PrintStream.java:
9039         Merged class documentation with classpath, moved constants and
9040         variables to top of class.
9041         * java/io/RandomAccessFile.java
9042         (RandomAccessFile): Merged with classpath.
9043         (read): Merged with classpath).
9044         (read*): Reformatted.
9046 2003-03-28  Michael Koch  <konqueror@gmx.de>
9048         * java/io/FileDescriptor.java
9049         (finalize): Throws Throwable, not IOException.
9050         * java/io/ObjectOutputStream.java
9051         (PutField.put): Doesnt throws anything.
9053 2003­03-28  Michael Koch  <konqueror@gmx.de>
9055         * java/io/FileOutputStream.java:
9056         Merged class documentation and authors with classpath.
9057         (FileOutputStream): Partly merged with classpath.
9058         (write): Merged with classpath.
9059         (getChannel): Make it synchronized instead of explicit block in this
9060         method.
9061         * java/io/RandomAccessFile.java:
9062         Merged class documentation and authors with classpath.
9064 2003-03-26  Tom Tromey  <tromey@redhat.com>
9066         * java/lang/natRuntime.cc (insertSystemProperties): Set
9067         gnu.classpath.home.url.
9068         * Makefile.in: Rebuilt.
9069         * Makefile.am: Define LIBDIR.
9071 2003-03-25  Michael Koch  <konqueror@gmx.de>
9073         * java/io/FileInputStream.java
9074         (read): Renamed b to buf and off to offset.
9075         * java/io/FileOutputStream.java
9076         (ch): Documentation added.
9077         (FileOutputStream): Documentation added.
9078         (getFD): Documentation added.
9079         (write): Documentation added.
9080         (close): Documentation added.
9081         (getChannel): Documentation added.
9083 2003-03-24  Michael Koch  <konqueror@gmx.de>
9085         * java/io/DataOutputStream.java
9086         (write): Merged from classpath.
9087         * java/io/File.java:
9088         Merged copyrigth with classpath.
9089         * java/io/FileInputStream.java
9090         (getChannel): Made it synchronized instead of using a synchronized
9091         block.
9092         * java/io/FileOutputStream.java: Reformatted.
9093         * java/io/InputStreamReader.java
9094         (InputStreamReader): Renamed enc to encoding_name.
9095         (close): Merged documentation from classpath.
9096         (getEncoding): Merged documentation from classpath.
9097         (ready): Merged documentation from classpath.
9098         (read): Merged documentation from classpath.
9099         * java/io/LineNumberReader.java
9100         (lineNumber): Made it private.
9101         (LineNumberReader): Use Constant instead of a direct value.
9102         * java/io/OutputStreamWriter.java
9103         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
9104         documentation from classpath.
9105         (close): Merged documentation from classpath.
9106         (flush): Merged documentation from classpath.
9107         (write): Merged documentation from classpath.
9108         * java/io/PrintStream.java: Reformatted.
9110 2003-03-24  Michael Koch  <konqueror@gmx.de>
9112         * javax/swing/text/ComponentView.java
9113         (getComponent): Must be final.
9114         * javax/swing/tree/DefaultTreeCellRenderer.java:
9115         Reformatted.
9116         * javax/swing/undo/StateEditable.java:
9117         Reformatted.
9119 2003-03-24  Michael Koch  <konqueror@gmx.de>
9121         * java/rmi/activation/ActivationInstantiator.java:
9122         Reformatted.
9123         * java/rmi/activation/Activator.java:
9124         Reformatted.
9125         * java/rmi/registry/RegistryHandler.java:
9126         Remerged from classpath.
9128 2003-03-24  Michael Koch  <konqueror@gmx.de>
9130         * java/util/Date.java:
9131         Fixed documentation starting tag to make javadoc happy.
9132         * java/util/regex/Pattern.java
9133         (Pattern): Implements Serializable.
9134         * java/util/PatternSyntaxException.java
9135         (serialVersionUID): New member variable.
9137 2003-03-24  Michael Koch  <koqnueror@gmx.de>
9139         * java/awt/ContainerOrderFocusTraversalPolicy.java
9140         (getFirstComponent): Implemented.
9141         (getLastComponent): Implemented.
9142         (getDefaultComponent): Implemented.
9143         (setImplicitDownCycleTraversal): Fixed implementation.
9144         * java/awt/Robot.java
9145         (Robot): Added documentation.
9146         * java/awt/Toolkit.java
9147         (getFontList): Deprecated.
9148         (getFontMetrics): Deprecated.
9149         (getPrintJob): Added documentation.
9150         (getSystemSelection): Added documentation.
9151         (getLockingKeyState): Added documentation.
9152         (setLockingKeyState): Added documentation.
9153         (createCustomCursor): Added documentation.
9154         (getBestCursorSize): Added documentation.
9155         (getMaximumCursorColors): Added documentation.
9156         (isFrameStateSupported): Added documentation.
9158 2003-03-24  Michael Koch  <konqueror@gmx.de>
9160         * java/io/RandomAccessFile.java:
9161         More little merges with classpath. No code changes.
9163 2003-03-24  Michael Koch  <konqueror@gmx.de>
9165         * java/net/natInetAddressNoNet.cc:
9166         Include stddef.h.
9167         * java/net/natPlainDatagramSocketImplNoNet.cc:
9168         Fixed inlcude of java/net/DatagramPacket.h.
9169         * java/net/natPlainSocketImplNoNet.cc:
9170         Include some missing classes.
9172 2003-03-24  Michael Koch  <konqueror@gmx.de>
9174         * java/awt/dnd/DropTarget.java
9175         (DropTargetAutoScroller): According to the online documentation, this
9176         is protected, but in reality it is public.
9177         * java/awt/dnd/DropTargetContext.java
9178         (TransferableProxy): According to the online documentation, this
9179         is protected, but in reality it is public.
9181 2003-03-24  Michael Koch  <konqueror@gmx.de>
9183         * java/io/DataInputStream.java
9184         (): Wrapped documentation line.
9185         (): Fixed @return tag.
9186         * java/io/DataOutputStream.java
9187         (written): Moved to top of class.
9188         (all methods): Merged documentation from classpath.
9189         * java/io/File.java:
9190         Merged copyright year with classpath.
9191         * java/io/FileInputStream.java
9192         (all methods): Merged documentation from classpath.
9193         * java/io/LineNumberReader.java
9194         (getLineNumber): Fixed @return tag.
9195         * java/io/ObjectInputStream.java.
9196         Reformatted.
9197         * java/io/ObjectOutputStream.java:
9198         Reformatted, fixed some @see tags.
9199         * java/io/OutputStreamWriter.java:
9200         Deleted empty line.
9201         * java/io/Writer.java:
9202         Reformatted.
9204 2003-03-24  Michael Koch  <konqueror@gmx.de>
9206         * java/awt/Frame.java
9207         (DEFAULT_CURSOR): Fixed @deprecated tag.
9208         (setCursor): Fixed @deprecated tag.
9210 2003-03-24  Michael Koch  <konqueror@gmx.de>
9212         * java/beans/beancontext/BeanContextEvent.java:
9213         Reformated.
9215 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
9217         * java/lang/natStringBuffer.cc (regionMatches): New function.
9218         * java/lang/String.java (count): Now package-private.
9219         * java/lang/StringBuffer.java: Merged with Classpath.
9221 2003-03-23  Michael Koch  <konqueror@gmx.de>
9223         * java/io/BufferedOutputStream.java:
9224         Reformated.
9225         * java/io/BufferedReader.java:
9226         Reformated.
9227         * java/io/ByteArrayOutputStream.java
9228         (size): Fixed @see tag.
9229         * java/io/CharArrayWriter.java
9230         (size): Fixed @see tag.
9231         * java/io/DataInput.java:
9232         Reformated.
9233         * java/io/DataOutput.java:
9234         Reformated.
9235         * java/io/DataOutputStream.java:
9236         Merged copyright years with classpath.
9237         * java/io/Externalizable.java:
9238         Reformated.
9239         * java/io/FileFilter.java:
9240         Reformated.
9241         * java/io/FileInputStream.java:
9242         Merged copyright years with classpath.
9243         * java/io/FileOutputStream.java:
9244         Merged copyright years with classpath.
9245         * java/io/FilePermission.java
9246         (FilePermission): Replaced @XXX with FIXME:.
9247         * java/io/FileWriter.java:
9248         Reformated.
9249         * java/io/FilenameFilter.java:
9250         Reformated.
9251         * java/io/FilterInputStream.java:
9252         Reformated.
9253         * java/io/FilterOutputStream.java:
9254         Reformated.
9255         * java/io/FilterReader.java:
9256         Reformated.
9257         * java/io/FilterWriter.java:
9258         Reformated.
9259         * java/io/LineNumberInputStream.java
9260         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
9261         happy.
9262         (getLineNumber): Fixed @return tag.
9263         * java/io/ObjectInput.java:
9264         Reformated.
9265         * java/io/ObjectOutput.java:
9266         Reformated.
9267         * java/io/ObjectStreamClass.java:
9268         Reformated.
9269         * java/io/PrintStream.java:
9270         Merged copyright years with classpath.
9271         * java/io/PushbackReader.java
9272         (PushbackReader): Replaced @code with @param.
9273         * java/io/SerializablePermission.java:
9274         Reformated.
9275         * java/io/StreamTokenizer.java
9276         (resetSyntax): Fixed @see tag.
9278 2003-03-22  Richard Henderson  <rth@redhat.com>
9280         * sysdep/ia64/locks.h: Include ia64intrin.h.
9281         (compare_and_swap): Use __sync_bool_compare_and_swap.
9282         (compare_and_swap_release): Expose ar.ccv assignment.
9284 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
9286         * include/posix.h: Add suffix for darwin dynamic libraries.
9288 2003-03-21  Michael Koch  <konqueror@gmx.de>
9290         * javax/swing/Action.java
9291         (ACCELERATOR_KEY): New constant.
9292         (ACTION_COMMAND_KEY): Likewise.
9293         (MNEMONIC_KEY): Likewise.
9294         * javax/swing/UnsupportedLookAndFeelException.java
9295         (UnsupportedLookAndFeelException): Must be public.
9296         * javax/swing/WindowConstants.java
9297         (EXIT_ON_CLOSE): New constant.
9298         * javax/swing/text/BadLocationException.java
9299         (offset): New member variable.
9300         (BadLocationException): New implementation, documentation added.
9301         (offsetRequested): New method.
9302         * javax/swing/text/Caret.java:
9303         Reformated.
9304         * javax/swing/text/Document.java:
9305         Reformated.
9307 2003-03-21  Michael Koch  <konqueror@gmx.de>
9309         * java/rmi/activation/Activatable.java
9310         (serialVersionUID): New member variable.
9311         * java/rmi/activation/ActivationGroup.java
9312         (serialVersionUID): New member variable.
9313         * java/rmi/activation/ActivationGroupDesc.java
9314         (serialVersionUID): New member variable.
9315         * java/rmi/registry/Registry.java:
9316         Reformated.
9317         (Registry): Deprecated.
9318         * java/rmi/server/LoaderHandler.java
9319         Reformated.
9320         (LoaderHandler): Deprecated.
9321         * java/rmi/server/LogStream.java
9322         Reformated.
9323         (LogStream): Deprecated.
9324         * java/rmi/server/Operation.java
9325         (Operation): Deprecated.
9326         * java/rmi/server/RMIFailureHandler.java:
9327         Reformated.
9328         * java/rmi/server/RMISocketFactory.java:
9329         Reformated.
9330         * java/rmi/server/RemoteCall.java
9331         (RemoteCall): Deprecated.
9332         * java/rmi/server/RemoteStub.java:
9333         Reformated.
9334         * java/rmi/server/Skeleton.java
9335         Reformated.
9336         (Skeleton): Deprecated.
9338 2003-03-21  Michael Koch  <konqueror@gmx.de>
9340         * java/io/LineNumberReader.java
9341         (LineNumberReader): Merged documentation with classpath.
9342         (getLineNumber): Likewise.
9343         (setLineNumber): Likewise.
9344         (mark): Likewise.
9345         (reset): Likewise.
9346         (read): Likewise.
9347         (readLine): Likewise.
9348         (skip): Likewise.
9350 2003-03-21  Michael Koch  <konqueror@gmx.de>
9352         * java/rmi/RMISecurityManager.java
9353         (checkAccept): Removed.
9354         (checkAccess): Likewise.
9355         (checkAccess): Likewise.
9356         (checkAwtEventQueueAccess): Likewise.
9357         (checkConnect): Likewise.
9358         (checkCreateClassLoader): Likewise.
9359         (checkDelete): Likewise.
9360         (checkExec): Likewise.
9361         (checkExit): Likewise.
9362         (checkLink): Likewise.
9363         (checkListen): Likewise.
9364         (checkMemberAccess): Likewise.
9365         (checkMulticast): Likewise.
9366         (checkPackageAccess): Likewise.
9367         (checkPackageDefinition): Likewise.
9368         (checkPermission): Likewise.
9369         (checkPrintJobAccess): Likewise.
9370         (checkPropertiesAccess): Likewise.
9371         (checkPropertyAccess): Likewise.
9372         (checkRead): Likewise.
9373         (checkSecurityAccess): Likewise.
9374         (checkSetFactory): Likewise.
9375         (checkSystemClipboardAccess): Likewise.
9376         (checkTopLevelWindow): Likewise.
9377         (checkWrite): Likewise.
9379 2003-03-20  Michael Koch  <konqueror@gmx.de>
9381         * gnu/java/nio/FileChannelImpl.java
9382         (address): Removed.
9383         (map_address): New member variable.
9384         (length): Make it package private.
9385         (fd): Make it package private.
9386         (buf): Make it package private.
9387         (file_obj): Make it package private.
9388         (FileChannelImpl): New constructor.
9389         (nio_mmap_file): Use RawData instead of long.
9390         (nio_munmap_file): Use RawData instead of long.
9391         (nio_msync): Use RawData instead of long.
9392         (implCloseChannel): New implementation using map_address.
9393         (read): Reformated.
9394         (map): Implemented.
9395         (create_direct_mapped_buffer): Implemented, use RawData, throws
9396         IOException.
9397         (force): Use map_address instead of address.
9398         * gnu/java/nio/MappedByteFileBuffer.java
9399         (address): Removed.
9400         (map_address): New member variable.
9401         (MappedByteFileBuffer): Use map_address instead of address, reformated.
9402         (several methods): Use map_address instead of address, replaced long
9403         with RawData where appropriate.
9404         * gnu/java/nio/natFileChannelImpl.cc
9405         (nio_mmap_file): Replaced long with RawData.
9406         (nio_munmap_file): Replaced long with RawData.
9407         (nio_msync): Replaced long with RawData.
9408         * gnu/java/nio/natMappedByteFileBuffer.cc
9409         (several methods): Replaced long with RawData where appropriate.
9411 2003-03-20  Michael Koch  <konqueror@gmx.de>
9413         * java/net/InetAddress.java,
9414         java/net/JarURLConnection.java,
9415         java/net/PlainDatagramSocketImpl.java,
9416         java/net/PlainSocketImpl.java,
9417         java/net/URLConnection.java:
9418         Merged copyright statements with classpath for easier merging.
9420 2003-03-20  Michael Koch  <konqueror@gmx.de>
9422         * java/io/FileInputStream.java
9423         (getChannel): New implementation.
9424         * java/io/FileOutputStream.java
9425         (ch): New member variable.
9426         (getChannel): Implemented.
9427         * java/io/RandomAccessFile.java
9428         (RandomAccessFile): Throws FileNotFoundException instead of
9429         IOException.
9430         (getChannel): New method.
9431         (ch): New member variable.
9433 2003-03-20  Michael Koch  <konqueror@gmx.de>
9435         * java/io/DataOutputStream.java,
9436         java/io/File.java,
9437         java/io/FileInputStream.java,
9438         java/io/FileOutputStream.java,
9439         java/io/InputStreamReader.java,
9440         java/io/LineNumberReader.java,
9441         java/io/OutputStreamWriter.java,
9442         java/io/PrintStream.java,
9443         java/io/RandomAccessFile.java:
9444         Merged copyright statements with classpath for easier merging.
9446 2003-03-19  Michael Koch  <konqueror@gmx.de>
9448         * java/lang/Process.java:
9449         Merged from classpath.
9451 2003-03-19  Michael Koch  <konqueror@gmx.de>
9453         * java/io/FileOutputStream.java
9454         (FileOutputStream): New constructor, merged from classpath.
9455         * java/io/FileWriter.java
9456         (FileWriter): New constructor, merged from classpath.
9458 2003-03-18  Michael Koch  <konqueror@gmx.de>
9460         * java/awt/ScrollPane.java
9461         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
9462         (getViewportSize): Likewise.
9463         (addNotify): Likewise.
9464         (removeNotify): Likewise.
9465         * java/awt/ScrollPaneAdjustable.java
9466         (ScrollPaneAdjustable): No longer extends Scrollbar.
9467         * java/beans/beancontext/BeanContextServices.java:
9468         Reformated.
9469         (getService): Added throws TooManyListenersException;
9470         * java/beans/beancontext/BeanContextServicesSupport.java:
9471         Reformated.
9473 2003-03-18  Michael Koch  <konqueror@gmx.de>
9475         * java/io/BufferedOutputStream.java,
9476         java/io/DataInput.java,
9477         java/io/DataInputStream.java,
9478         java/io/DataOutput.java,
9479         java/io/Externalizable.java:
9480         More merges from classpath.
9482 2003-03-18  Michael Koch  <konqueror@gmx.de>
9484         * configure.in: Fixed links to platform dependant java.net files.
9485         * configure: Regenerated.
9486         * java/net/natInetAddress.cc,
9487         java/net/natNetworkInterface.cc,
9488         java/net/natPlainDatagramSocketImpl.cc,
9489         java/net/natPlainSocketImpl.cc:
9490         Removed.
9492 2003-03-18  Michael Koch  <konqueror@gmx.de>
9494         * configure.in: Create links to architecture dependent files,
9495         introduced PLATFORMNET variable (set to NoNet for newlib usage).
9496         * configure: Regenerated.
9497         * java/net/natInetAddressNoNet.cc,
9498         java/net/natInetAddressPosix.cc,
9499         java/net/natInetAddressWin32.cc,
9500         java/net/natNetworkInterfaceNoNet.cc,
9501         java/net/natNetworkInterfacePosix.cc,
9502         java/net/natNetworkInterfaceWin32.cc,
9503         java/net/natPlainDatagramSocketImplNoNet.cc,
9504         java/net/natPlainDatagramSocketImplPosix.cc,
9505         java/net/natPlainDatagramSocketImplWin32.cc,
9506         java/net/natPlainSocketImplNoNet.cc,
9507         java/net/natPlainSocketImplPosix.cc,
9508         java/net/natPlainSocketImplWin32.cc: New files.
9510 2003-03-18  Michael Koch  <konqueror@gmx.de>
9512         * java/io/BufferedReader.java,
9513         java/io/BufferedWriter.java,
9514         java/io/ByteArrayOutputStream.java,
9515         java/io/FileFilter.java,
9516         java/io/FilePermission.java,
9517         java/io/FileReader.java,
9518         java/io/FileWriter.java,
9519         java/io/FilenameFilter.java,
9520         java/io/FilterInputStream.java,
9521         java/io/FilterOutputStream.java,
9522         java/io/FilterReader.java,
9523         java/io/FilterWriter.java,
9524         java/io/ObjectInput.java,
9525         java/io/ObjectInputValidation.java,
9526         java/io/ObjectOutput.java,
9527         java/io/ObjectStreamField.java,
9528         java/io/PipedInputStream.java,
9529         java/io/PipedReader.java,
9530         java/io/PrintWriter.java,
9531         java/io/PushbackReader.java,
9532         java/io/Reader.java,
9533         java/io/SerializablePermission.java,
9534         java/io/StringReader.java,
9535         java/io/Writer.java:
9536         Merged from classpath.
9538 2003-03-17  Michael Koch  <konqueror@gmx.de>
9540         * java/awt/ScrollPaneAdjustable.java:
9541         Compile fixes.
9542         
9543 2003-03-17  Michael Koch  <konqueror@gmx.de>
9545         * java/net/DatagramSocket.java
9546         (connect): Fixed comment.
9547         * java/nio/ByteBuffer.java
9548         (hasArray): Fixed comment.
9550 2003-03-17  Michael Koch  <konqueror@gmx.de>
9552         * java/beans/Beans.java:
9553         Explicitely import classes not packages.
9554         * java/beans/FeatureDescriptor.java
9555         (preferred): New member variable.
9556         (isPreferred): New method.
9557         (setPreferred): New method.
9558         * java/beans/PropertyEditorManager.java:
9559         Explicitely import used classes.
9560         * java/beans/beancontext/BeanContextChild.java:
9561         Added line wrapping.
9562         * java/beans/beancontext/BeanContextChildSupport.java:
9563         Reindented.
9564         * java/beans/beancontext/BeanContextEvent.java:
9565         Reindented.
9567 2003-03-17  Michael Koch  <konqueror@gmx.de>
9569         * java/awt/Dialog.java
9570         (Dialog): New constructor, changed implementations, added
9571         documentation.
9572         * java/awt/ScrollPaneAdjustable.java
9573         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
9574         Serializable.
9575         (serialVersionUID): New member variable.
9576         (sp): New member variable.
9577         (orientation): New member variable.
9578         (value): New member variable.
9579         (minimum): New member variable.
9580         (maximum): New member variable.
9581         (visibleAmount): New member variable.
9582         (unitIncrement): New member variable.
9583         (blockIncrement): New member variable.
9584         (AdjustmentListener): New member variable.
9585         (ScrollPaneAdjustable): New implementation.
9586         (addAdjustmentListener): New method.
9587         (removeAdjustmentListener): New method.
9588         (getAdjustmentListeners): New method.
9589         (getBlockIncrement): New method.
9590         (getMaximum): New method.
9591         (getMinimum): New method.
9592         (getOrientation): New method.
9593         (getUnitIncrement): New method.
9594         (getValue): New method.
9595         (getVisibleAmount): New method.
9596         (setBlockIncrement): New method.
9597         (setMaximum): Implemented.
9598         (setMinimum): Implemented.
9599         (setUnitIncrement): New method.
9600         (setValue): New method.
9601         (setVisibleAmount): Implemented. 
9602         (paramString): New stubbed method.
9603         * java/awt/Window.java
9604         (show): Call setVisible().
9605         (hide): Call setVisible().
9606         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
9607         and WINDOW_STATE_CHANGED.
9608         (processWindowFocusEvent): New method.
9609         (processWindowStateEvent): New method.
9610         (postEvent): Deprecated.
9611         (applyResourceBundle): Deprecated.
9612         * java/awt/datatransfer/DataFlavor.java
9613         (DataFlavor): Doesn't thow ClassNotFoundException.
9615 2003-03-17  Michael Koch
9617         * javax/print/attribute/Attribute.java,
9618         javax/print/attribute/AttributeSet.java,
9619         javax/print/attribute/PrintRequestAttributeSet.java:
9620         New files.
9621         * Makefile.am
9622         (javax_source_files): Added new files:
9623         javax/print/attribute/Attribute.java
9624         javax/print/attribute/AttributeSet.java
9625         javax/print/attribute/PrintRequestAttributeSet.java
9626         * Makefile.in: Regenerated.
9628 2003-03-17  Michael Koch
9630         * javax/print/attribute/Attribute.java,
9631         javax/print/attribute/AttributeSet.java,
9632         javax/print/attribute/PrintRequestAttributeSet.java:
9633         New files.
9634         * Makefile.am
9635         (awt_java_source_files): Added new files:
9636         javax/print/attribute/Attribute.java
9637         javax/print/attribute/AttributeSet.java
9638         javax/print/attribute/PrintRequestAttributeSet.java
9639         * Makefile.in: Regenerated.
9641 2003-03-16  Tom Tromey  <tromey@redhat.com>
9643         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
9644         Include platform.h.
9645         * java/lang/natRuntime.cc (insertSystemProperties): Use
9646         _Jv_platform_path_separator.
9647         (nativeGetLibname): Use _Jv_platform_file_separator.
9648         (_load): Use _Jv_platform_onload_names.
9649         (onload_names): New global.
9650         * include/win32.h (_Jv_platform_file_separator): New define.
9651         (_Jv_platform_path_separator): Likewise.
9652         (_Jv_platform_onload_names): Likewise.
9653         (_Jv_platform_ffi_abi): Likewise.
9654         * include/posix.h (_Jv_platform_file_separator): New define.
9655         (_Jv_platform_path_separator): Likewise.
9656         (_Jv_platform_onload_names): Likewise.
9657         (_Jv_platform_ffi_abi): Likewise.
9659 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
9661         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
9663 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
9665         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
9666         hierarchy loop.
9667         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
9668         list to Object,ObjectStreamClass, moved callReadMethod code up into
9669         readObject and added Class argument to all setXxxField calls.
9670         (callReadMethod): Changed Class argument to ObjectStreamClass to be
9671         consistent with ObjectOutputStream and to facilitate caching the
9672         Method in the future.
9673         (setBooleanField): Added Class argument.
9674         (setByteField): Likewise.
9675         (setCharField): Likewise.
9676         (setDoubleField): Likewise.
9677         (setFloatField): Likewise.
9678         (setIntField): Likewise.
9679         (setLongField): Likewise.
9680         (setShortField): Likewise.
9681         (setObjectField): Likewise.
9682         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
9683         class hierarchy loop.
9684         (defaultWriteObject): Call writeFields with new argument list.
9685         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
9686         list to Object,ObjectStreamClass, moved callWriteMethod up into
9687         writeObject and added Class argument to all getXxxField calls.
9688         (callWriteMethod): Added ObjectStreamClass argument to be able to
9689         get the proper class to call getMethod on (each class can have (or
9690         not have) its own writeObject method).
9691         (getBooleanField): Added Class argument.
9692         (getByteField): Likewise.
9693         (getCharField): Likewise.
9694         (getDoubleField): Likewise.
9695         (getFloatField): Likewise.
9696         (getIntField): Likewise.
9697         (getLongField): Likewise.
9698         (getShortField): Likewise.
9699         (getObjectField): Likewise.
9700         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
9701         facilitate caching the Method object in the future.
9703 2003-03-12  Andreas Schwab  <schwab@suse.de>
9705         * configure.in: Avoid trailing /. in toolexeclibdir.
9706         * configure: Rebuilt.
9708 2003-03-11  Michael Koch  <konqueror@gmx.de>
9710         * gnu/java/nio/ByteBufferImpl.java
9711         (putInt): Use limit() instead of limit.
9712         * gnu/java/nio/CharBufferImpl.java
9713         (slice): Fixed implementation.
9714         (subSequence): Better bounds checking.
9715         * gnu/java/nio/MappedByteFileBuffer.java:
9716         Import all needed classes directly.
9717         * java/nio/ByteBuffer.java
9718         (hashCode): New dummy method.
9719         * java/nio/CharBuffer.java
9720         (array_offset): New member variable.
9721         (hasArray): Fixed documentation.
9722         (arrayOffset): Return array_offset.
9724 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
9726         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
9727         setter; made return value of getter const char* instead of char*
9728         * prims.cc: removed all references to _Jv_ThisExecutable().
9729         These are in the platform-specific sections now.
9730         * posix.cc: define platform-specific _Jv_ThisExecutable().
9731         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
9732         * win32.cc: define platform-specific _Jv_ThisExecutable()
9733         using GetModuleFilename()
9734         * java/lang/natRuntime.cc: set gnu.gcj.progname property
9735         to argv[0] instead of _Jv_ThisExecutable()
9737 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
9739         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
9740         that is set if we are using addr2name.awk instead of addr2line.
9741         (NameFinder): Set usingAddr2name if using addr2name.awk.
9742         (getExternalLabel): New native method to convert a method 
9743         name to an external label.
9744         (lookup): Convert name given by addr2line to an external label
9745         before demangling.
9747         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
9748         constant representing the prefix attached to method names to
9749         convert them to an external label.
9750         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
9751         using LABEL_PREFIX.
9753 2003-03-10  Tom Tromey  <tromey@redhat.com>
9755         * Makefile.in: Rebuilt.
9756         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
9757         (JC1FLAGS): Removed -Wno-deprecated.
9759 2003-03-10  Michael Koch  <konqueror@gmx.de>
9761         * java/nio/ByteOrder.java
9762         (nativeOrder): Working implementation, added documentation.
9763         (toString): Added documentation.
9765 2003-03-10  Michael Koch  <konqueror@gmx.de>
9767         * java/net/DatagramSocket.java,
9768         java/net/MulticastSocket.java,
9769         java/net/Socket.java,
9770         java/net/URL.java,
9771         java/net/URLConnection.java:
9772         Fixed some documentation tags to make javadoc and friends happy.
9774 2003-03-10  Michael Koch  <koqnueror@gmx.de>
9776         * java/beans/beancontext/BeanContextServicesSupport.java,
9777         java/beans/beancontext/BeanContextSupport.java: New files.
9778         * Makefile.am
9779         (awt_source_files): Added new files.
9780         * Makefile.in: Regenerated.
9782 2003-03-10  Michael Koch  <konqueror@gmx.de>
9784         * java/awt/FocusTraversalPolicy.java
9785         (FocusTraversalPolicy): Documentation added.
9786         (getComponentAfter): Documentation added.
9787         (getComponentBefore): Documentation added.
9788         (getFirstComponent): Documentation added.
9789         (getLastComponent): Documentation added.
9790         (getDefaultComponent): Documentation added.
9791         (getInitialComponent): Documentation added.
9792         * java/awt/ScrollPaneAdjustable.java
9793         (sp): New member variable.
9794         (orientation): New member variable.
9795         (value): New member variable.
9796         (minimum): New member variable.
9797         (maximum): New member variable.
9798         (visibleAmount): New member variable.
9799         (unitIncrement): New member variable.
9800         (blockIncrement): New member variable.
9801         (adjustmentListener): New member variable.
9802         (ScrollPaneAdjustable): Rewrote.
9803         (addAdjustmentListener): New method.
9804         (removeAdjustmentListener): New method.
9805         (getAdjustmentListeners): New method.
9806         (getBlockIncrement): New method.
9807         (getMaximum): New method.
9808         (getMinimum): New method.
9809         (getOrientation): New method.
9810         (getUnitIncrement): New method.
9811         (getValue): New method.
9812         (getVisibleAmount): New method.
9813         (setBlockIncrement): New method.
9814         (setUnitIncrement): New method.
9815         (setMaximum): Implemented.
9816         (setMinimum): Implemented.
9817         (setValue): New method.
9818         (setVisibleAmount): Implemented.
9819         (paramString): New method.
9820         * java/awt/Window.java
9821         (show): Use setVisible(true) instead of super.show().
9822         (hide): Use sevVisible(false) instead of super.hide().
9823         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
9824         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
9825         (postEvent): Deprecated.
9826         (applyResourceBundle): Deprecated.
9827         (processWindowFocusEvent): New method.
9828         (processWindowStateEvent): New method.
9829         * java/awt/datatransfer/DataFlavor.java: Reindented.
9830         * java/awt/font/TextHitInfo.java
9831         (charIndex): New member variable.
9832         (leadingEdge): New member variable.
9833         (TextHitInfo): New constructor.
9834         (getCharIndex): Implemented.
9835         (isLeadingEdge): Implemented.
9836         (getInsertionIndex): Implemented.
9837         (hashCode): Access charIndex directly.
9838         (equals): Reformated.
9839         (leading): Implemented.
9840         (trailing): Implemented.
9841         (beforeOffset): Implemented.
9842         (afterOffset): Implemented.
9843         (getOtherHit): Implemented.
9844         (getOffsetHit): Implemented.
9845         (toString): Implemented.
9846         * java/awt/image/BufferedImage.java
9847         (BufferedImage): Implements WritableRenderedImage.
9848         (observers): New member variable.
9849         (addTileObserver): New method.
9850         (removeTileObserver): New method.
9852 2003-03-09  Tom Tromey  <tromey@redhat.com>
9854         PR libgcj/9934:
9855         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
9856         to lseek.  Return 0 if we can't compute the value.
9858 2003-03-03  Michael Koch  <konqueror@gmx.de>
9860         * java/net/NetworkInterface.java: Merged with classpath.
9862 2003-03-03  Tom Tromey  <tromey@redhat.com>
9864         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
9865         of bytecode.
9866         (handle_ret_insn): Fail if returning to jsr that appears at end of
9867         bytecode.
9869 2003-03-03  Michael Koch  <konqueror@gmx.de>
9871         * Makefile.am
9872         (ordinary_java_source_files):
9873         Added gnu/java/nio/MappedByteFileBuffer.java.
9874         (nat_source_files):
9875         Added gnu/java/nio/natMappedByteFileBuffer.cc.
9876         * Makefile.in: Regenerated.
9878 2003-03-03  Michael Koch  <konqueror@gmx.de>
9880         * java/net/DatagramSocket.java
9881         (connect): Merged comment from classpath.
9882         (receive): Merged documentation from classpath.
9883         * java/net/Socket.java
9884         (setSoTimeout): Clarified documentation.
9885         * java/net/URL.java
9886         (getPath): Merged from classpath.
9887         (getUserInfo): Merged from classpath.
9888         (getQuery): Merged from classpath.
9889         * java/net/URLStreamHandler.java
9890         (toExternalForm): Merged from classpath.
9892 2003-03-02  Mark Wielaard  <mark@klomp.org>
9894         * java/util/Properties.java (load): Only skip line if the first
9895         character is a comment, whitespaces don't count.
9897 2003-03-02  Michael Koch  <konqueror@gmx.de>
9899         * java/net/NetPermission.java:
9900         Merged copyright with classpath.
9902 2003-03-02  Michael Koch  <konqueror@gmx.de>
9904         * java/lang/Package.java:
9905         Remerged from classpath.
9907 2003-03-02  Michael Koch  <konqueror@gmx.de>
9909         * java/net/HttpURLConnection.java
9910         (HTTP_SERVER_ERROR): Deprecated.
9911         * java/net/MulticastSocket.java
9912         (send): Replaced checkMulticast with appropriate checkPermission call,
9913         deprecated.
9914         * java/net/URLDecoder.java
9915         (decode): Deprecated.
9916         * java/net/URLEncoder.java
9917         (encode): Deprecated.
9919 2003-03-02  Michael Koch  <konqueror@gmx.de>
9921         * javax/swing/text/Caret.java
9922         (getMagicCaretPosition): Fixed typo in method name.
9923         * javax/swing/text/DefaultCaret.java
9924         (getMagicCaretPosition): Fixed typo in method name.
9926 2003-03-02  Michael Koch  <konqueror@gmx.de>
9928         * java/awt/List.java
9929         (setMultipleSelections): Deprecated.
9930         (delItem): Deprecated.
9931         * java/awt/MenuComponent.java
9932         (getPeer): Deprecated.
9933         * java/awt/ScrollPane.java
9934         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
9935         * java/awt/dnd/MouseDragGestureRecognizer.java
9936         (mouseClicked): Added comment.
9937         (mousePressed): Added comment.
9938         (mouseReleased): Added comment.
9939         (mouseEntered): Added comment.
9940         (mouseExited): Added comment.
9941         (mouseDragged): Added comment.
9942         (mouseMoved): Added comment.
9943         * java/awt/event/KeyEvent.java
9944         (KeyEvent): Deprecated.
9945         (setModifiers): Deprecated.
9946         
9947 2003-03-02  Michael Koch  <konqueror@gmx.de>
9949         * gnu/java/nio/FileChannelImpl.java
9950         (fd): Type FileDescriptor instead of int.
9951         (lengthInternal): Removed.
9952         (FileChannelImpl): Fixed arguments, check type of file object.
9953         (size): Made it native.
9954         (implPosition): New native method.
9955         (implTruncate): New native method.
9956         (position): Implemented.
9957         (truncate): Implemented.
9958         (nio_mmap_file): Changed arguments.
9959         (nio_munmap_file): Changed arguments.
9960         (nio_msync): Changed arguments.
9961         * gnu/java/nio/natFileChannelImpl.cc
9962         (lengthInternal): Removed.
9963         (size): New method.
9964         (implPosition): New method.
9965         (implTruncate): New method.
9966         (nio_mmap_file): Changed arguments.
9967         (nio_munmap_file): Changed arguments.
9968         (nio_msync): Changed arguments.
9970 2003-03-02  Michael Koch  <konqueror@gmx.de>
9972         * java/awt/dnd/DropTargetContext.java:
9973         Compile fix: Forgot to commit import.
9974         
9975 2003-03-02  Michael Koch  <konqueror@gmx.de>
9977         * java/awt/Component.java,
9978         java/awt/ScrollPane.java:
9979         Fixed typos.
9981 2003-03-02  Michael Koch  <konqueror@gmx.de>
9983         * java/awt/dnd/DnDEventMulticaster.java: New file.
9984         * java/awt/dnd/DragSource.java
9985         (flavorMap): New member variable.
9986         (dragSourceListener): New member variable.
9987         (dragSourceMotionListener): New member variable.
9988         (getFlavorMap): Implemented.
9989         (createDragGestureRecognizer): Implemented.
9990         (addDragSourceListener): Implemented.
9991         (removeDragSourceListener): Implemented.
9992         (getDragSourceListeners): Implemented.
9993         (addDragSourceMotionListener): Implemented.
9994         (removeDragSourceMotionListener): Implemented.
9995         (getDragSourceMotionListeners): Implemented.
9996         (getListeners): Implemented.
9997         * java/awt/dnd/DragSourceContext.java
9998         (peer): New member variable.
9999         (cursor): New member variable.
10000         (transferable): New member variable.
10001         (trigger): New member variable.
10002         (dragSourceListener): New member variable.
10003         (image): New member variable.
10004         (offset): New member variable.
10005         (DragSourceContext): Implemented.
10006         (getDragSource): Implemented.
10007         (getComponent): Implemented.
10008         (getTrigger): Implemented.
10009         (getSourceActions): Implemented.
10010         (setCursor): Implemented.
10011         (getCursor): Implemented.
10012         (addDragSourceListener): Implemented.
10013         (removeDragSourceListener): Implemented.
10014         (getTransferable): Implemented.
10015         * java/awt/dnd/DropTarget.java
10016         (DropTargetAutoScroller.component): New member variable.
10017         (DropTargetAutoScroller.point): New member variable.
10018         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
10019         (DropTargetAutoScroller.updateLocation): Implemented.
10020         (active): Renamed from isActive, defaults to true now.
10021         (component): New member variable.
10022         (flavorMap): New member variable.
10023         (actions): New member variable.
10024         (dropTargetContext): New member variable.
10025         (dropTargetListener): New member variable.
10026         (DropTarget): Implemented.
10027         (getComponent): Implemented.
10028         (setComponent): Implemented.
10029         (setDefaultActions): Implemented.
10030         (getDefaultActions): Implemented.
10031         (setActive): Use active instead of isActive.
10032         (isActive): Use active instead of isActive.
10033         (addDropTargetListener): Implemented.
10034         (removeDropTargetListener): Implemented.
10035         (getFlavorMap): Implemented.
10036         (setFlavorMap): Implemented.
10037         (getDropTargetContext): Implemented.
10038         (createDropTargetContext): Implemented.
10039         (createDropTargetAutoScroller): Implemented.
10040         * java/awt/dnd/DropTargetContext.java
10041         (TransferableProxy.getTransferDataFlavors): Implemented.
10042         (TransferableProxy.isDataFlavorSupported): Implemented.
10043         (TransferableProxy.getTransferData): Implemented.
10044         (dropTarget):  New member variable.
10045         (dtcp): New member variable.
10046         (DropTargetContext): New package private constructor.
10047         (getDropTarget): Implemented.
10048         (getComponent): Implemented.
10049         (addNotify): Implemented.
10050         (removeNotify): Implemented.
10051         (getCurrentDataFlavorsAsList): Implemented.
10052         (isDataFlavorSupported): Implemented.
10053         * java/awt/dnd/MouseDragGestureRecognizer.java
10054         (registerListeners): Implemented.
10055         (unregisterListeners): Implemented.
10056         * Makefile.am
10057         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
10058         * Makefile.in: Regenerated.
10060 2003-03-02  Michael Koch  <konqueror@gmx.de>
10062         * java/awt/Component.java
10063         (eventTypeEnabled): New method.
10064         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
10065         * java/awt/Container.java
10066         (changeSupport): New member variable.
10067         (addPropertyChangeListener): New methods.
10068         * java/awt/ContainerOrderFocusTraversalPolicy.java
10069         (ContainerOrderFocusTraversalPolicy): Added comment.
10070         (getComponentAfter): Throw exception, documentation added.
10071         (getComponentBefore): Throw exception, documentation added.
10072         (getFirstComponent): Throw exception, documentation added.
10073         (getLastComponent): Throw exception, documentation added.
10074         (getDefaultComponent): Throw exception, documentation added.
10075         * java/awt/EventQueue.java: Reindented.
10076         * java/awt/FocusTraversalPolicy.java:
10077         (FocusTraversalPolicy): Added comment.
10078         (getComponentAfter): Documentation added.
10079         (getComponentBefore): Documentation added.
10080         (getFirstComponent): Documentation added.
10081         (getLastComponent): Documentation added.
10082         (getDefaultComponent): Documentation added.
10083         (getInitialComponent): Documentation added.
10084         * java/awt/ScrollPane.java
10085         (wheelScrollingEnabled): New member variable.
10086         (ScrollPane): Initialize wheelScollingEnabled.
10087         (eventTypeEnabled): New method.
10088         (isWheelScrollingEnabled): New method.
10089         (setWheelScrollingEnabled): New method.
10091 2003-03-02  Michael Koch  <konqueror@gmx.de>
10093         * java/net/DatagramSocket.java
10094         (closed): New member variable.
10095         (close): Use closed variable.
10096         (getInetAddress): No need to call isConnected().
10097         (getPort): No need to call isConnected().
10098         (disconnect): Reset remoteAddress and remotePort, fixed typo.
10099         (isClosed): Reimplemented.
10100         
10101 2003-03-02  Michael Koch  <konqueror@gmx.de>
10103         * configure.in: Added check for memory mapping of files.
10104         * configure: Regenerated.
10105         * config.h.in: Regenerated.
10107 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
10109         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
10110         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
10112 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
10114         * java/io/File.java (normalizePath): Remove trailing separator
10115         on Windows only if path is not of the form "x:\".
10117         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
10118         (java::io::File::attr): Change formatting a bit and use
10119         WIN32_EPOCH_MILLIS instead of magic numbers.
10120         (java::io::File::isAbsolute): Path must have at least 3 
10121         characters for a UNC network path.
10122         (java::io::File::init_native): Define.
10123         (java::io::File::performCreate): Likewise.
10124         (java::io::File::performSetReadOnly): Likewise.
10125         (java::io::File::performSetLastModified): Likewise.
10126         (java::io::File::performListRoots): Likewise.
10128 2003-03-01  Tom Tromey  <tromey@redhat.com>
10130         * java/lang/natObject.cc: Don't include assert.h.
10131         (heavy_lock_obj_finalization_proc): Use JvAssert.
10132         (remove_all_heavy): Likewise.
10133         (_Jv_MonitorEnter): Likewise.
10134         (_Jv_MonitorExit): Likewise.
10135         (wait): Likewise.
10137 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
10139         * java/io/File (getAbsolutePath): Prefix drive specifier on
10140         Windows for paths starting with a '\'.
10141         (toURL): Make URL more consistent with what Sun's JDK returns.
10143         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
10144         true only if the path is a UNC network path or it starts with a
10145         drive specifier.
10147         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
10148         Be prepared to handle either '/' or '\\' in the file path for
10149         Windows if using the "file" protocol.
10150         Canonicalise the file path if using a relative path in the given
10151         context and the "file" protocol.
10153 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
10155         * java/lang/natWin32Process.cc (startProcess): Double-quote each
10156         program array element passed to CreateProcess.
10158 2003-03-01  Tom Tromey  <tromey@redhat.com>
10160         * java/rmi/registry/RegistryHandler.java: Deprecate.
10162 2003-03-01  Tom Tromey  <tromey@redhat.com>
10164         * javax/accessibility/AccessibleEditableText.java,
10165         javax/accessibility/AccessibleHyperlink.java: New versions from
10166         Classpath.
10168         * gnu/java/locale/LocaleInformation_af_ZA.java,
10169         gnu/java/locale/LocaleInformation_ar_AE.java,
10170         gnu/java/locale/LocaleInformation_ar_BH.java,
10171         gnu/java/locale/LocaleInformation_ar_DZ.java,
10172         gnu/java/locale/LocaleInformation_ar_EG.java,
10173         gnu/java/locale/LocaleInformation_ar_IN.java,
10174         gnu/java/locale/LocaleInformation_ar_IQ.java,
10175         gnu/java/locale/LocaleInformation_ar_JO.java,
10176         gnu/java/locale/LocaleInformation_ar_KW.java,
10177         gnu/java/locale/LocaleInformation_ar_LB.java,
10178         gnu/java/locale/LocaleInformation_ar_LY.java,
10179         gnu/java/locale/LocaleInformation_ar_MA.java,
10180         gnu/java/locale/LocaleInformation_ar_OM.java,
10181         gnu/java/locale/LocaleInformation_ar_QA.java,
10182         gnu/java/locale/LocaleInformation_ar_SD.java,
10183         gnu/java/locale/LocaleInformation_ar_SY.java,
10184         gnu/java/locale/LocaleInformation_ar_TN.java,
10185         gnu/java/locale/LocaleInformation_ar_YE.java,
10186         gnu/java/locale/LocaleInformation_be_BY.java,
10187         gnu/java/locale/LocaleInformation_bn_IN.java,
10188         gnu/java/locale/LocaleInformation_br_FR.java,
10189         gnu/java/locale/LocaleInformation_bs_BA.java,
10190         gnu/java/locale/LocaleInformation_ca_ES.java,
10191         gnu/java/locale/LocaleInformation_cs_CZ.java,
10192         gnu/java/locale/LocaleInformation_cy_GB.java,
10193         gnu/java/locale/LocaleInformation_da_DK.java,
10194         gnu/java/locale/LocaleInformation_de_AT.java,
10195         gnu/java/locale/LocaleInformation_de_BE.java,
10196         gnu/java/locale/LocaleInformation_de_CH.java,
10197         gnu/java/locale/LocaleInformation_de_DE.java,
10198         gnu/java/locale/LocaleInformation_de_LU.java,
10199         gnu/java/locale/LocaleInformation_el_GR.java,
10200         gnu/java/locale/LocaleInformation_en_AU.java,
10201         gnu/java/locale/LocaleInformation_en_BW.java,
10202         gnu/java/locale/LocaleInformation_en_CA.java,
10203         gnu/java/locale/LocaleInformation_en_DK.java,
10204         gnu/java/locale/LocaleInformation_en_GB.java,
10205         gnu/java/locale/LocaleInformation_en_HK.java,
10206         gnu/java/locale/LocaleInformation_en_IE.java,
10207         gnu/java/locale/LocaleInformation_en_IN.java,
10208         gnu/java/locale/LocaleInformation_en_NZ.java,
10209         gnu/java/locale/LocaleInformation_en_PH.java,
10210         gnu/java/locale/LocaleInformation_en_SG.java,
10211         gnu/java/locale/LocaleInformation_en_US.java,
10212         gnu/java/locale/LocaleInformation_en_ZA.java,
10213         gnu/java/locale/LocaleInformation_en_ZW.java,
10214         gnu/java/locale/LocaleInformation_es_AR.java,
10215         gnu/java/locale/LocaleInformation_es_BO.java,
10216         gnu/java/locale/LocaleInformation_es_CL.java,
10217         gnu/java/locale/LocaleInformation_es_CO.java,
10218         gnu/java/locale/LocaleInformation_es_CR.java,
10219         gnu/java/locale/LocaleInformation_es_DO.java,
10220         gnu/java/locale/LocaleInformation_es_EC.java,
10221         gnu/java/locale/LocaleInformation_es_ES.java,
10222         gnu/java/locale/LocaleInformation_es_GT.java,
10223         gnu/java/locale/LocaleInformation_es_HN.java,
10224         gnu/java/locale/LocaleInformation_es_MX.java,
10225         gnu/java/locale/LocaleInformation_es_NI.java,
10226         gnu/java/locale/LocaleInformation_es_PA.java,
10227         gnu/java/locale/LocaleInformation_es_PE.java,
10228         gnu/java/locale/LocaleInformation_es_PR.java,
10229         gnu/java/locale/LocaleInformation_es_PY.java,
10230         gnu/java/locale/LocaleInformation_es_SV.java,
10231         gnu/java/locale/LocaleInformation_es_US.java,
10232         gnu/java/locale/LocaleInformation_es_UY.java,
10233         gnu/java/locale/LocaleInformation_es_VE.java,
10234         gnu/java/locale/LocaleInformation_et_EE.java,
10235         gnu/java/locale/LocaleInformation_eu_ES.java,
10236         gnu/java/locale/LocaleInformation_fa_IR.java,
10237         gnu/java/locale/LocaleInformation_fi_FI.java,
10238         gnu/java/locale/LocaleInformation_fo_FO.java,
10239         gnu/java/locale/LocaleInformation_fr_BE.java,
10240         gnu/java/locale/LocaleInformation_fr_CA.java,
10241         gnu/java/locale/LocaleInformation_fr_CH.java,
10242         gnu/java/locale/LocaleInformation_fr_FR.java,
10243         gnu/java/locale/LocaleInformation_fr_LU.java,
10244         gnu/java/locale/LocaleInformation_ga_IE.java,
10245         gnu/java/locale/LocaleInformation_gd_GB.java,
10246         gnu/java/locale/LocaleInformation_gl_ES.java,
10247         gnu/java/locale/LocaleInformation_gv_GB.java,
10248         gnu/java/locale/LocaleInformation_he_IL.java,
10249         gnu/java/locale/LocaleInformation_hi_IN.java,
10250         gnu/java/locale/LocaleInformation_hr_HR.java,
10251         gnu/java/locale/LocaleInformation_hu_HU.java,
10252         gnu/java/locale/LocaleInformation_id_ID.java,
10253         gnu/java/locale/LocaleInformation_it_CH.java,
10254         gnu/java/locale/LocaleInformation_it_IT.java,
10255         gnu/java/locale/LocaleInformation_iw_IL.java,
10256         gnu/java/locale/LocaleInformation_ja_JP.java,
10257         gnu/java/locale/LocaleInformation_ka_GE.java,
10258         gnu/java/locale/LocaleInformation_kl_GL.java,
10259         gnu/java/locale/LocaleInformation_ko_KR.java,
10260         gnu/java/locale/LocaleInformation_kw_GB.java,
10261         gnu/java/locale/LocaleInformation_lt_LT.java,
10262         gnu/java/locale/LocaleInformation_lv_LV.java,
10263         gnu/java/locale/LocaleInformation_mi_NZ.java,
10264         gnu/java/locale/LocaleInformation_mk_MK.java,
10265         gnu/java/locale/LocaleInformation_mr_IN.java,
10266         gnu/java/locale/LocaleInformation_mt_MT.java,
10267         gnu/java/locale/LocaleInformation_nl_BE.java,
10268         gnu/java/locale/LocaleInformation_nl_NL.java,
10269         gnu/java/locale/LocaleInformation_nn_NO.java,
10270         gnu/java/locale/LocaleInformation_no_NO.java,
10271         gnu/java/locale/LocaleInformation_oc_FR.java,
10272         gnu/java/locale/LocaleInformation_pl_PL.java,
10273         gnu/java/locale/LocaleInformation_pt_BR.java,
10274         gnu/java/locale/LocaleInformation_pt_PT.java,
10275         gnu/java/locale/LocaleInformation_ro_RO.java,
10276         gnu/java/locale/LocaleInformation_ru_RU.java,
10277         gnu/java/locale/LocaleInformation_ru_UA.java,
10278         gnu/java/locale/LocaleInformation_se_NO.java,
10279         gnu/java/locale/LocaleInformation_sk_SK.java,
10280         gnu/java/locale/LocaleInformation_sl_SI.java,
10281         gnu/java/locale/LocaleInformation_sq_AL.java,
10282         gnu/java/locale/LocaleInformation_sr_YU.java,
10283         gnu/java/locale/LocaleInformation_sv_FI.java,
10284         gnu/java/locale/LocaleInformation_sv_SE.java,
10285         gnu/java/locale/LocaleInformation_ta_IN.java,
10286         gnu/java/locale/LocaleInformation_te_IN.java,
10287         gnu/java/locale/LocaleInformation_tg_TJ.java,
10288         gnu/java/locale/LocaleInformation_tl_PH.java,
10289         gnu/java/locale/LocaleInformation_tr_TR.java,
10290         gnu/java/locale/LocaleInformation_uk_UA.java,
10291         gnu/java/locale/LocaleInformation_ur_PK.java,
10292         gnu/java/locale/LocaleInformation_uz_UZ.java,
10293         gnu/java/locale/LocaleInformation_vi_VN.java,
10294         gnu/java/locale/LocaleInformation_yi_US.java,
10295         gnu/java/locale/LocaleInformation_zh_CN.java,
10296         gnu/java/locale/LocaleInformation_zh_HK.java,
10297         gnu/java/locale/LocaleInformation_zh_SG.java,
10298         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
10299         info; from Classpath.
10301         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
10302         isPaintPending): New methods.
10303         * gnu/awt/xlib/XFramePeer.java (getState, setState,
10304         setMaximizedBounds): New methods.
10305         (beginLayout, endLayout, isPaintPending): Likewise.
10306         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
10307         (requestFocus): Likewise.
10308         (isObscured): Likewise.
10309         (canDetermineObscurity): Likewise.
10310         (coalescePaintEvent): Likewise.
10311         (updateCursorImmediately): Likewise.
10312         (createVolatileImage): Likewise.
10313         (handlesWheelScrolling): Likewise.
10314         (createBuffers): Likewise.
10315         (getBackBuffer): Likewise.
10316         (flip): Likewise.
10317         (destroyBuffers): Likewise.
10319         * Makefile.in: Rebuilt.
10320         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
10321         RobotPeer.java.
10322         * gnu/java/awt/GLightweightPeer.java,
10323         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
10324         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
10325         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
10326         gnu/java/awt/peer/gtk/GtkFramePeer.java,
10327         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
10328         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
10329         java/awt/dnd/peer/DragSourceContextPeer.java,
10330         java/awt/dnd/peer/DropTargetContextPeer.java,
10331         java/awt/peer/ButtonPeer.java,
10332         java/awt/peer/CheckboxMenuItemPeer.java,
10333         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
10334         java/awt/peer/ComponentPeer.java,
10335         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
10336         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
10337         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
10338         java/awt/peer/MenuBarPeer.java,
10339         java/awt/peer/MenuComponentPeer.java,
10340         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
10341         java/awt/peer/PopupMenuPeer.java,
10342         java/awt/peer/ScrollPanePeer.java,
10343         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
10344         java/awt/peer/TextComponentPeer.java,
10345         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
10346         New versions from Classpath.
10347         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
10348         * java/awt/peer/RobotPeer.java: Likewise.
10350 2003-03-01  Mark Wielaard  <mark@klomp.org>
10352         * java/io/ObjectInputStream.java: Reindent.
10353         * java/io/ObjectOutputStream.java: Likewise.
10355 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
10357         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
10358         jvalue for each argument. Simplify.
10359         * testsuite/libjava.jni/calls.c (docall),
10360         testsuite/libjava.jni/calls.java (longpb_f): check for argument
10361         misalignment.
10363 2003-02-28  Mark Wielaard  <mark@klomp.org>
10365         * Makefile.am (nat_source_files): Remove
10366         java/io/natObjectOutputStream.cc.
10367         * Makefile.in: Regenerated.
10368         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
10369         * java/io/ObjectStreamField.java (typename): New field.
10370         (ObjectStreamField(String, Class)): Initialize new field.
10371         (ObjectStreamField(String, String)): New Constructor.
10372         (getTypeCode): Use new field.
10373         (getTypeString): Use new field.
10374         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
10375         ObjectStreamExceptions. Remember and reset old BlockDataMode.
10376         Handle reading of Proxy classes. Never drain(), just write
10377         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
10378         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
10379         (flush): Call flush(), not just drain().
10380         (writeBoolean): Always use blockDataOutput.
10381         (writeByte): Likewise.
10382         (writeShort): Likewise.
10383         (writeChar): Likewise.
10384         (writeInt): Likewise.
10385         (writeLong): Likewise.
10386         (writeFloat): Likewise.
10387         (writeDouble): Likewise.
10388         (writeBytes): Likewise.
10389         (putfield (put(String,Object))): Throw IllegalArgumentException if
10390         field cannot be found.
10391         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
10392         (writeArraySizeAndElements): Write byte[] in one go.
10393         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
10394         set BlockDataMode to false.
10395         (annotateProxyClass): New method.
10396         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
10397         (getField): No longer native.
10398         (getMethod): Likewise.
10399         (setBlockDataMode): Always drain() on switch, return old mode.
10400         (static): New static code block.
10401         * java/io/natObjectOutputStream.cc: Removed.
10402         * java/io/ObjectInputStream.java (getField): No longer native.
10403         (getMethod): Likewise.
10404         (readObject): Remember and reset old BlockDataMode. Track whether
10405         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
10406         TC_LONGSTRING.
10407         (defaultReadObject): Set BlockDataMode to false during readFields.
10408         (resolveClass): Create new SecurityManager if necessary.
10409         Use Class.forName() if null ClassLoader found.
10410         (read(byte[],int,int): Copy remaining bytes to data before calling
10411         readNextBlock().
10412         (readFields): Set and reset BlockDataMode on call_read_method.
10413         Catch NoSuchFieldErrors.
10414         (setBlockDataMode): Return old mode.
10415         (static): New static code block.
10416         * java/io/natObjectInputStream.cc (getField): Removed.
10417         (getMethod): Likewise.
10419 2003-02-27  Michael Koch  <konqueror@gmx.de>
10421         * java/beans/Beans.java,
10422         java/beans/FeatureDescriptor.java
10423         java/beans/PropertyEditorManager.java:
10424         Reformated to GNU style.
10426 2003-02-25  Michael Koch  <konqueror@gmx.de>
10428         * gnu/java/nio/MappedByteFileBuffer.java,
10429         gnu/java/nio/natMappedByteFileBuffer.cc:
10430         New files, both are not compiled yet to get not noncompiling CVS.
10432 2003-02-24  Tom Tromey  <tromey@redhat.com>
10434         * java/util/prefs/AbstractPreferences.java (isUserNode):
10435         Implemented.
10437 2003-02-24  Tom Tromey  <tromey@redhat.com>
10439         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
10440         Deprecate.
10441         * java/lang/Thread.java (resume): Deprecate.
10442         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
10443         in @deprecated.
10445 2003-02-23  Tom Tromey  <tromey@redhat.com>
10447         * Makefile.in: Rebuilt.
10448         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
10450 2003-02-23  Tom Tromey  <tromey@redhat.com>
10452         * java/lang/natRuntime.cc (libraries_size, libraries_count,
10453         libraries): Removed.
10454         (add_library): Removed.
10455         (_load): Don't call add_library.
10456         (loadLibraryInternal): Likewise.
10457         (init): Likewise.
10458         (lookup_data): New struct.
10459         (find_symbol): New function.
10460         (_Jv_FindSymbolInExecutable): Use it.
10462 2002-02-21  Anthony Green  <green@redhat.com>
10464         * java/lang/Thread.java (Thread): New constructor taking stack
10465         size parameter (ignored for now).
10466         * Many methods: Merged GNU Classpath documentation.
10468         * java/lang/Class.java (finalize): throws a Throwable.
10470 2003-02-21  Mark Wielaard  <mark@klomp.org>
10472         * java/util/zip/ZipEntry.java (setComment): Don't check length when
10473         argument is null.
10475 2003-02-21  Mark Wielaard  <mark@klomp.org>
10477         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
10478         then 65535 chars throw IllegalArgumentException.
10480 2003-02-21  Mark Wielaard  <mark@klomp.org>
10482         * java/util/zip/ZipFile.java (finalize): New method.
10484 2003-02-21  Michael Koch  <konqueror@gmx.de>
10486         * gnu/java/nio/natSocketChannelImpl.cc:
10487         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
10488         <cato@df.lth.se> for pointing to it.
10490 2003-02-20  Raif S. Naffah <raif@fl.net.au>
10492         * java/math/BigInteger.java (euclidInv): Take result array as an
10493         argument.  Updated all callers.
10494         (modInverse): Removed unused variables.
10496 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
10498         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
10499         config.status.
10500         * configure: Rebuilt.
10502 2003-02-19  Michael Koch  <konqueror@gmx.de>
10504         * gnu/java/nio/natSocketChannelImpl.cc:
10505         Added support for platforms without network support.
10507 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10509         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
10510         after config.h.  Use <> for consistency.
10511         * java/lang/natObject.cc: Likewise.
10512         * java/lang/natRuntime.cc: Likewise.
10513         * java/lang/natSystem.cc: Likewise.
10514         * java/util/natTimeZone.cc: Likewise.
10515         * win32.cc: Likewise.
10516         * include/posix.h (fcntl, socket, connect, close, bind, accept,
10517         listen, write, read): Undef to avoid interference from OS macros.
10519 2003-02-19  Michael Koch  <konqueror@gmx.de>
10521         * gnu/java/nio/ByteBufferImpl.java
10522         (ByteBufferImpl): Renamed two variables.
10523         * gnu/java/nio/CharBufferImpl.java
10524         (CharBufferImpl): Renamed two variables.
10525         * gnu/java/nio/DoubleBufferImpl.java
10526         (DoubleBufferImpl): Renamed two variables.
10527         * gnu/java/nio/FloatBufferImpl.java
10528         (FloatBufferImpl): Renamed two variables.
10529         * gnu/java/nio/IntBufferImpl.java
10530         (IntBufferImpl): Renamed two variables.
10531         * gnu/java/nio/LongBufferImpl.java
10532         (LongBufferImpl): Renamed two variables.
10533         * gnu/java/nio/ShortBufferImpl.java
10534         (ShortBufferImpl): Renamed two variables.
10535         * java/nio/CharBuffer.java
10536         (wrap): Fixed arguments to CharBufferImpl constructor.
10537         (hasArray): Only not read-only buffers have backing arrays.
10538         (length): Documentation added.
10539         (subSequence): Documentation added.
10540         * java/nio/DoubleBuffer.java
10541         (hasArray): Only not read-only buffers have backing arrays.
10542         * java/nio/FloatBuffer.java
10543         (hasArray): Only not read-only buffers have backing arrays.
10544         * java/nio/IntBuffer.java
10545         (hasArray): Only not read-only buffers have backing arrays.
10546         * java/nio/LongBuffer.java
10547         (hasArray): Only not read-only buffers have backing arrays.
10548         * java/nio/ShortBuffer.java
10549         (hasArray): Only not read-only buffers have backing arrays.
10550         
10551 2003-02-19  Michael Koch  <konqueror@gmx.de>
10553         * javax/accessibility/AccessibleContext.java
10554         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
10556 2003-02-19  Michael Koch  <konqueror@gmx.de>
10558         * java/awt/ScrollPaneAdjustable.java: Reformated.
10560 2003-02-19  Michael Koch <konqueror@gmx.de>
10562         * gnu/awt/j2d/Graphics2DImpl.java
10563         (getFontRenderContext): New method.
10564         (drawGlyphVector): New method.
10565         * java/awt/Graphics2D.java
10566         (getFontRenderContext): New abstract method.
10567         (drawGlyphVector): New abstract method.
10568         
10569 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
10571         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
10572         if necessary.
10573         
10574         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
10575         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
10576         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
10577         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
10578         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
10579         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
10580         (setFont, gtkSetFont): add.
10581         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
10582         Propagate font to peer.  (setFont): add FIXME comment.
10584         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
10585         (gtkTextGetSize): fix height, width computation.
10587         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
10588         Make X font name a bit less bogus.
10590         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
10591         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
10593         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
10594         (processAdjustmentEvent): Adjust value.
10596         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
10597         logic errors.
10599         * java/awt/Component.java (setVisible, show, hide): Call show and
10600         hide methods in subclasses.
10601         (getPreferredSize): don't set prefSize before we have peer.
10603         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
10604         Guess (0,0) if we don't have peer.
10607 2003-02-18  Michael Koch  <konqueror@gmx.de>
10609         * java/nio/channels/FileChannel.java
10610         (toString): New implementation, added documentation.
10611         (map): Added exception documentation.
10612         (size): Added exception documentation.
10613         (write): New methods, documentation work.
10614         (read): New methods, documentation work.
10615         (implCloseChannel): Rewrote exception documentation.
10616         (force): Throws IOException, added documentation.
10617         (lock): New methods.
10618         (tryLock): New methods.
10619         (position): New methods.
10620         (transferTo): New method.
10621         (transferFrom): New method.
10622         (truncate): New method.
10623         * java/nio/channels/spi/SelectorProvider.java
10624         (provider): Implemented.
10625         * Makefile.am
10626         (ordinary_java_source_files): Added the following files:
10627         gnu/java/nio/DatagramChannelImpl.java
10628         gnu/java/nio/FileChannelImpl.java
10629         gnu/java/nio/PipeImpl.java
10630         gnu/java/nio/SelectionKeyImpl.java
10631         gnu/java/nio/SelectorImpl.java
10632         gnu/java/nio/SelectorProviderImpl.java
10633         gnu/java/nio/ServerSocketChannelImpl.java
10634         gnu/java/nio/SocketChannelImpl.java
10635         java/nio/channels/FileLock.java
10636         (nat_java_source_files): Added the following files:
10637         gnu/java/nio/natFileChannelImpl.cc
10638         gnu/java/nio/natSelectorImpl.cc
10639         gnu/java/nio/natSocketChannelImpl.cc
10640         * Makefile.in: Regenerated.
10642 2003-02-17  Tom Tromey  <tromey@redhat.com>
10644         * java/awt/image/ColorModel.java: Re-merged with Classpath.
10645         * java/awt/image/ImageFilter.java: Likewise.
10647 2003-02-17  Raif S. Naffah <raif@fl.net.au>
10649         * java/math/BigInteger.java (euclidInv): Return array of
10650         `BigInteger's.  Changed all callers.
10652 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
10654         * java/util/Properties.java (store): Move the code formerly in
10655         list(), into this method.
10656         (list (PrintStream)): Just call list (PrintWriter) with a 
10657         PrintWriter object constructed from the given PrintStream object.
10658         (list (PrintWriter)): Emulate the output of Properties.list()
10659         as found in JDK 1.3/1.4.
10661 2003-02-17  Michael Koch  <konqueror@gmx.de>
10663         * java/net/DatagramSocket.java
10664         (connect): Merged with classpath.
10665         (disconnect): Merged documentation with classpath.
10666         (receice): Merged documentation with classpath.
10667         (send): Merged documentation with classpath.
10668         
10669 2003-02-17  Michael Koch  <konqueror@gmx.de>
10671         * java/awt/dnd/DragSourceContext.java
10672         (addDragSourceListener): Added documentation.
10673         * java/awt/dnd/DragSourceDragEvent.java
10674         (serialVersionUID): New member variable.
10675         (getDropAction): Reformated.
10676         * java/awt/dnd/DragSourceDropEvent.java
10677         (serialVersionUID): New member variable.
10678         (dropSuccess): Renamed from success for serialization issues.
10679         * java/awt/dnd/DragSourceEvent.java
10680         (serialVersionUID): New member variable.
10681         * java/awt/dnd/DropTarget.java
10682         (serialVersionUID): New member variable.
10683         (DropTarget): Implemented, documentation reworked.
10684         (setComponent): Documentation added.
10685         (getComponent): Documentation added.
10686         (setDefaultActions): Documentation added.
10687         (getDefaultActions): Documentation added.
10688         (addDropTargetListener): Documentation added.
10689         * java/awt/dnd/DropTargetContext.java
10690         (DropTargetContext): Documentation added.
10691         (TransferableProxy.TransferableProxy): New method.
10692         (dropComplete): Fixed documentation.
10693         (getTransferable): Fixed documentation.
10694         (createTransferableProxy): Implemented.
10695         * java/awt/dnd/DropTargetDragEvent.java
10696         (DropTargetDragEvent): Documentation added.
10697         (serialVersionUID): New member variable.
10698         (DropTargetDragEvent): Throw exceptions, documentation added.
10699         (acceptDrag): Implemented.
10700         (getCurrentDataFlavors): Implemented.3yy
10701         (getCurrentDataFlavorsAsList): Implemented.
10702         (isDataFlavorSupported): Implemented.
10703         (rejectDrag): Implemented.
10704         * java/awt/dnd/DropTargetDropEvent.java
10705         (DropTargetDropEvent): Documentation added.
10706         (serialVersionUID): New member variable.
10707         (actions): Renamed from srcActions for serialization issues.
10708         (isLocalTx): Renamed from isLocalTx for serialization issues.
10709         (DropTargetDropEvent): New implementation, throw exceptions,
10710         documentation added.
10711         (getCurrentDataFlavors): Implemented.
10712         (getCurrentDataFlavorsAsList): Implemented.
10713         (isDataFlavorSupported): Implemented.
10714         (getSourceActions): Implemented.
10715         (getDropAction): Implemented.
10716         (getTransferable): Implemented.
10717         (acceptDrop): Implemented.
10718         (rejectDrop): Implemented.
10719         * java/awt/dnd/DropTargetListener.java
10720         (drop): Fixed documentation.
10721         * java/awt/dnd/MouseDragGestureRecognizer.java
10722         (MouseDragGestureRecognizer): Documentation added.
10724 2003-02-17  Michael Koch  <konqueror@gmx.de>
10726         * java/awt/font/FontRenderContext.java,
10727         java/awt/font/ShapeGraphicAttribute.java,
10728         java/awt/font/MultipleMaster.java,
10729         java/awt/font/TransformAttribute.java,
10730         java/awt/font/GlyphJustificationInfo.java,
10731         java/awt/font/LineBreakMeasurer.java,
10732         java/awt/font/TextMeasurer.java,
10733         java/awt/font/TextLayout.java,
10734         java/awt/font/LineMetrics.java,
10735         java/awt/font/TextAttribute.java,
10736         java/awt/font/GlyphMetrics.java,
10737         java/awt/font/OpenType.java,
10738         java/awt/font/GlyphVector.java,
10739         java/awt/font/GraphicAttribute.java,
10740         java/awt/font/ImageGraphicAttribute.java,
10741         java/awt/font/NumericShaper.java: New files.
10742         * Makefile.am
10743         (awt_java_source_files): Added the following files:
10744         java/awt/font/FontRenderContext.java
10745         java/awt/font/ShapeGraphicAttribute.java
10746         java/awt/font/MultipleMaster.java
10747         java/awt/font/TransformAttribute.java
10748         java/awt/font/GlyphJustificationInfo.java
10749         java/awt/font/LineBreakMeasurer.java
10750         java/awt/font/TextMeasurer.java
10751         java/awt/font/TextLayout.java
10752         java/awt/font/LineMetrics.java
10753         java/awt/font/TextAttribute.java
10754         java/awt/font/GlyphMetrics.java
10755         java/awt/font/OpenType.java
10756         java/awt/font/GlyphVector.java
10757         java/awt/font/GraphicAttribute.java
10758         java/awt/font/ImageGraphicAttribute.java
10759         java/awt/font/NumericShaper.java
10760         * Makefile.in: Regenerated.
10762 2003-02-17  Michael Koch  <konqueror@gmx.de>
10764         * java/awt/print/Paper.java
10765         (Paper): Implements Cloneable.
10766         * java/awt/print/PrinterJob.java
10767         (setJobName): Return value must be void.
10768         (print): Throws PrinterException.
10769         
10770 2003-02-16  Tom Tromey  <tromey@redhat.com>
10772         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
10773         variable.
10775 2003-02-15  Michael Koch  <konqueror@gmx.de>
10777         * java/awt/datatransfer/DataFlavor.java
10778         (isRepresentationClassByteBuffer): Removed try-catch block.
10779         (isRepresentationClassCharBuffer): Removed try-catch block.
10780         (isRepresentationClassReader): Removed try-catch block.
10782 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
10784         * java/nio/charset/Charset.java
10785         (isRegistered): Fixed method args and implementation.
10786         * java/nio/charset/CharsetEncoder.java
10787         (unmappableCharacterAction): New method.
10789 2003-02-15  Michael Koch  <konqueror@gmx.de>
10791         * java/awt/CheckboxMenuItem.java
10792         (CheckBoxMenuItem): Dont implement Serializable.
10793         (getListeners): New method,
10794         (getItemListeners): New method.
10795         * java/awt/Choice.java
10796         (getListeners): New method,
10797         (getItemListeners): New method.
10798         * java/awt/Container.java
10799         (getListeners): Added exception documentation.
10800         (setFocusTraversalKeys): Throw exceptions, added documentattion.
10801         (getFocusTraversalKeys): Added documentation.
10802         (areFocusTraversalKeysSet): Added documentation.
10803         (applyComponentOrientation): Added documentation.
10804         * java/awt/ContainerOrderFocusTraversalPolicy.java
10805         (implicitDownCycleTraversal): Renamed from downCycle for
10806         serialization.
10807         (ContainerOrderFocusTraversalPolicy): Added documentation.
10808         (accept): Reformated.
10809         * java/awt/Dialog.java
10810         (Dialog): Dont implement Serializable.
10811         (Dialog): Added documentation.
10812         * java/awt/Font.java
10813         (Font): Dont use absolute class name.
10814         * java/awt/Frame.java
10815         (Frame): Font implement Serializable.
10816         * java/awt/List.java
10817         (getListeners): New method,
10818         (getActionListeners): New method.       
10819         (getItemListeners): New method.
10820         * java/awt/Menu.java
10821         (countItems): New deprecated method.
10822         * java/awt/Scrollbar.java
10823         (getListeners): New method,
10824         (getAdjustmentListeners): New method,
10825         * java/awt/TextComponent.java
10826         (getListeners): New method,
10827         (getTextListeners): New method,
10828         * java/awt/TextField.java
10829         (getListeners): New method,
10830         (getActionListeners): New method.       
10831         * java/awt/Window.java
10832         (windowFocusListener): New member variable.
10833         (windowStateListener): New member variable.
10834         (getWindowFocusListeners): New method.
10835         (getWindowStateListeners): New method.
10836         (addWindowFocusListener): New method.
10837         (addWindowStateListener): New method.
10838         (removeWindowFocusListener): New method.
10839         (removeWindowStateListener): New method.
10840         * java/awt/datatransfer/DataFlavor.java
10841         (isRepresentationClassByteBuffer): New method.
10842         (isRepresentationClassCharBuffer): New method.
10843         (isRepresentationClassReader): New method.
10845 2003-02-14  Mark Wielaard  <mark@klomp.org>
10847         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
10848         zero when there is an exponent and the significant is zero.
10849         (divide): Always set scale to newScale even in special ZERO case.
10851 2003-02-14  Tom Tromey  <tromey@redhat.com>
10853         * java/lang/System.java (properties): Use Properties.clone.
10854         (setProperties): Likewise.
10856 2003-02-14  Michael Koch  <konqueror@gmx.de>
10858         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
10859         * gnu/java/nio/ServerSocketChannelImpl.java
10860         (SocketAccept): Removed.
10861         (accept): Commented out use of SocketAccept.
10863 2003-02-13  Tom Tromey  <tromey@redhat.com>
10865         * verify.cc (state::seen_subrs): New field.
10866         (state::state): Initialize it.
10867         (state::clean_subrs): New method.
10868         (state::~state): Call it.
10869         (state::copy): Copy subroutine list.
10870         (state::add_subr): New method.
10871         (state::merge): Only register a change if the current subroutine
10872         hasn't yet been noted.
10874 2003-02-13  Mark Wielaard  <mark@klomp.org>
10876         * java/io/InputStreamReader.java (getEncoding): Return null when
10877         closed.
10878         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
10880 2003-02-13  Mark Wielaard  <mark@klomp.org>
10882         * java/util/zip/InflaterInputStream.java (read): Return zero when len
10883         is zero.
10885 2003-02-13  Mark Wielaard  <mark@klomp.org>
10887         * java/io/BufferedOutputStream.java (write(int)): Only flush when
10888         next byte cannot be buffered.
10890 2003-02-13  Michael Koch  <konqueror@gmx.de>
10892         * java/awt/Label.java
10893         (Label): Don't implement Serializable directly.
10894         (addNotify): Fixed typo in documentation.
10895         * java/awt/List.java
10896         (List): Don't implement Serializable directly.
10897         * java/awt/PopupMenu.java
10898         (PopupMenu): Don't implement Serializable directly.
10899         * java/awt/ScrollPane.java
10900         (ScrollPane): Don't implement Serializable directly.
10901         * java/awt/Scrollbar.java
10902         (Scrollbar): Don't implement Serializable directly.
10903         * java/awt/TextArea.java
10904         (preferredSize): Fixed method arguments.
10905         * java/awt/TextField.java
10906         (TextField): Don't implement Serializable directly.
10907         * java/awt/color/ICC_ColorSpace.java
10908         (fromCIOXYZ): Documentation added.
10909         (getMinValue): Documentation added.
10910         (getMaxValue): Documentation added.
10911         * java/awt/datatransfer/DataFlavor.java
10912         (isMimeTypeEqual): May not be final.
10913         (clone): Throws CloneNotSupportedException.
10914         (getReaderForText): Don't throws UnsupportedEncodingException.
10916 2003-02-13  Michael Koch  <konqueror@gmx.de>
10918         * gnu/java/awt/peer/gtk/GdkGraphics.java
10919         (drawString): New stubbed method.
10920         * java/awt/Graphics.java
10921         (drawString): New method.
10923 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
10925         PR libgcj/9271:
10926         * java/security/SecureRandom.java (next): Avoid bias in results.
10928 2003-02-13  Michael  <konqueror@gmx.de>
10930         * gnu/java/nio/FileChannelImpl.java
10931         (lengthInternal): Must be native.
10932         (size): Check if channel is already closed.
10933         (implCloseChannel): Reformated.
10934         (read): w was unused, removed it.
10935         (read): Removed.
10936         (read): New method.
10937         (write): New method.
10938         (map): Check arguments.
10939         (force): Throws IOException, check if channel is closed.
10940         (transferTo): New method.
10941         (transferFrom): New method.
10942         (lock): New method.
10943         (tryLock): New method.
10944         (position): New method.
10945         (truncate): New method.
10946         (nio_mmap_file): Uncommented.
10947         (nio_munmap_file): Uncommented.
10948         (nio_msync): Uncommented.
10949         * gnu/java/nio/natFileChannelImpl.cc: New file.
10950         
10951 2003-02-13  Michael Koch  <konqueror@gmx.de>
10953         * java/nio/ByteBuffer.java
10954         (endian): New member variable.
10955         (get): New methods.
10956         (equals): New method.
10957         (compareTo): New method.
10958         (order): New methods.
10959         (compact): New method.
10960         (isDirect): New method.
10961         (slice): New method.
10962         (duplicate): New method.
10963         (asReadOnlyBuffer): New method.
10964         (asCharBuffer): New method.
10965         (asDoubleBuffer): New method.
10966         (asFloatBuffer): New method.
10967         (asIntBuffer): New method.
10968         (asLongBuffer): New method.
10969         (asShortBuffer): New method.
10970         (get*): New methods.
10971         (put*): New methods.
10972         (toString): New method.
10973         * java/nio/CharBuffer.java
10974         (CharBuffer): Implement Comparable instead of Cloneable.
10975         (get): May not be final.
10976         (put): May not be final.
10977         
10978 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
10980         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
10981         lastIndexOf( ) instead of indexOf( ) to find the colon before
10982         the line number, because Win32 file names might contain a 
10983         drive letter and a colon at the start of an absolute path.
10985 2003-02-13  Michael Koch  <konqueror@gmx.de>
10987         * gnu/java/nio/natSocketChannelImpl.cc
10988         (SocketConnect): This is not implemented yet.
10989         (SocketBind): This is not implemented yet.
10991 2003-02-13  Michael Koch  <konqueror@gmx.de>
10993         * gnu/java/nio/natByteBufferImpl.cc,
10994         gnu/java/nio/natCharBufferImpl.cc,
10995         gnu/java/nio/natDoubleBufferImpl.cc,
10996         gnu/java/nio/natFloatBufferImpl.cc,
10997         gnu/java/nio/natIntBufferImpl.cc,
10998         gnu/java/nio/natLongBufferImpl.cc,
10999         gnu/java/nio/natShortBufferImpl.cc:
11000         Added copyright and license.
11001         * java/nio/DoubleBuffer.java,
11002         java/nio/FloatBuffer.java,
11003         java/nio/IntBuffer.java,
11004         java/nio/LongBuffer.java,
11005         java/nio/ShortBuffer.java
11006         (array): Throw exceptions.
11007         (arrayOffset): Throw exceptions.
11009 2003-02-13  Michael Koch  <konqueror@gmx.de>
11011         * gnu/java/util/prefs/FileBasedFactory.java,
11012         gnu/java/util/prefs/MemmoryBasedFactory.java,
11013         gnu/java/util/prefs/MemoryBasedPreferences.java,
11014         gnu/java/util/prefs/NodeReader.java,
11015         gnu/java/util/prefs/NodeWriter.java,
11016         java/util/prefs/AbstractPreferences.java,
11017         java/util/prefs/BackingStoreException.java,
11018         java/util/prefs/InvalidPreferencesFormatException.java,
11019         java/util/prefs/NodeChangeEvent.java,
11020         java/util/prefs/NodeChangeListener.java,
11021         java/util/prefs/PreferenceChangeEvent.java,
11022         java/util/prefs/PreferenceChangeListener.java,
11023         java/util/prefs/Preferences.java,
11024         java/util/prefs/PreferencesFactory.java:
11025         New files, all merged from classpath.
11026         * Makefile.am
11027         (ordinary_java_source_files): Added the following files:
11028         gnu/java/util/prefs/FileBasedFactory.java,
11029         gnu/java/util/prefs/MemmoryBasedFactory.java,
11030         gnu/java/util/prefs/MemoryBasedPreferences.java,
11031         gnu/java/util/prefs/NodeReader.java,
11032         gnu/java/util/prefs/NodeWriter.java,
11033         (core_java_source_files): Added the following files:
11034         java/util/prefs/AbstractPreferences.java,
11035         java/util/prefs/BackingStoreException.java,
11036         java/util/prefs/InvalidPreferencesFormatException.java,
11037         java/util/prefs/NodeChangeEvent.java,
11038         java/util/prefs/NodeChangeListener.java,
11039         java/util/prefs/PreferenceChangeEvent.java,
11040         java/util/prefs/PreferenceChangeListener.java,
11041         java/util/prefs/Preferences.java,
11042         java/util/prefs/PreferencesFactory.java
11043         * Makefile.in: Regenerated.
11045 2003-02-13  Michael Koch  <konqueror@gmx.de>
11047         * java/net/NetPermission.java
11048         (NetPermission): Make doucmentation match the method declaration.
11049         * java/net/NetworkInterface.java
11050         (equals): Reformated for GNU coding style.
11051         * java/net/ServerSocket.java: Merged with classpath.
11052         * java/net/Socket.java: Partly merged with classpath (Added some @since).
11053         * java/net/SocketImpl.java
11054         (localPort): Merged with classpath (initialize with -1).
11055         * java/net/SocketPermission.java: Merged with classpath (reindented).
11056         * java/net/URLDecoder.java: Merged with classpath (reindented).
11058 2003-02-13  Michael Koch  <konqueror@gmx.de>
11060         * java/awt/GridBagConstraints.java
11061         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
11062         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
11063         * java/awt/KeyboardFocusManager.java
11064         (setGlobalCurrentFocusCycleRoot): Must be public.
11065         * java/awt/MenuComponent.java
11066         (MenuComponent): Must be public.
11067         * java/awt/Toolkit.java:
11068         Added some empty lines to make documentation more readable.
11069         (getFontPeer): Added @deprecated.
11070         (getColorModel): Added exception documentation.
11071         (getProperty): Fixed documentation.
11073 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
11075         * configure.host (alpha*-*): Default to -mieee.
11076         * configure.in (IEEESPEC): New.
11077         * libgcj.spec.in (jc1): Add IEEESPEC.
11078         * configure: Rebuild.
11080 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
11082         * include/win32.h: Include ws2tcpip.h instead of
11083         winsock.h to obtain definition of the socklen_t type.
11084         Remove IP_TOS definition - not needed with ws2tcpip.h
11085         (_Jv_connect): Correct slight formatting error.
11087 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
11089         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
11090         size of the arguments for a JNI function. For Win32,
11091         modify to search for all forms of possible exported
11092         names of an stdcall JNI function.
11093         (_Jv_JNIMethod::call): Modify to calculate the size
11094         of the arguments passed to a JNI function and pass
11095         it to _Jv_LookupJNIMethod.
11097 2003-02-12  Michael Koch  <konqueror@gmx.de>
11099         * java/nio/channels/Channels.java: New file.
11100         * Makefile.am
11101         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
11102         * Makefile.in: Regenerated.
11104 2003-02-12  Michael Koch  <konqueror@gmx.de>
11106         * java/nio/ByteBuffer.java
11107         (allocate): Implemented.
11108         (wrap): Implemented.
11109         * java/nio/CharBuffer.java:
11110         Some documentation added and reworked.
11111         (endian): Removed.
11112         (allocate): Implemented.
11113         (wrap): Implemented.
11114         (array): Throw exceptions.
11115         (arrayOffset): Throw exceptions.
11116         (toString): Implemented.
11117         (length): Implemented.
11118         (put): Implemented.
11119         (charAt): Implemented.
11121 2003-02-11  John Leuner  <jewel@debian.org>
11123         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
11124         reads from end of file.
11126 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
11128         * java/io/natFileDescriptorWin32.cc 
11129         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
11130         returns with Win32 error code ERROR_BROKEN_PIPE.
11132 2003-02-11  Michael Koch  <konqueror@gmx.de>
11134         * Makefile.in
11135         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
11137 2003-02-11  Michael Koch  <konqueror@gmx.de>
11139         * gnu/java/nio/ByteBufferImpl.java:
11140         Reformated and removed some code.
11141         (backing_buffer): Removed.      
11142         (array_offset): Removed.
11143         (ro): Renamed to readOnly.
11144         (ByteBufferImpl): Use parent constructor, initialize readOnly.
11145         * gnu/java/nio/CharBufferImpl.java:
11146         Reformated and removed some code.
11147         (array_offset): Removed.
11148         (ro): Renamed to readOnly.
11149         (CharBufferImpl): Use parent constructor, initialize readOnly.
11150         (inc_pos): Removed.
11151         (order): New method.
11152         * gnu/java/nio/DoubleBufferImpl.java:
11153         Reformated and removed some code.
11154         (array_offset): Removed.
11155         (ro): Renamed to readOnly.
11156         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
11157         (inc_pos): Removed.
11158         (order): New method.
11159         * gnu/java/nio/FloatBufferImpl.java:
11160         Reformated and removed some code.
11161         (array_offset): Removed.
11162         (ro): Renamed to readOnly.
11163         (FloatBufferImpl): Use parent constructor, initialize readOnly.
11164         (inc_pos): Removed.
11165         (order): New method.
11166         * gnu/java/nio/IntBufferImpl.java:
11167         Reformated and removed some code.
11168         (array_offset): Removed.
11169         (ro): Renamed to readOnly.
11170         (IntBufferImpl): Use parent constructor, initialize readOnly.
11171         (inc_pos): Removed.
11172         (order): New method.
11173         * gnu/java/nio/LongBufferImpl.java:
11174         Reformated and removed some code.
11175         (array_offset): Removed.
11176         (ro): Renamed to readOnly.
11177         (LongBufferImpl): Use parent constructor, initialize readOnly.
11178         (inc_pos): Removed.
11179         (order): New method.
11180         * gnu/java/nio/ShortBufferImpl.java:
11181         Reformated and removed some code.
11182         (array_offset): Removed.
11183         (ro): Renamed to readOnly.
11184         (ShortBufferImpl): Use parent constructor, initialize readOnly.
11185         (inc_pos): Removed.
11186         (order): New method.
11187         * Makefile.am
11188         (ordinary_java_source_files): Added the following files:
11189         gnu/java/nio/ByteBufferImpl.java
11190         gnu/java/nio/CharBufferImpl.java
11191         gnu/java/nio/DoubleBufferImpl.java
11192         gnu/java/nio/FloatBufferImpl.java
11193         gnu/java/nio/IntBufferImpl.java
11194         gnu/java/nio/LongBufferImpl.java
11195         gnu/java/nio/ShortBufferImpl.java
11196         java/nio/DoubleBuffer.java
11197         java/nio/FloatBuffer.java
11198         java/nio/IntBuffer.java
11199         java/nio/LongBuffer.java
11200         java/nio/ShortBuffer.java
11201         (nat_source_files): Added the following files:
11202         gnu/java/nio/natByteBufferImpl.cc
11203         gnu/java/nio/natCharBufferImpl.cc
11204         gnu/java/nio/natDoubleBufferImpl.cc
11205         gnu/java/nio/natFloatBufferImpl.cc
11206         gnu/java/nio/natIntBufferImpl.cc
11207         gnu/java/nio/natLongBufferImpl.cc
11208         gnu/java/nio/natShortBufferImpl.cc
11209         * Makefile.in: Regenerated.
11211 2003-02-11  Michael Koch  <konqueror@gmx.de>
11213         * gnu/java/nio/natCharBufferImpl.cc
11214         (nio_cast): Removed.
11215         (nio_put_*): Removed.
11216         (nio_get_*): Removed.
11217         * gnu/java/nio/natDoubleBufferImpl.cc
11218         (nio_cast): Removed.
11219         (nio_put_*): Removed.
11220         (nio_get_*): Removed.
11221         * gnu/java/nio/natFloatBufferImpl.cc
11222         (nio_cast): Removed.
11223         (nio_put_*): Removed.
11224         (nio_get_*): Removed.
11225         * gnu/java/nio/natIntBufferImpl.cc
11226         (nio_cast): Removed.
11227         (nio_put_*): Removed.
11228         (nio_get_*): Removed.
11229         * gnu/java/nio/natLongBufferImpl.cc
11230         (nio_cast): Removed.
11231         (nio_put_*): Removed.
11232         (nio_get_*): Removed.
11233         * gnu/java/nio/natShortBufferImpl.cc
11234         (nio_cast): Removed.
11235         (nio_put_*): Removed.
11236         (nio_get_*): Removed.
11237         * gnu/java/nio/SelectorProviderImpl.java
11238         (openDatagramChannel): Throws IOException.
11239         (openPipe): Throws IOException.
11240         (openSelector): Throws IOException.
11241         (openServerSocketChannel): Throws IOException.
11242         (openSocketChannel): Throws IOException.
11243         * gnu/java/nio/ServerSocketChannelImpl.java
11244         (ServerSocketChannelImpl): Throws IOException.
11245         (implCloseSelectableChannel): Throws IOException.
11246         (implConfigureBlocking): Throws IOException.
11247         * java/nio/ByteBuffer.java
11248         (readOnly): Removed.
11249         (hasArray): Use isReadOnly() instead of readOnly.
11250         (array): Use isReadOnly() instead of readOnly.
11251         (arrayOffset): Use isReadOnly() instead of readOnly.
11252         * java/nio/CharBuffer.java
11253         (CharBuffer): Implements Cloneable and CharSequence.
11255 2003-02-11  Michael Koch  <konqueror@gmx.de>
11257         * java/nio/DoubleBuffer.java
11258         (DoubleBuffer): Implements Comparable.
11259         (endian): Removed.
11260         (array_offset): New member variable.
11261         (DoubleBuffer): New constuctor.
11262         (get): May not be final.
11263         (put): May not be final.
11264         (arrayOffset): Implemented.
11265         (order): Made abstract.
11266         (order): Removed.
11267         (as*Buffer): Removed.
11268         (get*): Removed.
11269         (put*): Removed.
11270         * java/nio/FloatBuffer.java
11271         (FloatBuffer): Implements Comparable.
11272         (endian): Removed.
11273         (array_offset): New member variable.
11274         (FloatBuffer): New constuctor.
11275         (get): May not be final.
11276         (put): May not be final.
11277         (arrayOffset): Implemented.
11278         (order): Made abstract.
11279         (order): Removed.
11280         (as*Buffer): Removed.
11281         (get*): Removed.
11282         (put*): Removed.
11283         * java/nio/IntBuffer.java
11284         (IntBuffer): Implements Comparable.
11285         (endian): Removed.
11286         (array_offset): New member variable.
11287         (IntBuffer): New constuctor.
11288         (get): May not be final.
11289         (put): May not be final.
11290         (arrayOffset): Implemented.
11291         (order): Made abstract.
11292         (order): Removed.
11293         (as*Buffer): Removed.
11294         (get*): Removed.
11295         (put*): Removed.
11296         * java/nio/LongBuffer.java
11297         (LongBuffer): Implements Comparable.
11298         (endian): Removed.
11299         (array_offset): New member variable.
11300         (LongBuffer): New constuctor.
11301         (get): May not be final.
11302         (put): May not be final.
11303         (arrayOffset): Implemented.
11304         (order): Made abstract.
11305         (order): Removed.
11306         (as*Buffer): Removed.
11307         (get*): Removed.
11308         (put*): Removed.
11309         * java/nio/ShortBuffer.java
11310         (ShortBuffer): Implements Comparable.
11311         (endian): Removed.
11312         (array_offset): New member variable.
11313         (ShortBuffer): New constuctor.
11314         (get): May not be final.
11315         (put): May not be final.
11316         (arrayOffset): Implemented.
11317         (order): Made abstract.
11318         (order): Removed.
11319         (as*Buffer): Removed.
11320         (get*): Removed.
11321         (put*): Removed.
11323 2003-02-11   Michael Koch  <konqueror@gmx.de>
11325         * java/nio/channels/SelectionKey.java
11326         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
11327         values.
11329 2003-02-11  Michael Koch  <konqueror@gmx.de>
11331         * java/nio/channels/DatagramChannel.java
11332         (write): Throws IOException.
11333         (connect): Throws IOException.
11334         (disconnect): Throws IOException.
11335         (read): Throws IOException.
11336         (receive): Throws IOException.
11337         (send): Throws IOException.
11338         * java/nio/channels/Pipe.java
11339         (open): Throws IOException.
11340         * java/nio/channels/SelectableChannel.java
11341         (configureBlocking): Throws IOException.
11342         * java/nio/channels/ServerSocketChannel.java
11343         (accept): Throws IOException.
11344         * java/nio/channels/SocketChannel.java
11345         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
11346         GatheringByteChannel.
11347         (read): Throws IOException.
11348         (write): Throws IOException.
11349         (finishConnect): Throws IOException.
11350         * java/nio/channels/spi/AbstractInterruptibleChannel.java
11351         (end): Throws AsynchronousCloseException.
11352         * java/nio/channels/spi/AbstractSelectableChannel.java
11353         (configureBlocking): Throws IOException.
11354         (implCloseChannel): Throws IOException.
11355         (implCloseSelectableChannel): Throws IOException.
11356         (implConfigureBlocking): Throws IOException.
11357         * java/nio/channels/spi/SelectorProvider.java
11358         (openDatagramChannel): Throws IOException.
11359         (openPipe): Throws IOException.
11360         (openSelector): Throws IOException.
11361         (openServerSocketChannel): Throws IOException.
11362         (openSocketChannel): Throws IOException.
11364 2003-02-11  Michael Koch  <konqueror@gmx.de>
11366         * gnu/java/nio/FileLockImpl.java,
11367         java/nio/channels/FileLock.java: New files.
11369 2003-02-11  Michael Koch  <konqueror@gmx.de>
11371         * java/nio/charset/IllegalCharsetNameException.java
11372         (serialVersionUID): New member variable.
11373         (charsetName): New member variable.
11374         (IllegalCharsetException): New implementation.
11375         (getCharsetName): New implementation.
11376         * java/nio/charset/UnsupportedCharsetException.java
11377         (serialVersionUID): New member variable.
11378         (charsetName): New member variable.
11379         (UnsupportedCharsetException): New implementation.
11380         (getCharsetName): New implementation.
11382 2003-02-10  Tom Tromey  <tromey@redhat.com>
11384         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
11385         (ex): Renamed from sqlException.
11387 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
11389         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
11390         method used to ensure seeding has occurred and that a specific 
11391         seed can be set and used.
11393 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
11395         * java/lang/Win32Process.java (destroy): Declare as native.
11396         (hasExited): New native method.
11397         (exitValue): Define.
11398         (getErrorStream): Likewise.
11399         (getInputStream): Likewise.
11400         (getOutputStream): Likewise.
11401         (waitFor): Declare as native.
11402         (startProcess): New native method.
11403         (cleanup): Likewise.
11404         (ConcreteProcess): Define.
11405         (outputStream, inputStream, errorStream): New members.
11406         (procHandle, exitCode): Likewise.
11408         * java/lang/natWin32Process.cc
11409         (java::lang::ConcreteProcess::cleanup): Define.
11410         (java::lang::ConcreteProcess::destroy): Likewise.
11411         (java::lang::ConcreteProcess::hasExited): Likewise.
11412         (java::lang::ConcreteProcess::waitFor): Likewise.
11413         (new_string): Likewise.
11414         (java::lang::ConcreteProcess::startProcess): Likewise.
11416 2003-02-10  Raif S. Naffah <raif@fl.net.au>
11418         * java/math/BigInteger.java:
11419         Updated notice to include years 2002 and 3.
11420         Added 2 private (int) arrays with values from the HAC (Handbook of
11421         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
11422         and t[] that contains nbr. of tests --used in isProbablePrime().
11424         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
11426         * java/math/BigInteger.java (make(int[],int), add(int,int),
11427         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
11428         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
11429         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
11430         make(long).
11432         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
11433         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
11434         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
11435         BIs and returns void.
11436         (modInverse(BI)): Use new signatures of euclidInv().
11438         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
11439         static small primes instead of remainder().
11440         Use pre-computed max nbr of trials based on bitlength of BI to test.
11441         Use pre-computed small primes for the trial tests instead of random
11442         numbers.
11444         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
11445         not used.
11447         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
11448         invoacation of MPN.chars_per_word().  not used.
11450         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
11451         local var and used where needed.
11453         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
11454         Combined declaration with initialisation of locals.
11455         Removed unused var.
11457         * java/math/BigInteger.java: Style changes
11458         (pow(int)): Removed 'else' keyword.
11459         (toString(int)): idem.
11460         (doubleValue()): idem.
11461         (bitLength()): idem.
11462         (equals(Object)): Use static methods name in same class w/o prepending
11463         class name.
11464         (doubleValue()): idem.
11465         (setNegative(BI)): idem.
11466         (negate()): idem.
11467         (and(BI,int)): idem.
11468         (and(BI)): idem.
11469         (gcd(BI)): idem.
11470         (byteArrayToIntArray()): Removed casting to (int). this is
11471         std. behaviour.
11472         (canonicalize()): idem.
11473         (alloc(int)): Always instantiate a new BI.
11475 2003-02-10  Tom Tromey  <tromey@redhat.com>
11477         * java/sql/Timestamp.java (compareTo(Object)): New method.
11478         (compareTo(Timestamp)): Likewise.
11479         (serialVersionUID): Updated.
11481 2003-02-07  Mark Wielaard  <mark@klomp.org>
11483         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
11484         when verify is true.
11485         (JarFile(File, boolean)): Likewise.
11486         (manifestRead): Set manifestRead field correctly.
11488 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
11490         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
11491         tests; see patch #1016 on Savannah.
11493 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
11495         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
11496         (toString): do not return Strings starting with . and - erroneously.
11497         Improves Mauve results to 12 of 600 instead of 16 of 338 on
11498         DiagBigDecimal.
11500 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
11502         * java/beans/PropertyDescriptor.java
11503         (PropertyDescriptor(String, Class)): Sanity check getter and setter
11504         methods.
11505         (PropertyDescriptor(String, Class, String, String)): Likewise.
11506         (PropertyDescriptor(String, Method, Method): Factor out getter and
11507         setter method sanity checks into new method.
11508         (findMethods): Don't do parameter sanity checking of get method here.
11509         (checkMethods): New method.
11511 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
11513         * java/beans/PropertyDescriptor.java: Reformat.
11515 2003-02-04  Tom Tromey  <tromey@redhat.com>
11517         * java/io/PipedOutputStream.java (flush): Declare as throwing
11518         IOException.
11519         (close): Likewise.
11520         * java/io/PipedWriter.java (close): Declare as throwing
11521         IOException.
11522         * java/io/StringWriter.java (close): Declare as throwing
11523         IOException.
11525 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
11527         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
11528         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
11529         could also have been exported as "JNI_OnLoad@8" (MinGW) or
11530         "_JNI_OnLoad@8" (MSVC).
11532 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
11534         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
11535         convention on Win32 to invoke native JNI methods.
11537 2003-02-03  Andrew Haley  <aph@redhat.com>
11539         * configure.host (x86_64): Enable interpreter.
11541 2003-02-03  Andrew Haley  <aph@redhat.com>
11543         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
11544         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
11545         * configure.in (BACKTRACESPEC): New.
11546         * configure: Regenerate.
11548 2003-02-02  Tom Tromey  <tromey@redhat.com>
11550         * configure: Rebuilt.
11551         * configure.in (TOOLKIT) [xlib]: Set correctly.
11553         * Makefile.in: Rebuilt.
11554         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
11555         libstdc++.
11557 2003-01-31  Mark WIelaard  <mark@klomp.org>
11559         * Makefile.in: Rebuilt.
11560         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
11562 2003-01-31  Tom Tromey  <tromey@redhat.com>
11564         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
11565         cast to element type.
11566         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
11567         (_Jv_JNI_GetObjectArrayElement): Likewise.
11569         * Makefile.in: Rebuilt.
11570         * Makefile.am (cond_x_ltlibrary): Renamed library to
11571         lib-gnu-awt-xlib.la.
11572         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
11573         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
11574         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
11575         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
11576         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
11577         (lib_gnu_awt_xlib_la_LINK): Likewise.
11578         (install-exec-hook): Removed.
11579         (lib-gnu-awt-xlib.la): Renamed.
11581 2003-01-31  Tom Tromey  <tromey@redhat.com>
11583         * aclocal.m4, configure, include/config.h.in: Rebuilt.
11584         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
11585         aclocal.m4 and lost in some merge.
11587         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
11588         Don't try to find graphics configuration.
11589         * java/awt/Toolkit.java (default_toolkit_name): Use new
11590         Configuration entry.
11591         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
11592         New global.
11593         * configure: Rebuilt.
11594         * configure.in (TOOLKIT): New subst.
11595         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
11596         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
11597         directory.  Make output directories for .c files.
11598         * Makefile.in: Rebuilt.
11599         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
11600         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
11601         (all_java_source_files): Added new sources.
11602         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
11603         (gtk_c_files): New macro.
11604         (gtk_c_source_files): New macro.
11605         (cond_gtk_ltlibrary): New macro.
11606         ($(gtk_c_files)): New target.
11607         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
11608         (gtk_awt_peer_sources): New macro.
11609         (gtk_c_headers): New macro.
11610         ($(gtk_c_headers)): New target.
11611         (ACLOCAL_AMFLAGS): New macro.
11612         * gtk.m4, glib.m4, libart.m4: New files.
11613         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
11614         gnu/java/awt/peer/gtk/GdkGraphics.java,
11615         gnu/java/awt/peer/gtk/GtkArg.java,
11616         gnu/java/awt/peer/gtk/GtkArgList.java,
11617         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
11618         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
11619         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
11620         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
11621         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
11622         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
11623         gnu/java/awt/peer/gtk/GtkClipboard.java,
11624         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11625         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
11626         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
11627         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
11628         gnu/java/awt/peer/gtk/GtkFontPeer.java,
11629         gnu/java/awt/peer/gtk/GtkFramePeer.java,
11630         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
11631         gnu/java/awt/peer/gtk/GtkImage.java,
11632         gnu/java/awt/peer/gtk/GtkImagePainter.java,
11633         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
11634         gnu/java/awt/peer/gtk/GtkListPeer.java,
11635         gnu/java/awt/peer/gtk/GtkMainThread.java,
11636         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
11637         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
11638         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
11639         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
11640         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
11641         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
11642         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
11643         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
11644         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
11645         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11646         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
11647         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
11648         gnu/java/awt/peer/gtk/GtkToolkit.java,
11649         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11650         gnu/java/awt/peer/gtk/TestAWT.java,
11651         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
11652         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
11653         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
11654         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
11655         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
11656         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
11657         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
11658         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
11659         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
11660         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
11661         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
11662         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
11663         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
11664         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
11665         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
11666         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
11667         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
11668         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
11669         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
11670         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
11671         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
11672         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
11673         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
11674         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
11675         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
11676         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
11677         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
11678         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
11679         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
11680         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
11681         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
11682         jni/classpath/native_state.c, jni/classpath/native_state.h,
11683         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
11685 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
11687         * java/util/Properties.java (load): Ignore backslash before EOF.
11689 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
11691         * java/lang/natClass.cc (initializeClass): Check tables when
11692         (state == JV_STATE_IN_PROGRESS).
11693         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
11694         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
11695         interpreted classes.
11696         (linkClass0): Use _Jv_WaitForState.
11698 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
11700         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
11701         object when finished.
11703 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
11705         * libjava/configure.host: Disable can_unwind_signal on darwin.
11707 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
11709         Fixes PR java/9254:
11710         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
11711         additionally containing id of the owner thread as well as
11712         the number of nested times the thread has acquired the mutex.
11713         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
11714         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
11715         (_Jv_MutexUnlock): Check if really the owner thread, reset
11716         owner thread id to 0 before leaving, if leaving for the last
11717         time.
11718         (_Jv_MutexLock): Set owner thread id in the mutex and increment
11719         refcount.
11720         (_Jv_ThreadYield): Yield using a call to Sleep(0).
11721         * win32-threads.cc (_Jv_CondWait): Check if really owner of
11722         the passed mutex.
11723         Pass handle of the broadcast event, instead of a pointer to it
11724         in Win32 ResetEvent( ) call.
11725         Remove incorrect return values.
11726         (_Jv_CondDestroy): Close both event handles and delete
11727         critical section.
11728         (_Jv_CondNotify): Check if really the owner thread.
11729         (_Jv_CondNotifyAll): Check if really the owner thread.
11730         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
11731         (really_start): Use SetEvent( ) to signal daemon_cond.
11732         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
11733         WaitForSingleObject( ) instead to wait for daemon_cond to be
11734         signalled.
11736 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
11738         * configure.in: Specifically define HAVE_BACKTRACE if building
11739         for MinGW.
11740         * include/win32.h: Remove HAVE_BACKTRACE definition.
11741         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
11742         * configure: Rebuilt.
11744 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
11746         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
11747         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
11748         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
11749         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
11750         * Makefile.in, configure: Rebuilt.
11752 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
11754         Fixes PR java/9253:
11755         * java/io/natFileWin32.cc (performList): Append only "*.*"
11756         if the canonical file path already has a "\" at the end.
11758 2003-01-24  Tom Tromey  <tromey@redhat.com>
11760         * defineclass.cc (handleMethodsEnd): Precompute code for static
11761         method.
11762         (handleCodeAttribute): Likewise.
11763         * resolve.cc (ncode): Use run_class for unsynchronized static
11764         methods.
11765         * include/java-interp.h (class _Jv_InterpMethod): Declare
11766         run_class.
11767         * interpret.cc (run_synch_class): Initialize class.
11768         (run) [insn_invokestatic]: Don't initialize class.
11769         [insn_anewarray]: Likewise.
11770         [insn_multianewarray]: Likewise.
11771         (run_class): New function.
11773 2003-01-24  Tom Tromey  <tromey@redhat.com>
11775         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
11776         comment.
11778 2003-01-22  Andrew Haley  <aph@redhat.com>
11780         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
11781         * configure.host (CHECKREFSPEC): Define for x86_64.
11783 2003-01-21  Tom Tromey  <tromey@redhat.com>
11785         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
11786         search at 2, not 3.
11788 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
11790         * java/io/natFileWin32.cc (isAbsolute): Check path length before
11791         looking at any characters.
11792         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
11793         be used.
11794         (isAbsolute): Check path's length as well.
11796 2003-01-17  Mark Wielaard  <mark@klomp.org>
11798         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
11799         (nat_source_files): Add natVMObjectStreamClass.cc.
11800         * Makefile.in: Regenerated.
11801         * gcj/javaprims.h (namespace java): Regenerated.
11802         * java/io/ObjectStreamClass.java (getClassUID): Call
11803         VMObjectStreamClass.hasClassInitializer().
11804         (hasClassInitializer): Removed.
11805         * java/io/VMObjectStreamClass.java: New class.
11806         * java/io/natVMObjectStreamClass.cc: New file.
11807         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
11809 2003-01-16  Mark Wielaard  <mark@klomp.org>
11811         * java/net/SocketImpl.java (toString): Don't explicitly call
11812         toString() on possible null address.
11814 2003-01-16  Michael Koch  <konqueror@gmx.de>
11816         * java/net/MulticastSocket.java
11817         (setInterface): Reindented.
11819 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
11821         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
11822         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
11823         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
11824         translateY arguments.  Implement.
11825         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
11826         down translation arguments.
11827         (drawPolyline, drawPolygon): Fix incorrect tests.
11828         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
11829         translateX and translateY arguments.
11831 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
11833         * Makefile.in: Rebuilt.
11834         * Makefile.am (xlib_includes): New macro.
11835         (INCLUDES): Use it.
11837 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
11839         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
11840         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
11841         16-bit display mode.
11843 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
11845         * java/awt/CardLayout.java (show): Rewrote.
11846         (gotoComponent): Removed `target' argument.  Simplified code.
11847         Don't pre-compute `choice' unless `what' is FIRST or LAST.
11848         Changed all callers.
11849         (NONE): Removed.
11850         
11851 2003-01-14  Michael Koch  <konqueror@gmx.de>
11853         * java/net/InetSocketAddress.java
11854         (serialVersionUID): New member variable.
11855         * java/net/NetPermission.java
11856         (NetPermission): Dont implement java.io.Serialization directly.
11857         * java/net/SocketAddress.java:
11858         (serialVersionUID): Documentation added.
11859         
11860 2003-01-14  Michael Koch  <konqueror@gmx.de>
11862         * java/awt/Label.java
11863         (Label): Implements javax.accessibility.Accessible;
11864         * java/awt/List.java
11865         (List): Implements javax.accessibility.Accessible;
11866         * java/awt/ScrollPane.java
11867         (ScrollPane): Implements javax.accessibility.Accessible;
11868         * java/awt/Scrollbar.java
11869         (Scrollbar): Implements javax.accessibility.Accessible;
11870         * java/awt/TextComponent.java
11871         (setCaretPosition): Throw exception, documentation added.
11872         * java/awt/Toolkit.java:
11873         Added some newlines in method documentations.
11874         (createButton): Exception documentation added.
11875         (createTextField): Exception documentation added.
11876         (createLabel): Exception documentation added.
11877         (createList): Exception documentation added.
11878         (createCheckbox): Exception documentation added.
11879         (createScrollbar): Exception documentation added.
11880         (createScrollPane): Exception documentation added.
11881         (createTextArea): Exception documentation added.
11882         (createChoice): Exception documentation added.
11883         (createFrame): Exception documentation added.
11884         (createWindow): Exception documentation added.
11885         (createDialog): Exception documentation added.
11886         (createMenuBar): Exception documentation added.
11887         (createMenu): Exception documentation added.
11888         (createMenuItem): Exception documentation added.
11889         (createFileDialog): Exception documentation added.
11890         (createCheckboxMenuItem): Exception documentation added.
11891         (loadSystemColors): Exception documentation added.
11892         (setDynamicLayout): Exception documentation added.
11893         (isDynamicLayoutSet): Exception documentation added.
11894         (isDynamicLayoutActive): Exception documentation added.
11895         (getScreenSize): Exception documentation added.
11896         (getScreenResolution): Exception documentation added.
11897         (getScreenInsets): Exception documentation added.
11898         (getColorModel): Exception documentation added.
11899         (getSystemClipboard): Exception documentation added.
11900         (getSystemSelection): Exception documentation added.
11901         (getMenuShortcutKeyMask): Exception documentation added.
11902         (getSystemEventQueue): Exception documentation added.
11903         * java/awt/Window.java:
11904         Reindented some code.
11905         (Window): Centralized implementation, documentation added.
11906         (finalize): Documentation added.
11907         (hide): Fixed typo in comment.
11908         (getWindowListeners): Documentation added.
11909         * java/awt/color/ColorSpace.java
11910         (toRGB): Documentation added.
11911         * java/awt/color/ICC_ColorSpace.java
11912         (ICC_ColorSpace): Documentation added.
11913         (toRGB): Throw exception, documentation added.
11914         (fromRGB): Throw exception, documentation added.
11915         (toCIEXYZ): Documentation added.
11916         (fromCIEXYZ): Documentation added.
11917         (getMinValue): Documentation added.
11918         (getMaxValue): Documentation added.
11919         * java/awt/geom/Dimension2D.java
11920         (clone): Documentation added.
11921         * java/awt/geom/GeneralPath.java
11922         (clone): Documentation added.
11923         * java/awt/geom/Line2D.java
11924         (clone): Documentation added.
11925         * java/awt/geom/QuadCurve2D.java
11926         (clone): Documentation added.
11927         * java/awt/image/ColorModel.java
11928         (ColorModel): Throw exception, documentation added.
11929         * java/awt/image/ImageFilter.java
11930         (clone): Doesnt throw CloneNotSupportedException.
11932 2003-01-14  Andrew Haley  <aph@redhat.com>
11934         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
11935         in a try block.
11937 2003-01-10  Andrew Haley  <aph@redhat.com>
11939         * include/dwarf2-signal.h: Remove x86_64.
11940         * configure.host (x86_64 DIVIDESPEC): Remove.
11941         * include/x86_64-signal.h: New file.
11942         * configure.in: Regenerate.
11944 2003-01-10  Michael Koch  <konqueror@gmx.de>
11946         * java/net/DatagramSocket.java
11947         (ch): Description added.
11948         (remotePort): Initialize with -1.
11949         (connect): Doesnt throws SocketException.
11950         * java/net/MulticastSocket.java
11951         (setInterface): Merge with Classpath.
11952         * java/net/ServerSocket.java
11953         (closed): New member variable.
11954         (bind): Check if socket is closed.
11955         (close): Close an associated channel too, set new value to closed.
11956         (isBound): Reindented.
11957         (isClosed): Implemented.
11958         * java/net/Socket.java
11959         (closed): New member variable.
11960         (bind): Check if socket is closed.
11961         (connect): Check if socket is closed.
11962         (close): Close an associated channel too, set new value to closed.
11963         (isClosed): Implemented.
11965 2003-01-10  Michael Koch  <konqueror@gmx.de>
11967         * java/awt/DisplayMode.java
11968         (equals): Fixed argument type and implementation.
11970 2003-01-07  Tom Tromey  <tromey@redhat.com>
11972         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
11973         JV_HASH_SYNCHRONIZATION.
11974         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
11975         JV_HASH_SYNCHRONIZATION.
11977 2003-01-07  Michael Koch  <konqueror@gmx.de>
11979         * java/net/DatagramSocket.java:
11980         Added classpath license info.
11981         (DatagramSocket): Merged description with classpath.
11982         (close): Merged description with classpath.
11983         (getChannel): Merged description with classpath.
11984         (getInetAddress): Merged description with classpath.
11985         (getPort): Merged description with classpath.
11986         (getLocalAddress): Merged description with classpath.
11987         (getLocalPort): Merged description with classpath.
11988         (getSoTimeout): Merged description with classpath.
11989         (setSoTimeout): Merged description with classpath.
11990         (getSendBufferSize): Merged description with classpath.
11991         (setSendBufferSize): Merged description with classpath.
11992         (getReceiveBufferSize): Merged description with classpath.
11993         (setReceiveBufferSize): Merged description with classpath.
11994         
11995 2003-01-04  Tom Tromey  <tromey@redhat.com>
11997         * java/awt/List.java: Merged with Classpath.
11999 2003-01-03  Mark Wielaard  <mark@klomp.org>
12001         * java/io/FileDescriptor.java (position): New private field.
12002         * java/io/natFileDescriptorPosix.cc (write): Up position.
12003         (setLength): Use and set position.
12004         (seek): Set position.
12005         (getFilePointer): Return position.
12006         (read): Up position.
12008 2003-01-03  Mark Wielaard  <mark@klomp.org>
12010         Merge with Classpath:
12011         * java/io/ObjectStreamClass.java (lookup): Split method and call
12012         lookupForClassObject().
12013         (lookupForClassObject): New method.
12014         (isProxyClass): New field.
12015         (setClass): Set isProxyClass, add object to classLookupTable, set
12016         superClass and calculateOffsets.
12017         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
12018         and not a proxy class.
12019         (setFields): Set accessible true for serialPersistentFields.
12020         (getClassUID): Same for suid. And check if suid is of type long.
12021         (hasClassInitializer): Don't throw NoSuchMethodError.
12023 2003-01-03  Mark Wielaard  <mark@klomp.org>
12025         * java/io/FileInputStream.java (finalize): Don't explicitly
12026         finalize FileDescriptor.
12028 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
12030         * configure.host (sparc*-*): Enable bytecode interpreter.
12032 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
12034         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
12035         Don't throw RemoteException.
12036         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
12037         throw RemoteException.
12039 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
12041         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
12042         proxyHost): New static fields.
12043         (<clinit>): Initialize new fields.
12044         (connect): Use proxy if necessary.
12045         (usingProxy): Implement.
12047 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
12049         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
12050         (TreeIterator.remove): Prefer IllegalStateException over
12051         ConcurrentModificationException, to match Sun.
12053 2002-12-22  Anthony Green  <green@redhat.com>
12055         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
12057 2003-01-02  Mark Wielaard  <mark@klomp.org>
12059         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
12060         public.
12061         (HTTP_USE_PROXY): Add field.
12062         (getResponseVals): Only set responseCode when not yet explicitly
12063         set by subclass.
12065 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
12066             Mark Wielaard  <mark@klomp.org>
12068         * java/util/zip/ZipFile.java (entries): Now HashMap.
12069         (readLeShort(DataInput, byte[])): Read from given byte array.
12070         (readLeInt(DataInput, byte[]): Likewise.
12071         (readLeShort(byte[] b, int off)): New method.
12072         (readLeInt(byte[] b, int off)): Likewise.
12073         (readEntries): Use byte arrays to read info in bigger chunks.
12074         (getEntries): Return HashMap.
12075         (getEntry): Use HashMap.
12076         (locBuf): New private field.
12077         (checkLocalHeader): Use locBuf to read info in one chunk.
12078         (getInputStream): Use entries HashMap, wrap PartialInputStream
12079         in BufferedInputStream.
12080         (ZipEntryEnumeration): Use HashMap and Interator.
12082 2003-01-02  Mark Wielaard  <mark@klomp.org>
12083             Jeroen Frijters  <jeroen@sumatra.nl>
12085         * java/net/URLClassLoader.java (Resource.getCodeSource):
12086         Fix check certs == null.
12087         (getCanonicalFileURL): Removed method.
12088         (JarURLLoader): Don't call removed method.
12089         (FileURLLoader): Likewise.
12090         (FileURLLoader.getResource): Don't canonicalize file name.
12092 2003-01-01  Tom Tromey  <tromey@redhat.com>
12094         * Makefile.in: Rebuilt.
12095         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
12096         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
12097         java/awt/BufferCapabilities.java, java/awt/Button.java,
12098         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
12099         java/awt/Container.java, java/awt/Cursor.java,
12100         java/awt/EventQueue.java, java/awt/FileDialog.java,
12101         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
12102         java/awt/MenuBar.java, java/awt/MenuComponent.java,
12103         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
12104         java/awt/Scrollbar.java, java/awt/TextArea.java,
12105         java/awt/TextField.java, java/awt/color/CMMException.java,
12106         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
12107         java/awt/color/ProfileDataException.java,
12108         java/awt/datatransfer/Clipboard.java,
12109         java/awt/datatransfer/DataFlavor.java,
12110         java/awt/datatransfer/FlavorMap.java,
12111         java/awt/datatransfer/SystemFlavorMap.java,
12112         java/awt/dnd/DragGestureEvent.java,
12113         java/awt/dnd/DragGestureRecognizer.java,
12114         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
12115         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
12116         java/awt/im/InputMethodHighlight.java,
12117         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
12118         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
12120         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
12121         `op' to BufferedImageOp.
12123 2002-12-31  Tom Tromey  <tromey@redhat.com>
12125         Fix for PR libgcj/7416:
12126         * javax/naming/InitialContext.java (init): Use
12127         gnu.classpath.home.url.
12128         * java/security/Security.java: Use new properties.
12129         (loadProviders): Accept base url; use it.
12130         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
12131         gnu.classpath.home.url.
12132         (gnu.classpath.home.url): Define.
12133         (gnu.classpath.vm.shortname): Likewise.
12135 2002-12-31  Tom Tromey  <tromey@redhat.com>
12136             Ranjit Mathew  <rmathew@hotmail.com>
12138         Fix for PR libgcj/8997:
12139         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
12140         Include platform.h.
12141         * include/posix.h (_Jv_platform_usleep): New function.
12142         * include/win32.h (_Jv_platform_usleep): New function.
12144 2002-12-29  Tom Tromey  <tromey@redhat.com>
12146         * gcj/javaprims.h: Updated.
12147         * scripts/classes.pl (scan): Removed stray semicolon.
12149 2002-12-30  Mark Wielaard  <mark@klomp.org>
12151         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
12152         if zero or smaller.
12154 2002-12-30  Mark Wielaard  <mark@klomp.org>
12156         * java/util/Properties (formatForOutput): Don't fall through to
12157         default case after escaping character.
12159 2002-12-30  Mark Wielaard  <mark@klomp.org>
12161         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
12162         against count.
12164 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
12166         * boehm.cc: Remove stray semicolon.
12167         * interpret.cc: Likewise.
12168         * prims.cc: Likewise.
12169         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
12170         earlier to ensure default arguments are processed.
12171         * gcj/array.h (JArray): Add forward declaration.
12172         (elements): Likewise.
12173         * gcj/javaprim.h: Remove stray semicolons.
12174         * include/bohm-gc.h: Likewise.
12175         * include/jni.h: Likewise.
12176         * include/jvm.h: Likewise.
12177         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
12178         
12179 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
12181         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
12182         of catch_type.
12183         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
12184         idt tables after initializing superclass.
12185         * java/lang/natClassLoader.cc (uaddr): New typedef.
12186         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
12187         if they are constant pool indicies.  Don't link vtable, otable yet.
12189 2002-12-21  Anthony Green  <green@redhat.com>
12191         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
12192         libraries.
12193         * Makefile.in: Rebuilt.
12195 2002-12-19  Anthony Green  <green@redhat.com>
12197         * Makefile.am (ordinary_java_source_files): Add
12198         org/xml/sax/helpers/NewInstance.java.
12199         * Makefile.in: Rebuilt.
12200         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
12201         org/xml/sax/helpers/package.html: New files.
12202         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
12203         http://www.saxproject.org.
12205 2002-12-19  Andrew Haley  <aph@redhat.com>
12207         * java/util/natResourceBundle.cc: Include
12208         ArrayIndexOutOfBoundsException.h.
12209         (getCallingClassLoader): Don't put upper bound on stack search.
12210         Catch ArrayIndexOutOfBoundsException.
12212 2002-12-19  Tom Tromey  <tromey@redhat.com>
12214         * libtool-version: Increased `current'.
12216 2002-12-19  Tom Tromey  <tromey@redhat.com>
12218         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
12219         comment.
12220         * java/lang/ClassLoader.java (defineClass): Use chained
12221         exception when rethrowing.
12222         * defineclass.cc (handleClassBegin): Mark class as interpreted.
12223         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
12224         constants.
12225         * resolve.cc (_Jv_PrepareMissingMethods): New function.
12226         (_Jv_PrepareClass): Use it.
12227         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
12228         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
12229         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
12230         (Class): _Jv_PrepareMissingMethods now friend.
12231         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
12232         Record `NULL' for system class loader.
12233         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
12234         system class loader.
12235         (_Jv_FindClassInCache): Likewise.
12236         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
12237         (_Jv_FindClass): Special case system class loader.
12238         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
12239         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
12240         vtable slots.
12241         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
12242         in a final class.
12243         (_getDeclaredMethod): Don't return synthetic methods.
12244         (getDeclaredMethods): Likewise.
12245         (_getMethod): Likewise.
12246         (_getMethods): Likewise.
12248 2002-12-18  Raif Naffah  <raif@fl.net.au>
12250         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
12251         canonical form after divide().
12252         (modInverse): Likewise.
12254 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
12255             Mark Wielaard  <mark@klomp.org>
12257         * java/security/SecurityRandom (digest): Removed field.
12258         (SecureRandom): Check all providers for case-insensitive SecureRandom
12259         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
12260         if necessary.
12261         (getInstance(String,Provider,boolean): New method.
12262         (getInstance(String)): Use new method.
12263         (getInstance(String,String)): Likewise.
12264         (getInstance(String,Provider)): Likewise.
12266 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
12268         * java/security/Security.java (loadProviders): Increment i only once.
12270 2002-12-12  Mark Wielaard  <mark@klomp.org>
12272         * java/lang/ClassLoader.java (resolveClass0): Transform
12273         ClassNotFoundException to NoClassDefFoundError. Transform all other
12274         throwables to LinkageError.
12276 2002-12-11  Tom Tromey  <tromey@redhat.com>
12278         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
12280         * java/lang/ClassLoader.java (loadedClasses): New field.
12281         (defineClass): Fixed indentation.  Put new class in
12282         loadedClasses.
12283         (findLoadedClass): Implement here.
12284         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
12286 2002-12-10  Tom Tromey  <tromey@redhat.com>
12288         * Makefile.in: Rebuilt.
12289         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
12290         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
12291         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
12292         * java/lang/natClassLoader.cc
12293         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
12295 2002-12-10  Mark Wielaard  <mark@klomp.org>
12296             Tom Tromey  <tromey@redhat.com>
12298         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
12299         (JarURLLoader): Use it.
12300         (FileURLLoader): Likewise.
12301         (JarURLResource.getURL): Use chained exception.
12302         (FileResource.getURL): Likewise.
12303         (FileURLLoader.getResource): Use canonical file name.
12304         (addURL): Indentation fix.
12306 2002-12-10  Tom Tromey  <tromey@redhat.com>
12308         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
12309         From Laurent Bardet <l.bardet@magic.fr>.
12311 2002-12-09  Tom Tromey  <tromey@redhat.com>
12313         * include/win32.h (_Jv_platform_solib_prefix): New define.
12314         (_Jv_platform_solib_suffix): Likewise.
12315         * include/posix.h (_Jv_platform_solib_prefix): New define.
12316         (_Jv_platform_solib_suffix): Likewise.
12317         * java/lang/natRuntime.cc: Include StackTrace.h.
12318         (_load): Use findLibrary and new platform defines.
12319         (nativeGetLibname): Use new platform defines.
12321         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
12322         `t' won't be null.
12324 2002-12-08  Mark Wielaard  <mark@klomp.org>
12326         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
12327         cache remote jar files.
12328         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
12329         add File.separator to URL when it is a directory.
12330         * java/lang/ClassLoader.java: Add Classpath javadoc.
12331         (parent): final.
12332         (getParent): Add (disabled) security check.
12333         (findLibrary): New default method.
12334         * java/net/JarURLConnection.java (getManifest): Implement.
12335         (getInputStream): Only create InputStream when entry exists.
12336         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
12337         when they exist.
12338         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
12340 2002-12-08  Mark Wielaard  <mark@klomp.org>
12342         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
12343         (lastDefaultLocale): New field.
12344         (getBundle): When Locale.getDefault != lastDefaultLocale reset
12345         resourceBundleCache.
12347 2002-12-06  Mark Wielaard  <mark@klomp.org>
12349         * java/net/InetAddress.java (toString): Use hostname when not null,
12350         don't do an explicit reverse getHostName() lookup.
12351         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
12352         NullPointerException.
12354 2002-12-06  Tom Tromey  <tromey@redhat.com>
12356         * include/java-interp.h (class _Jv_InterpMethod): Added
12357         JV_MARKOBJ_DECL.
12358         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
12359         mark `prepared' field of interpreted method.
12360         * interpret.cc (compile): Use _Jv_AllocBytes.
12362 2002-12-05  Andrew Haley  <aph@redhat.com>
12364         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
12365         #ifdef (HAVE_BACKTRACE) around the whole function body.
12367 2002-12-05  Tom Tromey  <tromey@redhat.com>
12369         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
12370         * resolve.cc: Don't include AbstractMethodError.h.
12371         (_Jv_abstractMethodError): Removed.
12372         * defineclass.cc (handleMethodsBegin): Initialize method index to
12373         -1.
12374         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
12375         method index for "new" final method.
12376         (_Jv_SetVTableEntries): Compare index against -1 instead of using
12377         isVirtualMethod.  Added `flags' argument.
12378         (_Jv_MakeVTable): Throw exception for abstract method in concrete
12379         class.
12381 2002-12-04  Tom Tromey  <tromey@redhat.com>
12383         * java/net/SocketPermission.java (hashCode): Rewrote.
12385 2002-12-04  Tom Tromey  <tromey@redhat.com>
12387         * Makefile.in: Rebuilt.
12388         * Makefile.am (nat_source_files): Added natVMSecurityManager,
12389         natResourceBundle.
12390         * java/util/ResourceBundle.java (Security): Removed.
12391         (getCallingClassLoader): Now native.
12392         * java/util/natResourceBundle.cc: New file.
12393         * java/lang/natVMSecurityManager.cc: New file.
12394         * java/lang/VMSecurityManager.java (getClassContext): Now native.
12396 2002-12-03  Mark Wielaard  <mark@klomp.org>
12398         * java/util/jar/JarFile.java (manifest): Not final.
12399         (manifestRead): New field.
12400         (JarFile): Don't read Manifest in constructor.
12401         (getManifest): New method.
12402         (JarEnumeration.nextElement): Use new method.
12403         (getEntry): Likewise.
12404         * java/util/zip/ZipFile.java (name): Final.
12405         (raf): Likewsie.
12406         (entries): Change type to Hashtable.
12407         (closed): New field.
12408         (ZipFile): Don't read enties in constructor.
12409         (readEntries): Use Hashtable.
12410         (close): Set new close flag and set entries to null inside
12411         synchronized block.
12412         (entries): Contruct enumeration using new getEntries() method and
12413         entries Hashtable.
12414         (getEntryIndex): Removed.
12415         (getEntries): New method.
12416         (getEntry): Use new getEntries() method and entries Hastable.
12417         (getInputStream): Likewise.
12418         (size): Return getEntries().size().
12419         (ZipEntryEnumeration): Wrap entries Hashtable elements.
12420         * java/util/zip/ZipEntry.java (cal): Don't initialize.
12421         (time): Removed
12422         (dostime): New field.
12423         (zipFileIndex): Removed.
12424         (ZipEntry(ZipEntry)): Copy dostime.
12425         (setDOSTime): Now final and doesn't convert dos time.
12426         (getDOSTime): Likewise.
12427         (setTime): Convert dos time.
12428         (getTime): Likewise.
12429         (getCalendar): New method.
12430         (setExtra): Use setTime().
12431         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
12433 2002-12-03  Tom Tromey  <tromey@redhat.com>
12435         * java/lang/Character.java (forDigit): Formatting fix.
12437 2002-12-03  Raif Naffah  <raif@fl.net.au>
12439         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
12440         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
12441         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
12443 2002-12-03  Andrew Haley  <aph@redhat.com>
12445         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
12446         _Jv_PushClass.
12447         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
12448         (_Jv_PopClass): New.
12449         (_Jv_PushClass): New.
12450         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
12451         discover the ClassLoader of our caller.
12452         (_Jv_CheckArrayStore): Don't check that a class is assignment
12453         compatible with Object.
12454         * java/lang/natVMTHrowable.cc: Delete.
12455         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
12456         java.lang.VMThrowable.
12457         (StackTrace(), StackTrace(int)): New constructors.
12458         (classAt, methodAt, update, methodAtAddress): New methods.
12459         (map): New field.
12460         * java/lang/VMThrowable.java: Use StackTrace instead of
12461         natVMTHrowable.
12462         * java/lang/Class.h (getClassLoaderInternal): New.
12463         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
12464         Be friendly with gnu::gcj::runtime::StackTrace.
12465         (Object.chain): New field.
12466         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
12467         gnu::gcj::runtime::StackTrace.
12468         * gnu/gcj/runtime/natStackTrace.cc: New file.
12469         * gnu/gcj/runtime/MethodRef.java: New file.
12470         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
12471         instead of getClassLoader().
12472         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
12473         java::lang::VMThrowable.
12474         * Makefile.am (core_java_source_files): Add MethodRef.java,
12475         StackTrace.java.
12476         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
12477         * Makefile.in: Rebuild.
12479 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
12481         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
12482         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
12483         yes also for sh-linux* and sh[34]*-linux*.
12484         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
12485         set SIGNAL_HANDLER to use DWARF2 exception for them.
12486         * configure: Regenerate.
12488 2002-12-02  Tom Tromey  <tromey@redhat.com>
12490         * jni.cc: Added `name' argument.
12491         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
12492         `const char *' argument.
12493         (class _Jv_JNIEnv) [DefineClass]: Likewise.
12495 2002-12-01  Tom Tromey  <tromey@redhat.com>
12497         Bug compatibility, for PR libgcj/8738:
12498         * java/io/CharArrayWriter.java (close): Do nothing.
12499         (flush): Likewise.
12500         (reset): Don't touch `closed'.
12501         (write(int)): Don't throw IOException.
12502         (write(char[],int,int)): Likewise.
12503         (write(String,int,int)): Likewise.
12504         (closed): Removed.
12506 2002-12-01  Mark Wielaard  <mark@klomp.org>
12508         * java/lang/SecurityManager.java: Remerge comments, indenting and
12509         checkXXX methods with Classpath.
12511 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
12513         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
12514         getNormalizedComponents): Fix calculation which was using one too
12515         many bits in the unnormalized format.
12517 2002-11-29  Gary Benson  <gbenson@redhat.com>
12519         For PR libgcj/8759:
12520         * java/beans/Introspector.java (flushCaches): New method.
12521         (flushFromCaches): Likewise.
12523 2002-11-29  Michael Koch <konqueror@gmx.de>
12525         * java/nio/channels/DatagramChannel.java
12526         (open): Added exception documentation.
12527         (write): Added exception documentation.
12528         (connect): Added exception documentation.
12529         (disconnect): Added exception documentation.
12530         (isConnected): Added exception documentation.
12531         (read): Added exception documentation.
12532         (receive): Added exception documentation.
12533         (send): Added exception documentation.
12534         (validOps): Added exception documentation.
12535         * java/nio/channels/SocketChannel.java
12536         (open): Added exception documentation.
12537         (read): Added exception documentation.
12538         (write): Added exception documentation.
12539         (connect): Added exception documentation.
12540         (finishConnect): Added exception documentation.
12542 2002-11-29  Michael Koch <konqueror@gmx.de>
12544         * gnu/java/nio/DatagramChannelImpl:
12545         (fd): New member variable to store file descriptor of socket.
12546         * gnu/java/nio/SelectionKeyImpl.java:
12547         (ops): Removed.
12548         (readyOps): New member variable.
12549         (interestOps): New member variable.
12550         (readyOps): Implemented.
12551         (readyOps): New method to set member variable readyOps.
12552         (interestOps): Replaced ops by interestOps.
12553         * gnu/java/nio/SelectorImpl.java:
12554         (SelectorImpl): Initialize key sets.
12555         (select): Call select with -1 instead of Long.MAX_VALUE).
12556         (java_do_select): Make it a native method.
12557         (getFDsAsArray): New helper method.
12558         (select): Remove canceled keys, give only interested file discriptors
12559         to java_do_select, set ready ops.
12560         (add): No need to initialize keys set here.
12561         (add_selected): No need to initialize selected set here.
12562         (deregisterCanceledKeys): New helper method.
12563         (register): Set interest ops, set attachments, added handling of datagram
12564         channels.
12565         * gnu/java/nio/ServerSocketChannelImpl:
12566         (SocketAccept): Renamed from NioSocketAccept.
12567         (implConfigureBlocking): Implemented.
12568         (accept): Use SocketAccept instead of NioSocketAccept.
12569         * gnu/java/nio/SocketChannelImpl:
12570         Reactivate native methods.
12572 2002-11-29  Michael Koch <konqueror@gmx.de>
12574         * gnu/java/nio/natByteBufferImpl.cc,
12575         gnu/java/nio/natCharBufferImpl.cc,
12576         gnu/java/nio/natDoubleBufferImpl.cc,
12577         gnu/java/nio/natFloatBufferImpl.cc,
12578         gnu/java/nio/natIntBufferImpl.cc,
12579         gnu/java/nio/natLongBufferImpl.cc,
12580         gnu/java/nio/natSelectorImpl.cc,
12581         gnu/java/nio/natServerSocketChannelImpl.cc,
12582         gnu/java/nio/natShortBufferImpl.cc,
12583         gnu/java/nio/natSocketChannelImpl.cc:
12584         New files that implement native functionalities.
12586 2002-11-29  Michael Koch <konqueror@gmx.de>
12588         * gnu/java/nio/ByteBufferImpl.java
12589         (ByteBufferImpl): Moved position() after limit.
12590         (nio_*): Use native implementation.
12591         * gnu/java/nio/CharBufferImpl.java:
12592         Reformated.
12593         (endian): New member variable string endianess of buffer.
12594         (CharBufferImpl): Moved position() after limit.
12595         (nio_*): Use native implementation.
12596         (subSequence): Implemented.
12597         * gnu/java/nio/DoubleBufferImpl.java
12598         (DoubleBufferImpl): Moved position() after limit.
12599         (nio_*): Use native implementation.
12600         * gnu/java/nio/FloatBufferImpl.java
12601         Reformated.
12602         (FloatBufferImpl): Moved position() after limit.
12603         (nio_*): Use native implementation.
12604         * gnu/java/nio/IntBufferImpl.java
12605         Added needed imports, Reformated.
12606         (IntBufferImpl): Moved position() after limit.
12607         (nio_*): Use native implementation.
12608         * gnu/java/nio/LongBufferImpl.java
12609         Reformated.
12610         (LongBufferImpl): Moved position() after limit.
12611         (nio_*): Use native implementation.
12612         * gnu/java/nio/ShortBufferImpl.java
12613         Reformated.
12614         (ShortBufferImpl): Moved position() after limit.
12615         (nio_*): Use native implementation.
12617 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
12619         * java/util/Locale.java (toString): Improve efficiency if country
12620         and variant are both empty.
12622 2002-11-26  Tom Tromey  <tromey@redhat.com>
12624         * verify.cc (pop_init_ref): New method.
12625         (verify_instructions_0) [op_iaload, op_laload, op_faload,
12626         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
12627         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
12628         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
12629         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
12630         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
12631         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
12632         let `this' argument be uninitialized.  Don't let `null' be passed
12633         as `this' to construtor.
12635 2002-11-26  Mark Wielaard  <mark@klomp.org>
12637         * javax/transaction/HeuristicCommitException.java: Classpath merge.
12638         * javax/transaction/HeuristicMixedException.java: Likewise.
12639         * javax/transaction/HeuristicRollbackException.java: Likewise.
12640         * javax/transaction/InvalidTransactionException.java: Likewise.
12641         * javax/transaction/NotSupportedException.java: Likewise.
12642         * javax/transaction/RollbackException.java: Likewise.
12643         * javax/transaction/Status.java: Likewise.
12644         * javax/transaction/Synchronization.java: Likewise.
12645         * javax/transaction/SystemException.java: Likewise.
12646         * javax/transaction/Transaction.java: Likewise.
12647         * javax/transaction/TransactionManager.java: Likewise.
12648         * javax/transaction/TransactionRequiredException.java: Likewise.
12649         * javax/transaction/TransactionRolledbackException.java: Likewise.
12650         * javax/transaction/UserTransaction.java: Likewise.
12651         * javax/transaction/xa/XAException.java: Likewise.
12652         * javax/transaction/xa/XAResource.java: Likewise.
12653         * javax/transaction/xa/Xid.java: Likewise.
12655 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
12657         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
12658         define.
12659         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
12660         * include/posix.h (socklen_t): Define if not already defined.
12662 2002-11-25  Tom Tromey  <tromey@redhat.com>
12664         * verify.cc (type::compatible): Backed out broken change.
12666         * verify.cc (type::compatible): Check initialization status
12667         first.
12668         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
12669         Don't use NULLCHECK.
12671 2002-11-23  H.J. Lu <hjl@gnu.org>
12673         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
12674         Include ../config/accross.m4.
12675         * aclocal.m4; Rebuild.
12676         * configure: Likewise.
12678 2002-11-23  Mark Wielaard  <mark@klomp.org>
12680         * javax/naming/AuthenticationException.java: Update copyright header.
12681         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
12682         * javax/naming/Binding.java: Likewise.
12683         * javax/naming/CannotProceedException.java: Likewise.
12684         * javax/naming/CommunicationException.java: Likewise.
12685         * javax/naming/CompositeName.java: Likewise.
12686         * javax/naming/CompoundName.java: Likewise.
12687         * javax/naming/ConfigurationException.java: Likewise.
12688         * javax/naming/Context.java: Likewise.
12689         * javax/naming/ContextNotEmptyException.java: Likewise.
12690         * javax/naming/InitialContext.java: Likewise.
12691         * javax/naming/InsufficientResourcesException.java: Likewise.
12692         * javax/naming/InterruptedNamingException.java: Likewise.
12693         * javax/naming/LimitExceededException.java: Likewise.
12694         * javax/naming/LinkException.java: Likewise.
12695         * javax/naming/LinkLoopException.java: Likewise.
12696         * javax/naming/LinkRef.java: Likewise.
12697         * javax/naming/MalformedLinkException.java: Likewise.
12698         * javax/naming/NameAlreadyBoundException.java: Likewise.
12699         * javax/naming/NameClassPair.java: Likewise.
12700         * javax/naming/NameNotFoundException.java: Likewise.
12701         * javax/naming/NameParser.java: Likewise.
12702         * javax/naming/NamingEnumeration.java: Likewise.
12703         * javax/naming/NamingSecurityException.java: Likewise.
12704         * javax/naming/NoInitialContextException.java: Likewise.
12705         * javax/naming/NoPermissionException.java: Likewise.
12706         * javax/naming/NotContextException.java: Likewise.
12707         * javax/naming/OperationNotSupportedException.java: Likewise.
12708         * javax/naming/PartialResultException.java: Likewise.
12709         * javax/naming/Reference.java: Likewise.
12710         * javax/naming/Referenceable.java: Likewise.
12711         * javax/naming/ReferralException.java: Likewise.
12712         * javax/naming/ServiceUnavailableException.java: Likewise.
12713         * javax/naming/SizeLimitExceededException.java: Likewise.
12714         * javax/naming/TimeLimitExceededException.java: Likewise.
12715         * javax/naming/directory/Attribute.java: Likewise.
12716         * javax/naming/directory/AttributeInUseException.java: Likewise.
12717         * javax/naming/directory/AttributeModificationException.java: Likewise.
12718         * javax/naming/directory/Attributes.java: Likewise.
12719         * javax/naming/directory/BasicAttribute.java: Likewise.
12720         * javax/naming/directory/BasicAttributes.java: Likewise.
12721         * javax/naming/directory/DirContext.java: Likewise.
12722         * javax/naming/directory/InitialDirContext.java: Likewise.
12723         * javax/naming/directory/InvalidAttributeIdentifierException.java:
12724         Likewise.
12725         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
12726         * javax/naming/directory/InvalidAttributesException.java: Likewise.
12727         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
12728         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
12729         * javax/naming/directory/ModificationItem.java: Likewise.
12730         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
12731         * javax/naming/directory/SchemaViolationException.java: Likewise.
12732         * javax/naming/directory/SearchControls.java: Likewise.
12733         * javax/naming/directory/SearchResult.java: Likewise.
12734         * javax/naming/event/EventContext.java: Likewise.
12735         * javax/naming/event/EventDirContext.java: Likewise.
12736         * javax/naming/event/NamespaceChangeListener.java: Likewise.
12737         * javax/naming/event/NamingEvent.java: Likewise.
12738         * javax/naming/event/NamingExceptionEvent.java: Likewise.
12739         * javax/naming/event/NamingListener.java: Likewise.
12740         * javax/naming/event/ObjectChangeListener.java: Likewise.
12741         * javax/naming/ldap/Control.java: Likewise.
12742         * javax/naming/ldap/ControlFactory.java: Likewise.
12743         * javax/naming/ldap/ExtendedRequest.java: Likewise.
12744         * javax/naming/ldap/ExtendedResponse.java: Likewise.
12745         * javax/naming/ldap/HasControls.java: Likewise.
12746         * javax/naming/ldap/InitialLdapContext.java: Likewise.
12747         * javax/naming/ldap/LdapContext.java: Likewise.
12748         * javax/naming/ldap/LdapReferralException.java: Likewise.
12749         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
12750         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
12751         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
12752         * javax/naming/spi/DirObjectFactory.java: Likewise.
12753         * javax/naming/spi/DirStateFactory.java: Likewise.
12754         * javax/naming/spi/DirectoryManager.java: Likewise.
12755         * javax/naming/spi/InitialContextFactory.java: Likewise.
12756         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
12757         * javax/naming/spi/NamingManager.java: Likewise.
12758         * javax/naming/spi/ObjectFactory.java: Likewise.
12759         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
12760         * javax/naming/spi/ResolveResult.java: Likewise.
12761         * javax/naming/spi/Resolver.java: Likewise.
12762         * javax/naming/spi/StateFactory.java: Likewise.
12764         * javax/naming/spi/NamingManager.java (ofb): Package private.
12766 2002-11-21  Mark Wielaard  <mark@klomp.org>
12768         * java/net/URL.java: Merge with Classpath (partly).
12769         * java/net/URLStreamHandler: Merge with Classpath.
12771 2002-11-22  Michael Koch <konqueror@gmx.de>
12773         * include/posix.h:
12774         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
12775         * include/win32.h:
12776         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
12777         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
12779 2002-11-21  Michael Koch <konqueror@gmx.de>
12781         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
12782         Only the new network functions should be in it.
12784 2002-11-21  Michael Koch <konqueror@gmx.de>
12786         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
12787         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
12789 2002-11-21  Michael Koch <konqueror@gmx.de>
12791         * java/nio/channels/AsynchronousCloseException.java,
12792         java/nio/channels/CancelledKeyException.java,
12793         java/nio/channels/ClosedByInterruptException.java,
12794         java/nio/channels/ConnectionPendingException.java,
12795         java/nio/channels/FileLockInterruptionException.java,
12796         java/nio/channels/IllegalSelectorException.java,
12797         java/nio/channels/NoConnectionPendingException.java,
12798         java/nio/channels/NonReadableChannelException.java,
12799         java/nio/channels/NonWritableChannelException.java,
12800         java/nio/channels/NotYetBoundException.java,
12801         java/nio/channels/NotYetConnectedException.java,
12802         java/nio/channels/OverlappingFileLockException.java,
12803         java/nio/channels/UnresolvedAddressException.java,
12804         java/nio/channels/UnsupportedAddressTypeException.java:
12805         New files.
12806         * Makefile.am (ordinary_java_source_files): Added new files.
12807         * Makefile.in: Regenerated.
12809 2002-11-21  Michael Koch <konqueror@gmx.de>
12811         * include/posix.h
12812         (_Jv_socket): New method.
12813         (_Jv_connect): New method.
12814         (_Jv_close): New method.
12815         (_Jv_platform_close_on_exec): Prefixed system function with "::".
12816         (_Jv_bind): New method.
12817         (_Jv_listen): New method.
12818         (_Jv_write): New method.
12819         (_Jv_read): New method.
12820         * include/win32.h
12821         (_Jv_socket): New method.
12822         (_Jv_connect): New method.
12823         (_Jv_close): New method.
12824         (_Jv_bind): New method.
12825         (_Jv_listen): New method.
12826         (_Jv_write): New method.
12827         (_Jv_read): New method.
12828         * java/net/natNetworkInterface.cc:
12829         Include platform.h, removed inclusion of socket.h
12830         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
12831         ::close() by _Jv_close().
12832         * java/net/natPlainDatagramSocketImpl.cc:
12833         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
12834         added some new lines to make code more readable.
12835         (create): Replaced ::socket() by _Jv_socket().
12836         (close): Replaced NATIVE_CLOSE() by _Jv_close().
12837         * java/net/natPlainSocketImpl.cc:
12838         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
12839         removed include of socket.h, removed some windows defines
12840         (now in include/win32.h).
12841         (create): Replaced ::socket() by _Jv_socket().
12842         (close): Replaced NATIVE_CLOSE() by _Jv_close().
12843         (write): Replaced ::read by _Jv_write().
12844         (read): Replaced ::read by _Jv_read().
12846 2002-11-20  Michael Koch <konqueror@gmx.de>
12848         * Makefile.am (ordinary_java_source_files):
12849         Added java/nio/channels/FileChannel.java.
12850         * Makefile.in: Regenerated.
12852 2002-11-20  Michael Koch <konqueror@gmx.de>
12854         * java/io/FileInputStream.java
12855         (getChannel): New method.
12856         * java/io/FileOutputStream.java
12857         (getChannel): New method.
12858         * java/net/ServerSocket.java
12859         (bind): Removed duplicate code and called another bind method instead.
12860         * java/nio/channels/SelectionKey.java
12861         (isValid): Removed wrong exception documentation.
12862         * java/nio/channels/ServerSocketChannel.java
12863         (accept): Added exception documentation.
12864         (open): Fixed typo, added exception documentation.
12865         * java/nio/channels/spi/AbstractSelectableChannel.java
12866         (implCloseChannel): Added exception documentation.
12867         (add): Reformated.
12868         (register): Added exception documentation.
12870 2002-11-20  Andreas Jaeger  <aj@suse.de>
12872         * configure: Regenerated with new libtool.m4.
12874 2002-11-19  Tom Tromey  <tromey@redhat.com>
12876         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
12877         `referent'.
12878         (finalize_referred_to_object): Don't modify `referent' or `copy'
12879         fields.
12880         (add_to_hash): Correctly set `n->next' when updating list.
12881         * java/lang/ref/Reference.java (enqueue): Return false if already
12882         enqueued.
12884 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
12886         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
12887         to function and function pointer declarations in accordance with
12888         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
12889         based on whether __GCJ_JNI_IMPL__ has been defined or not.
12890         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
12891         JNI function definitions.
12893 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
12895         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
12896         that was causing CoderResults to be cached, not WeakReferences
12897         to CoderResults.
12899 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
12901         * java/security/KeyStore.java (getInstance): Fix
12902         comment and throw IllegalArgumentException if
12903         given provider is null.
12904         (getInstance): New method for jdk1.4 compatibility.
12906 2002-11-18  Michael Koch <konqueror@gmx.de>
12908         * java/net/PlainSocketImpl.java: Fix imports.
12910 2002-11-18  Michael Koch <konqueror@gmx.de>
12912         * java/nio/channels/SelectionKey.java
12913         (isValid): Added exception documentation.
12914         * java/nio/channels/Selector.java
12915         (open): Declare "throws IOException".
12917 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
12919         * java/nio/charset/Charset.java
12920         (<clinit>): New method.
12921         (encode): Synchronize use of cached encoder object.
12922         (decode): Synchronize use of cached encoder object.
12924 2002-11-18  Michael Koch <konqueror@gmx.de>
12926         * gnu/java/nio/ByteBufferImpl.java,
12927         gnu/java/nio/CharBufferImpl.java,
12928         gnu/java/nio/DatagramChannelImpl.java,
12929         gnu/java/nio/DoubleBufferImpl.java,
12930         gnu/java/nio/FileChannelImpl.java,
12931         gnu/java/nio/FloatBufferImpl.java,
12932         gnu/java/nio/IntBufferImpl.java,
12933         gnu/java/nio/LongBufferImpl.java,
12934         gnu/java/nio/PipeImpl.java,
12935         gnu/java/nio/SelectionKeyImpl.java,
12936         gnu/java/nio/SelectorImpl.java,
12937         gnu/java/nio/SelectorProviderImpl.java,
12938         gnu/java/nio/ServerSocketChannelImpl.java,
12939         gnu/java/nio/ShortBufferImpl.java,
12940         gnu/java/nio/SocketChannelImpl.java,
12941         java/nio/DoubleBuffer.java,
12942         java/nio/FloatBuffer.java,
12943         java/nio/IntBuffer.java,
12944         java/nio/LongBuffer.java,
12945         java/nio/ShortBuffer.java,
12946         java/nio/channels/FileChannel.java: New files.
12948 2002-11-18  Michael Koch <konqueror@gmx.de>
12950         * Makefile.am (ordinary_java_source_files):
12951         Added java/nio/ReadOnlyBufferException.java and
12952         java/nio/channels/ClosedSelectorException.java.
12953         * Makefile.in: Regenerated.
12955 2002-11-18  Michael Koch <konqueror@gmx.de>
12957         * java/net/PlainSocketImpl.java: Reworked imports.
12958         * java/net/ServerSocket.java
12959         (ServerSocket): Create socket.
12960         * java/net/SocketAddress.java: Documentation added.
12961         * java/net/natPlainSocketImpl.cc: Reindented.
12962         * java/nio/ReadOnlyBufferException.java: New file
12963         * java/nio/channels/ClosedChannelException.java: Documentation added.
12964         * java/nio/channels/ClosedSelectorException.java: New file.
12966 2002-11-17  Mark Wielaard  <mark@klomp.org>
12968         * java/net/HttpURLConnection.java ((getPermission): Take port
12969         into consideration.
12970         (getErrorStream): Implement.
12972 2002-11-17  Mark Wielaard  <mark@klomp.org>
12974         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
12976 2002-11-16  Mark Wielaard  <mark@klomp.org>
12978         Integrate work by Raif S. Naffah (raif@fl.net.au)
12979         * java/security/DummyKeyPairGenerator.java (clone): New method.
12980         * java/security/DummyMessageDigest.java (clone): New method.
12981         (engineUpdate): Now public.
12982         (engineReset): Likewise.
12983         (engineDigest): Likewise.
12984         (engineGetDigestLength): New method.
12985         * java/security/DummySignature.java (clone): New method.
12986         * java/security/KeyPairGenerator.java (provider): Now package private.
12987         (getInstance(String)): Use getInstance(String,Provider).
12988         (getInstance(String,String): Use getInstance(String,Provider)
12989         (getInstance(String,Provider): New method.
12990         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
12991         * java/security/KeyPairGeneratorSpi.java (clone): New method.
12992         * java/security/MessageDigest.java (provider): Now package private.
12993         (getInstance(String): Use getInstance(String,Provider).
12994         (getInstance(String,String): Use getInstance(String,Provider)
12995         (getInstance(String,Provider): New method.
12996         * java/security/Provider.java (toCanonicalKey): New method.
12997         (get): New method that uses toCanonicalKey().
12998         (put): Use toCanonicalKey().
12999         (remove): Likewise.
13000         * java/security/Security.java (insertProviderAt): Provider index is one
13001         based, not zero based.
13002         (addProvider): Likewise.
13003         (removeProvider): Likewise.
13004         * java/security/Signature.java (provider): Now package private.
13005         (getInstance(String)): Use getInstance(String,Provider).
13006         (getInstance(String,String): Use getInstance(String,Provider)
13007         (getInstance(String,Provider): New method.
13008         (getInstance(String,String,Provider): Don't cast DummySignature.
13010 2002-11-15  Tom Tromey  <tromey@redhat.com>
13012         For PR libgcj/8593:
13013         * java/util/zip/GZIPInputStream.java (read): Check file size.
13014         Look in inflater for remaining input bytes.
13015         (read4): Added buf and offset arguments.
13017 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
13019         * java/applet/AppletContext.java: Fix typo and remove redundant
13020         modifiers.
13022 2002-11-14  Tom Tromey  <tromey@redhat.com>
13024         * java/lang/natRuntime.cc (insertSystemProperties): Set
13025         gnu.classpath.home.
13027 2002-11-13  Michael Koch <konqueror@gmx.de>
13029         * java/nio/ByteBuffer.java
13030         (allocate): New method.
13031         (wrap): New method.
13032         (put): New method.
13033         (get): New method.
13035 2002-11-13  Michael Koch <konqueror@gmx.de>
13037         * java/nio/channels/AlreadyConnectedException.java:
13038         Removed unneeded import.
13039         (AlreadyConnectedException): Documentation added.
13040         * java/nio/channels/Pipe.java
13041         (SinkChannel.SinkChannel): Documentation added.
13042         (SinkChannel.validOps): New method.
13043         (SourceChannel.SourceChannel): Documentation added.
13044         (SourceChannel.validOps): New method.
13045         (Pipe): Documentation added.
13046         (open): Documentation added.
13047         (SinkChannel.channel): Documentation added.
13048         (SourceChannel.channel): Documentation added.
13049         * java/nio/channel/SelectableChannel.java
13050         (SelectableChannel): Documentation added.
13051         (blockingLock): Documentation added.
13052         (configureBlocking):Documentation added.
13053         (isBlocking):Documentation added.
13054         (isRegistered):Documentation added.
13055         (keyFor):Documentation added.
13056         (provider):Documentation added.
13057         (register): Documentation added.
13058         (validOps): Documentation added.
13059         * jaba/nio/channels/SelectionKey.java
13060         (SelectionKey): Documentation added.
13061         (attach): Documentation added.
13062         (attachment): Documentation added.
13063         (isAcceptable): Documentation added.
13064         (isConnetable): Documentation added.
13065         (isReadable): Documentation added.
13066         (isWritable): Documentation added.
13067         (cancel): Documentation added.
13068         (channel): Documentation added.
13069         (interestOps): Documentation added.
13070         (isValid): Documentation added.
13071         (readyOps): Documentation added.
13072         (selector): Documentation added.
13073         * jaba/nio/channels/Selector.java
13074         (Selector): Documentation added.
13075         (open): Documentation added.
13076         (close): Documentation added.
13077         (isOpen): Documentation added.
13078         (keys): Documentation added.
13079         (provider): Documentation added.
13080         (select): Documentation added.
13081         (selectedKeys): Documentation added.
13082         (selectNow): Documentation added.
13083         (wakeup): Documentation added.
13084         * java/nio/channels/spi/AbstractInterruptibleChannel.java
13085         (AbstractInterruptibleChannel): Documentation added.
13086         (opened): Default to true;
13087         (begin): Documentation added.
13088         (close): Set opened to false, documentation added.
13089         (isOpen): Documentation added.
13090         * java/nio/channels/spi/AbstractSelectionKey.java
13091         (AbstractSelectionKey): Documentation added.
13092         (cancel): Documentation added.
13093         (isValid): Documentation added.
13094         * java/nio/channels/spi/AbstractSelector.java
13095         (AbstractSelector): Documentation added.
13096         (begin): Documentation added.
13097         (close): Documentation added.
13098         (isOpen): Documentation added.
13099         (deregister): Documentation added.
13100         (end): Documentation added.
13101         (provider): Documentation added.
13102         (implCloseSelector): Documentation added.
13103         (register): Documentation added.
13104         * java/nio/channels/spi/SelectorProvider.java
13105         (SelectorProvider): Documentation added.
13106         (openDatagramChannel): Documentation added.
13107         (openPipe): Documentation added.
13108         (openSelector): Documentation added.
13109         (openServerSocketChannel): Documentation added.
13110         (openSocketChannel): Documentation added.
13111         (provider): Documentation added.
13113 2002-11-12  Michael Koch <konqueror@gmx.de>
13115         * java/nio/Buffer.java: Implemented.
13116         * java/nio/CharBuffer.java: New file.
13117         * java/nio/InvalidMarkException.java: New file.
13118         * java/nio/channels/DatagramChannel.java: Implemented.
13119         * java/nio/channels/ServerSocketChannel.java: Implemented.
13120         * java/nio/channels/SocketChannel.java: Implemented.
13121         * java/nio/channels/spi/AbstractChannel.java: Removed.
13122         * java/nio/channels/spi/AbstractSelectableChannel.java:
13123         Implemented.
13124         * java/nio/charset/Charset.java:
13125         Merge from Classpath.
13126         * java/nio/charset/CharsetDecoder.java: New file.
13127         * java/nio/charset/CharsetEncoder.java: New file.
13128         * java/nio/charset/CoderResult.java: New file.
13129         * Makefile.am (ordinary_java_source_files): Added new files.
13130         * Makefile.in: Regenerated.
13132 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13134         * gnu/java/nio/charset/ISO_8859_1.java,
13135         gnu/java/nio/charset/Provider.java,
13136         gnu/java/nio/charset/US_ASCII.java,
13137         gnu/java/nio/charset/UTF_16.java,
13138         gnu/java/nio/charset/UTF_16BE.java,
13139         gnu/java/nio/charset/UTF_16Decoder.java,
13140         gnu/java/nio/charset/UTF_16Encoder.java,
13141         gnu/java/nio/charset/UTF_16LE.java,
13142         gnu/java/nio/charset/UTF_8.java: New files.
13144 2002-11-11  Michael Koch <konqueror@gmx.de>
13146         * java/nio/charset/CharacterCodingException.java:
13147         This class must be public.
13148         * java/nio/charset/CoderMalfunctionError.java:
13149         This class must be public.
13150         * java/nio/charset/CodingErrorAction.java:
13151         This class must be public.
13152         * java/nio/charset/IllegalCharsetNameException.java:
13153         This class must be public, better implementation.
13154         * java/nio/charset/MalformedInputException.java:
13155         This class must be public, better implementation.
13156         * java/nio/charset/UnmappableCharacterException.java:
13157         This class must be public, better implementation.
13158         * java/nio/charset/UnsupportedCharsetException.java:
13159         This class must be public, better implementation.
13161 2002-11-11  Michael Koch <konqueror@gmx.de>
13163         * java/nio/BufferOverflowException.java,
13164         java/nio/BufferUnderflowException.java: New file.
13165         * Makefile.am (ordinary_java_source_files):
13166         Added new files.
13167         * Makefile.in: Regenerated.
13169 2002-11-10  Tom Tromey  <tromey@redhat.com>
13171         * java/awt/Container.java (validate): Use tree lock.
13172         (getComponent): Likewise.
13173         (getComponents): Likewise.
13174         (addImpl): Likewise.
13175         (remove): Likewise.
13176         (removeAll): Likewise.
13177         (processEvent): Fixed indentation.
13178         (getComponentAt): Use tree lock.
13179         (findComponentAt): Likewise.
13180         (removeNotify): Likewise.
13181         (isAncestorOf): Likewise.
13182         (list): Likewise.
13183         (visitChildren): Likewise.
13184         (findNextFocusComponent): Likewise.
13185         (addNotifyContainerChildren): Likewise.
13186         (getAccessibleChildrenCount): Likewise.
13187         (getAccessibleChild): Likewise.
13189         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
13190         (getSize): Likewise.
13191         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
13192         (getSize): Likewise.
13193         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
13194         (calcSize): Likewise.
13195         * java/awt/CardLayout.java (getSize): Use tree lock.
13196         (gotoComponent): Likewise.
13197         (layoutContainer): Likewise.
13199         * java/io/natFileDescriptorWin32.cc (read): Handle case where
13200         count is 0.
13201         * java/io/natFileDescriptorPosix.cc (read): Handle case where
13202         count is 0.
13204         * java/io/Externalizable.java, java/io/FilePermission.java,
13205         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
13206         java/io/SerializablePermission.java, java/text/Format.java,
13207         java/util/AbstractMap.java, java/util/HashMap.java,
13208         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
13209         versions from Classpath.
13211 2002-11-10  Anthony Green  <green@redhat.com>
13213         * java/util/jar/Attributes.java (Name): Fix name check.
13215 2002-11-10  Mark Wielaard  <mark@klomp.org>
13217         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
13218         with getName() as message.
13219         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
13220         type as message.
13222         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
13223         unused.
13225 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
13227         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
13228         for Win32. JNICALL has been defined to __stdcall to be compatible
13229         with Sun's JDKs.
13231 2002-11-10  Tom Tromey  <tromey@redhat.com>
13233         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
13234         (setRows): Check newRows, not rows.
13236         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
13238 2002-11-09  Tom Tromey  <tromey@redhat.com>
13240         * java/applet/Applet.java, java/applet/AppletContext.java,
13241         java/applet/AppletStub.java, java/applet/AudioClip.java,
13242         java/awt/CardLayout.java,
13243         java/awt/ContainerOrderFocusTraversalPolicy.java,
13244         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
13245         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
13246         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
13247         java/awt/color/ICC_ColorSpace.java,
13248         java/awt/color/ICC_Profile.java,
13249         java/awt/color/ICC_ProfileGray.java,
13250         java/awt/color/ICC_ProfileRGB.java,
13251         java/awt/datatransfer/DataFlavor.java,
13252         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
13253         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
13254         New versions from Classpath.
13255         * Makefile.in: Rebuilt.
13256         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
13257         ICC_ProfileRGB.
13259         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
13260         display policy.
13262         * java/awt/List.java (processEvent): Added missing `else's.
13264         * java/awt/Window.java (show): validate() before showing.  Make
13265         parent displayable.
13266         (isDisplayable): New method.
13268 2002-11-07  Mark Wielaard  <mark@klomp.org>
13270         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
13271         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
13273         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
13274         annotation.
13275         (loadClass): Take String as codebases.
13276         (getClassAnnotation): Use MyClassLoader annotations.
13277         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
13278         call exportObject(this).
13280         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
13281         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
13282         (setAnnotation): Don't set locBytesStream and locStream.
13283         (replaceObject): Removed.
13284         (flush): Don't test locStream.
13285         (getLocBytes): LikeWise.
13286         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
13287         (leaseCache): New field.
13288         (dirty): Use leaseCache.
13289         (LeaseRecord): New inner class.
13290         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
13291         explicitly call exportObject().
13292         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
13293         false to communicate with Sun JDK130.
13294         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
13295         * gnu/java/rmi/server/RMIObjectInputStream.java
13296         (UnicastConnectionManager): Removed field.
13297         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
13298         Use UnicastServer.getExportedRef().
13299         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
13300         (expireTime): Likewise.
13301         (CONNECTION_TIMEOUT): Likewise.
13302         (disconnect): Call sock.close().
13303         (isExpired): New method.
13304         (resetTime): Likewise.
13305         (run): Use do while loop and catch Exception for discardConnection().
13306         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
13307         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
13308         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
13309         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
13310         (exportObject): Use refcache.
13311         (unexportObject): Likewise.
13312         (getExportedRef): New method.
13313         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
13314         constructor.
13315         (exportObject): Save manager.serverobj.
13316         (getStub): New method.
13318 2002-11-07  Mark Wielaard  <mark@klomp.org>
13320         * java/lang/reflect/natField.cc (getBoolean): Use getType().
13321         (getByte): Likewise.
13322         (getShort): Likewise.
13323         (getInt): Likewise.
13324         (getLong): Likewise.
13325         (getFloat): Likewise.
13326         (getDouble): Likewise.
13327         (get): Likewise.
13328         (setChar): Likewise.
13329         (setByte): Likewise.
13330         (setShort): Likewise.
13331         (setInt): Likewise.
13332         (setLong): Likewise.
13333         (setFloat): Likewise.
13334         (setDouble): Likewise.
13336 2002-11-07  Michael Koch <konqueror@gmx.de>
13338         * java/awt/Choice.java,
13339         java/awt/Container.java,
13340         java/awt/GridBagLayout.java:
13341         Fixed documentation.
13342         * java/awt/peer/ContainerPeer.java:
13343         Reindented.
13345 2002-11-07  Michael Koch <konqueror@gmx.de>
13347         * java/awt/color/ICC_Profile.java:
13348         Added missing constants.
13349         * java/awt/color/ICC_ColorSpace.java
13350         (getMinValue): Added dummy implementation.
13351         (getMaxValue): Added dummy implementation.
13352         * java/awt/datatransfer/DataFlavor.java
13353         (imageFlavor): Added.
13354         (isMimeTypeEqual): Must be final.
13355         (getDefaultRepresentationClass): Must be non-static.
13356         (getDefaultRepresentationClassAsString): Must be non-static.
13357         * java/awt/dnd/DragSourceContext.java
13358         (dragExit): Corrected argument.
13359         (dragDropEnd): Corrected argument.
13360         * java/awt/dnd/DragSourceListener.java.java
13361         (dragExit): Corrected argument.
13362         (dragDropEnd): Corrected argument.
13363         * java/awt/font/TextHitInfo.java
13364         (toString): Added stubbed implementation.
13365         * java/awt/geom/PathIterator.java:
13366         The constants must be static.
13367         * java/awt/image/VolatileImage.java
13368         (IMAGE_INCOMPATIBLE): Fixed typo.
13369         * java/awt/image/renderable/RenderableImage.java
13370         (HINTS_OBSERVED): Must be static.
13371         * java/beans/BeanInfo.java:
13372         Constants must be final.
13374 2002-11-06  Tom Tromey  <tromey@redhat.com>
13376         From svens@it.uu.se.  For PR libgcj/8481.
13377         * java/util/Random.java (nextInt(int)): Only use 31 bits.
13379 2002-11-06  Tom Tromey  <tromey@redhat.com>
13381         * jni.cc (array_from_valist): Assume that jlong won't be
13382         promoted.
13384 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
13386         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
13387         Return 20.
13388         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
13389         Return 16.
13391 2002-11-03  Tom Tromey  <tromey@redhat.com>
13393         * java/lang/ClassLoader.java (loadClass): Call loadClass on
13394         VMClassLoader, not findClass.
13396 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
13398         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
13399         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
13400         _Jv_DetermineVTableIndex, to determine vtable offset.
13401         (_Jv_DetermineVTableIndex): Remove.
13402         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
13404         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
13406 2002-11-03  Tom Tromey  <tromey@redhat.com>
13408         * java/nio/channels/AlreadyConnectedException.java: Extend
13409         IllegalStateException, per spec.
13411 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
13413         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
13415 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
13417         * java/util/ArrayList.java (readObject, writeObject): Only read/write
13418         size items.
13420 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
13422         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
13423         initial estimated size to avoid enlarge buffer frequently.
13425 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
13427         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
13428         ClassLoader when null.
13429         (ProxyType.hashCode): Loader null check no longer needed.
13430         (ProxyType.sameTypes): New method.
13431         (ProxyType.equals): Use new method.
13433 2002-10-31  Mark Wielaard  <mark@klomp.org>
13435         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
13436         length of String.
13437         * java/net/URLEncoder.java (encode): Likewise.
13439 2002-10-31  Mark Wielaard  <mark@klomp.org>
13441         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
13442         when stream is closed.
13443         (closeEntry): Likewise.
13444         (read): Likewise.
13445         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
13446         ZipException when no entry active.
13447         (closeEntry): Likewise.
13448         (write): Likewise.
13450 2002-11-02  Tom Tromey  <tromey@redhat.com>
13452         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
13453         * java/lang/natClass.cc (initializeClass): Don't return just
13454         because self==thread.
13456         For PR java/8415:
13457         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
13458         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
13460 2002-11-02  Andreas Schwab  <schwab@suse.de>
13462         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
13463         pass GCJFLAGS.
13464         (FLAGS_TO_PASS): Define.
13465         * Makefile.in: Regenerated.
13467 2002-11-01  Michael Koch  <konqueror@gmx.de>
13469         * java/nio/ByteOrder.java: New file.
13470         * java/nio/channels/DatagramChannel.java:
13471         (DatagramChannel): New constructor.
13472         * java/nio/channels/Pipe.java: New file.
13473         * java/nio/channels/SelectableChannel.java: New file.
13474         * java/nio/channels/SelectionKey.java: New file.
13475         * java/nio/channels/Selector.java: New file.
13476         * java/nio/channels/ServerSocketChannel.java
13477         (ServerSocketChannel): New constructor.
13478         * java/nio/channels/SocketChannel.java
13479         (SocketChannel): New constructor.
13480         * java/nio/channels/Pipe.java: New file.
13481         * java/nio/channels/spi/AbstractChannel.java: New file.
13482         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
13483         * java/nio/channels/spi/AbstractSelectableChannel.java:
13484         License added
13485         (AbstractSelectableChannel): New stubbed method.
13486         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
13487         * java/nio/channels/spi/AbstractSelector.java: New file.
13488         * java/nio/channels/spi/SelectorProvider.java: New file.
13489         * java/nio/charset/Charset.java: New file.
13490         * java/nio/charset/CoderMalfunctionError.java: New file.
13491         * java/nio/charset/CodingErrorAction.java: New file.
13492         * java/nio/charset/spi/CharsetProvider.java
13493         (charsetForName): Uncommented.
13494         * Makefile.am (java_native_source_files): Added new files.
13495         * Makefile.in: Regenerated.
13497 2002-11-01  Michael Koch  <konqueror@gmx.de>
13499         * java/net/InetAddress.java:
13500         (isAnyLocalAddress): Implemented.
13501         (isLoopbackAddress): Implemented, comment added.
13502         (isLinkLocalAddress): Implemented, documentation added.
13503         (isSiteLocalAddress): Implemented, documentation added.
13504         (isMCGlobal): Implemented, documentation added.
13505         (isMCNodeLocal): Implemented, documentation added.
13506         (isMCLinkLocal): Implemented, documentation added.
13507         (isMCSiteLocal): Implemented, documentation added.
13508         (isMCOrgLocal): Implemented, documentation added.
13509         (getHostName): Documentation added.
13510         (getCanonicalHostName): Implemented, documentation added.
13511         (getAddress): Documentation added.
13512         (hashCode): Documentation added.
13513         (equals): Documentation added.
13514         (toString): Fixed implementation.
13515         (getByAddress): Use Inet4Address and Inet6Address.
13516         (lookup): New linewrap.
13517         (getByName): SecurityManager check added, support Inet4Address and
13518         Inet6address, comments added.
13519         (getAllByName): SecurityManager check added, comments added.
13520         * java/net/Inet6Address.java:
13521         (Inet6Address): Initialize parent class with addr instead of null.
13522         * java/net/URL.java
13523         (equals): Documentation added.
13524         (getFile): Documentation added.
13525         (hashCode): Documentation added.
13526         * java/net/natInetAddress.cc:
13527         (aton): Fix IPv6 support.
13528         * java/net/natPlainDatagramSocketImpl.cc:
13529         (peek): Throw PortUnreachableException when suitable.
13530         (peekData): Throw PortUnreachableException when suitable.
13531         (send): Throw PortUnreachableException when suitable.
13532         (receive): Throw PortUnreachableException when suitable.
13534 2002-10-27  Mark Wielaard  <mark@klomp.org>
13536         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
13537         argument.
13538         (readLeShort): Likewise and use byte[].
13539         (readLeInt): Likewise.
13540         (readEntries): Use new versions of methods and use byte[] for reading
13541         a complete zip entry. Add ZipFile name to exceptions.
13542         (entries): Add ZipFile name to exceptions.
13543         (getEntry): Likewise.
13544         (checkLocalHeader): Use new versions of methods and add ZipFile name
13545         to exceptions.
13547 2002-10-31  Mark Anderson  <mark@panonet.net>
13549         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
13550         added
13552 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
13554         * configure.in: Disable hash sync when not using threads.
13555         * configure: Regenerated.
13557 2002-10-24  Tom Tromey  <tromey@redhat.com>
13559         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
13560         (_Jv_FindSymbolInExecutable): Removed argument name.
13561         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
13562         java.library.path is set.
13564         * gij.cc (help): Document --showversion.
13565         (version): Don't exit.
13566         (main): Handle --showversion.  Exit if --version given.
13568 2002-10-23  Tom Tromey  <tromey@redhat.com>
13570         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
13571         (array_from_valist): Correctly handle promotion for jint, jlong,
13572         jfloat, and jdouble.
13574 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
13576         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
13577         GetFileAttributesEx( ) to find file length and modification times,
13578         as the latter is not present on Windows 95.
13580 2002-10-21  Michael Koch  <konqueror@gmx.de>
13582         * java/net/URL.java
13583         (URL): Activate SecurityManager checks.
13584         (equals): Use URLStreamHandler implementation instead of doing it
13585         alone. This allows special protocol stream handlers to change default
13586         behaviour.
13587         (hashCode): Use URLStreamHandler implementation instead of doing it
13588         alone. This allows special protocol stream handlers to change default
13589         behaviour.
13590         * java/net/URLStreamHandler.java
13591         (equals): Implemented default URL equality check.
13592         (hostsEqual): Implemented default URL equality check.
13593         (hashCode): Implemented default URL hashCode algorithm.
13594         * java/net/natPlainDatagramSocketImpl.cc:
13595         No lines longer then 80 characters.
13597 2002-10-20  Adam Megacz <adam@xwt.org>
13599         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
13600         * configure.in: enabled hash sync on Win32
13601         * include/win32-threads.h (_Jv_ThreadId_t): added.
13602         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
13603         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
13604         removed some posix-isms, use Thread::sleep() instead of usleep,
13605         added code to clear bottom three bits if platform has a broken
13606         linker.
13607         * include/win32-threads.h (_Jv_ThreadId_t): added.
13609 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
13611         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
13612         runtime property "gnu.gcj.progname" containing the name used to
13613         invoke the current Java program (similar to argv[0] for C
13614         programs).
13616 2002-10-15  Tom Tromey  <tromey@redhat.com>
13618         Fix for PR libgcj/8234:
13619         * java/util/zip/natInflater.cc (reset): Reset avail_in.
13620         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
13622 2002-10-13  Mark Wielaard  <mark@klomp.org>
13624         * mauve-libgcj: Enable Mauve tests that compile now.
13626 2002-10-11  Mark Wielaard  <mark@klomp.org>
13628         Fix for PR libgcj/8142
13629         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
13630         loading native modules.
13632 2002-10-10  Michael Koch  <konqueror@gmx.de>
13634         * javax/swing/AbstractListModel.java
13635         (getListDataListeners): New stubbed method.
13636         javax/swing/DefaultBoundedRangeModel.java
13637         (getChangeListeners): New stubbed method.
13638         javax/swing/DefaultSingleSelectionModel.java
13639         (getChangeListeners): New stubbed method.
13641 2002-10-10  Michael Koch  <konqueror@gmx.de>
13643         * gcj/.cvsignore: New file to ignore files generated during build.
13644         * include/.cvsignore: New file to ignore files generated during build.
13646 2002-10-10  Michael Koch  <konqueror@gmx.de>
13648         * java/net/HttpURLConnection.java
13649         (getPermission): New method.
13650         (getErrorStream): New stub method.
13651         (getHeaderFieldDate): New stub method.
13652         * java/net/Inet4Address.java:
13653         (isLinkLocalAddress): Typo fixed.
13654         * java/net/InetAddress.java:
13655         (readResolve): New stubbed method (for serialization).
13656         (isAnyLocalAddress): New stubbed method.
13657         (isLoopbackAddress): New stubbed method.
13658         (isLinkLocalAddress): New stubbed method.
13659         (isSiteLocalAddress): New stubbed method.
13660         (isMCGlobal): New stubbed method.
13661         (isMCNodeGlobal): New stubbed method.
13662         (isMCLinkLocal): New stubbed method.
13663         (isMCSiteLocal): New stubbed method.
13664         (isMCOrgLocal): New stubbed method.
13665         (getCanonicalHostName): New stubbed method.
13666         (getByAddress): Create instances of Inet4Address/Inet6Address,
13667         instead of InetAddress, documentation added.
13668         * java/net/MulticastSocket.java
13669         (getInterface): Removed FIXME.
13670         (getNetworkInterface): New method.
13671         (setNetworkInterface): New method.
13672         * java/net/NetworkInterface.java:
13673         (toString): Use property "line.separator" instead of "\n".
13674         * java/net/URLConnection.java
13675         (getContent): New stubbed method.
13676         * java/net/URLStreamHandler.java:
13677         (equals): New stubbed method.
13678         (hostsEqual): New stubbed method.
13679         (hashCode): New stubbed method.
13680         * java/net/natNetworkInterface.cc:
13681         (getRealNetworkInterfaces): Create Inet4Address object
13682         instead of InetAddress.
13684 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
13686         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
13687         unsigned long temporary to implement insn_iushr shifts.
13689 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
13691         * configure.host [s390*-*]: Enable Java interpreter.
13692         Enable hash synchronization.  Add sysdeps dir.
13693         * sysdep/s390/locks.h: New file.
13695 2002-10-06  Mark Wielaard  <mark@klomp.org>
13697         * java/lang/Thread.java (setDaemon): Check startable_flag,
13698         not isAlive().
13700 2002-10-07  Michael Koch  <konqueror@gmx.de>
13702         * java/nio/Buffer.java: New stub file.
13703         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
13704         of class Charset.
13705         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
13706         * Makefile.in: Regenerated.
13708 2002-10-07  Michael Koch  <konqueror@gmx.de>
13710         * java/nio/ByteBuffer.java:
13711         removed import of not commited class.
13713 2002-10-07  Michael Koch  <konqueror@gmx.de>
13715         * java/nio/ByteBuffer.java,
13716         java/nio/MappedByteBuffer.java:
13717         New files, forgot to add these dummies.
13718         * Makefile.am (java_native_source_files): Added new files.
13719         * Makefile.in: Regenerated.
13721 2002-10-07  Michael Koch  <konqueror@gmx.de>
13723         * java/nio/channels/AlreadyConnectedException.java,
13724         java/nio/channels/ClosedChannelException.java,
13725         java/nio/channels/ReadableByteChannel.java,
13726         java/nio/channels/InterruptibleChannel.java,
13727         java/nio/channels/Channel.java,
13728         java/nio/channels/ByteChannel.java,
13729         java/nio/channels/GatheringByteChannel.java,
13730         java/nio/channels/ScatteringByteChannel.java,
13731         java/nio/channels/WritableByteChannel.java,
13732         java/nio/charset/CharacterCodingException.java,
13733         java/nio/charset/IllegalCharsetNameException.java,
13734         java/nio/charset/MalformedInputException.java,
13735         java/nio/charset/UnmappableCharacterException.java,
13736         java/nio/charset/UnsupportedCharsetException.java,
13737         java/nio/charset/spi/CharsetProvider.java: New file.
13738         These files are exceptions or interfaces,
13739         no real or abstract classes.
13740         * Makefile.am (java_native_source_files): Added new files.
13741         * Makefile.in: Regenerated.
13743 2002-10-05  Michael Koch  <konqueror@gmx.de>
13745         * java/net/InetAddress.java
13746         (getByAddress): Fixed documentation.
13747         (getByAddress): New method.
13748         * java/net/Inet4Address.java: New file.
13749         * java/net/URL.java
13750         (URL): Documentation added.
13751         (getContent): Documentation added.
13752         (getContent): New stubbed method.
13753         (getQuery): New method.
13754         (openConnection): Documentation added.
13755         (openStream): Documentation added.
13756         (setURLStreamHandlerFactory): Documentation added.
13757         * java/net/URI.java: New stub file.
13758         * Makefile.am
13759         (java_native_source_files): Added java/net/Inet4Address.java,
13760         java/net/Inet6Address.java and java/net/URI.java.
13761         * Makefile.in: Regenerated.
13763 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
13765         * java/lang/ProtectionDomain.java (linesep): Remove field.
13766         (toString): Use System.getProperty("line.separator").
13768 2002-10-04  Michael Koch  <konqueror@gmx.de>
13770         * java/security/Identity.java: Added serialVersionUID.
13771         * java/security/KeyPair.java: Added serialVersionUID.
13772         * java/security/Provider.java: Added serialVersionUID.
13773         * java/security/SecureRandom.java: Added serialVersionUID.
13774         * java/security/SecureRandomSpi.java: Added serialVersionUID.
13775         * java/security/SignedObject.java: Added serialVersionUID.
13776         * java/security/cert/Certificate.java: Added serialVersionUID.
13778 2002-10-04  Mark Wielaard <mark@klomp.org>
13780         * java/security/Security.java: Use java.home or gnu.classpath.home
13781         to load providers.
13782         (loadProviders): Extra dir argument.
13783         (getProvider): Return null when not found.
13785 2002-10-04  Mark Wielaard  <mark@klomp.org>
13787         * java/lang/Throwable.java: Remerge with Classpath.
13789 2002-10-04  Michael Koch  <konqueror@gmx.de>
13791         * java/net/InetAddress.java:
13792         (isMulticastAddress): Added documentation.
13793         (getHostAddress): Added documentation.
13794         (toString): Added documentation.
13795         (getByAddress): Fixed documentation.
13796         (getByName): Added documentation.
13797         (getAllByName): Added documentation.
13798         (getLocalHost): Added documentation.
13800 2002-10-04  Michael Koch  <konqueror@gmx.de>
13802         * java/beans/beancontext/BeanContextChildSupport.java:
13803         Added serialVersionUID.
13804         * java/text/Collator.java: (compare): Made documentation HTML-aware.
13805         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
13806         * javax/naming/Name.java: Added serialVersionUID.
13808 2002-10-03  Adam Megacz <adam@xwt.org>
13810         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
13811         some functionality that isn't supported yet on WIN32.
13813 2002-10-03  Tom Tromey  <tromey@redhat.com>
13815         * Makefile.in: Rebuilt.
13816         * Makefile.am (awt_java_source_files): Added new files.
13818 2002-10-03  Michael Koch  <konqueror@gmx.de>
13820         * java/net/InetAddress.java
13821         (class InetAddress): Removed final keyword.
13822         (equals): Fixed typo.
13823         (getByAddress): New method.
13825 2002-10-03  Michael Koch  <konqueror@gmx.de>
13827         * java/awt/dnd/Autoscroll.java:
13828         New file, merge from Classpath.
13829         * java/awt/dnd/DragSourceAdapter.java:
13830         (dragExit): Fixed typos in argument type.
13831         (dragDropEnd): Fixed typos in argument type.
13832         * java/awt/dnd/DragSourceDropEvent.java:
13833         New file, merge from Classpath.
13834         * java/awt/dnd/DropTarget.java:
13835         Added stubs, merge from Classpath.
13836         * java/awt/dnd/DropTargetAdapter.java:
13837         New file, merge from Classpath.
13838         * java/awt/dnd/DropTargetContext.java:
13839         New file, merge from Classpath.
13840         * java/awt/dnd/DropTargetDragEvent.java:
13841         New file, merge from Classpath.
13842         * java/awt/dnd/DropTargetDropEvent.java:
13843         New file, merge from Classpath.
13844         * java/awt/dnd/DropTargetEvent.java:
13845         New file, merge from Classpath.
13846         * java/awt/dnd/DropTargetListener.java:
13847         New file, merge from Classpath.
13848         * java/awt/dnd/MouseDragGestureRecognizer.java:
13849         New file, merge from Classpath.
13850         * java/awt/dnd/peer/DropTargetContextPeer.java:
13851         New file, merge from Classpath.
13853 2002-10-03  Michael Koch  <konqueror@gmx.de>
13855         * java/net/DatagramPacket.java
13856         (setLength): Fixed typo and be HTML-aware.
13857         * java/net/InetSocketAddress.java
13858         (InetSocketAddress): Correct initialization of hostname, fixed typo.
13859         (equals): Added comment about equality of InetSocketAddress objects.
13860         * java/net/ServerSocket.java
13861         (accept): Added checks.
13862         (isClosed): New stubbed method.
13863         * java/net/SocketOptions.java: Reindention.
13864         * java/net/SocketPermission
13865         (SocketPermission): Documentation fixed.
13867 2002-10-03  Michael Koch  <konqueror@gmx.de>
13869         * java/net/DatagramSocket.java
13870         (receive): Check with SecurityManager AFTER the packet is received,
13871         check if connected to multicast address, documentation added.
13872         (send): Only check SecurityManager if connected, check address of
13873         packet to send.
13874         (connect): Implemented, documentation added.
13875         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
13876         * java/net/InetSocketAddress.java
13877         (whole file): Reindented.
13878         (hostname): New attribute.
13879         (InetSocketAddress): Initialize new attribute.
13880         (getAddress): Documentation added.
13881         (getHostName): Documentation added.
13882         (getPort): Documentation added.
13883         (hashCode): Documentation added.
13884         (isUnresolved): Documentation added.
13885         (toString): Conform to output of JDK 1.4.1, documentation added.
13886         * java/net/MulticastSocket.java
13887         (joinGroup): Removed FIXME, documentation added.
13888         (leaveGroup): Removed FIXME, documentation added.
13889         (send): Documentation added.
13890         * java/net/Socket.java
13891         (inputShutdown): New variable.
13892         (outputShutdown): New variable.
13893         (Socket): Initialize new variables.
13894         (getRemoteSocketAddress): Check if connected.
13895         (shutdownInput): Set new variable.
13896         (shutdownOutput): Set new variable.
13897         (isConnected): New method.
13898         (isClosed): New method.
13899         (isInputShutdown): New method.
13900         (isOutputShutdown): New method.
13901         * java/net/URLStreamHandler.java
13902         (URLStreamHandler): New method.
13903         (openConnection): Added documentation.
13904         (parseURL): Added documentation.
13905         (getHostAddress): New method.
13906         (getDefaultPort): New method.
13908 2002-10-02  Tom Tromey  <tromey@redhat.com>
13910         * java/rmi/activation/ActivationDesc.java,
13911         java/rmi/activation/ActivationGroupDesc.java,
13912         java/rmi/activation/ActivationGroupID.java,
13913         java/rmi/activation/ActivationID.java: New versions from
13914         Classpath.
13916 2002-09-30  Bo Thorsen  <bo@suse.de>
13918         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
13920 2002-09-30  Tom Tromey  <tromey@redhat.com>
13922         * java/io/ObjectInputStream.java (resolveProxyClass): New method
13923         from Classpath.
13924         * Makefile.in: Rebuilt.
13925         * Makefile.am (rmi_java_source_files): Added new files.
13926         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
13927         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
13928         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
13929         Classpath.
13930         * gnu/java/rmi/dgc/DGCImpl.java,
13931         gnu/java/rmi/dgc/DGCImpl_Skel.java,
13932         gnu/java/rmi/dgc/DGCImpl_Stub.java,
13933         gnu/java/rmi/registry/RegistryImpl_Skel.java,
13934         gnu/java/rmi/registry/RegistryImpl_Stub.java,
13935         gnu/java/rmi/server/RMIHashes.java,
13936         gnu/java/rmi/server/RMIObjectInputStream.java,
13937         gnu/java/rmi/server/RMIObjectOutputStream.java,
13938         gnu/java/rmi/server/UnicastConnection.java,
13939         gnu/java/rmi/server/UnicastConnectionManager.java,
13940         gnu/java/rmi/server/UnicastRef.java,
13941         gnu/java/rmi/server/UnicastServer.java,
13942         gnu/java/rmi/server/UnicastServerRef.java,
13943         java/rmi/MarshalledObject.java,
13944         java/rmi/server/RMIClassLoader.java,
13945         java/rmi/server/RemoteObject.java,
13946         java/rmi/server/UnicastRemoteObject.java,
13947         java/security/SecureClassLoader.java: Merged from Classpath.
13949 2002-09-29  Anthony Green  <green@redhat.com>
13951         * java/lang/reflect/UndeclaredThrowableException.java: New file.
13952         Imported from GNU Classpath.
13953         * java/lang/reflect/natProxy.cc: New file.
13954         * java/lang/reflect/InvocationHandler.java: New file.  Imported
13955         from GNU Classpath.
13956         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
13957         Classpath.
13958         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
13959         Classpath.
13960         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
13961         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
13962         New statics.
13963         * gcj/javaprims.h ("Java"): Add new classes.
13964         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
13965         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
13966         java/lang/reflect/Proxy$$ProxyType.h): And this.
13967         (inner_nat_headers): Add these new headers.
13968         (ordinary_java_source_files): Add new files.
13969         (nat_source_files): Add new file.
13970         * Makefile.in: Rebuilt.
13972 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
13974         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
13975         a single configuration.
13977 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13979         * java/util/TimeZone.java (getDSTSavings): New method.
13980         Fixes PR libgcj/7786.
13982 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13984         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
13985         to see if `the_method == 0' before looking up vtable index.
13986         Fixes PR libgcj/7709.
13988 2002-09-25  Tom Tromey  <tromey@redhat.com>
13990         * java/lang/natClassLoader.cc:
13991         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
13992         * resolve.cc: Include NoClassDefFoundError.h, not
13993         ClassNotFoundException.h.
13994         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
13996         * defineclass.cc: Don't include ClassNotFoundException.h.
13998         * resolve.cc: Include StringBuffer.
13999         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
14001         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
14002         allocated but not initialized.
14004 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
14006         Fix for PR libgcj/7766:
14007         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
14008         (getNextEntry): Set it.
14009         (closeEntry): Likewise.
14010         (read): Likewise.
14011         (close): Likewise.
14012         (available): Use it.
14014 2002-09-25  Michael Koch  <konqueror@gmx.de>
14016         * java/net/DatagramSocket.java
14017         (DatagramSocket): Initialize new instance variables.
14018         (close): Reset new instance variables.
14019         (getLocalAddress): Remove unneeded SecurityManager usage.
14020         (getLocalPort): Check if socket is already bound.
14021         (isConnected): New method.
14022         (getInetAddress): Implemented.
14023         (getPort): Better Implementation, documentation fixed.
14024         (getRemoteSocketAddress): New method.
14025         * java/net/JarURLConnection.java
14026         (element): Typo fixed.
14027         (getMainAttributes): New method.
14028         (getAttributes): New method (stub only).
14029         (getManifest): New method (stub only).
14030         * java/net/NetPermission.java: Added serialVersionsUID.
14031         * java/net/Socket.java
14032         (connect): Check blocking mode of associated channel,
14033         documentation added.
14034         (getLocalSocketAddress): Better implementation.
14035         (getRemoteSocketAddress): Implemented.
14036         (isBound): New method.
14037         (setSendBufferSize): Documentation added.
14038         * java/net/SocketAddress.java: Added serialVersionsUID.
14039         * java/net/SocketPermission.java: Added serialVersionsUID.
14040         * java/net/URL.java
14041         (URL): Wrap for shorter lines, initialize new instance variables,
14042         documentation added.
14043         (equals): Check new instance variables too.
14044         (getContent): Documentation added.
14045         (getPath): Documentation added.
14046         (getAuthority): New method.
14047         (getHost): Documentation added.
14048         (getPort): Documentation added.
14049         (getDefaultPort): New method.
14050         (getProtocol): Documentation added.
14051         (getUserInfo): Documentation added.
14052         (set): Initialize new instance variables, documentation added.
14053         * java/net/URLStreamHandler.java
14054         (setURL): New method.
14055         * java/net/natPlainDatagramSocketImpl.cc
14056         (connect): Fix exception name.
14057         (disconnect): Fix exception name.
14059 2002-09-25  Michael Koch  <konqueror@gmx.de>
14061         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
14062         * java/nio/channels/DatagramChannel.java:
14063         extends AbstractSelectableChannel
14064         * java/nio/channels/ServerSocketChannel.java:
14065         extends AbstractSelectableChannel
14066         * java/nio/channels/SocketChannel.java:
14067         extends AbstractSelectableChannel
14068         * Makefile.am (ordinary_java_source_files):
14069         java/nio/channels/spi/AbstractSelectableChannel.java added.
14070         * Makefile.in: Regenerated.
14072 2002-09-25  Michael Koch  <konqueror@gmx.de>
14074         * java/net/DatagramSocket.java
14075         (DatagramSocket): Exception documentation added.
14076         (bind): Exception documentation added, addded SecurityManager check,
14077         added SocketAddress type check.
14078         (getSoTimeout): Check impl.
14079         (receive): Fix SecurityManager check, check impl, documentation added.
14080         (send): Check channel mode, documentation added.
14081         (connect): New method.
14082         (disconnect): Implemented.
14083         (getLocalSocketAddress): New method.
14084         (getReceiveBufferSize): Check impl.
14085         (setReuseAddress): Check impl.
14086         (getReuseAddress): Check impl.
14087         (setBroadcast): Check impl.
14088         (getBroadcast): Check impl.
14089         (setTrafficClass): Check impl, Documentation cleared.
14090         (getTrafficClass): Check impl.
14091         (getSendBufferSize): Check impl.
14092         (setReceiveBufferSize): Check impl, documentation added.
14093         (setSendBufferSize): Documentation added.
14094         (setDatagramSocketImplFactory): New method.
14095         * java/net/HttpURLConnection.java
14096         (HTTP_INTERNAL_ERROR): The correct code is 500.
14097         (HTTP_NOT_IMPLEMENTED): Added new constant.
14098         (setFollowRedirects): Documentation added.
14099         (getInstanceFollowRedirects): New method.
14100         (setInstanceFollowRedirects): New method.
14101         (setRequestMethod): Documentation added.
14102         (getResponseCode): Documentation added.
14103         (getResponseMessage): Documentation added.
14104         * java/net/JarURLConnection.java
14105         (JarURLConnection): protected since JDK 1.4.
14106         (getJarEntry): java.io.IOException to IOException, documentation added.
14107         (getJarFile): Documentation added.
14108         * java/net/ServerSocket.java
14109         (ServerSocket): Private to public, exception added.
14110         (ServerSocket): java.io.IOException to IOException, documentation added.
14111         (bind): Check socket address type, documentation added.
14112         (bind): java.io.IOException to IOException, documentation added.
14113         (accept): Documentation added.
14114         (implAccept): Check ch is not non-blocking, documentation added.
14115         (setSoTimeout): Documentation fixed.
14116         (setReceiveBufferSize): Documentation added.
14117         * java/net/Socket.java
14118         (Socket): Documentation added.
14119         (bind): Documentation added.
14120         (connect): Check socket address type, documentation added.
14121         (getRemoteSocketAddress): New method.
14122         (getLocalSocketAddress): New method.
14123         (setSoLinger): Documentation added.
14124         (getReuseAddress): New method.
14125         (setReuseAddress): New method.
14126         (getTrafficClass): New method.
14127         (setTrafficClass): New method.
14128         * java/net/URLStreamHandler.java
14129         (openConnection): java.io.IOException to IOException.
14130         (parseURL): Documentation added.
14131         (sameFile): public to protected, documentation added.
14132         (setURL): Documentation added.
14133         * java/nio/IllegalBlockingModeException.java: New file.
14134         * Makefile.am (ordinary_java_source_files):
14135         added java/nio/IllegalBlockingModeException.java
14136         * Makefile.in: Regenerated.
14138 2002-09-25  Michael Koch  <konqueror@gmx.de>
14140         * java/net/DatagramPacket
14141         (DatagramPacket): Exception documentation added.
14142         (setData): Likewise.
14143         (setSocketAddress): Likewise.
14144         * java/net/DatagramSocketImpl.java
14145         (peek): Documentation addded.
14146         (peekData): Documentation addded.
14147         (send): Documentation addded.
14148         (receive): Documentation addded.
14149         (connect): New method.
14150         (disconnect): New method.
14151         (joinGroup): New abstract method.
14152         (leaveGroup): New abstract method.
14153         * java/net/InetSocketAddress.java
14154         (InetSocketAddress): Documentation added.
14155         (equals): final keyword added.
14156         (getAddress): final keyword added.
14157         (getHostName): final keyword added.
14158         (getPort): final keyword added.
14159         (hashCode): final keyword added.
14160         (isUnresolved): final keyword added.
14161         * java/net/MulticastSocket.java
14162         (MulticastSocket): Documentation added.
14163         (MulticastSocket): New method.
14164         (joinGroup): Documentation added.
14165         (joinGroup): New method.
14166         (leaveGroup): Documentation added.
14167         (leaveGroup): New method.
14168         (send): Documentation added.
14169         * java/net/NetworkInterface.java
14170         (getByName): Documentation added.
14171         (getByInetAddress): Documentation added.
14172         (getNetworkInterfaces): Documentation added.
14173         * java/net/PlainDatagramSocketImpl.java
14174         (connect): New method.
14175         (disconnect): New method.
14176         * java/net/SocketImpl.java
14177         (create): Documentation added.
14178         (shutdownInput): Convert public to protected, as it always was.
14179         (shutdownOutput): Convert public to protected, as it always was.
14180         * java/net/SocketOptions.java
14181         (whole file): Reintented.
14182         * java/net/URLClassLoader.java
14183         (URLClassLoader): SecurityManager check added, documentation added.
14184         (findResources): Documentation added.
14185         (findClass): Documentation added.
14186         (newInstance): More correct method arguments.
14187         * java/net/URLConnection.java
14188         (connect): Documentation added.
14189         (getContent): Documentation added.
14190         (getPermission): Documentation added.
14191         (getInputStream): Documentation added.
14192         (getOutputStream): Documentation added.
14193         (setDoInput): Throw correct exception, documentation added.
14194         (setDoOutput): Throw correct exception, documentation added.
14195         (setAllowUserInteraction): Throw correct exception, documentation added.
14196         (setUseCaches): Throw correct exception, documentation added.
14197         (setIfModifiedSince): Throw correct exception, documentation added.
14198         (setRequestProperty): Throw exception, documentation added.
14199         (addRequestProperty): Throw exception, documentation added.
14200         (getRequestProperty): Throw exception, documentation added.
14201         (getRequestProperties): Documentation added.
14202         (setContentHandlerFactory): Documentation added.
14203         (guessContentTypeFromName): protected to public.
14204         (setFileNameMap): Documentation added.
14205         * java/net/URLDecoder.java
14206         (URLDecoder): New method.
14207         (decode): Documentation added.
14208         (whole file): Reindented.
14209         * java/net/URLEncoder.java
14210         (encode): Documentation added.
14211         * java/net/natPlainDatagramSocketImpl.cc
14212         (connect): New method.
14213         (disconnect): New method.
14214         * javax/naming/RefAddr:
14215         (addrType): addrType was never final.
14216         (equals): Fix typo in method name.
14217         * javax/naming/BinaryRefAddr:
14218         (equals): Fix typo in method name.
14220 2002-09-22  Tom Tromey  <tromey@redhat.com>
14222         Fix for PR libgcj/6576:
14223         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
14224         didn't find a given bundle.
14225         (getBundle): Don't require base bundle.
14226         (setParent): Removed old comment.
14227         (tryLocalBundle): Try components even if preceding components were
14228         empty.
14230 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14232         * Makefile.am (all-multi): Fix multilib parallel build.
14234 2002-09-21  Michael Koch  <konqueror@gmx.de>
14236         * java/net/Socket.java
14237         (sendUrgentData): New method.
14238         (getChannel): New method.
14239         * java/net/ServerSocket.java
14240         (getChannel): New method.
14241         (isBound): New method.
14242         * java/net/DatagramSocket.java
14243         (DatagramSocket): Two new methods.
14244         (bind): New method.
14245         (getChannel): New method.
14246         (isBound): New method.
14247         (send): Added newline to to make shorter lines.
14248         * java/net/PlainDatagramSocketImpl.java
14249         (mcastGrp): Added argument.
14250         (join): Use new mcastGrp.
14251         (leave): Use new mcastGrp.
14252         (joinGroup): New method.
14253         (leaveGroup): New method.
14254         * java/net/natPlainDatagramSocketImpl.cc
14255         (mcastGrp): Added argument, no yet really implemented.
14256         (getOption): Added newline for shorter lines.
14257         * java/net/natPlainSocketImpl.cc
14258         (read, setOption, getOption): Added newline for shorter lines.
14260 2002-09-19  Tom Tromey  <tromey@redhat.com>
14262        * java/lang/ClassLoader.java (resolveClass0): Set cause for
14263        newly-created exception.
14265 2002-09-18  Michael Koch  <konqueror@gmx.de>
14267         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
14268         java/util/regex/PatternSyntaxException.java:
14269         Merge with classpath, new files.
14270         * Makefile.am (core_java_source_files):
14271         Added java/util/regex/Matcher.java,
14272         java/util/regex/Pattern.java,
14273         java/util/regex/PatternSyntaxException.java
14274         * Makefile.in: Regenerated.
14275         * include/config.h.in: Added HAVE_NET_IF_H.
14276         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
14277         Removed #if 0 ... #endif.
14279 2002-09-17  Michael Koch  <konqueror@gmx.de>
14281         * java/net/natNetworkInterface.cc:
14282         Removed unneed and yet wrong includes.
14284 2002-09-17  Michael Koch  <konqueror@gmx.de>
14286         * java/net/NetworkInterface.java: New file.
14287         * java/net/natNetworkInterface.java: New file.
14288         * configure.in: Added check for net/if.h.
14289         * configure: Regenerated.
14290         * Makefile.am
14291         (ordinary_java_source_files): Added NetworkInterface.java.
14292         (nat_source_files): Added natNetworkInterface.cc.
14293         * Makefile.in: Regenerated.
14295 2002-09-16  Tom Tromey  <tromey@redhat.com>
14297         * java/net/URLClassLoader.java (findClass): Code source for a
14298         class from a jar is not necessarily a jar: URL.
14300 2002-09-16  Michael Koch  <konqueror@gmx.de>
14302         * java/lang/AssertionError.java:
14303         Merge with classpath, fixes HTML.
14304         * java/rmi/server/LogStream.java:
14305         Merge with classpath, fixes some constants.
14306         * java/net/server/RemoteServer.java:
14307         Merge with classpath, adds serialVersionUID.
14308         * javax/naming/BinaryRefAddr.java:
14309         Merge with classpath, s/equal/equals/.
14310         * javax/naming/NamingException.java:
14311         Merge with classpath, fixed typo.
14312         * javax/naming/RefAddr.java:
14313         Merge with classpath, s/equal/equals/.
14314         * java/awt/Toolkit.java:
14315         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
14316         and typo fixed.
14318 2002-09-15  Adam Megacz <adam@xwt.org>
14320         * java/net/natPlainSocketImpl.cc: fixed typo.
14322 2002-09-15  Adam Megacz <adam@xwt.org>
14324         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
14325         which don't work on Win32 (yet).
14327 2002-09-14  Adam Megacz <adam@xwt.org>
14329         * java/net/natPlainDatagramSocket.cc: removed #include
14330         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
14331         * include/win32.h: included definition for IP_TOS to satisfy
14332         natPlainDatagramSocket.cc
14334 2002-09-13  Michael Koch  <konqueror@gmx.de>
14336         * java/net/DatagramPacket.java (DatagramPacket):
14337         Added linebreak for 80 chars per line.
14338         * java/net/JarURLConection.java
14339         (getInputStreami, getJarEntry): Likewise.
14340         * java/net/SocketPErmission.java
14341         (SocketPermission class docu, implies): Likewise.
14342         * java/net/URLClassLoader.java (findResources): Likewise.
14343         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
14345 2002-09-13  Michael Koch  <konqueror@gmx.de>
14347         * java/nio/channels/DatagramChannel.java,
14348         java/nio/channels/ServerSocketChannel.java
14349         java/nio/channels/SocketChannel.java:
14350         New dummy files to make java.net fully JDK 1.4 compatible
14351         * Makefile.am (ordinary_java_source_files): Added
14352         java/net/DatagramSocketImplFactory.java (long forgotten),
14353         java/nio/SocketChannel.java,
14354         java/nio/ServerSocketChannel.java,
14355         java/nio/DatagramChannel.java
14356         * Makefile.in: Regenrated.
14358 2002-09-12  Michael Koch  <konqueror@gmx.de>
14360         * java/net/DatagramSocketImpl.java
14361         (peekData): New method.
14362         * java/net/PlainDatagramSocketImpl.java
14363         (peekData): New method.
14364         * java/net/natPlainDatagramSocketImpl.cc
14365         (peekData): New method.
14366         * java/net/URLConnection
14367         (getPermission): New method.
14368         (addRequestProperty): New method.
14369         (getRequestProperties): New method.
14370         (guessContentTypeFromStream): New method, not really implemented.
14371         (URLConnection): Added/updated documentation.
14372         (connect): Added/updated documentation.
14373         (getURL): Added/updated documentation.
14374         (getContentLength): Added/updated documentation.
14375         (getContentType: Added/updated documentation.
14376         (getContentEncoding): Added/updated documentation.
14377         (getExpiration): Added/updated documentation.
14378         (getDate): Added/updated documentation.
14379         (getLastModified): Added/updated documentation.
14380         (getHeaderField): Added/updated documentation.
14381         (getHeaderFields): Added/updated documentation.
14382         (getHeaderFieldInt): Added/updated documentation.
14383         (getHeaderFieldDate): Added/updated documentation.
14384         (getHeaderFieldKey): Added/updated documentation.
14385         (getContent): Added/updated documentation.
14386         (getInputStream): Added/updated documentation.
14387         (getOutputStream): Added/updated documentation.
14388         (toString): Added/updated documentation.
14389         (setDoInput): Added/updated documentation.
14390         (getDoInput): Added/updated documentation.
14391         (setDoOutput): Added/updated documentation.
14392         (getDoOutput): Added/updated documentation.
14393         (setAllowUserInteraction): Added/updated documentation.
14394         (getAllowUserInteraction): Added/updated documentation.
14395         (setDefaultAllowUserInteraction): Added/updated documentation.
14396         (getDefaultAllowUserInteraction): Added/updated documentation.
14397         (setUseCaches): Added/updated documentation.
14398         (getUseCaches): Added/updated documentation.
14399         (setIfModifiedSince): Added/updated documentation.
14400         (getIfModifiedSince): Added/updated documentation.
14401         (getDefaultUseCaches): Added/updated documentation.
14402         (setDefaultUseCaches): Added/updated documentation.
14403         (setRequestProperty): Added/updated documentation.
14404         (getRequestProperty): Added/updated documentation.
14405         (setDefaultRequestProperty): Added/updated documentation.
14406         (getDefaultRequestProperty): Added/updated documentation.
14407         (setContentHandlerFactory): Added/updated documentation.
14408         (guessContentTypeFromName): Added/updated documentation.
14409         (getFileNameMap): Added/updated documentation.
14410         (setFileNameMap): Added/updated documentation.
14412 2002-09-11  Michael Koch  <konqueror@gmx.de>
14414         * java/net/Socket.java
14415         (Socket): protected to public (since JDK 1.4). Added @specnote.
14416         (bind): New method.
14417         (connect): Two new methods.
14418         (getKeepalive): Get correct socket option.
14419         (setKeepalive): Set correct socket option.
14420         (getOOBInline): New method.
14421         (setOOBInline): New method.
14422         * java/net/ServerSocket.java
14423         (bind): Two new methods.
14424         (getInetAddress): Reimplemented, catch exception.
14425         (getLocalSocketAddress): New method.
14426         (setReuseAddress): New method.
14427         (getReuseAdress): New method.
14428         (setReceiveBufferSize): New method.
14429         (getReceiveBufferSize): New method.
14430         (toString): Made string JDK 1.4 compliant.
14432 2002-09-10  Michael Koch  <konqueror@gmx.de>
14434         * java/net/SocketImpl.java
14435         (connect): New method.
14436         (supportsUrgentData): New method.
14437         (sendUrgentData): New method.
14438         * java/net/PlainSocketImpl.java
14439         (connect): One new method and two new implementation.
14440         (sendUrgentData): New method.
14441         * java/natPlainSocketImpl.cc
14442         (connect): Arguments changed, added support for timeouts.
14443         (getOption): Another __java_boolean to jboolean.
14445 2002-09-07  Adam Megacz <adam@xwt.org>
14447         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
14448         definition of IP_TOS.
14450 2002-09-04  Michael Koch  <konqueror@gmx.de>
14452         * java/net/DatagramSocket.java
14453         (DatagramSocket): Added documentation.
14454         (close): Likewise.
14455         (getLocalAddress): Likewise.
14456         (getLocalPort): Likewise.
14457         (receive): Likewise.
14458         (send): Likewise.
14459         (setSoTimeout): Likewise.
14460         (connect): New method.
14461         (disconnect): New method.
14462         (getInetAddress): New method (FIXME)
14463         (getPort): New method.
14464         (setReuseAddress): New method.
14465         (getReuseAddress): New method.
14466         (setBroadcast): New method.
14467         (getBroadcast): New method.
14468         (setTrafficClass): New method.
14469         (getTrafficClass): New method.
14470         * java/net/MulticastSocket.java):
14471         (getTTL): Added @see in documentation.
14472         (setTTL): Added @see in documentation.
14473         (setLoopbackMode): New method.
14474         (getLoopbackMode): New method.
14475         * java/net/PlainSocketImpl.java:
14476         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
14477         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14478         * java/net/PlainDatagramSocketImpl.java
14479         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
14480         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14481         * java/net/natPlainSocketImpl.cc
14482         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
14483         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14484         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
14485         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14486         This should also fix SO_KEEPALIVE
14487         * java/net/natPlainDatagramSocketImpl.cc
14488         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
14489         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14490         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
14491         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14493 2002-09-04  Michael Koch  <konqueror@gmx.de>
14495         * java/net/SocketOptions.java: added static variables to be JDK 1.4
14496         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
14497         IP_MULTICAST_LOOP, IP_TOS
14499 2002-09-03  Tom Tromey  <tromey@redhat.com>
14501         * java/lang/Class.h (_getDeclaredMethod): Declare.
14502         (_getMethod): Now private.
14503         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
14504         getDeclaredMethod.  Now returns NULL on failure.
14505         * java/lang/Class.java (_getDeclaredMethod): Declare.
14506         (getDeclaredMethod): No longer native; implements access checks.
14508 2002-09-01  Mark Wielaard  <mark@klomp.org>
14510         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
14511         (sanitizeStack): Correctly reset unknown and interpreter counters,
14512         detect interpreter runtime frames.
14513         (demangleInterpreterMethod): New method.
14514         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
14515         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
14516         filling in addrs[].
14518 2002-09-02  Michael Koch  <konqueror@gmx.de>
14520         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
14521         re-indented documentation.
14523 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
14525         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
14526         public, per 1.4 spec.  Fixes PR libgcj/7785.
14528 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
14530         * Makefile.in: Rebuilt.
14531         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
14533 2002-08-29  Tom Tromey  <tromey@redhat.com>
14535         * java/net/JarURLConnection.java (getCertificates): New method
14536         from Classpath.
14537         * java/net/URLClassLoader.java (URLClassLoader): Extends
14538         SecureClassLoader.
14539         (definePackage): New method from Classpath.
14540         (getPermissions): Likewise.
14541         (newInstance): Likewise.
14542         (findClass): Construct CodeSource for new class (from Classpath).
14543         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
14544         methods.
14545         * java/net/URL.java (getUserInfo): New method.
14546         (set(String,String,int,String,String,String,String,String)): New
14547         method.
14548         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
14549         (shutdownInput, shutdownOutput): Declare.
14550         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
14551         Define.
14552         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
14553         (getOption): Likewise.
14554         (shutdownInput): New method.
14555         (shutdownOutput): Likewise.
14556         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
14557         keepalive.
14558         (getOption): Likewise.
14559         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
14560         * java/net/Socket.java (setKeepAlive): New method.
14561         (getKeepAlive): Likewise.
14562         (shutdownInput, shutdownOutput): New methods.
14564 2002-08-29  Michael Koch  <konqueror@gmx.de>
14566         * java/net/DatagramPacket.java: updated to JDK 1.4 API
14567         new methods are:
14568         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
14569           address),
14570         DatagramPacket(byte[] buf, int length, SocketAddress address),
14571         void setSocketAddress(SocketAddress address)
14572         public SocketAddress getSocketAddress()
14574 2002-08-29  Tom Tromey  <tromey@redhat.com>
14576         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
14577         ftruncate is missing.
14578         * configure, include/config.h.in: Rebuilt.
14579         * acconfig.h (HAVE_FTRUNCATE): Mention.
14580         * configure.in: Check for ftruncate.
14582 2002-08-29  Tom Tromey  <tromey@redhat.com>
14584         * include/jvm.h (struct _Jv_frame_info): New structure.
14585         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
14586         java-interp.h.
14587         (lookupInterp): New method.
14588         (getAddrAsString): Use _Jv_frame_info.
14589         (dladdrLookup): Likewise.
14590         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
14591         interpreted frame.
14592         (lookupInterp): Declare.
14593         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
14594         (fillInStackTrace): Collect information on interpreted frames.
14595         Use _Jv_frame_info.
14596         * interpret.cc: Include Thread.h.
14597         (run): Create and push _Jv_MethodChain object.
14598         (_Jv_EndOfInterpreter): New global.
14599         * java/lang/Thread.java (interp_frame): New field.
14600         * include/java-interp.h (struct _Jv_MethodChain): New structure.
14601         Include NameFinder.h.
14603 2002-08-28  Tom Tromey  <tromey@redhat.com>
14605         * java/lang/Class.h: Include Package.h.
14606         (Class::getProtectionDomain): Declare.
14607         (Class::getPackage): Declare.
14609 2002-08-28  Michael Koch <konqueror@gmx.de>
14611         * java/net/InetSocketAddress.java: Added some documentation and argument
14612         checks for the port numbers.
14613         * java/net/DatagramSocketImplFactory.java: New file.
14615 2002-08-28  Michael Koch <konqueror@gmx.de>
14617         * java/net/Authenticator.java: added some documentation.
14619 2002-08-27  Tom Tromey  <tromey@redhat.com>
14621         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
14622         class.
14623         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
14625 2002-08-27  Michael Koch <konqueror@gmx.de>
14627         * java/net/BindException.java,
14628         java/net/JarURLConnection.java,
14629         java/net/FileNameMap.java,
14630         java/net/HttpURLConnection.java,
14631         java/net/InetSocketAddress.java,
14632         java/net/DatagramPacket.java,
14633         java/net/DatagramSocket.java,
14634         java/net/DatagramSocketImpl.java,
14635         java/net/MulticastSocket.java,
14636         java/net/PasswordAuthentication.java,
14637         java/net/ServerSocket.java,
14638         java/net/Socket.java,
14639         java/net/URLClassLoader.java,
14640         java/net/URLConnection.java: add/update of some @since/@deprecated
14642 2002-08-27  Tony Kimball <alk@pobox.com>
14643             Tom Tromey  <tromey@redhat.com>
14645         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
14646         define.
14647         (::close): Removed.
14648         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
14649         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
14650         (::close): Removed.
14651         (PlainSocketImpl::close): Use NATIVE_CLOSE.
14652         * include/win32.h (getcwd): Removed declaration.  Include io.h.
14654 2002-08-25  Adam Megacz <adam@xwt.org>
14656         * include/win32.h (getcwd): copied function declaration as
14657         temporary fix for header confusion.
14659 2002-08-24  Mark Wielaard <mark@klomp.org>
14661         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
14662         (core_java_source_files): Add VMThrowable.java and NameFinder.java
14663         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
14664         and natNameFinder.cc.
14665         * Makefile.in: Regenerate.
14666         * prims.cc: Use trace_enabled from VMThrowable.
14667         * name-finder.cc: Removed.
14668         * gcj/javaprims.h: Add class VMThrowable.
14669         * gnu/gcj/runtime/NameFinder.java: New file.
14670         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
14671         * include/name-finder.h: Removed.
14672         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
14673         method stackTraceString().
14674         (printStackTrace (PrintWriter)): Likewise.
14675         (stackTraceString): Complete rewrite of old printStackTrace using
14676         StringBuffer.
14677         (stackTraceStringBuffer): New helper method for stackTraceString().
14678         (fillInStackTrace): Delegate to VMTrowable.
14679         (getStackTrace): Likewise.
14680         (getStackTrace0): Removed.
14681         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
14682         (setStackTrace): Copy given array.
14683         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
14684         * java/lang/VMThrowable.java: New class.
14685         * java/lang/natVMThrowable.cc: New file.
14687 2003-08-23  Michael Koch  <konqueror@gmx.de>
14689         * java/net/URLConnection.java,
14690         java/netJarURLConnection.java,
14691         gnu/gcj/protocol/core/Connection.java,
14692         gnu/gcj/protocol/file/Connection.java,
14693         gnu/gcj/protocol/http/Connection.java: Added implementation of
14694         getHeaderFields().
14696 2002-08-22  Tom Tromey  <tromey@redhat.com>
14698         * gij.cc (help): Document -cp and -classpath.
14699         (main): Handle -classpath.
14701 2002-08-21  Tom Tromey  <tromey@redhat.com>
14703         * Makefile.in: Rebuilt.
14704         * Makefile.am (ordinary_java_source_files): Added
14705         SocketAddress.java, InetSocketAddress.java.
14706         * java/net/PortUnreachableException.java: Merged with Classpath.
14707         * java/net/SocketTimeoutException.java: Likewise.
14708         * java/net/URISyntaxException.java: Likewise.
14709         * java/net/SocketAddress.java: New class from Classpath.
14710         * java/net/InetSocketAddress.java: Likewise.
14712 2003-08-21  Michael Koch  <konqueror@gmx.de>
14714         * java/net/Authenticator.java: updated JDK 1.4
14715         * java/net/ContentHandler.java: updated JDK 1.4
14717 2002-08-20  Michael Koch  <konqueror@gmx.de>
14719         * java/net/URISyntaxException.java: New file.
14720         * java/net/SocketTimeoutException.java: New file.
14721         * java/net/PortUnreachableException.java: New file.
14722         * Makefile.am: Updated.
14723         * Makefile.in: Rebuilt.
14725 2002-08-18  Mark Wielaard  <mark@klomp.org>
14727         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
14728         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
14729         MessageDigestSpi (fixes Classpath bug #783).
14731 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
14733         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
14734         (startProcess): Allocate path for chdir in async-signal-safe way.
14736 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
14738         Fix for PR libgcj/7570 and PR libgcj/7578:
14739         * java/lang/natPosixProcess.cc: Include java/io/File.h.
14740         (startProcess): Handle new `dir' argument.
14741         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
14742         argument.
14743         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
14744         argument.
14745         (startProcess): Likewise.
14746         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
14747         argument.
14748         * java/lang/Runtime.java (execInternal): Added `dir' argument.
14749         (exec): Don't create new environment if ENV==null.  Pass DIR to
14750         execInternal.
14751         * java/lang/natRuntime.cc: Include java/io/File.h.
14752         (execInternal): Added `dir' argument.
14754 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
14756         * java/io/RandomAccessFile.java (skipBytes): Return number of
14757         bytes skipped.
14759 2002-08-01  Mark Wielaard  <mark@klomp.org>
14761         Reenable patch since shared library troubles on powerpc are solved:
14762         * gnu/java/security/provider/Gnu.java: Reference all implementation
14763         classes by using Class.getName().
14764         * gnu/java/security/der/DEREncodingException.java,
14765         gnu/java/security/provider/DERReader.java,
14766         gnu/java/security/provider/DERWriter.java,
14767         gnu/java/security/provider/DSAKeyPairGenerator.java,
14768         gnu/java/security/provider/DSAParameterGenerator.java,
14769         gnu/java/security/provider/DSAParameters.java,
14770         gnu/java/security/provider/DSASignature.java,
14771         gnu/java/security/provider/GnuDSAPrivateKey.java,
14772         gnu/java/security/provider/GnuDSAPublicKey.java,
14773         gnu/java/security/provider/MD5.java,
14774         gnu/java/security/util/Prime.java: New classes
14775         * Makefile.am (ordinary_java_source_files): Add above files.
14776         * Makefile.in: Regenerate.
14777         * gnu/java/security/provider/DefaultPolicy.java
14778         (getPermissions): Don't maintain static class variable of Permissions.
14779         * gnu/java/security/provider/SHA.java
14780         (engineUpdate): algorithm change.
14781         (engineDigest): algorithm change.
14783 2002-08-09  Mark Wielaard  <mark@klomp.org>
14785         * java/awt/image/MemoryImageSource.java: Change constructor to take
14786         int[] not byte[].
14787         * java/awt/Graphics2D.java: Uncomment methods that can now be
14788         compiled.
14789         * java/awt/GridBagLayout.java: New stub implementation.
14790         * javax/swing/text/html/HTML.java: Stub implementation.
14791         * javax/swing/text/html/parser/ParserDelegator.java: New stub
14792         implementation.
14794         * Makefile.am: Add new files.
14795         * Makefile.in: Rebuilt.
14797 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14799         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
14800         methods in Graphics2D.
14802 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14804         AWT/Swing merge from GNU Classpath.
14806         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
14807         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
14808         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
14809         java/awt/color/ProfileDataException.java,
14810         java/awt/CompositeContext.java, java/awt/Composite.java,
14811         java/awt/ContainerOrderFocusTraversalPolicy.java,
14812         java/awt/datatransfer/FlavorTable.java,
14813         java/awt/DefaultFocusTraversalPolicy.java,
14814         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
14815         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
14816         java/awt/dnd/DragGestureListener.java,
14817         java/awt/dnd/DragGestureRecognizer.java,
14818         java/awt/dnd/DragSourceAdapter.java,
14819         java/awt/dnd/DragSourceContext.java,
14820         java/awt/dnd/DragSourceDragEvent.java,
14821         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
14822         java/awt/dnd/DragSourceListener.java,
14823         java/awt/dnd/DragSourceMotionListener.java,
14824         java/awt/dnd/DropTarget.java,
14825         java/awt/dnd/InvalidDnDOperationException.java,
14826         java/awt/dnd/peer/DragSourceContextPeer.java,
14827         java/awt/event/AWTEventListenerProxy.java,
14828         java/awt/event/MouseWheelEvent.java,
14829         java/awt/event/MouseWheelListener.java,
14830         java/awt/event/WindowFocusListener.java,
14831         java/awt/event/WindowStateListener.java,
14832         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
14833         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
14834         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
14835         java/awt/geom/FlatteningPathIterator.java,
14836         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
14837         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
14838         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
14839         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
14840         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
14841         java/awt/image/ImagingOpException.java,
14842         java/awt/image/RasterFormatException.java,
14843         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
14844         java/awt/image/VolatileImage.java,
14845         java/awt/image/WritableRenderedImage.java,
14846         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
14847         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
14848         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
14849         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
14850         java/awt/PageAttributes.java, java/awt/print/Book.java,
14851         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
14852         java/awt/print/Paper.java, java/awt/print/Printable.java,
14853         java/awt/print/PrinterAbortException.java,
14854         java/awt/print/PrinterException.java,
14855         java/awt/print/PrinterGraphics.java,
14856         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
14857         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
14858         java/awt/Stroke.java, java/awt/TexturePaint.java,
14859         javax/accessibility/AccessibleAction.java,
14860         javax/accessibility/AccessibleBundle.java,
14861         javax/accessibility/AccessibleComponent.java,
14862         javax/accessibility/AccessibleContext.java,
14863         javax/accessibility/AccessibleEditableText.java,
14864         javax/accessibility/AccessibleExtendedComponent.java,
14865         javax/accessibility/AccessibleExtendedTable.java,
14866         javax/accessibility/AccessibleHyperlink.java,
14867         javax/accessibility/AccessibleHypertext.java,
14868         javax/accessibility/AccessibleIcon.java,
14869         javax/accessibility/Accessible.java,
14870         javax/accessibility/AccessibleKeyBinding.java,
14871         javax/accessibility/AccessibleRelation.java,
14872         javax/accessibility/AccessibleRelationSet.java,
14873         javax/accessibility/AccessibleResourceBundle.java,
14874         javax/accessibility/AccessibleRole.java,
14875         javax/accessibility/AccessibleSelection.java,
14876         javax/accessibility/AccessibleState.java,
14877         javax/accessibility/AccessibleStateSet.java,
14878         javax/accessibility/AccessibleTable.java,
14879         javax/accessibility/AccessibleTableModelChange.java,
14880         javax/accessibility/AccessibleText.java,
14881         javax/accessibility/AccessibleValue.java,
14882         javax/swing/AbstractAction.java,
14883         javax/swing/AbstractButton.java,
14884         javax/swing/AbstractCellEditor.java,
14885         javax/swing/AbstractListModel.java,
14886         javax/swing/AbstractSet.java, javax/swing/Action.java,
14887         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
14888         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
14889         javax/swing/border/CompoundBorder.java,
14890         javax/swing/border/EmptyBorder.java,
14891         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
14892         javax/swing/border/LineBorder.java,
14893         javax/swing/border/MatteBorder.java,
14894         javax/swing/border/TitledBorder.java,
14895         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
14896         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
14897         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
14898         javax/swing/CellRendererPane.java,
14899         javax/swing/colorchooser/AbstractColorChooserPanel.java,
14900         javax/swing/colorchooser/ColorChooserComponentFactory.java,
14901         javax/swing/colorchooser/ColorSelectionModel.java,
14902         javax/swing/colorchooser/DefaultColorSelectionModel.java,
14903         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
14904         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
14905         javax/swing/DefaultBoundedRangeModel.java,
14906         javax/swing/DefaultButtonModel.java,
14907         javax/swing/DefaultCellEditor.java,
14908         javax/swing/DefaultCellRenderer.java,
14909         javax/swing/DefaultComboBoxModel.java,
14910         javax/swing/DefaultDesktopManager.java,
14911         javax/swing/DefaultFocusManager.java,
14912         javax/swing/DefaultListCellRenderer.java,
14913         javax/swing/DefaultListModel.java,
14914         javax/swing/DefaultListSelectionModel.java,
14915         javax/swing/DefaultSingleSelectionModel.java,
14916         javax/swing/DesktopManager.java,
14917         javax/swing/event/AncestorEvent.java,
14918         javax/swing/event/AncestorListener.java,
14919         javax/swing/event/CaretEvent.java,
14920         javax/swing/event/CaretListener.java,
14921         javax/swing/event/CellEditorListener.java,
14922         javax/swing/event/ChangeEvent.java,
14923         javax/swing/event/ChangeListener.java,
14924         javax/swing/event/DocumentEvent.java,
14925         javax/swing/event/DocumentListener.java,
14926         javax/swing/event/EventListenerList.java,
14927         javax/swing/event/HyperlinkEvent.java,
14928         javax/swing/event/HyperlinkListener.java,
14929         javax/swing/event/InternalFrameAdapter.java,
14930         javax/swing/event/InternalFrameEvent.java,
14931         javax/swing/event/InternalFrameListener.java,
14932         javax/swing/event/ListDataEvent.java,
14933         javax/swing/event/ListDataListener.java,
14934         javax/swing/event/ListSelectionEvent.java,
14935         javax/swing/event/ListSelectionListener.java,
14936         javax/swing/event/MenuDragMouseEvent.java,
14937         javax/swing/event/MenuDragMouseListener.java,
14938         javax/swing/event/MenuEvent.java,
14939         javax/swing/event/MenuKeyEvent.java,
14940         javax/swing/event/MenuKeyListener.java,
14941         javax/swing/event/MenuListener.java,
14942         javax/swing/event/MouseInputAdapter.java,
14943         javax/swing/event/MouseInputListener.java,
14944         javax/swing/event/PopupMenuEvent.java,
14945         javax/swing/event/PopupMenuListener.java,
14946         javax/swing/event/SwingPropertyChangeSupport.java,
14947         javax/swing/event/TableColumnModelEvent.java,
14948         javax/swing/event/TableColumnModelListener.java,
14949         javax/swing/event/TableModelEvent.java,
14950         javax/swing/event/TableModelListener.java,
14951         javax/swing/event/TreeExpansionEvent.java,
14952         javax/swing/event/TreeExpansionListener.java,
14953         javax/swing/event/TreeModelEvent.java,
14954         javax/swing/event/TreeModelListener.java,
14955         javax/swing/event/TreeSelectionEvent.java,
14956         javax/swing/event/TreeSelectionListener.java,
14957         javax/swing/event/TreeWillExpandListener.java,
14958         javax/swing/event/UndoableEditEvent.java,
14959         javax/swing/event/UndoableEditListener.java,
14960         javax/swing/filechooser/FileFilter.java,
14961         javax/swing/filechooser/FileSystemView.java,
14962         javax/swing/filechooser/FileView.java,
14963         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
14964         javax/swing/Icon.java, javax/swing/ImageIcon.java,
14965         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
14966         javax/swing/JApplet.java, javax/swing/JButton.java,
14967         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
14968         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
14969         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
14970         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
14971         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
14972         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
14973         javax/swing/JLayeredPane.java, javax/swing/JList.java,
14974         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
14975         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
14976         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
14977         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
14978         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
14979         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
14980         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
14981         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
14982         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
14983         javax/swing/JTextField.java, javax/swing/JTextPane.java,
14984         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
14985         javax/swing/JToolTip.java, javax/swing/JTree.java,
14986         javax/swing/JViewport.java, javax/swing/JWindow.java,
14987         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
14988         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
14989         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
14990         javax/swing/MenuSelectionManager.java,
14991         javax/swing/MutableComboBoxModel.java,
14992         javax/swing/OverlayLayout.java,
14993         javax/swing/plaf/ActionMapUIResource.java,
14994         javax/swing/plaf/basic/BasicBorders.java,
14995         javax/swing/plaf/basic/BasicButtonUI.java,
14996         javax/swing/plaf/basic/BasicCheckBoxUI.java,
14997         javax/swing/plaf/basic/BasicDefaults.java,
14998         javax/swing/plaf/basic/BasicGraphicsUtils.java,
14999         javax/swing/plaf/basic/BasicIconFactory.java,
15000         javax/swing/plaf/basic/BasicLabelUI.java,
15001         javax/swing/plaf/basic/BasicListUI.java,
15002         javax/swing/plaf/basic/BasicLookAndFeel.java,
15003         javax/swing/plaf/basic/BasicOptionPaneUI.java,
15004         javax/swing/plaf/basic/BasicPanelUI.java,
15005         javax/swing/plaf/basic/BasicRadioButtonUI.java,
15006         javax/swing/plaf/basic/BasicScrollPaneUI.java,
15007         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
15008         javax/swing/plaf/basic/BasicTextUI.java,
15009         javax/swing/plaf/basic/BasicToggleButtonUI.java,
15010         javax/swing/plaf/basic/BasicTreeUI.java,
15011         javax/swing/plaf/basic/BasicViewportUI.java,
15012         javax/swing/plaf/BorderUIResource.java,
15013         javax/swing/plaf/ButtonUI.java,
15014         javax/swing/plaf/ColorChooserUI.java,
15015         javax/swing/plaf/ColorUIResource.java,
15016         javax/swing/plaf/ComboBoxUI.java,
15017         javax/swing/plaf/ComponentInputMapUIResource.java,
15018         javax/swing/plaf/ComponentUI.java,
15019         javax/swing/plaf/DesktopIconUI.java,
15020         javax/swing/plaf/DesktopPaneUI.java,
15021         javax/swing/plaf/DimensionUIResource.java,
15022         javax/swing/plaf/FileChooserUI.java,
15023         javax/swing/plaf/FontUIResource.java,
15024         javax/swing/plaf/IconUIResource.java,
15025         javax/swing/plaf/InputMapUIResource.java,
15026         javax/swing/plaf/InsetsUIResource.java,
15027         javax/swing/plaf/InternalFrameUI.java,
15028         javax/swing/plaf/LabelUI.java,
15029         javax/swing/plaf/ListUI.java,
15030         javax/swing/plaf/MenuBarUI.java,
15031         javax/swing/plaf/MenuItemUI.java,
15032         javax/swing/plaf/OptionPaneUI.java,
15033         javax/swing/plaf/PanelUI.java,
15034         javax/swing/plaf/PopupMenuUI.java,
15035         javax/swing/plaf/ProgressBarUI.java,
15036         javax/swing/plaf/RootPaneUI.java,
15037         javax/swing/plaf/ScrollBarUI.java,
15038         javax/swing/plaf/ScrollPaneUI.java,
15039         javax/swing/plaf/SeparatorUI.java,
15040         javax/swing/plaf/SliderUI.java,
15041         javax/swing/plaf/SplitPaneUI.java,
15042         javax/swing/plaf/TabbedPaneUI.java,
15043         javax/swing/plaf/TableHeaderUI.java,
15044         javax/swing/plaf/TableUI.java,
15045         javax/swing/plaf/TextUI.java,
15046         javax/swing/plaf/ToolBarUI.java,
15047         javax/swing/plaf/ToolTipUI.java,
15048         javax/swing/plaf/TreeUI.java,
15049         javax/swing/plaf/UIResource.java,
15050         javax/swing/plaf/ViewportUI.java,
15051         javax/swing/ProgressMonitorInputStream.java,
15052         javax/swing/ProgressMonitor.java,
15053         javax/swing/Renderer.java,
15054         javax/swing/RepaintManager.java,
15055         javax/swing/RootPaneContainer.java,
15056         javax/swing/Scrollable.java,
15057         javax/swing/ScrollPaneConstants.java,
15058         javax/swing/ScrollPaneLayout.java,
15059         javax/swing/SingleSelectionModel.java,
15060         javax/swing/SizeRequirements.java,
15061         javax/swing/SizeSequence.java,
15062         javax/swing/SwingConstants.java,
15063         javax/swing/SwingUtilities.java,
15064         javax/swing/table/AbstractTableModel.java,
15065         javax/swing/table/DefaultTableCellRenderer.java,
15066         javax/swing/table/DefaultTableColumnModel.java,
15067         javax/swing/table/DefaultTableModel.java,
15068         javax/swing/table/TableCellEditor.java,
15069         javax/swing/table/TableCellRenderer.java,
15070         javax/swing/table/TableColumn.java,
15071         javax/swing/table/TableColumnModel.java,
15072         javax/swing/table/TableModel.java,
15073         javax/swing/text/AbstractDocument.java,
15074         javax/swing/text/AttributeSet.java,
15075         javax/swing/text/BadLocationException.java,
15076         javax/swing/text/Caret.java,
15077         javax/swing/text/CharacterIterator.java,
15078         javax/swing/text/ComponentView.java,
15079         javax/swing/text/DefaultCaret.java,
15080         javax/swing/text/DefaultEditorKit.java,
15081         javax/swing/text/Document.java,
15082         javax/swing/text/EditorKit.java,
15083         javax/swing/text/Element.java,
15084         javax/swing/text/GapContent.java,
15085         javax/swing/text/JTextComponent.java,
15086         javax/swing/text/Keymap.java,
15087         javax/swing/text/MutableAttributeSet.java,
15088         javax/swing/text/PlainDocument.java,
15089         javax/swing/text/PlainEditorKit.java,
15090         javax/swing/text/Position.java,
15091         javax/swing/text/Segment.java,
15092         javax/swing/text/StyledDocument.java,
15093         javax/swing/text/StyledEditorKit.java,
15094         javax/swing/text/Style.java,
15095         javax/swing/text/TextAction.java,
15096         javax/swing/text/ViewFactory.java,
15097         javax/swing/text/View.java,
15098         javax/swing/Timer.java,
15099         javax/swing/ToggleButtonModel.java,
15100         javax/swing/ToolTipManager.java,
15101         javax/swing/tree/AbstractLayoutCache.java,
15102         javax/swing/tree/DefaultMutableTreeNode.java,
15103         javax/swing/tree/DefaultTreeCellEditor.java,
15104         javax/swing/tree/DefaultTreeCellRenderer.java,
15105         javax/swing/tree/DefaultTreeModel.java,
15106         javax/swing/tree/DefaultTreeSelectionModel.java,
15107         javax/swing/tree/ExpandVetoException.java,
15108         javax/swing/tree/FixedHeightLayoutCache.java,
15109         javax/swing/tree/MutableTreeNode.java,
15110         javax/swing/tree/RowMapper.java,
15111         javax/swing/tree/TreeCellEditor.java,
15112         javax/swing/tree/TreeCellRenderer.java,
15113         javax/swing/tree/TreeModel.java,
15114         javax/swing/tree/TreeNode.java,
15115         javax/swing/tree/TreePath.java,
15116         javax/swing/tree/TreeSelectionModel.java,
15117         javax/swing/tree/VariableHeightLayoutCache.java,
15118         javax/swing/UIDefaults.java,
15119         javax/swing/UIManager.java,
15120         javax/swing/undo/AbstractUndoableEdit.java,
15121         javax/swing/undo/CannotRedoException.java,
15122         javax/swing/undo/CannotUndoException.java,
15123         javax/swing/undo/CompoundEdit.java,
15124         javax/swing/undo/StateEditable.java,
15125         javax/swing/undo/StateEdit.java,
15126         javax/swing/undo/UndoableEdit.java,
15127         javax/swing/undo/UndoableEditSupport.java,
15128         javax/swing/undo/UndoManager.java,
15129         javax/swing/UnsupportedLookAndFeelException.java,
15130         javax/swing/ViewportLayout.java,
15131         javax/swing/WindowConstants.java: New files, from GNU Classpath.
15133         * java/awt/ActiveEvent.java,
15134         java/awt/Adjustable.java, java/awt/AWTError.java,
15135         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
15136         java/awt/AWTException.java, java/awt/AWTPermission.java,
15137         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
15138         java/awt/Color.java, java/awt/Component.java,
15139         java/awt/ComponentOrientation.java, java/awt/Container.java,
15140         java/awt/datatransfer/MimeTypeParseException.java,
15141         java/awt/datatransfer/Transferable.java,
15142         java/awt/datatransfer/UnsupportedFlavorException.java,
15143         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
15144         java/awt/event/ActionListener.java,
15145         java/awt/event/AdjustmentEvent.java,
15146         java/awt/event/AdjustmentListener.java,
15147         java/awt/event/AWTEventListener.java,
15148         java/awt/event/ComponentAdapter.java,
15149         java/awt/event/ComponentEvent.java,
15150         java/awt/event/ComponentListener.java,
15151         java/awt/event/ContainerAdapter.java,
15152         java/awt/event/ContainerEvent.java,
15153         java/awt/event/ContainerListener.java,
15154         java/awt/event/FocusAdapter.java,
15155         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
15156         java/awt/event/HierarchyBoundsAdapter.java,
15157         java/awt/event/HierarchyBoundsListener.java,
15158         java/awt/event/HierarchyEvent.java,
15159         java/awt/event/HierarchyListener.java,
15160         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
15161         java/awt/event/InputMethodListener.java,
15162         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
15163         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
15164         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
15165         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
15166         java/awt/event/MouseListener.java,
15167         java/awt/event/MouseMotionAdapter.java,
15168         java/awt/event/MouseMotionListener.java,
15169         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
15170         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
15171         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
15172         java/awt/event/WindowListener.java, java/awt/Font.java,
15173         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
15174         java/awt/geom/Ellipse2D.java,
15175         java/awt/geom/IllegalPathStateException.java,
15176         java/awt/geom/Line2D.java,
15177         java/awt/geom/NoninvertibleTransformException.java,
15178         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
15179         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
15180         java/awt/geom/RoundRectangle2D.java,
15181         java/awt/GraphicsConfiguration.java,
15182         java/awt/IllegalComponentStateException.java,
15183         java/awt/image/IndexColorModel.java,
15184         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
15185         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
15186         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
15187         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
15188         java/awt/MenuItem.java, java/awt/PaintContext.java,
15189         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
15190         java/awt/Polygon.java, java/awt/PrintGraphics.java,
15191         java/awt/PrintJob.java, java/awt/Rectangle.java,
15192         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
15193         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
15194         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
15196         * java/awt/im/spi/InputMethod.java,
15197         java/awt/im/spi/InputMethodContext.java,
15198         java/awt/im/spi/InputMethodDescriptor.java,
15199         java/awt/image/renderable/ContextualRenderedImageFactory.java,
15200         java/awt/image/renderable/ParameterBlock.java,
15201         java/awt/image/renderable/RenderContext.java,
15202         java/awt/image/renderable/RenderableImage.java,
15203         java/awt/image/renderable/RenderableImageOp.java,
15204         java/awt/image/renderable/RenderableImageProducer.java,
15205         java/awt/image/renderable/RenderedImageFactory.java: New files from
15206         classpath.
15208         * gnu/java/awt/EventModifier.java,
15209         gnu/java/awt/image/ImageDecoder.java,
15210         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
15212         * gnu/awt/xlib/XGraphicsConfiguration.java,
15213         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
15214         API.
15216         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
15217         GNU Classpath.
15219         * Makefile.am: Add new files.
15220         * Makefile.in: Rebuilt.
15222 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15224         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
15225         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
15226         findResource, getResources, findResources): Add javadoc from classpath.
15227         (getSystemResources): Implemented.
15229 2002-08-01  Mark Wielaard  <mark@klomp.org>
15231         Revert patch that breaks libgcj shared library on powerpc:
15232         * gnu/java/security/provider/Gnu.java: Reverse referencing all
15233         implementation classes by using Class.getName(). Uses Strings again.
15234         * gnu/java/security/der/DEREncodingException.java,
15235         gnu/java/security/provider/DERReader.java,
15236         gnu/java/security/provider/DERWriter.java,
15237         gnu/java/security/provider/DSAKeyPairGenerator.java,
15238         gnu/java/security/provider/DSAParameterGenerator.java,
15239         gnu/java/security/provider/DSAParameters.java,
15240         gnu/java/security/provider/DSASignature.java,
15241         gnu/java/security/provider/GnuDSAPrivateKey.java,
15242         gnu/java/security/provider/GnuDSAPublicKey.java,
15243         gnu/java/security/provider/MD5.java,
15244         gnu/java/security/util/Prime.java: Removed.
15245         * Makefile.am (ordinary_java_source_files): Remove above files.
15246         * Makefile.in: Regenerate.
15247         * gnu/java/security/provider/DefaultPolicy.java
15248         (getPermissions): Revert to maintaining static class variable of
15249         Permissions.
15250         * gnu/java/security/provider/SHA.java
15251         (engineUpdate): Revert algorithm change.
15252         (engineDigest): Revert algorithm change.
15254 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
15256         * configure.host: Add SH support.
15257         * sysdep/sh/locks.h: New file.
15259 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15261         * java/awt/Frame.java (Frame): Remove println calls.
15263 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
15265         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
15266         * configure: Rebuilt.
15268 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
15270         * sysdep/powerpc/locks.h: Formatting.
15271         (_LARX): Define.
15272         (_STCX): Define.
15273         (compare_and_swap): Use _LARX and _STCX.
15274         (compare_and_swap_release): Likewise.
15276 2002-07-26  Tom Tromey  <tromey@redhat.com>
15278         * java/net/Authenticator.java: New version from Classpath.
15279         * java/net/DatagramSocketImpl.java: New version from Classpath.
15281 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
15283         * configure.host: Add powerpc64*-* entry.
15285 2002-07-26  Tom Tromey  <tromey@redhat.com>
15287         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
15288         fcntl.h.
15290 2002-07-24  Tom Tromey  <tromey@redhat.com>
15292         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
15293         argument to _load.
15295 2002-07-24  Tom Tromey  <tromey@redhat.com>
15296             Tony Kimball <alk@pobox.com>
15298         * java/io/natFileDescriptorWin32.cc (setLength): New method.
15299         * java/io/natFileDescriptorPosix.cc (setLength): New method.
15300         * java/io/RandomAccessFile.java (setLength): New method.
15301         * java/io/natFileDescriptorEcos.cc (setLength): New method.
15302         * java/io/FileDescriptor.java (setLength): New method.
15304 2002-07-24  Mark Wielaard  <mark@klomp.org>
15306         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
15307         * java/io/ObjectInputStream.java (setBooleanField): Before setting
15308         field call setAccessible(true).
15309         (setByteField): Likewise.
15310         (setCharField): Likewise.
15311         (setDoubleField): Likewise.
15312         (setFloatField): Likewise.
15313         (setIntField): Likewise.
15314         (setLongField): Likewise.
15315         (setShortField): Likewise.
15316         (setObjectField): Likewise.
15318 2002-07-24  Tom Tromey  <tromey@redhat.com>
15320         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
15321         use toString() to format array element.
15323 2002-07-23  Mark Wielaard  <mark@klomp.org>
15325         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
15326         MessageDigestSpi (fixes Classpath bug #783).
15328 2002-07-21  Mark Wielaard  <mark@klomp.org>
15330         * gnu/java/security/provider/Gnu.java: Reference all implementation
15331         classes by using Class.getName().
15333 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
15335         * java/lang/ieeefp.h: Add x86-64 support.
15336         * configure.in: Likewise.
15337         * configure.host: Likewise.
15338         * configure: Regenerated.
15339         * sysdep/x86-64/locks.h: New file with x86-64 locks.
15341 2002-07-16  Mark Wielaard  <mark@klomp.org>
15343         * java/io/StreamTokenizer.java (pushBack): Update documentation.
15344         (whitespaceChars): call resetChar().
15346 2002-07-15  Tom Tromey  <tromey@redhat.com>
15348         * Makefile.in: Rebuilt.
15349         * Makefile.am (awt_java_source_files): Added new files.
15350         * java/beans/ExceptionListener.java: Merged with Classpath.
15351         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
15352         * java/beans/PropertyChangeListener.java: Merged with Classpath.
15353         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
15354         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
15355         * java/beans/VetoableChangeListener.java: Merged with Classpath.
15356         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
15357         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
15359 2002-07-14  Mark Wielaard  <mark@klomp.org>
15361         * gnu/java/security/der/DEREncodingException.java,
15362         gnu/java/security/provider/DERReader.java,
15363         gnu/java/security/provider/DERWriter.java,
15364         gnu/java/security/provider/DSAKeyPairGenerator.java,
15365         gnu/java/security/provider/DSAParameterGenerator.java,
15366         gnu/java/security/provider/DSAParameters.java,
15367         gnu/java/security/provider/DSASignature.java,
15368         gnu/java/security/provider/GnuDSAPrivateKey.java,
15369         gnu/java/security/provider/GnuDSAPublicKey.java,
15370         gnu/java/security/provider/MD5.java,
15371         gnu/java/security/util/Prime.java: New files from Classpath.
15372         * Makefile.am (ordinary_java_source_files): Add new files.
15373         * Makefile.in: Regenerate.
15375 2002-07-14  C. Brian Jones <cbj@gnu.org>
15377         * gnu/java/security/provider/DefaultPolicy.java
15378         (getPermissions): do not maintain static class variable of
15379         Permissions
15380         * gnu/java/security/provider/SHA.java
15381         (engineUpdate): algorithm change
15382         (engineDigest): algorithm change
15384 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
15386         For PR libgcj/7292:
15387         * java/lang/Character.java (toString(char)): Now static.
15389 2002-07-12  Mark Wielaard  <mark@klomp.org>
15391         * java/lang/natThrowable.cc (printRawStackTrace): removed.
15392         (getStackTrace0): new method.
15393         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
15394         (printStackTrace(PrintWriter)): replace with pure java implementation.
15395         (printRawStackTrace): removed.
15396         (getStackTrace0): new method.
15397         * java/lang/StackTraceElement.java (toString): add extra whitespace.
15398         * gcj/javaprims.h: regenerate class list.
15399         * include/name-finder.h (lookup): new returns StackTraceElement*.
15400         (method_name, file_name): fields removed.
15401         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
15402         (~_Jv_name_finder): close new descriptors.
15403         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
15404         (createStackTraceElement): new method.
15405         (lookup): returns StackTraceElement*, uses createStackTraceElement().
15407 2002-07-10  Tom Tromey  <tromey@redhat.com>
15409         * configure: Rebuilt.
15410         * configure.in: Use `test' after `&&'.  From Chris Faylor.
15412 2002-07-08  Mark Wielaard  <mark@klomp.org>
15414         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
15415         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
15416         java.sql.DatabaseMetaData.TestJdbc20
15418 2002-07-05  Tony Kimball  <alk@pobox.com>
15420         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
15422 2002-07-04  Tom Tromey  <tromey@redhat.com>
15423             Jeff Sturm  <jsturm@one-point.com>
15425         Fix for PR libgcj/7060:
15426         * java/lang/Class.h (_getMethod): Renamed from getMethod.
15427         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
15428         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
15429         * java/lang/Class.java (getMethod): New Java implementation;
15430         complies with spec.
15431         (_getMethod): New native method.
15433 2002-07-02  Tom Tromey  <tromey@redhat.com>
15434             David Hovemeyer  <daveho@cs.umd.edu>
15436         * java/text/ChoiceFormat.java
15437         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
15438         in check loop.
15439         * java/text/MessageFormat.java
15440         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
15441         to MessageFormat.
15443 2002-07-01  Tom Tromey  <tromey@redhat.com>
15445         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
15446         StringTokenizer on null string.  For PR libgcj/7180.
15447         From daveho@cs.umd.edu.
15449 2002-06-24  Tom Tromey  <tromey@redhat.com>
15451         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
15452         (IntegerClass): Likewise.
15453         * java/lang/natClass.cc (CloneableClass): Removed.
15454         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
15455         ConstructorClass): Likewise.
15456         * java/lang/natClassLoader.cc (CloneableClass): Removed.
15457         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
15458         SerializableClass): Likewise.
15459         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
15460         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
15461         LongClass, FloatClass, DoubleClass): Likewise.
15463         * verify.cc (branch_prepass): Updated for change to exception
15464         handler type.
15465         (verify_instructions_0): Likewise.
15466         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
15467         (handleExceptionTableEntry): Updated for change to exception
15468         handler type.
15469         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
15470         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
15471         (union _Jv_InterpPC): New.
15472         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
15473         (class _Jv_InterpMethod): Added new `prepared' field.
15474         (class _Jv_InterpMethod): Added `compile' method.  Removed
15475         `continue1' and `find_exception'.  Changed arguments to `run'.
15476         * interpret.cc (union insn_slot): New.
15477         (find_exception): Removed.
15478         (run_normal): Removed most logic.
15479         (run_synch_object): Likewise; also, use JvSynchronize.
15480         (run_synch_class): Likewise.
15481         (run): Removed.
15482         (continue1): Renamed as `run'.  Compile bytecode if required.
15483         Add new code to allow refinement of direct-threaded code at
15484         runtime.  Handle exceptions.
15485         (SAVE_PC): Removed.
15486         (compile): New method.
15487         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
15488         (NULLARRAYCHECK): Don't use SAVE_PC.
15489         (pc_t): New typedef.
15490         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
15491         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
15493 2002-06-23  Tom Tromey  <tromey@redhat.com>
15495         * configure: Rebuilt.
15496         * configure.in (INTERPRETER): New subst.
15497         (AM_RUNTESTFLAGS): Don't subst.
15499         * Makefile.in: Rebuilt.
15500         * Makefile.am ($(srcdir)/java/lang/Object.h,
15501         $(srcdir)/java/lang/Class.h): Added dummy targets.
15503 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15505         Reformat JDBC classes and add new JDK 1.4 classes and methods.
15507         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
15508         java/sql/Savepoint.java: New files.
15509         * java/sql/Array.java, java/sql/BatchUpdateException.java,
15510         java/sql/Blob.java, java/sql/CallableStatement.java,
15511         java/sql/Clob.java, java/sql/Connection.java,
15512         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
15513         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
15514         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
15515         java/sql/Ref.java, java/sql/ResultSet.java,
15516         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
15517         java/sql/SQLException.java, java/sql/SQLInput.java,
15518         java/sql/SQLOutput.java, java/sql/SQLWarning.java
15519         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
15520         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
15521         (JDK 1.4) specification.
15522         * javax/sql/ConnectionEvent.java,
15523         javax/sql/ConnectionEventListener.java,
15524         javax/sql/ConnectionPoolDataSource.java,
15525         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
15526         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
15527         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
15528         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
15529         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
15530         javax/sql/XADataSource.java: New files.
15531         * Makefile.am: Add new files.
15532         * Makefile.in: Rebuilt.
15534 2002-06-20  Tom Tromey  <tromey@redhat.com>
15536         For PR libgcj/7073:
15537         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
15538         exists.
15539         * defineclass.cc (handleClassBegin): Superclass for interface is
15540         `null'.
15542 2002-06-18  Tom Tromey  <tromey@redhat.com>
15544         * gcj/javaprims.h: Updated class declaration list.
15545         * Makefile.in: Rebuilt.
15546         * Makefile.am (core_java_source_files): Removed
15547         BasicMapEntry.java.
15548         * java/util/BasicMapEntry.java: Removed.
15550 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
15552         * java/net/natPlainDatagramSocketImpl.cc (receive):
15553         Check bounds of argument to FD_SET.
15554         (setOption): Throw exception if socket is closed.
15556         * java/net/natPlainSocketImpl.cc (accept, read):
15557         Check bounds of argument to FD_SET.
15558         (setOption): Throw exception if socket is closed.
15560 2002-06-18  Tom Tromey  <tromey@redhat.com>
15562         * gcj/javaprims.h: Updated class declaration list.
15563         * Makefile.in: Rebuilt.
15564         * Makefile.am (core_java_source_files): Added
15565         PropertyPermissionCollection.java.
15566         * java/lang/Thread.java (group, name): Now package-private.
15567         * java/lang/ThreadGroup.java: Re-merge with Classpath.
15568         * java/util/AbstractList.java: Likewise.
15569         * java/util/AbstractMap.java: Likewise.
15570         * java/util/Calendar.java: Likewise.
15571         * java/util/Collections.java: Likewise.
15572         * java/util/HashMap.java: Likewise.
15573         * java/util/Hashtable.java: Likewise.
15574         * java/util/LinkedHashMap.java: Likewise.
15575         * java/util/LinkedList.java: Likewise.
15576         * java/util/List.java: Likewise.
15577         * java/util/ListResourceBundle.java: Likewise.
15578         * java/util/Map.java: Likewise.
15579         * java/util/Observable.java: Likewise.
15580         * java/util/Properties.java: Likewise.
15581         * java/util/PropertyPermission.java: Likewise.
15582         * java/util/PropertyPermissionCollection.java: Likewise.
15583         * java/util/PropertyResourceBundle.java: Likewise.
15584         * java/util/Random.java: Likewise.
15585         * java/util/SimpleTimeZone.java: Likewise.
15586         * java/util/StringTokenizer.java: Likewise.
15587         * java/util/TimerTask.java: Likewise.
15588         * java/util/TreeMap.java: Likewise.
15589         * java/util/WeakHashMap.java: Likewise.
15590         * java/util/jar/Attributes.java: Likewise.
15591         * java/util/jar/JarException.java: Likewise.
15592         * java/util/jar/Manifest.java: Likewise.
15594 2002-06-17  Tom Tromey  <tromey@redhat.com>
15596         * gcj/javaprims.h: Updated class declaration list.
15597         * Makefile.in: Rebuilt.
15598         * Makefile.am (core_java_source_files): Added new file.
15599         * java/util/EventListenerProxy.java: New file.
15600         * java/util/EventListener.java: Re-merge with Classpath.
15601         * java/util/EventObject.java: Re-merge with Classpath.
15603 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
15605         * java/lang/ClassNotFoundException.java: New Classpath version.
15607 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
15609         * java/rmi/activation/ActivateFailedException.java: Remerge from
15610         Classpath version.
15611         * java/rmi/activation/ActivationException.java: Ditto.
15612         * java/rmi/activation/UnknownGroupException.java: Ditto.
15613         * java/rmi/activation/UnknownObjectException.java: Ditto.
15614         * java/rmi/server/ExportException: Ditto.
15615         * java/rmi/server/ServerCloneException: Ditto.
15616         * java/rmi/server/ServerNotActiveException: Ditto.
15617         * java/rmi/server/SkeletonMismatchException: Ditto.
15618         * java/rmi/server/SkeletonNotFoundException: Ditto.
15619         * java/rmi/server/SocketSecurityException: Ditto.
15621 2002-06-16  Tom Tromey  <tromey@redhat.com>
15623         * gcj/javaprims.h: Updated class declaration list.
15625         * java/io/LineNumberInputStream.java: Merged with Classpath.
15627         * java/lang/RuntimeException.java: Re-merge with Classpath.
15628         * java/util/ArrayList.java: Likewise.
15629         * java/util/Arrays.java: Likewise.
15630         * java/util/BitSet.java: Likewise.
15631         * java/util/Dictionary.java: Likewise.
15632         * java/util/IdentityHashMap.java: Likewise.
15633         * java/util/MissingResourceException.java: Likewise.
15634         * java/util/Observer.java: Likewise.
15635         * java/util/TooManyListenersException.java: Likewise.
15636         * java/util/zip/DataFormatException.java: Likewise.
15637         * java/util/zip/ZipException.java: Likewise.
15639 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
15641         * java/rmi/AccessException.java: Remerge from Classpath.
15642         * java/rmi/AlreadyBoundException.java: Ditto.
15643         * java/rmi/ConnectException.java: Ditto.
15644         * java/rmi/ConnectIOException.java: Ditto.
15645         * java/rmi/MarshalException.java: Ditto.
15646         * java/rmi/NoSuchObjectException.java: Ditto.
15647         * java/rmi/NotBoundException.java: Ditto.
15648         * java/rmi/RemoteException.java: Ditto.
15649         * java/rmi/RMISecurityException.java: Ditto.
15650         * java/rmi/ServerError.java: Ditto.
15651         * java/rmi/ServerException.java: Ditto.
15652         * java/rmi/ServerRuntimeException.java: Ditto.
15653         * java/rmi/StubNotFoundException.java: Ditto.
15654         * java/rmi/UnexpectedExcpetion.java: Ditto.
15655         * java/rmi/UnknownHostException.java: Ditto.
15656         * java/rmi/UnmarshalException.java: Ditto.
15658 2002-06-15  Tom Tromey  <tromey@redhat.com>
15660         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
15661         * java/lang/ArithmeticException.java: Likewise.
15662         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
15663         * java/lang/ArrayStoreException.java: Likewise.
15664         * java/lang/Byte.java: Likewise.
15665         * java/lang/CharSequence.java: Likewise.
15666         * java/lang/ClassCastException.java: Likewise.
15667         * java/lang/ClassCircularityError.java: Likewise.
15668         * java/lang/ClassFormatError.java: Likewise.
15669         * java/lang/CloneNotSupportedException.java: Likewise.
15670         * java/lang/Cloneable.java: Likewise.
15671         * java/lang/Comparable.java: Likewise.
15672         * java/lang/Compiler.java: Likewise.
15673         * java/lang/Error.java: Likewise.
15674         * java/lang/ExceptionInInitializerError.java: Likewise.
15675         * java/lang/IllegalAccessError.java: Likewise.
15676         * java/lang/IllegalAccessException.java: Likewise.
15677         * java/lang/IllegalArgumentException.java: Likewise.
15678         * java/lang/IllegalMonitorStateException.java: Likewise.
15679         * java/lang/IllegalStateException.java: Likewise.
15680         * java/lang/IllegalThreadStateException.java: Likewise.
15681         * java/lang/IncompatibleClassChangeError.java: Likewise.
15682         * java/lang/IndexOutOfBoundsException.java: Likewise.
15683         * java/lang/InheritableThreadLocal.java: Likewise.
15684         * java/lang/InstantiationError.java: Likewise.
15685         * java/lang/InstantiationException.java: Likewise.
15686         * java/lang/InternalError.java: Likewise.
15687         * java/lang/InterruptedException.java: Likewise.
15688         * java/lang/LinkageError.java: Likewise.
15689         * java/lang/NegativeArraySizeException.java: Likewise.
15690         * java/lang/NoClassDefFoundError.java: Likewise.
15691         * java/lang/NoSuchFieldError.java: Likewise.
15692         * java/lang/NoSuchFieldException.java: Likewise.
15693         * java/lang/NoSuchMethodError.java: Likewise.
15694         * java/lang/NoSuchMethodException.java: Likewise.
15695         * java/lang/NullPointerException.java: Likewise.
15696         * java/lang/NumberFormatException.java: Likewise.
15697         * java/lang/OutOfMemoryError.java: Likewise.
15698         * java/lang/Process.java: Likewise.
15699         * java/lang/Runnable.java: Likewise.
15700         * java/lang/RuntimePermission.java: Likewise.
15701         * java/lang/SecurityException.java: Likewise.
15702         * java/lang/Short.java: Likewise.
15703         * java/lang/StackOverflowError.java: Likewise.
15704         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
15705         * java/lang/ThreadDeath.java: Likewise.
15706         * java/lang/ThreadLocal.java: Likewise.
15707         * java/lang/UnknownError.java: Likewise.
15708         * java/lang/UnsatisfiedLinkError.java: Likewise.
15709         * java/lang/UnsupportedClassVersionError.java: Likewise.
15710         * java/lang/UnsupportedOperationException.java: Likewise.
15711         * java/lang/VerifyError.java: Likewise.
15712         * java/lang/VirtualMachineError.java: Likewise.
15713         * java/lang/reflect/InvocationTargetException.java: Likewise.
15714         * java/net/BindException.java: Likewise.
15715         * java/net/ConnectException.java: Likewise.
15716         * java/net/MalformedURLException.java: Likewise.
15717         * java/net/NoRouteToHostException.java: Likewise.
15718         * java/net/ProtocolException.java: Likewise.
15719         * java/net/SocketException.java: Likewise.
15720         * java/net/UnknownHostException.java: Likewise.
15721         * java/net/UnknownServiceException.java: Likewise.
15723         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
15724         * java/io/CharConversionException.java: Likewise.
15725         * java/io/EOFException.java: Likewise.
15726         * java/io/FileNotFoundException.java: Likewise.
15727         * java/io/IOException.java: Likewise.
15728         * java/io/InterruptedIOException.java: Likewise.
15729         * java/io/InvalidClassException.java: Likewise.
15730         * java/io/InvalidObjectException.java: Likewise.
15731         * java/io/NotActiveException.java: Likewise.
15732         * java/io/NotSerializableException.java: Likewise.
15733         * java/io/ObjectStreamException.java: Likewise.
15734         * java/io/ObjectStreamConstants.java: Likewise.
15735         * java/io/OptionalDataException.java: Likewise.
15736         * java/io/PipedInputStream.java: Likewise.
15737         * java/io/PushbackInputStream.java: Likewise.
15738         * java/io/StreamCorruptedException.java: Likewise.
15739         * java/io/SyncFailedException.java: Likewise.
15740         * java/io/UTFDataFormatException.java: Likewise.
15741         * java/io/UnsupportedEncodingException.java: Likewise.
15742         * java/io/WriteAbortedException.java: Likewise.
15744 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
15746         * java/text/ChoiceFormat.java: Update comments from Classpath.
15747         * java/text/ParseException.java (serialVersionUID): New
15748         field from Classpath.
15749         * java/text/ParseException.java: Update formatting & comments
15750         from Classpath.
15752 2002-06-15  Tom Tromey  <tromey@redhat.com>
15754         * java/util/zip/InflaterInputStream.java (read): Loop if data has
15755         been read but none output by inflater.
15756         * java/util/zip/natDeflater.cc (reset): Set is_finished.
15757         * java/util/zip/natInflater.cc (reset): Set dist_needed and
15758         is_finished.
15759         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
15760         version.
15761         * java/util/zip/ZipFile.java: Replaced with Classpath version.
15762         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
15763         * java/util/zip/ZipInputStream.java: Replaced with Classpath
15764         version.
15765         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
15767 2002-06-13  Tom Tromey  <tromey@redhat.com>
15769         * java/lang/natString.cc (init): Handle case where DONT_COPY is
15770         true and OFFSET!=0.
15771         * java/lang/String.java (String(char[],int,int,boolean): New
15772         constructor.
15773         * java/lang/Long.java: Imported new version from Classpath.
15774         * java/lang/Number.java: Likewise.
15775         * java/lang/Integer.java: Likewise.
15776         * java/lang/Long.java: Likewise.
15777         * java/lang/Float.java: Likewise.
15778         * java/lang/Boolean.java: Likewise.
15779         * java/lang/Double.java: Likewise.
15780         * java/lang/Void.java: Likewise.
15782 2002-06-12  Tom Tromey  <tromey@redhat.com>
15784         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
15785         Fixes PR libgcj/6652.
15787 2002-06-10  Tom Tromey  <tromey@redhat.com>
15789         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
15790         (Class::getPackagePortion): Likewise.
15791         * java/lang/Class.java (desiredAssertionStatus): New method from
15792         Classpath.
15793         (getPackagePortion): Likewise.
15794         * java/lang/VMClassLoader.java (defaultAssertionStatus,
15795         packageAssertionStatus, classAssertionStatus): New methods from
15796         Classpath.
15797         * java/lang/ClassLoader.java (defaultAssertionStatus,
15798         systemPackageAssertionStatus, packageAssertionStatus,
15799         systemClassAssertionStatus, classAssertionStatus): New fields from
15800         Classpath.
15801         (setDefaultAssertionStatus, setPackageAssertionStatus,
15802         setClassAssertionStatus, clearAssertionStatus): New methods from
15803         Classpath.
15804         * Makefile.in: Rebuilt.
15805         * Makefile.am (core_java_source_files): Added AssertionError.java.
15806         * java/lang/AssertionError.java: New from Classpath.
15808 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15810         * configure.host: Disable hash synchronization and slow_pthread_self
15811         for cygwin.
15813 2002-06-06  Adam Megacz <adam@xwt.org>
15815         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
15816         locking, just like the Sun JVM does.
15818 2002-06-05  H.J. Lu  (hjl@gnu.org)
15820         * Makefile.am (libgcj_convenience.la): Revert the last change.
15821         (libgcj.la): Likewise.
15822         * Makefile.in: Regenerated.
15824 2002-06-04  H.J. Lu  (hjl@gnu.org)
15826         * Makefile.am (libgcj_convenience.la): New target.
15827         (libgcj.la): Depend on libgcj_convenience.la.
15828         * Makefile.in: Regenerated.
15830 2002-06-04  H.J. Lu  (hjl@gnu.org)
15832         * configure.in (--with-newlib): New option:
15833         Check ${with_newlib} instead of ${with_cross_host} for newlib.
15834         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
15835         Linux.
15836         * configure: Regenerated.
15838 2002-06-04  Tom Tromey  <tromey@redhat.com>
15840         * java/util/natTimeZone.cc: Include <stdio.h>.
15842 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
15844         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
15845         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
15846         Set SIGNAL_HANDLER=include/s390-linux.h.
15847         * configure: Regenerate.
15848         * include/s390-linux.h: New file.
15850 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15852         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
15853         not "stackTrace".
15855 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15857         Merge JDK 1.4 java.security changes from classpath.
15859         * java/security/AccessControlException.java: Merge from Classpath.
15860         * java/security/AccessController.java: Likewise.
15861         * java/security/AllPermission.java: Likewise.
15862         * java/security/BasicPermission.java: Likewise.
15863         * java/security/Certificate.java: Likewise.
15864         * java/security/CodeSource.java: Likewise.
15865         * java/security/DigestException.java: Likewise.
15866         * java/security/DigestOutputStream.java: Likewise.
15867         * java/security/DomainCombiner.java: Likewise.
15868         * java/security/GeneralSecurityException.java: Likewise.
15869         * java/security/Guard.java: Likewise.
15870         * java/security/GuardedObject.java: Likewise.
15871         * java/security/InvalidAlgorithmParameterException.java: Likewise.
15872         * java/security/InvalidKeyException.java: Likewise.
15873         * java/security/InvalidParameterException.java: Likewise.
15874         * java/security/Key.java: Likewise.
15875         * java/security/KeyException.java: Likewise.
15876         * java/security/KeyManagementException.java: Likewise.
15877         * java/security/KeyStoreException.java: Likewise.
15878         * java/security/MessageDigest.java: Likewise.
15879         * java/security/NoSuchAlgorithmException.java: Likewise.
15880         * java/security/NoSuchProviderException.java: Likewise.
15881         * java/security/Permission.java: Likewise.
15882         * java/security/PermissionCollection.java: Likewise.
15883         * java/security/Permissions.java: Likewise.
15884         * java/security/Policy.java: Likewise.
15885         * java/security/Principal.java: Likewise.
15886         * java/security/PrivateKey.java: Likewise.
15887         * java/security/PrivilegedAction.java: Likewise.
15888         * java/security/PrivilegedActionException.java: Likewise.
15889         * java/security/PrivilegedExceptionAction.java: Likewise.
15890         * java/security/ProtectionDomain.java: Likewise.
15891         * java/security/ProviderException.java: Likewise.
15892         * java/security/PublicKey.java: Likewise.
15893         * java/security/SecureClassLoader.java: Likewise.
15894         * java/security/SecurityPermission.java: Likewise.
15895         * java/security/SignatureException.java: Likewise.
15896         * java/security/UnrecoverableKeyException.java: Likewise.
15897         * java/security/UnresolvedPermission.java: Likewise.
15898         * java/security/acl/AclNotFoundException.java: Likewise.
15899         * java/security/acl/LastOwnerException.java: Likewise.
15900         * java/security/acl/NotOwnerException.java: Likewise.
15901         * java/security/cert/CRLException.java: Likewise.
15902         * java/security/cert/CertificateEncodingException.java: Likewise.
15903         * java/security/cert/CertificateException.java: Likewise.
15904         * java/security/cert/CertificateExpiredException.java: Likewise.
15905         * java/security/cert/CertificateFactory.java: Likewise.
15906         * java/security/cert/CertificateNotYetValidException.java: Likewise.
15907         * java/security/cert/CertificateParsingException.java: Likewise.
15908         * java/security/spec/InvalidKeySpecException.java: Likewise.
15909         * java/security/spec/InvalidParameterSpecException.java: Likewise.
15911         * java/security/cert/CertPath.java: New file.
15912         * java/security/cert/CertPathBuilderException.java: New file.
15913         * java/security/cert/CertPathValidatorException.java: New file.
15914         * java/security/cert/CertStoreException.java: New file.
15916         * Makefile.am: Add new CertPath classes.
15917         * Makefile.in: Rebuilt.
15919         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
15921 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15923         Merge JDK 1.4 exception chaining support from classpath.
15925         * java/lang/Throwable.java: Merge 1.4 support from classpath.
15926         (stackTraceBytes): Rename from stackTrace.
15927         * java/lang/Exception.java: Merge from classpath.
15928         * java/lang/StackTraceElement: New file from classpath.
15929         * gcj/javaprims.h: Rebuild CNI namespace declarations.
15930         * Makefile.am: Add StackTraceElement.
15931         * Makefile.in: Rebuilt.
15933 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15935         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
15936         they build first.
15937         * Makefile.in: Rebuilt.
15939 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
15941         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
15942         * configure.in: Likewise.
15943         * aclocal.m4: Regenerate.
15944         * configure: Regenerate.
15946 2002-05-13  Tom Tromey  <tromey@redhat.com>
15948         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
15949         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
15950         Include platform.h.
15952         Fixes PR libgcj/6389:
15953         * Makefile.in: Rebuilt.
15954         * Makefile.am (nat_source_files): Added natTimeZone.cc.
15955         * java/util/natTimeZone.cc: New file.
15956         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
15957         * java/lang/System.java: Merged with Classpath.
15958         * java/lang/Runtime.java: Merged with Classpath.
15959         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
15960         security check.
15961         (setIn0): Renamed from setIn; don't run security check.
15962         (setOut0): Renamed from setOut; don't run security check.
15963         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
15964         init_properties): Moved to natRuntime.cc.
15965         Moved many includes to natRuntime.cc.
15966         (isWordsBigEndian): New method.
15967         * java/lang/natRuntime.cc: Include Long.h, also other includes
15968         previously in natSystem.cc.
15969         (maxMemory): New function.
15970         (exitInternal): Renamed from `_exit'.
15971         (exit): Removed.
15972         (init): Don't set finalize_on_exit.
15973         (exitInternal): Use `finalizeOnExit'.
15974         (file_encoding, getpwuid_adaptor): New functions from
15975         natSystem.cc.
15976         (insertSystemProperties): New method, renamed from
15977         System::init_properties.  Don't set user.timezone.
15978         (_load): Don't call checkLink.
15979         (execInternal): New method.
15980         (availableProcessors): Likewise.
15981         (nativeGetLibname): Likewise.
15983 2002-05-11  Mark Wielaard  <mark@klomp.org>
15985         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
15986         space characters.
15987         (previous_internal): Likewise.
15989 2002-05-09  Tom Tromey  <tromey@redhat.com>
15991         * jni.cc (_Jv_JNIFunctions): Fixed typo.
15993         * java/util/ResourceBundle.java: New version from Classpath.
15994         * java/util/Locale.java: Likewise.
15996 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
15998         * testsuite/lib/libjava.exp (libjava_arguments): Append all
15999         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
16000         LD_LIBRARY_PATH.
16002 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
16004         * libjava/Makefile.am (all_java_source_files): New variable.
16005         (all_java_class_files): Likewise.
16006         .java.class: New rule.
16007         (CLEANFILES): Remove tmp-list.
16008         * libjava/Makefile.in: Regenerated.
16010 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
16012         * testsuite/lib/libjava.exp (test_libjava_from_javac):
16013         Append .exe to executable names.  Fix for cygwin.
16015 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
16017         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
16018         script entry, and set LD to it when configuring multilibs.
16019         * configure: Rebuilt.
16021 2002-05-07  Tom Tromey  <tromey@redhat.com>
16023         * java/lang/natString.cc (unintern): Fixed typo.
16025 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
16027         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
16028         with -no-install on *-*-cygwin*.
16030 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
16032         * testsuite/lib/libjava.exp (test_libjava_from_source):
16033         Add comment explaining last patch
16035 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
16037         * testsuite/lib/libjava.exp (test_libjava_from_source):
16038         Append .exe to executable names.  If no suffix is present,
16039         then ".exe" is added by default on win32.  Harmless
16040         elsewhere so always do it.
16042 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
16043             Tom Tromey  <tromey@redhat.com>
16045         * java/lang/natSystem.cc (getSystemTimeZone): Use
16046         HAVE_UNDERSCORE_TIMEZONE.
16047         * include/config.h.in: Rebuilt.
16048         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
16049         * aclocal.m4, configure: Rebuilt.
16050         * acinclude.m4: Run AC_EXEEXT.
16051         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
16052         Add test for `_timezone'.
16054 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
16056         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16057         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
16058         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
16059         * Makefile.in: Rebuilt.
16061 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
16063         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
16064         use sigaction instead of __libc_sigaction.
16066 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
16068         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
16069         (libjava_init): Use it to find libgcj.spec.
16070         (libjava_arguments): Likewise.
16072 2002-05-02  David S. Miller  <davem@redhat.com>
16074         PR bootstrap/6525
16075         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
16076         __libc_sigaction on Sparc.
16078 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
16080         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
16081         sys/filio.h, if present.
16083 2002-04-30  Tom Tromey  <tromey@redhat.com>
16085         * java/io/BufferedReader.java (fill): Handle case where markPos
16086         point to ignored \n.  Fixes PR libgcj/6301.
16088 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
16090         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
16092 2002-04-29  Adam King <aking@dreammechanics.com>
16094         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
16095         of file in APPEND mode.
16097 2002-04-25  David S. Miller  <davem@redhat.com>
16099         PR target/6422
16100         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
16101         program counter to next program counter minus 8.  Update
16102         comments in this macro to explain why.
16104 2002-04-26  Tom Tromey  <tromey@redhat.com>
16106         * verify.cc (construct_primitive_array_type) [void_type]: New
16107         case.
16108         (branch_prepass): Added dummy entries for unused instruction
16109         values.
16110         (verify_instructions_0): Likewise.
16111         * interpret.cc (continue1): Comment fix.
16112         * include/java-insns.h (op_xxxunusedxxx1): Removed.
16113         * Makefile.in: Rebuilt.
16114         * Makefile.am: Added -Wswitch-enum.
16116 2002-04-24  Tom Tromey  <tromey@redhat.com>
16118         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
16119         correct length of UTF-8 encoded name.  Strip leading `/'.
16120         (_Jv_RegisterResource): Use _Jv_Malloc.
16122 2002-04-23  Adam Megacz <adam@xwt.org>
16124         * win32.cc, include/win32.cc (backtrace): Added this function
16125         because Win32 does not supply it.
16127 2002-04-21  David S. Miller  <davem@redhat.com>
16129         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
16130         magic instruction reading sequence.
16132 2002-04-21  Mark Wielaard  <mark@klomp.org>
16134         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
16136 2002-04-19  David S. Miller  <davem@redhat.com>
16138         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
16139         arg.
16140         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
16141         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
16142         on Sparc too.
16143         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
16144         for 64-bit sparc.
16145         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
16146         * sysdeps/sparc/locks.h: New file.
16147         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
16148         on all sparc Solaris configurations.  Set to
16149         include/dwarf2-signal.h on sparc Linux.
16150         * configure: Regenerate
16151         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
16153 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
16155         * configure: Rebuilt.
16156         * configure.in (backtrace): Function doesn't work on IA-64.
16158 2002-04-17  Adam King <aking@dreammechanics.com>
16160         * java/io/File.java (normalizePath): Add Win32 support for auto
16161         conversion of a '/' path separator to Win32's '\' separator.
16163 2002-04-16  Tom Tromey  <tromey@redhat.com>
16165         Fix for PR libgcj/6081:
16166         * Makefile.in: Rebuilt.
16167         * Makefile.am (install-data-local): Use GNU make trick to avoid
16168         shell limit.
16170 2002-04-16  Adam King <aking@dreammechanics.com>
16171             Tom Tromey  <tromey@redhat.com>
16173         * java/io/natFileWin32.cc (performList): Return the correct array
16174         type.  Don't duplicate the creation of a File since it's already
16175         done earlier in the method and the existing code would cause a
16176         ArrayStoreException.  Don't use fixed-size array.
16177         (_access, _stat, attr, getCanonicalPath, performMkdir,
16178         performRenameTo): Don't use fixed-size array.
16179         (getCanonicalPath): Use throw, not _Jv_Throw.
16181 2002-04-15  DJ Delorie  <dj@redhat.com>
16183         * configure.in: Allow building in $srcdir.
16184         * configure: Regenerated.
16186 2002-04-14  Mark Wielaard <mark@klomp.org>
16188         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
16189         * java/net/natSocketImpl.cc (close): Likewise.
16191 2002-04-14  Mark Wielaard <mark@klomp.org>
16193         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
16195 2002-04-13  Adam King <aking@dreammechanics.com>
16197         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
16198         the f/F/d/D modifiers.
16200 2002-04-12  Anthony Green  <green@redhat.com>
16202         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
16203         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
16204         * Makefile.in: Rebuilt.
16205         * configure.in: Substitute gcc_version.
16206         * configure: Rebuilt.
16208 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16210         * configure.host: Set can_unwind_signal on hosts which support it.
16211         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
16212         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
16213         exceptions and can_unwind_signal isn't set.
16214         * configure: Rebuilt.
16216 2002-04-11  Tom Tromey  <tromey@redhat.com>
16218         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
16220 2002-04-11  Adam King <aking@dreammechanics.com>
16221             Tom Tromey  <tromey@redhat.com>
16223         * include/jvm.h (_Jv_ThrowBadArrayIndex,
16224         _Jv_ThrowNullPointerException): Mark as noreturn.
16225         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
16226         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
16227         fixes.
16229 2002-04-10  Tom Tromey  <tromey@redhat.com>
16231         * Makefile.in: Rebuilt.
16232         * Makefile.am (java/lang/Thread.h): Mark
16233         _Jv_AttachCurrentThreadAsDaemon as friend.
16234         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
16235         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
16236         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
16237         function.
16238         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
16239         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
16240         (_Jv_JNI_InvokeFunctions): Added
16241         _Jv_JNI_AttachCurrentThreadAsDaemon.
16242         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
16243         (JNI_GetDefaultJavaVMInitArgs): Likewise.
16244         (JNI_CreateJavaVM): Likewise.
16245         (_Jv_JNI_AttachCurrentThread): Likewise.
16246         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
16247         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
16248         (_Jv_JNIFunctions): Initialize new fields.
16249         (_Jv_JNI_NewDirectByteBuffer): New function.
16250         (_Jv_JNI_GetDirectBufferAddress): Likewise.
16251         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
16252         * include/jni.h (JNI_VERSION_1_4): New macro.
16253         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
16254         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
16255         (JNINativeInterface::NewDirectByteBuffer): New field.
16256         (JNINativeInterface::GetDirectBufferAddress): New field.
16257         (JNINativeInterface::GetDirectBufferCapacity): New field.
16258         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
16259         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
16260         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
16262 2002-04-09  Tom Tromey  <tromey@redhat.com>
16264         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
16266 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
16268         Fix for PR libgcj/6187:
16269         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
16270         distance.
16272 2002-04-07  Mark Wielaard <mark@klomp.org>
16274         * java/util/AbstractMap.java (putAll): Use entrySet size.
16275         (toString): Explicitly use getKey() and getValue().
16277 2002-04-07  Mark Wielaard <mark@klomp.org>
16279         * java/util/Hashtable.java (contains): Remove NullPointer check.
16280         (containsValue): Add NullPointer check.
16281         (remove): Always throw NullPointerException when key
16282         is null.
16284 2002-04-07  Adam King <aking@dreammechanics.com>
16286         * java/lang/natSystem.cc (init_properties): Call new function
16287         _Jv_platform_initProperties.
16288         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
16289         support for the System properties os.name, os.arch, os.version,
16290         user.name, user.home, and user.dir.
16291         * include/posix.h, include/win32.h, posix.cc: New function
16292         _Jv_platform_initProperties.
16294 2002-04-06  Mark Wielaard <mark@klomp.org>
16296         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
16298 2002-04-06  Mark Wielaard <mark@klomp.org>
16300         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
16301         all of the remaining elements.
16302         * java/util/Vector.java (addAll(int,Collection)): Likewise.
16303         (removeRange): If toIndex == fromIndex do
16304         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
16305         (removeAll): Always throw NullPointerException when collection is
16306         null.
16307         (retrainAll): Likewise.
16309 2002-04-05  Mark Wielaard <mark@klomp.org>
16311         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
16312         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
16314 2002-04-05  Adam Megacz <adam@xwt.org>
16316         * exception.cc (abort): added static modifier
16318 2002-04-04  Adam Megacz <adam@xwt.org>
16320         * include/win32.h (_Jv_platform_close_on_exec): added inline
16321         modifier.
16323 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
16325         * configure.host: Add case statement to support generic port
16326         properties.  Add *-*-freebsd* section.
16328 2002-04-04  Mark Wielaard  <mark@klomp.org>
16330         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
16331         test.
16332         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
16333         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
16334         that depend on awt code and BufferedByteOutputStream.interrupt.
16336 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16338         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
16339         incorrect "hi" value when count > 40.
16341 2002-04-03  Mark Wielaard  <mark@klomp.org>
16343         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
16344         ordering.
16346 2002-04-02  Tom Tromey  <tromey@redhat.com>
16348         * java/lang/natClassLoader.cc (findClass): Compare against `3',
16349         not `0'.
16351 2002-04-02  Mark Wielaard  <mark@klomp.org>
16353         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
16354         list of testsuite crashers.
16356 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16358         * java/util/IdentityHashMap.java (put): Set new threshold correctly
16359         when resizing table.
16361 2002-04-01  Mark Wielaard  <mark@klomp.org>
16363         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
16364         NegativeArraySizeException
16365         (clear(int)): Use sign extended shift.
16366         (flip(int)): Likewise.
16367         (get(int)): Likewise.
16368         (nextClearBit(int)): Likewise.
16369         (nextSetBit(int)): Likewise.
16370         (set(int)): Likewise.
16372 2002-04-01  Mark Wielaard  <mark@klomp.org>
16374         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
16375         that can be compiled now and add testsuite crashers to ignore list.
16377 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
16379         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
16381         * libgcj.spec.in: Override libgcc, not lib.
16382         * libgcj-test.spec.in: Likewise.
16384 2002-03-29  Tom Tromey  <tromey@redhat.com>
16386         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
16387         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
16389 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
16391         * java/net/PlainDatagramSocketImpl.java
16392         (close): Use native implementation.
16393         (finalize): New method.
16395         * java/net/PlainSocketImpl.java (finalize): New method.
16397         * java/net/natPlainDatagramSocketImpl.cc
16398         (java/io/FileDescriptor.h): Don't include.
16399         (close): Implement method here.
16400         (create): Don't assign fd.
16402         * java/net/natPlainSocketImpl.cc
16403         (java/io/FileDescriptor.h): Don't include.
16404         (create): Don't assign fd.
16405         (accept): Likewise.
16406         (close): Synchronize.
16408 2002-03-27  Richard Henderson  <rth@redhat.com>
16410         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
16412 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
16414         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
16415         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
16416         instead of syscall on IA-64.
16417         Add FIXME comment.
16419 2002-03-27  Anthony Green  <green@redhat.com>
16421         * libgcj.spec.in: Add CHECKREFSPEC.
16422         * configure.in: Ditto.
16423         * configure.host: Ditto.  Check references for xscale-elf.
16424         * configure: Rebuilt.
16426 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
16428         * include/dwarf2-signal.h: Temporarily back out last change.
16430 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
16432         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
16434 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
16436         * configure.in, configure: enable dwarf2-exception-style
16437         exception handling on IA-64.
16438         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
16439         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
16440         Add FIXME comment.
16442 2002-03-25  Tom Tromey  <tromey@redhat.com>
16444         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
16445         (jv_convert_LDFLAGS): Likewise.
16446         (gij_LDFLAGS): Likewise.
16447         (rmic_LDFLAGS): Likewise.
16448         (rmiregistry_LDFLAGS): Likewise.
16449         * configure.in (THREADLDFLAGS): New subst; set correctly for
16450         *BSD.
16452 2002-03-25  Tom Tromey  <tromey@redhat.com>
16454         For PR libgcj/5303:
16455         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
16456         and --version.
16457         (help): New method.
16458         (version): Likewise.
16459         * gnu/gcj/convert/Convert.java (version): Removed extraneous
16460         "GNU".
16461         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
16462         "GNU".
16464 2002-03-25  Tom Tromey  <tromey@redhat.com>
16466         * java/awt/Component.java (processEvent): Check ComponentEvent
16467         after KeyEvent.
16469 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16471         * java/io/PushbackReader.java: Reformat.
16473         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
16474         calculate correct number of bytes skipped.
16476         Based on patch from Intel's ORP team:
16477         * java/io/PushbackInputStream.java (available): Calculate correct
16478         number of bytes in buffer.
16479         (read): Remove redundant bound check. Return bytes from both the
16480         buffer and the stream.
16482 2002-03-24  Tom Tromey  <tromey@redhat.com>
16484         * java/awt/TextComponent.java (TextComponent): Editable by
16485         default.
16487         * java/awt/MenuItem.java (eventMask): No longer private.
16488         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
16489         superclass if we didn't handle event.
16490         * java/awt/Checkbox.java (dispatchEventImpl): New method.
16491         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
16492         * java/awt/Choice.java (dispatchEventImpl): New method.
16493         * java/awt/List.java (dispatchEventImpl): New method.
16494         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
16495         * java/awt/TextComponent.java (dispatchEventImpl): New method.
16496         * java/awt/TextField.java (dispatchEventImpl): New method.
16498 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
16500         * java/beans/IntrospectionException.java: Update to 1.4.
16501         * java/beans/PropertyVetoException.java: Ditto.
16503 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
16505         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
16506         Arrays.equals instead of ArrayHelper.equalsArray.
16508 2002-03-24  C. Brian Jones <cbj@gnu.org>
16510         * java/beans/Introspector.java: added new static final fields
16511         introduced in 1.2, lots of other updates remain to be done
16513 2002-03-24  C. Brian Jones <cbj@gnu.org>
16515         * java/beans/Introspector.java: reformatting
16517 2002-03-24  C. Brian Jones <cbj@gnu.org>
16519         * java/beans/Introspector.java: default beanInfoSearchPath will
16520         not include sun.beans.infos given we provide no such package and
16521         the API doesn't really require it; gnu.java.beans.info is the
16522         default.
16524 2002-03-24  Mark Wielaard  <mark@klomp.org>
16526         Thanks to Orp developers
16527         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
16528         switch TRUE and FALSE return values.
16530 2002-03-23  Tom Tromey  <tromey@redhat.com>
16532         * include/name-finder.h (_Jv_name_finder::myclose): New method.
16533         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
16535 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
16537         * java/util/GregorianCalendar.java (minimums, maximums): Correct
16538         MONTH entry.  Fixes PR libgcj/6045.
16540 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
16542         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
16544 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16546         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
16547         not release_set.
16548         * sysdep/powerpc/locks.h (write_barrier): New function.
16549         * sysdep/i386/locks.h (write_barrier): New function.
16551 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
16553         * include/jni.h Use correct C comments.
16555 2002-03-18  Tom Tromey  <tromey@redhat.com>
16557         * include/jni.h (JNIIMPORT): New macro.
16558         (JNIEXPORT): Likewise.
16559         (JNICALL): Likewise.
16561 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
16563         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
16564         systems.
16566 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
16568         * include/i386-signal.h (old_i386_kernel_sigaction): New.
16569         INIT_SEGV: Use old_i386_kernel_sigaction.
16570         INIT_FP: Likewise.
16572 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16574         * java/lang/natSystem.cc (init_properties): Update VM version
16575         properties.
16576         * configure.in: Set GCJVERSION.
16577         * acconfig.h: Add GCJVERSION.
16578         * configure: Rebuilt.
16579         * include/config.h.in: Rebuilt.
16581 2002-03-17  Anthony Green  <green@redhat.com>
16583         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
16585 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16587         Build a single libgcj.so, without separate gc and zlib libraries.
16588         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
16589         SYS_ZLIBS if system zlib is used.
16590         * configure: Rebuilt.
16591         * Makefile.am: Use boehm-gc and zlib convenience libraries.
16592         * Makefile.in: Rebuilt.
16593         * libtool-version: Increment .so version number.
16595         * Makefile.am: Escape quotes in echo.
16596         * Makefile.in: Rebuilt.
16598 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16600         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
16601         * Makefile.in: Rebuilt.
16603 2002-03-15  Anthony Green  <green@redhat.com>
16605         * configure.host (FILE): New macro for specifing File
16606         implementation.
16607         * configure: Rebuilt.
16608         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
16610 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
16612         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
16613         already implicitly brought in from libgcj.la.
16614         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
16615         * Makefile.in: Rebuilt.
16617 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
16619         * THANKS: Fix punctuation, alphabetization.
16621 2002-03-15  Tom Tromey  <tromey@redhat.com>
16622             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16624         Fix for PR libgcj/5944.
16625         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
16627 2002-03-15  Anthony Green  <green@redhat.com>
16629         * configure.in (tool_include_dir): Define.
16630         * configure: Rebuilt.
16631         * gcj/Makefile.am: Install libgcj-config.h relative to
16632         tool_include_dir.
16633         * gcj/Makefile: Rebuilt.
16634         * gcj/libgcj-config.h: Add warning comment.
16636 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
16638         * configure.host (powerpc*-darwin*): Enable interpreter.
16640 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16642         * include/posix.h: Add multiple include header protection.
16643         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
16645 2002-03-10  Adam Megacz <adam@xwt.org>
16647         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
16649 2002-03-10  Tom Tromey  <tromey@redhat.com>
16651         * java/awt/GridLayout.java (layoutContainer): Handle case where
16652         there are no items in container.
16654         * java/lang/Win32Process.java: Added comment.
16655         * include/posix.h (_Jv_platform_close_on_exec): New function.
16656         Include fcntl.h.
16657         * include/win32.h (_Jv_platform_close_on_exec): New function.
16658         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
16659         flag.
16660         (accept): Likewise.
16661         * java/net/natPlainDatagramSocketImpl.cc (create): Set
16662         close-on-exec flag.
16663         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
16664         flag.
16666 2002-03-09  Tom Tromey  <tromey@redhat.com>
16668         * verify.cc (state::NO_STACK): New constant.
16669         (state::is_unmerged_ret_state): Handle case where stacktop is
16670         NO_STACK.
16671         (state::merge): Handle NO_STACK merges.
16672         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
16673         for instruction following jsr.
16674         (stacktop, stackdepth): Removed unused variables.
16675         (pop_jump): Ignore case where all remaining states are skipped.
16677 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16679         * java/awt/ImageMediaEntry: Removed.
16680         * java/awt/MediaEntry: Removed.
16682 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16684         Hashtable synchronization for PowerPC.
16685         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
16686         slow_pthread_self. Set up symlink for sysdeps directory.
16687         * configure: Rebuild.
16688         * configure.host: Document more shell variables. Set sysdeps_dir
16689         for most platforms. Set slow_pthread_self for i686. Set
16690         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
16691         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
16692         that memory barrier is emitted where required.
16693         * prims.cc: 64-bit align static primitive class instances.
16694         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
16695         read_barrier() to enforce ordering of reads.
16696         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
16697         primitives for PowerPC.
16698         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
16699         moved from natObject.cc.
16700         * sysdep/alpha/locks.h: Likewise.
16701         * sysdep/ia64/locks.h: Likewise.
16702         * sysdep/generic/locks.h: Likewise.
16703         * java/lang/natObject.cc: Move thread synchronization primitives to
16704         system-dependent headers.
16706 2002-03-09  Adam Megacz  <adam@xwt.org>
16708         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
16709         bytes read and no failure code returned.
16711 2002-03-09  Adam Megacz  <adam@xwt.org>
16713         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
16714         definitions to simulate -mthreads.
16716 2002-03-09  Adam Megacz  <adam@xwt.org>
16718         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
16719         avoid precision loss.
16721 2002-03-09  Per Bothner  <per@bothner.com>
16723         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
16724         * gnu/gcj/xlib/XImage.java:  Likewise.
16725         * gnu/gcj/xlib/XColor.java:  Likewise.
16727 2002-03-09  Adam Megacz  <adam@xwt.org>
16729         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
16730         IOException so that Throwable.printStackTrace fails correctly.
16732 2002-03-08  Adam Megacz  <adam@xwt.org>
16734         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
16735         fixed.
16737 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16739         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
16740         truncated to int.
16742 2002-03-08  Tom Tromey  <tromey@redhat.com>
16744         * include/jni.h: Include stdio.h.
16746 2002-03-08  Tom Tromey  <tromey@redhat.com>
16748         * posix.cc (internal_gettimeofday): New function.
16749         (_Jv_select): Use it.
16751 2002-03-07  Adam Megacz  <adam@xwt.org>
16753         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
16754         WIN32, and added thunks for read(), write(), and close().
16755         * java/net/natPlainSocketImpl.cc (accept, read, read):
16756         Disabled timeouts on WIN32 pending discussion.
16758 2002-03-07  Adam Megacz  <adam@xwt.org>
16760         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
16761         returns jlong. Added implementation
16762         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
16763         returns jlong.
16764         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
16765         returns jlong.
16766         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
16767         returns jlong.
16768         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
16769         _Jv_platform_gettimeofday signature.
16771 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16773         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
16774         (read): Call recv() directly, not _Jv_recv().
16776 2002-03-06  Tom Tromey  <tromey@redhat.com>
16778         * java/io/natFileDescriptorEcos.cc (init): Don't use
16779         GetStdHandle.
16780         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
16781         is negative.
16782         (init): Don't use GetStdHandle.
16784         * include/config.h.in: Rebuilt.
16785         * configure: Rebuilt.
16786         * Makefile.in: Rebuilt.
16788 2002-03-06  Adam Megacz  <adam@xwt.org>
16790         * java/io/FileDescriptor.java: Initialize in/out/err in init().
16791         * java/io/natFileDescriptorWin32.cc (init()): Added function.
16792         * java/io/natFileDescriptorPosix.cc (init()): Added function.
16793         * java/io/natFileDescriptorEcos.cc (init()): Added function.
16795 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
16797         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
16798         the code for generating include/java-chartables.h.
16799         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
16800         merge with Classpath.
16801         * scripts/unicode-muncher.pl: Copy from Classpath.
16802         * scritps/MakeCharTables.java: New file.
16803         * gnu/gcj/convert/Blocks-3.txt: New file.
16804         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
16805         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
16806         * gnu/java/lang/CharData.java: Copy from Classpath.
16807         * Makefile.am (ordinary_java_source_files): Add
16808         gnu/java/lang/CharData.java.
16809         * configure.in: Remove --enable-fast-character option.
16810         * java/lang/Character.java: Merge algorithms and Javadoc with
16811         Classpath.
16812         * java/lang/natCharacter.cc: Implement Unicode lookup table more
16813         efficiently.
16814         * include/java-chardecomp.h: Regenerate.
16815         * include/java-chartables.h: Regenerate.
16817 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16819         * java/awt/MediaTracker.java: Implemented.
16820         * Makefile.am: Add MediaTracker.
16821         * Makefile.in: Rebuilt.
16823 2002-03-05  Tom Tromey  <tromey@redhat.com>
16825         * java/lang/natPosixProcess.cc (fail): Removed.
16826         (startProcess): Simplified error-handling.  Preserve
16827         LD_LIBRARY_PATH across exec.
16829         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
16830         AbstractMethodError.
16832 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16834         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
16835         * Makefile.in: Rebuilt.
16837 2002-03-03 Mark Wielaard <mark@klomp.org>
16839         * java/util/Timer (TaskQueue.stop): set elements to zero.
16841 2002-02-28  Anthony Green  <green@redhat.com>
16843         * java/lang/reflect/natMethod.cc (result): Add void* element.
16844         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
16845         constructor test.
16847 2002-02-27  Adam Megacz <adam@xwt.org>
16849         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
16850         '#undef STRICT'.
16852 2002-02-26  Tom Tromey  <tromey@redhat.com>
16854         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
16855         * gij.cc (version): Use __VERSION__.
16856         * include/config.h.in: Rebuilt.
16857         * acconfig.h (GCJVERSION): Removed.
16858         * configure: Rebuilt.
16859         * configure.in (GCJVERSION): Removed.
16861 2002-02-26  Andreas Schwab  <schwab@suse.de>
16863         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
16864         glibcpp_CXX, since libjava uses even another CXX.
16865         * aclocal.m4, configure: Regenerated.
16867 2002-02-26  Tom Tromey  <tromey@redhat.com>
16869         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
16870         `1'.
16872 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16874         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
16875         dependency tracking for .java files.
16876         * Makefile.in: Rebuilt.
16878 2002-02-24  Adam Megacz  <adam@xwt.org>
16880         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
16881         typo. Sorry.
16883 2002-02-24  Adam Megacz  <adam@xwt.org>
16885         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
16886         for Win32, changed #ifdefs to check WIN32 instead of the
16887         (now-obsolete) USE_WINSOCK, and removed support for socket
16888         timeouts on Win32 pending further discussion.
16890 2002-02-24  Adam Megacz  <adam@xwt.org>
16892         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
16893         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
16894         delete
16896 2002-02-24  Adam Megacz  <adam@xwt.org>
16898         * java/lang/Win32Process.java: Created a dummy class to allow
16899         build process to run to completion.
16901 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
16903         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
16904         Define ffi_result union for ffi_call result.  Cast
16905         ffi_result members to jvalue.
16907 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
16909         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
16910         * testsuite/Makefile.in: Likewise.
16912 2002-02-20  Per Bothner  <per@bothner.com>
16914         * java/net/URL.java (getPath):  New JDK 1.3 method.
16916         * java/net/URLStreamHandler.java (parseURL):
16917         It is wrong to prepend '/' to the file part of a relative url.
16919         * java/net/URLStreamHandler.java (parseURL):
16920         Minor optizations - append '/' rather than "/".
16922         * java/net/URLStreamHandler.java (parseURL):
16923         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
16924         We probably should canonicalize for a context-relative url, though.
16925         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
16926         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
16927         (sameFile):  New method.  Uses canonicalizeFilename.
16929 2002-02-22  Tom Tromey  <tromey@redhat.com>
16931         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
16932         java.vendor and java.vm.vendor.
16933         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
16934         recent copyright date.
16935         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
16936         * gij.cc (version): Print `Inc'.
16938 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
16940         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
16941         * aclocal.m4, configure: Rebuilt.
16943 2002-02-20  Per Bothner  <per@bothner.com>
16945         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
16946         and/or output streams immediately here, instead of using File.exists.
16947         (inputStream, outputStream):  New fields to save open streams.
16948         (getInputStream, getOutputStream):  Use already-opened streams.
16950 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
16952         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
16953         Use it.
16954         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
16955         * aclocal.m4, configure, Makefile.in: Rebuilt.
16957 2002-02-19  Tom Tromey  <tromey@redhat.com>
16959         Fix for PR libgcj/5696:
16960         * verify.cc (is_assignable_from_slow): Never call
16961         _Jv_IsAssignableFrom.
16962         (verify_instructions_0): Added new debug statement.
16963         (state::print): Print information about whether local has
16964         changed.
16965         (state::merge): Don't call note_variable when merging locals.
16966         (state::set_exception): Removed old FIXME comment.
16968 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16970         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
16971         enable SO_BROADCAST.
16973 2002-02-18  Jason Merrill  <jason@redhat.com>
16975         * name-finder.cc (toHex): Use word mode, not long long.
16977         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
16979 2002-02-15  Tom Tromey  <tromey@redhat.com>
16981         Fix for PR libgcj/5695:
16982         * verify.cc (is_assignable_from_slow): Check to see if target is
16983         an Object before checking to see if source is an interface.
16984         (verify_instructions_0) [op_invokeinterface]: Handle case where
16985         we're making an interface call on Object.
16987 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16989         * Makefile.in: Rebuilt with Eric's change below.
16991         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
16992         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
16993         Removed functions which are now implemented in Math.java.
16995 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
16997         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
16998         * Makefile.am (core_java_source_files): Add
16999         java/lang/StrictMath.java.
17000         * java/lang/Math.java: Merge with Classpath.
17001         * java/lang/StrictMath.java: New file - merge with Classpath.
17003 2002-02-14  Mark Wielaard  <mark@klomp.org>
17005         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
17006         package as a workaround for gcj 3.0.x
17008 2002-02-14  Mark Wielaard <mark@klomp.org>
17010         * java/security/BasicPermission.java: extends with fully qualified
17011         classname as workaround for gcj 3.0.4.
17013 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
17015         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
17016         around gcj bug of wrong emitted qualifier for inherited method.
17017         * java/net/SocketImpl.java (setOption, getOption): Ditto.
17018         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
17019         constructor to reduce amount of emitted bytecode. While this
17020         happens to work around a jikes 1.15 bug, it is still a useful
17021         patch even for correct compilers.
17022         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
17023         * gnu/java/rmi/server/UnicastRemoteCall.java
17024         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
17026 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
17028         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
17029         * java/net/SocketImpl.java: Ditto.
17030         * java/rmi/server/RMIClassLoader.java: Ditto.
17031         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
17033 2002-02-14  Mark Wielaard <mark@klomp.org>
17035         Thanks to Takashi Okamoto
17036         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
17037         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
17038         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
17040 2002-02-13  Todd Stock  <toddastock@yahoo.com>
17042         Fix for PR libgcj/5670:
17043         * verify.cc (is_assignable_from_slow): If `source' is interface,
17044         recursively look for merge with `target'.
17046 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
17048         * include/jni.h: Fix typo.
17050 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
17052         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
17053         correctly.
17055 2002-02-13  Todd Stock  <toddastock@yahoo.com>
17057         Fix for PR libgcj/5671:
17058         * verify.cc (state::merge): Handle case where we're merging
17059         against an interface.
17061 2002-02-12  Tom Tromey  <tromey@redhat.com>
17063         * exception.cc (std::abort): Mark as noreturn.
17065 2002-02-12  Adam Megacz <adam@xwt.org>
17067         * java/lang/Win32Process.java: Filled in a placeholder
17068         implementation so Win32 will build.
17070 2002-02-12  Adam Megacz <adam@xwt.org>
17072         * java/io/natFilePosix.cc: Copied this from natFile.cc.
17073         * java/io/natFile.cc: Removed from repository.
17074         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
17076 2002-02-12  Adam Megacz <adam@xwt.org>
17078         * win32.cc: Added two #includes to make win32.cc compile.
17080 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
17082         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
17083         declarations.
17084         (_Jv_InitGC): Don't bother locking, as this is always called from a
17085         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
17087 2002-02-11  Adam Megacz <adam@xwt.org>
17089         * include/win32.h: Added _Jv_platform_gettimeofday.
17090         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
17092 2002-02-11  Adam Megacz <adam@xwt.org>
17094         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
17095         Added #undef STRICT to make windows.h and
17096         java/lang/reflect/Modifier.h cooperate.
17098 2002-02-11  Adam Megacz <adam@xwt.org>
17100         * java/io/natFileWin32.cc: Created a placeholder class with lots
17101         of FIXMEs.
17103 2002-02-11  Adam Megacz <adam@xwt.org>
17105         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
17106         std::abort() to simply abort(). Also added "fake" std::abort() so
17107         we can #include unwind-pe.h without having to link against
17108         libstdc++-v3.
17110 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
17112         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
17114 2002-02-08  Tom Tromey  <tromey@redhat.com>
17116         * interpret.cc (convert): New function.
17117         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
17118         convert.
17119         Include Long.h.
17121 2002-02-08  Anthony Green  <green@redhat.com>
17123         * configure.host: Add support for xscale-elf embedded target.
17125 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
17127         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
17128         dereferenced.
17129         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
17130         frame.
17132 2002-02-07  Tom Tromey  <tromey@redhat.com>
17134         * java/io/natFile.cc (_access): Use __builtin_alloca.
17135         (_stat): Likewise.
17136         (attr): Likewise.
17137         (getCanonicalPath): Likewise.
17138         (performList): Likewise.
17139         (performMkdir): Likewise.
17140         (performSetReadOnly): Likewise.
17141         (performRenameTo): Likewise.
17142         (performSetLastModified): Likewise.
17143         (performCreate): Likewise.
17144         (performDelete): Likewise.
17146 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
17148         * HACKING: Fix URL for the automake-gcj.
17150 2002-02-07  Tom Tromey  <tromey@redhat.com>
17152         * java/lang/natThrowable.cc: Updated copyright.
17153         * java/io/natFileWin32.cc: Updated copyright.
17154         * java/io/natFileDescriptorWin32.cc: Updated copyright.
17155         * win32-threads.cc: Updated copyright.
17156         * name-finder.cc: Updated copyright.
17157         * include/name-finder.h: Updated copyright.
17159         * include/name-finder.h: Conditionally include sys/wait.h.
17160         * include/config.h.in: Rebuilt.
17162         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
17163         Size buffer based on real size of string.
17164         (_stat): Likewise.
17165         (attr): Likewise.
17166         (getCanonicalPath): Likewise.
17167         (performList): Likewise.
17168         (performMkdir): Likewise.
17169         (performSetReadOnly): Likewise.
17170         (unixroot): Removed.
17171         (performRenameTo): Likewise.
17172         (performSetLastModified): Likewise.
17173         (performCreate): Likewise.
17174         (performDelete): Likewise.
17175         (performListRoots): Always return new array.
17177         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
17178         * win32.cc (win32_exception_handler): Now static.
17179         * include/win32.h (_Jv_platform_initialize): Declare.
17180         (win32_exception_handler): Don't declare.
17181         * java/lang/natSystem.cc (currentTimeMillis): Use
17182         _Jv_platform_gettimeofday.
17183         * posix.cc (_Jv_platform_gettimeofday): Renamed.
17184         (_Jv_select): Use new name.
17185         (_Jv_platform_initialize): New function.
17186         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
17187         _Jv_gettimeofday.
17188         (_Jv_platform_initialize): Declare.
17190         * configure: Rebuilt.
17191         * configure.in: Removed unnecessary parens.
17193 2002-02-06  Adam Megacz <adam@xwt.org>
17195        * configure.in: Changed mingw) to *mingw*).
17196        * win32.cc: Created this file.
17197        * win32.h: Created this file.
17198        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
17199        win32_exception_handler from prims.cc to win32.cc, added
17200        header in win32.h.
17201        * prims.cc: removed some #ifdef-WIN32'd headers which are no
17202        longer needed now that we have platform.h
17204 2002-02-06  Adam Megacz <adam@xwt.org>
17206         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
17207         use uint<n>_t instead of LONG and BYTE
17209 2002-02-06  Adam Megacz <adam@xwt.org>
17211         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
17213 2002-02-06  Anthony Green  <green@redhat.com>
17215         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
17216         Implement missing method stubs.
17217         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
17218         targets.
17219         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
17220         concept of timezones.
17221         (init_properties): Don't refer to _Jv_Environment_Properties
17222         when this feature is not available.
17223         * include/config.h.in: Rebuilt.
17224         * acconfig.h: Add DISABLE_MAIN_ARGS.
17225         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
17226         * configure: Rebuilt.
17227         * configure.in: Add --disable-main-args option.  Test for
17228           opendir function.  Replace AC_CHECK_SIZEOF with
17229           AC_COMPILE_CHECK_SIZEOF.
17230         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
17231         * aclocal.m4: Rebuilt.
17232         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
17234 2002-02-06  Tom Tromey  <tromey@redhat.com>
17236         * verify.cc (require_array_type): If argument is a null array of
17237         references, return null as the element type.
17239 2002-02-06  Mark Wielaard  <mark@klomp.org>
17241         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
17242         duplicate of a wide type.
17244 2002-02-06  Tom Tromey  <tromey@redhat.com>
17246         * verify.cc (type::isnull): New method.
17247         (require_array_type): Handle case where array is null.
17248         (verify_instructions_0) [op_arraylength]: Likewise.
17250 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
17252         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
17253         Symlink PLATFORMH to platform.h.
17254         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
17255         PLATFORMOBJS.
17256         * java/lang/natSystem.cc: #include platform.h not posix.h.
17257         * Makefile.in: Rebuilt with libgcj automake.
17258         * configure: Rebuilt.
17260 2002-02-05  Richard Henderson  <rth@redhat.com>
17262         * Makefile.in: Undo munging last change.
17264 2002-02-04  Adam Megacz <adam@xwt.org>
17266         * win32.cc: Created it.
17267         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
17268         which is set to posix.cc or win32.cc.
17269         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
17271 2002-02-04  Adam Megacz <adam@xwt.org>
17273         * configure.in: Corrected mingw case branches; added * before
17274         and after.
17276 2002-02-04  Adam Megacz <adam@xwt.org>
17278         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
17279         if compiling for win32
17281 2002-02-04  Adam Megacz <adam@xwt.org>
17283         * win32-threads.cc: #undef STRICT after gc.h inclusion
17285 2002-02-02  Tom Tromey  <tromey@redhat.com>
17287         * Makefile.in: Rebuilt.
17289 2002-02-02  Jason Merrill  <jason@redhat.com>
17291         * Makefile.am (clean-nat): New target.
17293 2002-02-02  Tom Tromey  <tromey@redhat.com>
17295         * java/io/natFile.cc: Removed old "FIXME" comments.
17297 2002-02-01  Tom Tromey  <tromey@redhat.com>
17299         * java/lang/natPosixProcess.cc (myclose): New function.
17300         (fail): Use it.
17301         (startProcess): Likewise.
17303 2002-02-01  Adam Megacz <adam@xwt.org>
17305         * prims.cc: Added #undef STRICT after #include<windows.h>.
17307 2002-02-01  Adam Megacz <adam@xwt.org>
17309         * prims.cc
17310         (_Jv_CreateJavaVM): We now use WIN32 instead of
17311         USE_WIN32_SIGNALLING and USE_WINSOCK.
17312         (win32_exception_handler): Now throws an exception out of
17313         the signal handler; assumes SJLJ.
17315 2002-02-01  Adam Megacz <adam@xwt.org>
17317         * win32-threads.cc:
17318         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
17319         wait() algorithm to make it safe.
17320         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
17321         Added lazy creation of Win32 Events for better performance
17322         (really_start): This now uses GC_CreateThread so boehm-gc
17323         knows about new threads even when statically linked.
17325 2002-02-01  Adam Megacz <adam@xwt.org>
17327         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
17328         enable safer wait() algorithm.
17329         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
17330         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
17331         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
17332         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
17333         instead of mutex.
17334         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
17336 2002-02-01  Adam Megacz <adam@xwt.org>
17338         * configure.in: Added support for mingw.
17339         * java/lang/Win32Process.java: Created as empty file.
17340         * java/lang/natWin32Process.cc: Created as empty file.
17342 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
17344         PR java/4972
17345         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
17346         for libiconv in LIBICONV variable.
17347         * configure: Regenerated.
17349 2002-01-31  Tom Tromey  <tromey@redhat.com>
17351         * verify.cc (state::enter_subroutine): New method.
17352         (handle_jsr_insn): Use it.
17353         (state::merge): When processing a `ret', correctly use
17354         subroutine's state to determine which local variables have
17355         changed.
17356         (push_exception_jump): Don't let stack overflow.
17358 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
17360         * gnu/gcj/convert/Convert.java: Only include one copyright year in
17361         --version output.
17363 2002-01-30  Tom Tromey  <tromey@redhat.com>
17365         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
17366         parameter for `recv' return type.
17368         * verify.cc (handle_ret_insn): Check for subroutine merge here...
17369         (state::merge): ... not here.
17370         (subr_entry_info): New structure.
17371         (entry_points): New field.
17372         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
17373         entry_points.
17375 2002-01-29  Tom Tromey  <tromey@redhat.com>
17377         * java/awt/List.java (addNotify): Correctly check to see if peer
17378         does not exist.
17380         * java/awt/GridLayout.java (layoutContainer): Use number of rows
17381         to compute height of each cell, and number of columns to compute
17382         width of each cell.
17383         * java/awt/Window.java (getOwnedWindows): Don't return null.
17384         * java/awt/FlowLayout.java (layoutContainer): Set width and height
17385         of component.  Increment x using horizontal gap, not vertical
17386         gap.
17388 2002-01-28  Tom Tromey  <tromey@redhat.com>
17390         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
17391         `nargs' byte is number of words, not number of arguments.
17393 2002-01-27  Tom Tromey  <tromey@redhat.com>
17395         * java/awt/event/MouseEvent.java (modifiers): Removed field.
17396         (when): Likewise.
17397         * java/awt/event/InputEvent.java (modifiers, when): Now
17398         package-private.
17400         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
17401         and to-do list.
17402         (state::merge): Use current class' class loader.
17403         (state::print): Print subroutine.
17404         (state::merge): Don't look at subroutine of unmerged `ret'.
17406 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
17408         * nogc.cc: Remove warnings.
17409         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
17410         New functions.
17412 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
17414         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
17415         int, int):  Remove empty "if" statement to work around compiler bug.
17416         (newPixels(int[], ColorModel, int, int): Likewise.
17418 2002-01-25  Per Bothner  <per@bothner.com>
17420         * verify.cc (verify_fail):  Change from being a top-level function
17421         to e method of _Jv_BytecodeVerifier.  Emit current method name.
17422         Pass the current verifier to type: and state: methods as needed,
17423         for better error messages, and for resolve.
17424         (resolve):  Pass current class's loader for Class.forName and
17425         _Jv_FindClassFromSignature, rather than using the default loader.
17426         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
17427         (get_type_val_for_signature):  Make non-static.
17428         (various methods):  Pass start_PC implicitly, not explicitly.
17430 2002-01-25  Tom Tromey  <tromey@redhat.com>
17432         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
17433         loop termination condition.
17434         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
17435         width.
17437 2002-01-24  Tom Tromey  <tromey@redhat.com>
17439         * java/awt/Shape.java: Merged with Classpath.
17440         * java/awt/Scrollbar.java: Merged with Classpath.
17442         * java/awt/Container.java (addNotify): Unconditionally call
17443         addNotifyContainerChildren and superclass addNotify.
17445         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
17446         getAlpha, not getBlue.
17448 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
17450         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
17452         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
17453         (grabPixels(long)): Wait to be notified that the ImageProducer has
17454         completed.
17456 2002-01-24  Per Bothner  <per@bothner.com>
17458         * verify.cc (is_assignable_from_slow): If target is an interface,
17459         we must still check the source's superclass before giving up.
17461 2002-01-24  Tom Tromey  <tromey@redhat.com>
17463         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
17465 2002-01-23  Tom Tromey  <tromey@redhat.com>
17467         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
17468         `else'.
17470         * Makefile.in: Rebuilt.
17471         * Makefile.am (awt_java_source_files): Added new files.
17472         * java/awt/Toolkit.java: Merged with Classpath.
17473         * java/awt/PrintGraphics.java: New file from Classpath.
17474         * java/awt/PrintJob.java: New file from Classpath.
17475         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
17476         * java/awt/datatransfer/ClipboardOwner.java: New file from
17477         Classpath.
17478         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
17479         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
17480         * java/awt/datatransfer/MimeTypeParseException.java: New file from
17481         Classpath.
17482         * java/awt/datatransfer/StringSelection.java: New file from
17483         Classpath.
17484         * java/awt/datatransfer/SystemFlavorMap.java: New file from
17485         Classpath.
17486         * java/awt/datatransfer/Transferable.java: New file from
17487         Classpath.
17488         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
17489         from Classpath.
17491         * Makefile.in: Rebuilt.
17492         * Makefile.am (awt_java_source_files): Added new files.
17493         * java/awt/image/AreaAveragingScaleFilter.java: New file from
17494         Classpath.
17495         * java/awt/image/CropImageFilter.java: New file from Classpath.
17496         * java/awt/image/FilteredImageSource.java: New file from
17497         Classpath.
17498         * java/awt/image/ImageFilter.java: New file from Classpath.
17499         * java/awt/image/MemoryImageSource.java: New file from Classpath.
17500         * java/awt/image/PixelGrabber.java: New file from Classpath.
17501         * java/awt/image/RGBImageFilter.java: New file from Classpath.
17502         * java/awt/image/ReplicateScaleFilter.java: New file from
17503         Classpath.
17504         * java/awt/image/ImageProducer.java: Replaced with Classpath
17505         version.
17506         * java/awt/image/ImageObserver.java: Replaced with Classpath
17507         version.
17508         * java/awt/image/ImageConsumer.java: Replaced with Classpath
17509         version.
17510         * java/awt/GridBagConstraints.java (clone): Catch
17511         CloneNotSupportedException.
17513 2002-01-23  Per Bothner  <per@bothner.com>
17515         * java/lang/reflect/natField.cc (setAddr):  New function.
17516         Calls getAddr and then checks that the field isn't final.
17517         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
17518         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
17519         (set):  Call setAddr before check that new value has right type,
17520         to better match specified semantics.
17522 2002-01-22  Tom Tromey  <tromey@redhat.com>
17524         * java/awt/TextField.java: Replaced with Classpath version.
17525         * java/awt/TextArea.java: Replaced with Classpath version.
17526         * java/awt/TextComponent.java: Replaced with Classpath version.
17528         * java/awt/GridBagConstraints.java: Updated copyright.
17530 2002-01-22  Mark Wielaard <mark@klomp.org>
17532         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
17533         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
17534         java/awt/Dialog.java java/awt/FileDialog.java
17535         java/awt/Font.java java/awt/FontMetrics.java
17536         java/awt/Image.java java/awt/ImageMediaEntry.java
17537         java/awt/Insets.java java/awt/List.java
17538         java/awt/MediaEntry.java java/awt/MediaTracker.java
17539         java/awt/Menu.java java/awt/MenuBar.java
17540         java/awt/MenuContainer.java java/awt/MenuShortcut.java
17541         java/awt/PaintContext.java java/awt/Panel.java
17542         java/awt/PopupMenu.java java/awt/SystemColor.java
17543         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
17544         java/awt/peer/CheckboxMenuItemPeer.java
17545         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
17546         java/awt/peer/ComponentPeer.java
17547         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
17548         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
17549         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
17550         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
17551         java/awt/peer/MenuBarPeer.java
17552         java/awt/peer/MenuComponentPeer.java
17553         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
17554         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
17555         java/awt/peer/ScrollPanePeer.java
17556         java/awt/peer/ScrollbarPeer.java
17557         java/awt/peer/TextAreaPeer.java
17558         java/awt/peer/TextComponentPeer.java
17559         java/awt/peer/TextFieldPeer.java
17560         java/awt/peer/WindowPeer.java: Add license clarification.
17562 2002-01-22  Mark Wielaard <mark@klomp.org>
17564         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
17565         gnu/gcj/runtime/StringBuffer.java
17566         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
17567         gnu/java/awt/ComponentDataBlitOp.java
17568         gnu/java/awt/GLightweightPeer.java
17569         gnu/java/beans/BeanInfoEmbryo.java
17570         gnu/java/beans/EmptyBeanInfo.java
17571         gnu/java/beans/ExplicitBeanInfo.java
17572         gnu/java/beans/IntrospectionIncubator.java
17573         gnu/java/beans/editors/ColorEditor.java
17574         gnu/java/beans/editors/FontEditor.java
17575         gnu/java/beans/editors/NativeBooleanEditor.java
17576         gnu/java/beans/editors/NativeByteEditor.java
17577         gnu/java/beans/editors/NativeDoubleEditor.java
17578         gnu/java/beans/editors/NativeFloatEditor.java
17579         gnu/java/beans/editors/NativeIntEditor.java
17580         gnu/java/beans/editors/NativeLongEditor.java
17581         gnu/java/beans/editors/NativeShortEditor.java
17582         gnu/java/beans/editors/StringEditor.java
17583         gnu/java/beans/info/ComponentBeanInfo.java
17584         gnu/java/io/ClassLoaderObjectInputStream.java
17585         gnu/java/io/NullOutputStream.java
17586         gnu/java/io/ObjectIdentityWrapper.java
17587         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
17588         gnu/java/lang/reflect/TypeSignature.java
17589         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
17590         gnu/java/locale/Calendar_en.java
17591         gnu/java/locale/Calendar_nl.java
17592         gnu/java/locale/LocaleInformation.java
17593         gnu/java/locale/LocaleInformation_de.java
17594         gnu/java/locale/LocaleInformation_en.java
17595         gnu/java/locale/LocaleInformation_nl.java
17596         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
17597         gnu/java/rmi/registry/RegistryImpl.java
17598         gnu/java/rmi/rmic/Compile_gcj.java
17599         gnu/java/rmi/rmic/Compiler.java
17600         gnu/java/rmi/rmic/CompilerProcess.java
17601         gnu/java/rmi/rmic/RMIC.java
17602         gnu/java/rmi/rmic/TabbedWriter.java
17603         gnu/java/rmi/server/ProtocolConstants.java
17604         gnu/java/rmi/server/RMIDefaultSocketFactory.java
17605         gnu/java/rmi/server/RMIHashes.java
17606         gnu/java/rmi/server/RMIObjectInputStream.java
17607         gnu/java/rmi/server/RMIObjectOutputStream.java
17608         gnu/java/rmi/server/UnicastConnection.java
17609         gnu/java/rmi/server/UnicastConnectionManager.java
17610         gnu/java/rmi/server/UnicastRef.java
17611         gnu/java/rmi/server/UnicastRemoteCall.java
17612         gnu/java/rmi/server/UnicastRemoteStub.java
17613         gnu/java/rmi/server/UnicastServer.java
17614         gnu/java/rmi/server/UnicastServerRef.java
17615         gnu/java/security/provider/DefaultPolicy.java
17616         gnu/java/security/provider/Gnu.java
17617         gnu/java/security/provider/SHA.java
17618         gnu/java/security/provider/SHA1PRNG.java
17619         gnu/java/text/BaseBreakIterator.java
17620         gnu/java/text/CharacterBreakIterator.java
17621         gnu/java/text/LineBreakIterator.java
17622         gnu/java/text/SentenceBreakIterator.java
17623         gnu/java/text/WordBreakIterator.java
17624         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
17625         java/applet/AppletContext.java java/applet/AppletStub.java
17626         java/applet/AudioClip.java java/awt/AWTError.java
17627         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
17628         java/awt/AWTException.java java/awt/AWTPermission.java
17629         java/awt/ActiveEvent.java java/awt/BorderLayout.java
17630         java/awt/Button.java java/awt/Canvas.java
17631         java/awt/CardLayout.java java/awt/Checkbox.java
17632         java/awt/CheckboxGroup.java java/awt/Component.java
17633         java/awt/ComponentOrientation.java java/awt/Container.java
17634         java/awt/Dimension.java java/awt/Event.java
17635         java/awt/EventDispatchThread.java java/awt/EventQueue.java
17636         java/awt/FlowLayout.java java/awt/Frame.java
17637         java/awt/Graphics.java java/awt/Graphics2D.java
17638         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
17639         java/awt/IllegalComponentStateException.java
17640         java/awt/ItemSelectable.java java/awt/Label.java
17641         java/awt/LayoutManager.java java/awt/LayoutManager2.java
17642         java/awt/MenuComponent.java java/awt/MenuItem.java
17643         java/awt/Paint.java java/awt/Point.java
17644         java/awt/Rectangle.java java/awt/RenderingHints.java
17645         java/awt/Transparency.java java/awt/Window.java
17646         java/awt/color/ColorSpace.java
17647         java/awt/color/ICC_ColorSpace.java
17648         java/awt/color/ICC_Profile.java
17649         java/awt/event/HierarchyBoundsAdapter.java
17650         java/awt/event/HierarchyBoundsListener.java
17651         java/awt/event/HierarchyEvent.java
17652         java/awt/event/HierarchyListener.java
17653         java/awt/geom/AffineTransform.java
17654         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
17655         java/awt/geom/IllegalPathStateException.java
17656         java/awt/geom/Line2D.java
17657         java/awt/geom/NoninvertibleTransformException.java
17658         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
17659         java/awt/geom/Rectangle2D.java
17660         java/awt/geom/RectangularShape.java
17661         java/awt/geom/RoundRectangle2D.java
17662         java/awt/image/BufferedImage.java
17663         java/awt/image/ColorModel.java
17664         java/awt/image/ComponentColorModel.java
17665         java/awt/image/ComponentSampleModel.java
17666         java/awt/image/DataBuffer.java
17667         java/awt/image/DataBufferByte.java
17668         java/awt/image/DataBufferInt.java
17669         java/awt/image/DataBufferUShort.java
17670         java/awt/image/DirectColorModel.java
17671         java/awt/image/PackedColorModel.java
17672         java/awt/image/Raster.java java/awt/image/RasterOp.java
17673         java/awt/image/SampleModel.java
17674         java/awt/image/SinglePixelPackedSampleModel.java
17675         java/awt/image/WritableRaster.java
17676         java/beans/AppletInitializer.java
17677         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
17678         java/beans/Beans.java java/beans/Customizer.java
17679         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
17680         java/beans/FeatureDescriptor.java
17681         java/beans/IndexedPropertyDescriptor.java
17682         java/beans/IntrospectionException.java
17683         java/beans/Introspector.java java/beans/MethodDescriptor.java
17684         java/beans/ParameterDescriptor.java
17685         java/beans/PropertyChangeEvent.java
17686         java/beans/PropertyChangeListener.java
17687         java/beans/PropertyChangeSupport.java
17688         java/beans/PropertyDescriptor.java
17689         java/beans/PropertyEditor.java
17690         java/beans/PropertyEditorManager.java
17691         java/beans/PropertyEditorSupport.java
17692         java/beans/PropertyVetoException.java
17693         java/beans/SimpleBeanInfo.java
17694         java/beans/VetoableChangeListener.java
17695         java/beans/VetoableChangeSupport.java
17696         java/beans/Visibility.java
17697         java/beans/beancontext/BeanContext.java
17698         java/beans/beancontext/BeanContextChild.java
17699         java/beans/beancontext/BeanContextChildComponentProxy.java
17700         java/beans/beancontext/BeanContextChildSupport.java
17701         java/beans/beancontext/BeanContextContainerProxy.java
17702         java/beans/beancontext/BeanContextEvent.java
17703         java/beans/beancontext/BeanContextMembershipEvent.java
17704         java/beans/beancontext/BeanContextMembershipListener.java
17705         java/beans/beancontext/BeanContextProxy.java
17706         java/beans/beancontext/BeanContextServiceAvailableEvent.java
17707         java/beans/beancontext/BeanContextServiceProvider.java
17708         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
17709         java/beans/beancontext/BeanContextServiceRevokedEvent.java
17710         java/beans/beancontext/BeanContextServiceRevokedListener.java
17711         java/beans/beancontext/BeanContextServices.java
17712         java/beans/beancontext/BeanContextServicesListener.java
17713         java/io/BufferedInputStream.java
17714         java/io/BufferedOutputStream.java java/io/BufferedReader.java
17715         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
17716         java/io/ByteArrayOutputStream.java
17717         java/io/CharArrayReader.java java/io/CharArrayWriter.java
17718         java/io/CharConversionException.java java/io/DataInput.java
17719         java/io/DataInputStream.java java/io/DataOutput.java
17720         java/io/EOFException.java java/io/Externalizable.java
17721         java/io/FileFilter.java java/io/FileNotFoundException.java
17722         java/io/FilePermission.java java/io/FileReader.java
17723         java/io/FileWriter.java java/io/FilenameFilter.java
17724         java/io/FilterInputStream.java java/io/FilterOutputStream.java
17725         java/io/FilterReader.java java/io/FilterWriter.java
17726         java/io/IOException.java java/io/InputStream.java
17727         java/io/InterruptedIOException.java
17728         java/io/InvalidClassException.java
17729         java/io/InvalidObjectException.java
17730         java/io/NotActiveException.java
17731         java/io/NotSerializableException.java java/io/ObjectInput.java
17732         java/io/ObjectInputStream.java
17733         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
17734         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
17735         java/io/ObjectStreamConstants.java
17736         java/io/ObjectStreamException.java
17737         java/io/ObjectStreamField.java
17738         java/io/OptionalDataException.java java/io/OutputStream.java
17739         java/io/PipedInputStream.java java/io/PipedOutputStream.java
17740         java/io/PipedReader.java java/io/PipedWriter.java
17741         java/io/PrintWriter.java java/io/PushbackInputStream.java
17742         java/io/PushbackReader.java java/io/Reader.java
17743         java/io/SequenceInputStream.java java/io/Serializable.java
17744         java/io/SerializablePermission.java
17745         java/io/StreamCorruptedException.java
17746         java/io/StreamTokenizer.java
17747         java/io/StringBufferInputStream.java java/io/StringReader.java
17748         java/io/StringWriter.java java/io/SyncFailedException.java
17749         java/io/UTFDataFormatException.java
17750         java/io/UnsupportedEncodingException.java
17751         java/io/WriteAbortedException.java java/io/Writer.java
17752         java/lang/AbstractMethodError.java
17753         java/lang/ArithmeticException.java
17754         java/lang/ArrayIndexOutOfBoundsException.java
17755         java/lang/ArrayStoreException.java java/lang/Boolean.java
17756         java/lang/Byte.java java/lang/CharSequence.java
17757         java/lang/ClassCastException.java
17758         java/lang/ClassCircularityError.java
17759         java/lang/ClassFormatError.java
17760         java/lang/ClassNotFoundException.java
17761         java/lang/CloneNotSupportedException.java
17762         java/lang/Cloneable.java java/lang/Comparable.java
17763         java/lang/Compiler.java java/lang/Double.java
17764         java/lang/Error.java java/lang/Exception.java
17765         java/lang/ExceptionInInitializerError.java
17766         java/lang/Float.java java/lang/IllegalAccessError.java
17767         java/lang/IllegalAccessException.java
17768         java/lang/IllegalArgumentException.java
17769         java/lang/IllegalMonitorStateException.java
17770         java/lang/IllegalStateException.java
17771         java/lang/IllegalThreadStateException.java
17772         java/lang/IncompatibleClassChangeError.java
17773         java/lang/IndexOutOfBoundsException.java
17774         java/lang/InheritableThreadLocal.java
17775         java/lang/InstantiationError.java
17776         java/lang/InstantiationException.java java/lang/Integer.java
17777         java/lang/InternalError.java
17778         java/lang/InterruptedException.java
17779         java/lang/LinkageError.java java/lang/Long.java
17780         java/lang/NegativeArraySizeException.java
17781         java/lang/NoClassDefFoundError.java
17782         java/lang/NoSuchFieldError.java
17783         java/lang/NoSuchFieldException.java
17784         java/lang/NoSuchMethodError.java
17785         java/lang/NoSuchMethodException.java
17786         java/lang/NullPointerException.java java/lang/Number.java
17787         java/lang/NumberFormatException.java
17788         java/lang/OutOfMemoryError.java java/lang/Package.java
17789         java/lang/Process.java java/lang/Runnable.java
17790         java/lang/RuntimeException.java
17791         java/lang/RuntimePermission.java
17792         java/lang/SecurityException.java
17793         java/lang/SecurityManager.java java/lang/Short.java
17794         java/lang/StackOverflowError.java java/lang/StringBuffer.java
17795         java/lang/StringIndexOutOfBoundsException.java
17796         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
17797         java/lang/ThreadLocal.java java/lang/UnknownError.java
17798         java/lang/UnsatisfiedLinkError.java
17799         java/lang/UnsupportedClassVersionError.java
17800         java/lang/UnsupportedOperationException.java
17801         java/lang/VerifyError.java java/lang/VirtualMachineError.java
17802         java/lang/Void.java java/lang/ref/PhantomReference.java
17803         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
17804         java/lang/ref/SoftReference.java
17805         java/lang/ref/WeakReference.java
17806         java/lang/reflect/AccessibleObject.java
17807         java/lang/reflect/InvocationTargetException.java
17808         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
17809         java/lang/reflect/ReflectPermission.java
17810         java/math/BigDecimal.java java/math/BigInteger.java
17811         java/net/Authenticator.java java/net/BindException.java
17812         java/net/ConnectException.java java/net/ContentHandler.java
17813         java/net/ContentHandlerFactory.java
17814         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
17815         java/net/FileNameMap.java java/net/MalformedURLException.java
17816         java/net/MulticastSocket.java java/net/NetPermission.java
17817         java/net/NoRouteToHostException.java
17818         java/net/PasswordAuthentication.java
17819         java/net/ProtocolException.java java/net/ServerSocket.java
17820         java/net/Socket.java java/net/SocketException.java
17821         java/net/SocketImpl.java java/net/SocketImplFactory.java
17822         java/net/SocketOptions.java java/net/SocketPermission.java
17823         java/net/URLDecoder.java java/net/URLEncoder.java
17824         java/net/URLStreamHandlerFactory.java
17825         java/net/UnknownHostException.java
17826         java/net/UnknownServiceException.java
17827         java/rmi/AccessException.java
17828         java/rmi/AlreadyBoundException.java
17829         java/rmi/ConnectException.java
17830         java/rmi/ConnectIOException.java
17831         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
17832         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
17833         java/rmi/NotBoundException.java
17834         java/rmi/RMISecurityException.java
17835         java/rmi/RMISecurityManager.java java/rmi/Remote.java
17836         java/rmi/RemoteException.java java/rmi/ServerError.java
17837         java/rmi/ServerException.java
17838         java/rmi/ServerRuntimeException.java
17839         java/rmi/StubNotFoundException.java
17840         java/rmi/UnexpectedException.java
17841         java/rmi/UnknownHostException.java
17842         java/rmi/UnmarshalException.java
17843         java/rmi/activation/Activatable.java
17844         java/rmi/activation/ActivateFailedException.java
17845         java/rmi/activation/ActivationDesc.java
17846         java/rmi/activation/ActivationException.java
17847         java/rmi/activation/ActivationGroup.java
17848         java/rmi/activation/ActivationGroupDesc.java
17849         java/rmi/activation/ActivationGroupID.java
17850         java/rmi/activation/ActivationID.java
17851         java/rmi/activation/ActivationInstantiator.java
17852         java/rmi/activation/ActivationMonitor.java
17853         java/rmi/activation/ActivationSystem.java
17854         java/rmi/activation/Activator.java
17855         java/rmi/activation/UnknownGroupException.java
17856         java/rmi/activation/UnknownObjectException.java
17857         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
17858         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
17859         java/rmi/registry/Registry.java
17860         java/rmi/registry/RegistryHandler.java
17861         java/rmi/server/ExportException.java
17862         java/rmi/server/LoaderHandler.java
17863         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
17864         java/rmi/server/Operation.java
17865         java/rmi/server/RMIClassLoader.java
17866         java/rmi/server/RMIClientSocketFactory.java
17867         java/rmi/server/RMIFailureHandler.java
17868         java/rmi/server/RMIServerSocketFactory.java
17869         java/rmi/server/RMISocketFactory.java
17870         java/rmi/server/RemoteCall.java
17871         java/rmi/server/RemoteObject.java
17872         java/rmi/server/RemoteRef.java
17873         java/rmi/server/RemoteServer.java
17874         java/rmi/server/RemoteStub.java
17875         java/rmi/server/ServerCloneException.java
17876         java/rmi/server/ServerNotActiveException.java
17877         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
17878         java/rmi/server/SkeletonMismatchException.java
17879         java/rmi/server/SkeletonNotFoundException.java
17880         java/rmi/server/SocketSecurityException.java
17881         java/rmi/server/UID.java
17882         java/rmi/server/UnicastRemoteObject.java
17883         java/rmi/server/Unreferenced.java
17884         java/security/AccessControlContext.java
17885         java/security/AccessControlException.java
17886         java/security/AccessController.java
17887         java/security/AlgorithmParameterGenerator.java
17888         java/security/AlgorithmParameterGeneratorSpi.java
17889         java/security/AlgorithmParameters.java
17890         java/security/AlgorithmParametersSpi.java
17891         java/security/AllPermission.java
17892         java/security/BasicPermission.java
17893         java/security/Certificate.java java/security/CodeSource.java
17894         java/security/DigestException.java
17895         java/security/DigestInputStream.java
17896         java/security/DigestOutputStream.java
17897         java/security/DomainCombiner.java
17898         java/security/DummyKeyPairGenerator.java
17899         java/security/DummyMessageDigest.java
17900         java/security/DummySignature.java
17901         java/security/GeneralSecurityException.java
17902         java/security/Guard.java java/security/GuardedObject.java
17903         java/security/Identity.java java/security/IdentityScope.java
17904         java/security/InvalidAlgorithmParameterException.java
17905         java/security/InvalidKeyException.java
17906         java/security/InvalidParameterException.java
17907         java/security/Key.java java/security/KeyException.java
17908         java/security/KeyFactory.java java/security/KeyFactorySpi.java
17909         java/security/KeyManagementException.java
17910         java/security/KeyPair.java java/security/KeyPairGenerator.java
17911         java/security/KeyPairGeneratorSpi.java
17912         java/security/KeyStore.java
17913         java/security/KeyStoreException.java
17914         java/security/KeyStoreSpi.java
17915         java/security/MessageDigest.java
17916         java/security/MessageDigestSpi.java
17917         java/security/NoSuchAlgorithmException.java
17918         java/security/NoSuchProviderException.java
17919         java/security/Permission.java
17920         java/security/PermissionCollection.java
17921         java/security/Permissions.java java/security/Policy.java
17922         java/security/Principal.java java/security/PrivateKey.java
17923         java/security/PrivilegedAction.java
17924         java/security/PrivilegedActionException.java
17925         java/security/PrivilegedExceptionAction.java
17926         java/security/ProtectionDomain.java
17927         java/security/Provider.java
17928         java/security/ProviderException.java
17929         java/security/PublicKey.java
17930         java/security/SecureClassLoader.java
17931         java/security/SecureRandom.java
17932         java/security/SecureRandomSpi.java java/security/Security.java
17933         java/security/SecurityPermission.java
17934         java/security/Signature.java
17935         java/security/SignatureException.java
17936         java/security/SignatureSpi.java
17937         java/security/SignedObject.java java/security/Signer.java
17938         java/security/UnrecoverableKeyException.java
17939         java/security/UnresolvedPermission.java
17940         java/security/acl/Acl.java java/security/acl/AclEntry.java
17941         java/security/acl/AclNotFoundException.java
17942         java/security/acl/Group.java
17943         java/security/acl/LastOwnerException.java
17944         java/security/acl/NotOwnerException.java
17945         java/security/acl/Owner.java java/security/acl/Permission.java
17946         java/security/cert/CRL.java
17947         java/security/cert/CRLException.java
17948         java/security/cert/Certificate.java
17949         java/security/cert/CertificateEncodingException.java
17950         java/security/cert/CertificateException.java
17951         java/security/cert/CertificateExpiredException.java
17952         java/security/cert/CertificateFactory.java
17953         java/security/cert/CertificateFactorySpi.java
17954         java/security/cert/CertificateNotYetValidException.java
17955         java/security/cert/CertificateParsingException.java
17956         java/security/cert/X509CRL.java
17957         java/security/cert/X509CRLEntry.java
17958         java/security/cert/X509Certificate.java
17959         java/security/cert/X509Extension.java
17960         java/security/interfaces/DSAKey.java
17961         java/security/interfaces/DSAKeyPairGenerator.java
17962         java/security/interfaces/DSAParams.java
17963         java/security/interfaces/DSAPrivateKey.java
17964         java/security/interfaces/DSAPublicKey.java
17965         java/security/interfaces/RSAKey.java
17966         java/security/interfaces/RSAPrivateCrtKey.java
17967         java/security/interfaces/RSAPrivateKey.java
17968         java/security/interfaces/RSAPublicKey.java
17969         java/security/spec/AlgorithmParameterSpec.java
17970         java/security/spec/DSAParameterSpec.java
17971         java/security/spec/DSAPrivateKeySpec.java
17972         java/security/spec/DSAPublicKeySpec.java
17973         java/security/spec/EncodedKeySpec.java
17974         java/security/spec/InvalidKeySpecException.java
17975         java/security/spec/InvalidParameterSpecException.java
17976         java/security/spec/KeySpec.java
17977         java/security/spec/PKCS8EncodedKeySpec.java
17978         java/security/spec/RSAKeyGenParameterSpec.java
17979         java/security/spec/RSAPrivateCrtKeySpec.java
17980         java/security/spec/RSAPrivateKeySpec.java
17981         java/security/spec/RSAPublicKeySpec.java
17982         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
17983         java/sql/BatchUpdateException.java java/sql/Blob.java
17984         java/sql/CallableStatement.java java/sql/Clob.java
17985         java/sql/Connection.java java/sql/DataTruncation.java
17986         java/sql/DatabaseMetaData.java java/sql/Date.java
17987         java/sql/Driver.java java/sql/DriverManager.java
17988         java/sql/DriverPropertyInfo.java
17989         java/sql/PreparedStatement.java java/sql/Ref.java
17990         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
17991         java/sql/SQLData.java java/sql/SQLException.java
17992         java/sql/SQLInput.java java/sql/SQLOutput.java
17993         java/sql/SQLWarning.java java/sql/Statement.java
17994         java/sql/Struct.java java/sql/Time.java
17995         java/sql/Timestamp.java java/sql/Types.java
17996         java/text/Annotation.java
17997         java/text/AttributedCharacterIterator.java
17998         java/text/AttributedString.java
17999         java/text/AttributedStringIterator.java
18000         java/text/BreakIterator.java java/text/CharacterIterator.java
18001         java/text/ChoiceFormat.java java/text/Collator.java
18002         java/text/DateFormat.java java/text/DateFormatSymbols.java
18003         java/text/DecimalFormat.java
18004         java/text/DecimalFormatSymbols.java
18005         java/text/FieldPosition.java java/text/Format.java
18006         java/text/MessageFormat.java java/text/NumberFormat.java
18007         java/text/ParseException.java java/text/ParsePosition.java
18008         java/text/SimpleDateFormat.java
18009         java/text/StringCharacterIterator.java
18010         java/util/AbstractCollection.java java/util/AbstractList.java
18011         java/util/AbstractMap.java
18012         java/util/AbstractSequentialList.java
18013         java/util/AbstractSet.java java/util/ArrayList.java
18014         java/util/Arrays.java java/util/BasicMapEntry.java
18015         java/util/BitSet.java java/util/Calendar.java
18016         java/util/Collection.java java/util/Collections.java
18017         java/util/Comparator.java
18018         java/util/ConcurrentModificationException.java
18019         java/util/Date.java java/util/Dictionary.java
18020         java/util/EmptyStackException.java java/util/Enumeration.java
18021         java/util/EventListener.java java/util/EventObject.java
18022         java/util/GregorianCalendar.java java/util/HashMap.java
18023         java/util/HashSet.java java/util/Hashtable.java
18024         java/util/IdentityHashMap.java java/util/Iterator.java
18025         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
18026         java/util/LinkedList.java java/util/List.java
18027         java/util/ListIterator.java java/util/ListResourceBundle.java
18028         java/util/Locale.java java/util/Map.java
18029         java/util/MissingResourceException.java
18030         java/util/NoSuchElementException.java
18031         java/util/Observable.java java/util/Observer.java
18032         java/util/Properties.java java/util/PropertyPermission.java
18033         java/util/PropertyResourceBundle.java java/util/Random.java
18034         java/util/RandomAccess.java java/util/ResourceBundle.java
18035         java/util/Set.java java/util/SimpleTimeZone.java
18036         java/util/SortedMap.java java/util/SortedSet.java
18037         java/util/Stack.java java/util/StringTokenizer.java
18038         java/util/TimeZone.java java/util/Timer.java
18039         java/util/TimerTask.java
18040         java/util/TooManyListenersException.java
18041         java/util/TreeMap.java java/util/TreeSet.java
18042         java/util/Vector.java java/util/WeakHashMap.java
18043         java/util/jar/Attributes.java java/util/jar/JarEntry.java
18044         java/util/jar/JarException.java java/util/jar/JarFile.java
18045         java/util/jar/JarInputStream.java
18046         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
18047         java/util/zip/Adler32.java java/util/zip/CRC32.java
18048         java/util/zip/CheckedInputStream.java
18049         java/util/zip/CheckedOutputStream.java
18050         java/util/zip/Checksum.java
18051         java/util/zip/DataFormatException.java
18052         java/util/zip/Deflater.java
18053         java/util/zip/DeflaterOutputStream.java
18054         java/util/zip/GZIPInputStream.java
18055         java/util/zip/GZIPOutputStream.java
18056         java/util/zip/Inflater.java
18057         java/util/zip/InflaterInputStream.java
18058         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
18059         java/util/zip/ZipException.java java/util/zip/ZipFile.java
18060         java/util/zip/ZipInputStream.java
18061         java/util/zip/ZipOutputStream.java
18062         javax/naming/BinaryRefAddr.java
18063         javax/naming/InvalidNameException.java javax/naming/Name.java
18064         javax/naming/NamingException.java javax/naming/RefAddr.java
18065         javax/naming/StringRefAddr.java: Add license clarification.
18067 2002-01-22  Tom Tromey  <tromey@redhat.com>
18069         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
18070         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
18071         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
18072         version.
18073         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
18074         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
18075         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
18076         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
18077         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
18078         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
18079         * java/awt/peer/FontPeer.java: Replace with Classpath version.
18080         * java/awt/peer/FramePeer.java: Replace with Classpath version.
18081         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
18082         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
18083         * java/awt/peer/ListPeer.java: Replace with Classpath version.
18084         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
18085         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
18086         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
18087         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
18088         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
18089         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
18090         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
18091         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
18092         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
18093         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
18094         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
18095         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
18096         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
18097         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
18098         (minimumSize, preferredSize, reshape): Likewise.
18099         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
18100         getColorModel): New methods.
18101         * java/awt/PopupMenu.java: Merged with Classpath.
18102         * java/awt/MenuBar.java: Merged with Classpath.
18103         * java/awt/SystemColor.java: Replace with Classpath version.
18104         * java/awt/Panel.java: Merged with Classpath.
18105         * java/awt/PaintContext.java: Updated copyright.
18106         * java/awt/MenuShortcut.java: Merged with Classpath.
18107         * java/awt/MenuContainer.java: Merged with Classpath.
18108         * java/awt/Menu.java: Merged with Classpath.
18109         * java/awt/MediaEntry.java: New file from Classpath.
18110         * java/awt/MediaTracker.java: New file from Classpath.
18111         * java/awt/List.java: Merged with Classpath version.
18112         * java/awt/Insets.java: Merged with Classpath version.
18113         * java/awt/ImageMediaEntry.java: New file from Classpath.
18114         * java/awt/Image.java: Replaced with Classpath version.
18115         * java/awt/FontMetrics.java: Merged with Classpath version.
18116         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
18117         constant.
18118         * java/awt/Font.java: Merged with Classpath version.
18119         * java/awt/Dialog.java: Merged with Classpath version.
18120         * java/awt/Color.java: Merged with Classpath version.
18121         * java/awt/Choice.java: Merged with Classpath version.
18122         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
18123         * java/awt/Adjustable.java: Replace with Classpath version.
18124         * java/awt/MenuItem.java (paramString): Don't include class name
18125         or brackets.  Call superclass paramString.
18126         * java/awt/MenuComponent.java (toString): Call paramString.
18127         (paramString): Compute string; don't call toString.
18128         * java/awt/Label.java (paramString): Don't include class name
18129         or brackets.  Call superclass paramString.
18130         * java/awt/Checkbox.java (paramString): Don't include class name
18131         or brackets.  Call superclass paramString.
18132         * java/awt/Button.java (paramString): Don't include class name or
18133         brackets.  Call superclass paramString.
18134         * java/awt/MenuComponent.java (getTreeLock): Now protected.
18136 2002-01-20  Andreas Schwab  <schwab@suse.de>
18138         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
18139         function and of parameter recv_func to ssize_t, as specified by
18140         POSIX.
18142 2002-01-19  Per Bothner  <per@bothner.com>
18144         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
18145         uncompressed_size in readiness for next entry.
18147 2002-01-18  Tom Tromey  <tromey@redhat.com>
18149         * java/net/natPlainSocketImpl.cc: Include
18150         IllegalArgumentException.h.
18151         (_Jv_recv): New template function.
18152         (BooleanClass): Removed.
18153         (read): Use _Jv_recv.
18154         (setOption): Use Boolean::class$.  Throw exception if object is
18155         not Boolean or Integer.
18157 2002-01-17  Tom Tromey  <tromey@redhat.com>
18159         * java/awt/MenuComponent.java: Merged with Classpath.
18160         * java/awt/MenuItem.java: Merged with Classpath.
18161         * java/awt/Button.java: Merged with Classpath.
18163         * java/awt/ActiveEvent.java: Updated copyright.
18165         * java/awt/AWTError.java: Replaced with Classpath version.
18166         * java/awt/AWTException.java: Replaced with Classpath version.
18167         * java/awt/IllegalComponentStateException.java: Replaced with
18168         Classpath version.
18170 2002-01-16  Tom Tromey  <tromey@redhat.com>
18172         * java/awt/Canvas.java (serialVersionUID): New constant.
18173         Updated copyright.  Added javadoc from Classpath.
18174         * java/awt/ItemSelectable.java: Replaced with Classpath version.
18176         * java/awt/CheckboxGroup.java: Merged with Classpath.
18177         * java/awt/Checkbox.java: Merged with Classpath.
18179         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
18180         Classpath.
18181         * java/awt/Point.java: Updated copyright.
18183         * java/awt/Point.java (toString): Use getClass().getName().
18184         Added javadoc.
18186         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
18187         commented code.
18188         (hash): Correctly compute initial value for `h'.
18190         * java/awt/Label.java: Merged with Classpath.
18192 2002-01-15  Tom Tromey  <tromey@redhat.com>
18194         * java/awt/AWTPermission.java: Updated copyright.
18196         * java/awt/LayoutManager2.java: Merged with Classpath.
18197         * java/awt/LayoutManager.java: Merged with Classpath.
18198         * java/awt/GridLayout.java: Updated copyright and javadoc.
18199         (getSize): Use `parent.ncomponents'.  Handle insets.
18200         (layoutContainer): Use `parent.ncomponents'.  Handle case where
18201         there are fewer children than columns.  Correctly compute size of
18202         each cell in the grid.  Handle case where there isn't enough
18203         space.
18204         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
18205         all users.
18206         (gotoComponent): Use parent.ncomponents.  Ensure child exists
18207         before calling setVisible() on it.  Last item is `num - 1', not
18208         `num'.
18209         (layoutContainer): Hoist invariants out of loop.
18211         Start of AWT merge with Classpath:
18212         * Makefile.in: Rebuilt.
18213         * Makefile.am (awt_java_source_files): Reference files in
18214         gnu/java/awt, not gnu/gcj/awt.
18215         * java/awt/image/BufferedImage.java: Updated copyright.
18216         * java/awt/image/ComponentColorModel.java: Updated copyright.
18217         * java/awt/image/ComponentSampleModel.java: Updated copyright.
18218         * java/awt/image/DataBuffer.java: Updated copyright.
18219         * java/awt/image/DataBufferByte.java: Updated copyright.
18220         * java/awt/image/DataBufferInt.java: Updated copyright.
18221         * java/awt/image/DataBufferUShort.java: Updated copyright.
18222         * java/awt/image/IndexColorModel.java: Updated copyright.
18223         * java/awt/image/PackedColorModel.java: Updated copyright.
18224         * java/awt/image/Raster.java: Updated copyright.
18225         * java/awt/image/RasterOp.java: Updated copyright.
18226         * java/awt/image/SampleModel.java: Updated copyright.
18227         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
18228         * java/awt/image/WritableRaster.java: Updated copyright.
18229         * java/awt/color/ColorSpace.java: Updated copyright.
18230         * java/awt/color/ICC_ColorSpace.java: Updated copyright
18231         * java/awt/color/ICC_Profile.java: Updated copyright.
18232         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
18233         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
18234         * java/awt/event/HierarchyEvent.java: Updated copyright.
18235         * java/awt/event/HierarchyListener.java: Updated copyright.
18236         * java/awt/geom/AffineTransform.java: Updated copyright.
18237         * java/awt/geom/Dimension2D.java: Updated copyright.
18238         * java/awt/geom/Ellipse2D.java: Updated copyright.
18239         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
18240         * java/awt/geom/Line2D.java: Updated copyright.
18241         * java/awt/geom/NoninvertibleTransformException.java: Updated
18242         copyright.
18243         * java/awt/geom/PathIterator.java: Updated copyright.
18244         * java/awt/geom/Point2D.java: Updated copyright.
18245         * java/awt/geom/Rectangle2D.java: Updated copyright.
18246         * java/awt/geom/RectangularShape.java: Updated copyright.
18247         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
18248         * java/awt/Toolkit.java: Updated import for file moves.
18249         * java/awt/Rectangle.java: Updated copyright; added javadoc from
18250         Classpath.
18251         (hashCode): New method from Classpath.
18252         * java/awt/Graphics2D.java: Updated copyright.
18253         * java/awt/Transparency.java: Updated copyright.
18254         * java/awt/Paint.java: Updated copyright.
18255         * java/awt/Graphics.java: New version from Classpath.
18256         * java/awt/EventDispatchThread.java: Updated copyright.
18257         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
18258         children.
18259         (gotoComponent): Wrap around on next/previous.
18260         * gnu/gcj/awt/BitMaskExtent.java: Removed.
18261         * gnu/gcj/awt/Buffers.java: Removed.
18262         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
18263         * gnu/gcj/awt/GLightweightPeer.java: Removed.
18264         * gnu/java/awt/BitMaskExtent.java: Added.
18265         * gnu/java/awt/Buffers.java: Added.
18266         * gnu/java/awt/ComponentDataBlitOp.java: Added.
18267         * gnu/java/awt/GLightweightPeer.java: Added.
18268         * java/awt/geom/Line2D.java (clone): Ignore
18269         CloneNotSupportedException.
18270         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
18271         * java/awt/Frame.java: Merged with Classpath.
18272         * java/awt/RenderingHints.java: Copyright update.
18273         * java/awt/Paint.java: Copyright update.
18274         * java/awt/image/DirectColorModel.java: Merged with Classpath.
18275         * java/awt/image/ColorModel.java: Merged with Classpath.
18276         * java/awt/Window.java (show): New Implementation from Classpath.
18277         (isShowing): Use super.isShowing().
18278         * java/awt/EventQueue.java: Merged with Classpath.
18279         * java/awt/AWTEventMulticaster.java (save): Throw
18280         RuntimeException.
18281         (saveInternal): Likewise.
18282         * java/awt/AWTEvent.java: Now implements Serializable.
18283         * java/awt/Event.java: Copyright update.
18284         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
18285         * java/awt/image/BufferedImage.java: Copyright update.
18286         * java/awt/GraphicsConfiguration.java: Copyright update.
18287         * java/awt/Component.java: (addNotify): Don't call
18288         addNotifyContainerChildren().
18289         (addNotifyContainerChildren): Removed.
18290         (setPeer): New method from Classpath.
18291         (setTreeLock): Likewise.
18292         (setVisible): Rewrote.
18293         (show): Use it.
18294         (hide): Likewise.
18295         (validate): Set `valid'.
18296         (checkImage(Image,ImageObserver)): Implementation from Classpath.
18297         (createImage(ImageProducer)): Likewise.
18298         (prepareImage): Likewise.
18299         * java/awt/Container.java (addImpl): Handle case where constraint
18300         is not a String.  Post event via system event queue.
18301         (remove): Post event via system event queue.
18302         (validateTree): Only validate child if it is invalid.
18303         (getAlignmentX): Call super method as default.
18304         (getAlignmentY): Likewise.
18305         (addContainerListener): Now synchronized.
18306         (removeContainerListener): Likewise.
18307         (addNotifyContainerChildren): Now private.
18308         * java/awt/ComponentOrientation.java: Updated copyright.  Added
18309         @author.
18310         * java/awt/FlowLayout.java (serialVersionUID): New field.
18311         (setAlignment): Better exception message.
18312         (layoutContainer): Don't compute component's preferred size unless
18313         we're going to use it.
18314         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
18315         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
18316         (firstLine, lastLine, firstItem, lastItem): New fields.
18317         (addLayoutComponent): Handle case where constraints is null.
18318         Also, handle relative locations.
18319         (removeLayoutComponent): Handle relative locations.
18320         (MIN, MAX, PREF): New constants.
18321         (calcCompSize): New method.
18322         (calcSize): New method.
18323         (minimumLayoutSize): Use it.
18324         (preferredLayoutSize): Likewise.
18325         (maximumLayoutSize): Likewise.
18326         (toString): Include more information.
18327         (setBounds): New method.
18328         (layoutContainer): Use libgcj implementation; extended to handle
18329         relative locations.
18331 2002-01-15  Tom Tromey  <tromey@redhat.com>
18333         * java/lang/Float.java (equals): Preserve old code.
18334         * java/lang/Double.java (equals): Preserve old code.
18336 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
18338         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
18339         * java/lang/Float.java (equals, compare): Ditto.
18341 2002-01-13  Mark Wielaard  <mark@klomp.org>
18343         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
18344         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
18345         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
18346         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
18348 2002-01-11  Mark Wielaard  <mark@klomp.org>
18350         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
18351         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
18352         InetAddress.
18353         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
18354         * java/net/Socket.java: Merge with Classpath.
18355         * java/net/ServerSocket.java: Likewise.
18357 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
18359         * interpret.cc (NULLARRAYCHECK): New macro.
18360         (SAVE_PC): Just store `pc'.
18361         (find_exception): Subtract one from `pc' here.
18362         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
18363         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
18364         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
18365         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
18366         don't call SAVE_PC.
18367         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
18368         call SAVE_PC.
18370 2002-01-11  Tom Tromey  <tromey@redhat.com>
18372         * java/lang/natSystem.cc (init_properties): Only look for default
18373         locale if LC_MESSAGES is defined.
18374         * aclocal.m4, configure, include/config.h.in: Rebuilt.
18375         * configure.in: Call AM_LC_MESSAGES.
18376         * acinclude.m4 (AM_LC_MESSAGES): New macro.
18378 2002-01-10  Tom Tromey  <tromey@redhat.com>
18380         For PR libgcj/5303:
18381         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
18382         --version.  Recognize GNU-style long options.  Print GNU-style
18383         error messages.
18384         (usage): Print GNU-style help.  Exit with status 0.
18385         (error): New method.
18386         (run): Print error message if no class names found.
18387         (main): Don't print usage on error.
18389 2002-01-09  Tom Tromey  <tromey@redhat.com>
18391         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
18392         property.
18393         (help, version): Use println(), not println("").
18395         For PR libgcj/5303:
18396         * gnu/gcj/convert/Convert.java (error): Program is called
18397         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
18398         -1.
18399         (main): Handle --help and --version.
18400         (help): New method.
18401         (version): Likewise.
18403 2002-01-08  Tom Tromey  <tromey@redhat.com>
18405         * Makefile.in: Rebuilt.
18406         * Makefile.am (ordinary_java_source_files): Added new files.
18407         * gnu/java/locale/LocaleInformation.java: Extend
18408         LocaleInformation_en.
18409         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
18410         and time/date formats.
18411         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
18412         generated.
18413         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
18414         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
18415         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
18416         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
18417         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
18418         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
18419         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
18420         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
18421         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
18422         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
18423         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
18424         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
18425         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
18426         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
18427         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
18428         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
18429         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
18430         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
18431         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
18432         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
18433         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
18434         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
18435         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
18436         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
18437         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
18438         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
18439         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
18440         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
18441         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
18442         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
18443         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
18444         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
18445         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
18446         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
18447         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
18448         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
18449         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
18450         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
18451         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
18452         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
18453         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
18454         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
18455         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
18456         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
18457         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
18458         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
18459         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
18460         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
18461         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
18462         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
18463         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
18464         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
18465         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
18466         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
18467         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
18468         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
18469         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
18470         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
18471         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
18472         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
18473         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
18474         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
18475         * gnu/java/locale/LocaleInformation_es_US.java: New file.
18476         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
18477         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
18478         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
18479         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
18480         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
18481         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
18482         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
18483         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
18484         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
18485         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
18486         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
18487         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
18488         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
18489         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
18490         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
18491         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
18492         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
18493         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
18494         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
18495         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
18496         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
18497         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
18498         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
18499         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
18500         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
18501         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
18502         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
18503         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
18504         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
18505         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
18506         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
18507         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
18508         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
18509         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
18510         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
18511         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
18512         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
18513         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
18514         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
18515         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
18516         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
18517         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
18518         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
18519         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
18520         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
18521         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
18522         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
18523         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
18524         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
18525         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
18526         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
18527         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
18528         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
18529         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
18530         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
18531         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
18532         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
18533         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
18534         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
18535         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
18536         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
18537         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
18538         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
18539         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
18540         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
18541         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
18542         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
18544         For PR libgcj/5031:
18545         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
18546         choose default locale.
18548         * Makefile.in: Rebuilt.
18549         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
18551 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
18553         * java/net/natPlainSocketImpl.cc: Added timeout handling for
18554         sockets.
18555         (close): New function closes the socket.
18556         (write): New functions for output to socket.
18557         (read): New functions for reading from socket.
18558         * java/net/PlainSocketImpl.java: Glue for new timeout
18559         implementation.
18560         (write): Call the native impl.
18561         (read): Likewise.
18562         (getInputStream): Get a stream to read from the socket.
18563         (getOutputStream): Get a stream to write to the socket.
18565 2002-01-08  Tom Tromey  <tromey@redhat.com>
18567         * resolve.cc (_Jv_PrepareClass): Enable verifier.
18569 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
18571         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
18572         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
18574 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
18576         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
18577         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
18578         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
18579         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
18580         insn_bastore, insn_castore, insn_sastore]: Use it.
18581         (continue1) [insn_arraylength]: Check for null array.
18583 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
18585         * configure, include/config.h.in: Rebuilt.
18586         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
18587         * configure.in: Call AC_STRUCT_TIMEZONE.
18589 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
18591         * configure.host: Disable the interpreter for Darwin.
18593 2002-01-04  Tom Tromey  <tromey@redhat.com>
18595         * java/lang/Thread.java (stop): No longer synchronized.
18596         (start): Likewise.
18598 2002-01-02  Tom Tromey  <tromey@redhat.com>
18600         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
18601         patch.
18603 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
18605         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
18606         PPC Darwin, not for all of Darwin.