fixed bash/dash/sh issue (Ubuntu)
[zpugcc/jano.git] / toolchain / gcc / libjava / ChangeLog
blob9372f24f26dbe9374dd47b7a5d2ae8501d4d4283
1 2004-09-06  Release Manager
3         * GCC 3.4.2 released.
5 2004-07-13  Bryce McKinlay  <mckinlay@redhat.com>
7         PR libgcj/7587
8         * interpret.cc (compile_mutex): New.
9         (_Jv_InitInterpreter): New. Initialize compile_mutex.
10         (run): Lock compile_mutex before calling compile() if compilation is
11         required.
12         * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
13         * include/java-interp.h (_Jv_InitInterpreter): Declare. 
15 2004-07-11  Mohan Embar  <gnustuff@thisiscool.com>
17         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (several):
18         Removed IPv4-related conditional compilation.
19         (mcastGrp): Added missing declarations.
21 2004-07-11  Bryce McKinlay  <mckinlay@redhat.com>
23         PR libgcj/16478 
24         * prims.cc (_Jv_CreateJavaVM): Fix comment.
25         * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
26         (finalizerReady): Now native.
27         (run): Likewise.
28         (runFinalizers): Removed.
29         * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
30         a primitive lock, and don't hold it while running the finalizers.
31         (runFinalizers): Implement. Don't aquire any Java lock.
32         (finalizerReady): Use lock primitives to signal finalizer thread.
34 2004-07-11  Michael Koch  <konqueror@gmx.de>
36         PR libgcj/16473
37         * java/net/ServerSocket.java (accept): Don't create two client 
38         sockets when accepting connections.
39         * java/net/Socket.java (impl): Made package-private.
40         (implCreated): Likewise.
42 2004-07-01  Release Manager
44         * GCC 3.4.1 released.
46 2004-05-03  Michael Koch  <konqueror@gmx.de>
48         Fixes PR libgcj/14695:
49         * java/net/NetworkInterface.java
50         (getByName): Return null when no interface was found.
52 2004-04-18  Release Manager
54         * GCC 3.4.0 released.
56 2004-03-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
58         * verify.cc: Undef PC.
60 2004-03-11  Alan Modra  <amodra@bigpond.net.au>
62         * include/powerpc-signal.h: Revert 2004-01-21 change.
63         (INIT_SEGV, INIT_FPE): Provide powerpc64 versions.  Check return
64         from syscall for ppc32 versions.
66 2004-02-25  Andrew Haley  <aph@redhat.com>
68         PR java/14296:
69         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Make sure
70         we have a valid method index.
72 2004-02-14  Per Bothner  <per@bothner.com>
74         * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
75         Set closed before calling implCloseChannel, as in the spec.
77 2004-02-08  Per Bothner  <per@bothner.com>
79         * java/nio/ByteBuffer.java (shiftDown):  New helper method.
80         * java/nio/natDirectByteBufferImpl.cc (shiftDown):  New implementation.
81         * java/nio/ByteBufferImpl.java (compact):  Use new shiftDown method.
82         * sava/nio/ByteBufferHelper.java:  Remove redundant 'final' specifiers.
83         Pass ByteOrder parameter to most methods, since the underlying
84         ByteBuffer's order isn't always what we should use.
85         * java/nio/ByteBufferImpl.java:  Pass byte-order various places.
86         * java/nio/DirectByteBufferImpl.java:  Likewise.
87         Use ByteBufferHelper methods.
88         * java/nio/MappedByteBufferImpl.java:  Likewise.
89         (compact):  Use shiftDown.
90         * java/nio/CharViewBufferImpl.java (<init>):  Pass byte-order.
91         (get, put):  Use ByteBufferHelper.
92         (compact):  Use new shiftDown method.
93         (duplicate(boolean)):  New helper method.
94         (duplicate, asReadOnlyBuffer):  Use it.
95         (order):  Return endian field.
96         * java/nio/DoubleViewBufferImpl.java:  Likewise.
97         * java/nio/FloatViewBufferImpl.java:  Likewise.
98         * java/nio/IntViewBufferImpl.java:  Likewise.
99         * java/nio/LongViewBufferImpl.java:  Likewise.
100         * java/nio/ShortViewBufferImpl.java:  Likewise.
101         * java/nio/CharViewBufferImpl.java (subsequence):  Redundant test.
102         * java/nio/DirectByteBufferImpl.java (shiftDown):  New native method.
103         (compact):  Re-implement using shiftDown.
105 2004-02-05  Michael Koch  <konqueror@gmx.de>
107         * gnu/java/nio/NIOServerSocket.java
108         (impl): Unused, removed.
109         * gnu/java/nio/SocketChannelImpl.java
110         (finnishConnect): Don't throw NoConnectionPendingException if not
111         connected or no connection pending.
113 2004-02-03  Tom Tromey  <tromey@redhat.com>
115         * java/lang/natPosixProcess.cc (startProcess): Handle case where
116         PATH or LD_LIBRARY_PATH is not set in parent environment.
118 2004-02-03  Mohan Embar  <gnustuff@thisiscool.com>
120         * gnu/java/nio/DatagramChannelImpl.java
121         (inChannelOperation): New field.
122         (isInChannelOperation): New accessor.
123         (setInChannelOperation): New modifier.
124         (receive): Use capacity() - position() of destination
125         buffer instead of remaining(). Set and reset our "in
126         channel operation indicator" before and after delegating
127         the receive to our datagram socket. Removed testing code.
128         Update destination buffer's current position if it is
129         backed by a byte array (hasArray() is true).
130         (send): Set and reset our "in channel operation indicator"
131         before and after delegating the send to our datagram socket.
132         Removed testing code. Update source buffer's current position
133         if it is backed by a byte array (hasArray() is true).
134         * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
135         Use capacity() - position() of destination buffer instead
136         of remaining().
137         * java/net/DatagramSocket.java (receive): Don't throw an
138         IllegalBlockingModeException if we have a non-blocking
139         channel which initiated this operation.
140         (send): Likewise.
142 2004-02-03  Mohan Embar  <gnustuff@thisiscool.com>
144         * gnu/java/net/PlainSocketImpl.java 
145         (inChannelOperation): New field.
146         (isInChannelOperation): New accessor.
147         (setInChannelOperation): New modifier.
148         * gnu/java/nio/ServerSocketChannelImpl.java
149         (accept): Set and reset our server socket's PlainSocketImpl's
150         "in channel operation" indicator before and after delegating
151         the accept to our server socket.
152         * gnu/java/nio/SocketChannelImpl.java
153         (connect): Set and reset our socket's PlainSocketImpl's "in channel
154         operation" indicator before and after delegating the operation to
155         our socket.
156         (read): Likewise.
157         (write): Likewise.
158         * java/net/ServerSocket.java (implAccept): Don't throw an
159         IllegalBlockingModeException if we have a non-blocking
160         channel which initiated this accept operation.
161         * java/net/Socket.java (connect): Don't throw an
162         IllegalBlockingModeException if we have a non-blocking
163         channel which initiated this connect operation.
164         * java/nio/channels/spi/AbstractSelectableChannel.java
165         (configureBlocking): Only call implConfigureBlocking() if
166         the desired blocking mode is different from our current one.
168 2004-01-24  Michael Koch  <konqueror@gmx.de>
170         * gnu/java/net/protocol/http/Connection.java
171         (connect): Don't initialize bufferedOutputStream if not needed.
172         (sendRequest): Set property for content length if content is present.
173         Write content only if present.
174         (getOutputStream): Check if already connected, dont connect,
175         initalize bufferedOutputStream if needed.
177 2004-01-24  Michael Koch  <konqueror@gmx.de>
179         * Makefile.am: Added library version to gtk peer lib.
180         * Makefile.in: Regenerated.
182 2004-01-21  Jakub Jelinek  <jakub@redhat.com>
184         * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
185         header.  For __powerpc64__ provide the default-signal.h definitions
186         for now.
187         * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
188         instead of the dummy definitions.
189         * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
190         (powerpc64*-*): Remove with_libffi_default.
191         Only add -mminimal-toc for 64-bit compilations.
192         * configure.in: Use powerpc-signal.h on powerpc64 as well.
193         (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
194         Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
195         * configure: Rebuilt.
197 2004-01-21  Tom Tromey  <tromey@redhat.com>
199         PR java/13468:
200         * Makefile.in: Rebuilt.
201         * Makefile.am (interpret.lo): New target.
203 2004-01-20  Jakub Jelinek  <jakub@redhat.com>
205         * Makefile.am (lib_org_w3c_dom_la_LIBADD,
206         lib_org_w3c_dom_la_LDFLAGS): New.
207         (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
208         * Makefile.in: Rebuilt.
210 2004-01-19  Matthias Klose  <doko@debian.org>
212         * libtool-version: Increased `current' to 5.
214 2004-01-16  Andrew Haley  <aph@redhat.com>
216         * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
217         * sysdep/i386/locks.h: Likewise.
219 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
221         * java/awt/EventDispatchThread.java (run): Stop running when
222         interrupted.
223         * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
224         Reset the queue after transferring its contents.
225         (push): Start a new dispatch thread if none is running.
227 2004-01-16  Olga Rodimina <rodimina@redhat.com>
229         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
230         (doPolygon): set fill rule of polygon to 
231         WIND_EVEN_ODD by default.
233 2004-01-15  Olga Rodimina <rodimina@redhat.com>
235         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
236         Implemented rendering hints related methods.
237         (getDefaultHints): New helper method. Returns
238         default rendering hints.
239         (walkPath): changed to normalize path if
240         the KEY_STROKE_CONTROL key is in "normalize" mode.
241         (draw3DRect): changed coordinates of rectangle by +0.5
242         if in "normalize" mode.
244 2004-01-15  Tom Tromey  <tromey@redhat.com>
246         * Makefile.in: Rebuilt.
247         * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
248         (%.lo: %.java) Filter out StackTrace.lo.
250 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
252         * configure.in: Add in AC_PREREQ(2.13)
253         * libltdl/configure.ac: Update to AC_PREREQ(2.57).  Delete 
254         FIXME comment.
256 2004-01-14  Nathan Bryant  <nbryant@optonline.net>
257             Tom Tromey  <tromey@redhat.com>
259         PR libgcj/12001:
260         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
261         array to superclass.
262         (init): Changed interface; add URLs here.
263         (initialize): New static method.
264         * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
265         (_Jv_RunMain): ... not here.
267 2004-01-14  Michael Koch  <konqueror@gmx.de>
269         * java/text/MessageFormat.java:
270         Added descriptions to exceptions.
271         This fixes PR libgcj/2429.
273 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
275         * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
276         (push): Make sure push is performed at the top of the thread stack.
278 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
280         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
281         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
282         (native create): Add width and height parameters.  Set text
283         view's size request according to new parameters.
284         (create): Calculate text view size based on current font's
285         metrics and number of rows and columns.  Set TextArea's font if
286         not already set.  Call native create.
287         (getMinimumSize): Call minimumSize.
288         (getPreferredSize): Call preferredSize.
289         (getHScrollbarHeight): New method.
290         (getVScrollbarWidth): New method.
291         (minimumSize): Calculate minimum size based on scrollbar
292         visibility, scrollbar sizes, font metrics and number of rows and
293         columns.
294         (preferredSize): Likewise for preferred size.
295         (gtkTextGetSize): Remove method.
297 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
299         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
300         (initializeInsets): Remove method.
301         (GtkComponentPeer): Initialize insets field.  Remove call to
302         initializeInsets.
303         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
304         Remove method.
305         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
306         Remove method.
307         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
308         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
309         (latestInsets): Remove field.
310         (native create): Add insets parameter.  Call
311         window_get_frame_extents.  Set the window's default size and
312         size request based on its frame extents.
313         (create): Initialize insets.
314         (postInsetsChangedEvent): New method.
315         (postConfigureEvent): Remove parameters top, left, bottom,
316         right.  Remove insets-related logic.
317         (connectJObject): Handle property-notify-event.
318         (window_get_frame_extents, request_frame_extents,
319         property_notify_predicate, window_property_changed_cb): New
320         static functions.
321         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
322         (pre_event_handler): Remove insets-related logic for configure
323         events.
324         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
325         Update postConfigureEvent signature.
327 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
329         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
330         to handle Window "Closing" events.
332 2004-01-13  David Jee  <djee@redhat.com>
334         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
335         (setBackground): New method. Children with no explicitly-set
336         background will be repainted with the parent container's new
337         background color.
339 2004-01-13  David Jee  <djee@redhat.com>
341         * Makefile.am: Add BitwiseXORComposite.java.
342         * Makefile.in: Regenerated.
343         * gcj/Makefile.in: Regenerated.
344         * include/Makefile.in: Regenerated.
345         * testsuite/Makefile.in: Regenerated.
347 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
349         * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
350         not show modal dialogs twice and so that it allows showing a modal
351         dialog from another modal dialog.
353 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
355         * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
356         and run secondary dispatch thread to process event queue while this
357         thread is blocked.
359 2004-01-12  Graydon Hoare  <graydon@redhat.com>
361         * gnu/java/awt/gtk/GdkGraphics2D.java
362         (static): Check GtkToolkit before initializing static state.
363         (Graphics2D): Don't construct transform with 0.5 unit offset.
365 2003-11-06  Sascha Brawer  <brawer@dandelis.ch>
367         * gnu/java/awt/BitwiseXORComposite.java: Add.
368         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
369         (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
370         (BitwiseXORComposite): Remove inner class.
372 2004-01-11  Michael Koch  <konqueror@gmx.de>
374         * gnu/java/lang/reflect/TypeSignature.java
375         (getEncodingOfClass): Documentation fixed.
376         (getClassForEncoding): Give class loader to Class.forName().
377         Documentation fixed.
379 2004-01-11  Sascha Brawer  <brawer@dandelis.ch>
381         * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
383 2004-01-11  Michael Koch  <konqueror@gmx.de>
385         * javax/swing/undo/StateEditable.java
386         (RCSID): Removed redundant modifiers.
388 2004-01-10  Michael Koch  <konqueror@gmx.de>
390         * javax/print/attribute/EnumSyntax.java
391         (getStringTable): Made protected.
392         (getEnumValueTable): Likewise.
393         * javax/print/attribute/standard/JobKOctetsProcessed.java
394         (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
395         * javax/print/attribute/standard/JobMediaSheetsCompleted.java
396         (JobMediaSheetsCompleted): Made class final.
397         * javax/print/attribute/standard/OutputDeviceAssigned.java
398         (getName): Fixed typo.
399         * javax/print/attribute/standard/RequestingUserName.java
400         (serialVersionUID): Fixed value.
402 2004-01-10  Michael Koch  <konqueror@gmx.de>
404         * javax/swing/plaf/basic/BasicButtonUI.java,
405         javax/swing/plaf/basic/BasicCheckBoxUI.java,
406         javax/swing/plaf/basic/BasicListUI.java,
407         javax/swing/plaf/basic/BasicOptionPaneUI.java,
408         javax/swing/plaf/basic/BasicPanelUI.java,
409         javax/swing/plaf/basic/BasicRadioButtonUI.java,
410         javax/swing/plaf/basic/BasicScrollPaneUI.java,
411         javax/swing/plaf/basic/BasicToggleButtonUI.java,
412         javax/swing/plaf/basic/BasicViewportUI.java:
413         Fixed import statements.
415 2004-01-10  Michael Koch  <konqueror@gmx.de>
417         * gnu/java/awt/image/ImageDecoder.java
418         (produce): Made public.
419         * gnu/java/awt/peer/GLightweightPeer.java,
420         gnu/java/awt/peer/gtk/GtkToolkit.java:
421         Reformated.
423 2004-01-10  Michael Koch  <konqueror@gmx.de>
425         * javax/swing/JRadioButtonMenuItem.java,
426         javax/swing/JSeparator.java,
427         javax/swing/JSplitPane.java,
428         javax/swing/JTextPane.java,
429         javax/swing/JToolBar.java,
430         javax/swing/ListCellRenderer.java,
431         javax/swing/ListModel.java,
432         javax/swing/MenuElement.java,
433         javax/swing/OverlayLayout.java,
434         javax/swing/ProgressMonitor.java,
435         javax/swing/ProgressMonitorInputStream.java,
436         javax/swing/Renderer.java,
437         javax/swing/RootPaneContainer.java,
438         javax/swing/Scrollable.java,
439         javax/swing/SingleSelectionModel.java,
440         javax/swing/ToolTipManager.java,
441         javax/swing/ViewportLayout.java,
442         javax/swing/event/DocumentEvent.java,
443         javax/swing/event/SwingPropertyChangeSupport.java,
444         javax/swing/event/TreeSelectionEvent.java,
445         javax/swing/event/UndoableEditEvent.java,
446         javax/swing/text/AbstractDocument.java,
447         javax/swing/text/AttributeSet.java,
448         javax/swing/text/Caret.java,
449         javax/swing/text/ComponentView.java,
450         javax/swing/text/DefaultCaret.java,
451         javax/swing/text/DefaultEditorKit.java,
452         javax/swing/text/Document.java,
453         javax/swing/text/EditorKit.java,
454         javax/swing/text/GapContent.java,
455         javax/swing/text/Keymap.java,
456         javax/swing/text/MutableAttributeSet.java,
457         javax/swing/text/PlainEditorKit.java,
458         javax/swing/text/Segment.java,
459         javax/swing/text/Style.java,
460         javax/swing/text/StyledDocument.java,
461         javax/swing/text/StyledEditorKit.java,
462         javax/swing/text/TextAction.java,
463         javax/swing/text/View.java: Fixed import statements.
465 2004-01-08  Graydon Hoare  <graydon@redhat.com>
467         * javax/swing/JLayeredPane.java: Rewrite to accomodate
468         djee@redhat.com's recent inverse ordering of Container elements.
470 2004-01-09  Michael Koch  <konqueror@gmx.de>
472         * gnu/java/lang/ArrayHelper.java
473         (equalsArray): Removed.
475 2004-01-09  Andrew Haley  <aph@redhat.com>
477         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
478         a Utf8Const field before looking at its class.
480 2004-01-09  Michael Koch  <konqueror@gmx.de>
482         * javax/print/attribute/standard/DocumentName.java,
483         javax/print/attribute/standard/JobHoldUntil.java,
484         javax/print/attribute/standard/JobMessageFromOperator.java,
485         javax/print/attribute/standard/JobName.java,
486         javax/print/attribute/standard/JobOriginatingUserName.java,
487         javax/print/attribute/standard/OutputDeviceAssigned.java,
488         javax/print/attribute/standard/PrinterInfo.java,
489         javax/print/attribute/standard/PrinterLocation.java,
490         javax/print/attribute/standard/PrinterMakeAndModel.java,
491         javax/print/attribute/standard/PrinterMessageFromOperator.java,
492         javax/print/attribute/standard/PrinterName.java,
493         javax/print/attribute/standard/RequestingUserName.java: New files.
494         * Makefile.am (javax_source_files): Added new files.
495         * Makefile.in: Regenerated.
497 2004-01-09  Michael Koch  <konqueror@gmx.de>
499         * javax/swing/AbstractAction.java,
500         javax/swing/AbstractSet.java,
501         javax/swing/Action.java,
502         javax/swing/ActionMap.java,
503         javax/swing/BoundedRangeModel.java,
504         javax/swing/ButtonModel.java,
505         javax/swing/CellEditor.java,
506         javax/swing/CellRendererPane.java,
507         javax/swing/ComboBoxEditor.java,
508         javax/swing/DebugGraphics.java,
509         javax/swing/DefaultCellEditor.java,
510         javax/swing/DefaultCellRenderer.java,
511         javax/swing/DefaultComboBoxModel.java,
512         javax/swing/DefaultDesktopManager.java,
513         javax/swing/DefaultFocusManager.java,
514         javax/swing/DefaultListCellRenderer.java,
515         javax/swing/Icon.java,
516         javax/swing/JButton.java,
517         javax/swing/JCheckBoxMenuItem.java,
518         javax/swing/JDesktopPane.java,
519         javax/swing/JEditorPane.java,
520         javax/swing/JMenu.java,
521         javax/swing/JPanel.java,
522         javax/swing/JPasswordField.java,
523         javax/swing/JPopupMenu.java,
524         javax/swing/JProgressBar.java: Reworked imports.
526 2004-01-09  Michael Koch  <konqueror@gmx.de>
528         * java/awt/geom/PathIterator.java
529         (WIND_EVEN_ODD): Removed redundant modifiers.
530         (WIND_NON_ZERO): Likewise.
531         (SEG_MOVETO): Likewise.
532         (SEG_LINETO): Likewise.
533         (SEG_QUADTO): Likewise.
534         (SEG_CUBICTO): Likewise.
535         (SEG_CLOSE): Likewise.
536         * java/awt/image/SinglePixelPackedSampleModel.java:
537         Removed redundant semicolon.
538         * java/io/ObjectInputStream.java
539         (inputGetObjectStreamClasses): Removed unused variable "ret_val".
540         * java/util/logging/Filter.java
541         (isLoggable): Removed redundant modifier.
542         * java/util/logging/LogManager.java:
543         Removed redundant semicolon.
544         * java/util/logging/XMLFormatter.java
545         (format): Removed unused variable "key".
547 2004-01-08  Fernando Nasser  <fnasser@redhat.com>
549         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
550         New name for the former setFile native method.
551         (setFile): New method.
552         (setDirectory): Implemented.
553         (connectSignals): New native method.
554         (setFilenameFilter): Improve comment.
555         (getGraphics): Comment.
556         (gtkHideFileDialog): New method.
557         (gtkDisposeFileDialog): New method.
558         (gtkSetFilename): New method.
559         * java/awt/Dialog.java (show): Block on modal dialogs, but only
560         for FileDialog for now.
561         (hide): New method.
562         (dispose): New method.
563         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
564         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
565         deprecated creation functions.  Make dialog modal.  Add it to the
566         window group.
567         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
568         function.
569         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
570         Rename to...
571         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
572         name.
573         (window_closed): New function.
574         (ok_clicked): New function.
575         (cancel_clicked): New function.
577 2004-01-08  Michael Koch  <konqueror@gmx.de>
579         * javax/swing/JLayeredPane.java: Revert changes to standard
580         boilerplate, reworked imports.
582 2004-01-07  Tom Tromey  <tromey@redhat.com>
584         PR libgcj/13439:
585         * verify.cc (state::merge): Copy changed locals out of subroutine
586         in NO_STACK case.
587         (state::FLAG_CHANGED): New const.
588         (state::FLAG_UNUSED): Likewise.
589         (state::local_changed): Removed.  Updated all users.
590         (state::flags): New field.
591         (state::merge): Added jsr_semantics argument, more logic.
592         (push_jump_merge): Added jsr_semantics argument.
593         (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
594         merging through the jsr instruction.
596 2004-01-07  Tom Tromey  <tromey@redhat.com>
598         * scripts/MakeDefaultMimeTypes.java: Use \n, not
599         backslash-newline.
601 2004-01-07  Graydon Hoare  <graydon@redhat.com>
603         * java/awt/Container.java (LightweightDispatcher): Implement.
604         (visitChild): Reuse graphics object.
605         (dispatchEventImpl): Optionally dispatch to lightweight.
606         (addNotifyContainerChildren): Build LightweightDispatcher.
608 2004-01-07  David Jee  <djee@redhat.com>
610         * java/awt/Container.java
611         (update): Clear only the clipped region, instead of clearing the
612         entire Container.
613         (visitChildren): Visit children in descending order.
615 2004-01-07  Michael Koch  <konqueror@gmx.de>
617         * java/lang/reflect/Array.java: Merged documentation with classpath.
619 2004-01-07  Michael Koch  <konqueror@gmx.de>
621         * java/text/CollationElementIterator.java
622         (textIndex): Renamed from index.
623         * java/text/CollationKey.java
624         (collator): New member.
625         (CollationKey): New argument for parent collator.
626         (equals): Check for same collator, source string and key array.
627         * java/text/RuleBasedCollator.java:
628         Reformated.
629         (RuleBasedCollator): Don't re-initialize frenchAccents with default
630         value.
631         (getCollationElementIterator): Rewritten.
632         (getCollationKey): Added new argument to CollationKey constructor.
634 2004-01-07  Michael Koch  <konqueror@gmx.de>
636         * gnu/java/nio/DatagramChannelImpl.java
637         (blocking): Removed.
638         (DatagramChannelImpl): Call configureBlocking().
639         (implConfigureBlocking): Dont initialize blocking.
640         * gnu/java/nio/ServerSocketChannelImpl.java
641         (blocking): Removed.
642         (ServerSocketChannelImpl): Call configureBlocking().
643         (implConfigureBlocking): Dont initialize blocking.
644         * gnu/java/nio/SocketChannelImpl.java
645         (blocking): Removed.
646         (SocketChannelImpl): Call configureBlocking().
647         (implConfigureBlocking): Dont initialize blocking.
648         (connect): Use isBlocking().
649         * java/nio/channels/spi/AbstractSelectableChannel.java
650         (configureBlocking): Use blockingLock() instead of LOCK.
651         Set blocking after successfully called implConfigureBlocking().
652         (register): Use blockingLock() instead of LOCK.
654 2004-01-07  Michael Koch  <konqueror@gmx.de>
656         * java/net/ServerSocket.java (isBound): Fixed documentation.
658 2004-01-07  Sascha Brawer  <brawer@dandelis.ch>
660         * javax/swing/DefaultBoundedRangeModel.java: Documented API.
661         (changeEvent): Create event object on demand.
662         (DefaultBoundedRangeModel, toString, setValue, setExtent,
663         setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
664         fireStateChanged): Re-written.
665         * javax/swing/event/EventListenerList.java: Reformatted, document
666         typical usage.
667         (toString): Implemented.
668         (getListeners): Re-written.
669         (remove): Re-written.
670         (add): Re-written.
671         (NO_LISTENERS): New singleton field.
672         (listenerList): Declare as transient; document.
673         (serialVersionUID): Document.
674         (getListenerCount(Class)): More efficient implementation,
675         also accepts null argument.  Improve Javadoc.
676         (getListenerCount()): Remove unnecessary cast; docfix.
677         * javax/swing/undo/UndoableEditSupport.java:
678         Re-format, document.
679         (UndoableEditSupport): Set realSource field. Improve documentation.
680         (_postEdit): Iterate over cloned listener vector.
681         (toString): Don't emit realSource.
682         (beginUpdate, endUpdate): Support nested updates.
683         (postEdit): Use compound edit if present.
685 2004-01-06  Graydon Hoare  <graydon@redhat.com>
687         * java/awt/Container.java (swapComponents): Add forgotten
688         function, required for JLayeredPane change.
690 2004-01-06  Michael Koch  <konqueror@gmx.de>
692         * java/text/CollationElementIterator.java: Reformated.
693         (CollationElementIterator): Changed order of arguments.
694         * java/text/RuleBasedCollator.java
695         (RuleBasedCollator): Merged class documentation.
696         (CollationElement): Added documentation.
697         (compare): Reformated, renamed arguments.
698         (equals): Likewise.
699         (getCollationElementIterator): Likewise.
700         (getCollationKey): Likewise.
702 2004-01-06  Graydon Hoare  <graydon@redhat.com>
704         * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
706 2004-01-06  Michael Koch  <konqueror@gmx.de>
708         * gnu/java/net/protocol/file/Connection.java:
709         Reformated copyright.
710         (hdrHash): Removed.
711         (hdrVec): Removed.
712         (gotHeaders): Removed.
713         (getHeaderField): Removed.
714         (getHeaderField): Removed.
715         (getHeaderFieldKey): Removed.
716         (getKey): Removed.
717         (getField): Removed.
718         (getHeaders): Removed.
720 2004-01-06  Michael Koch  <konqueror@gmx.de>
722         * javax/print/attribute/standard/DateTimeAtCompleted.java,
723         javax/print/attribute/standard/DateTimeAtCreation.java,
724         javax/print/attribute/standard/DateTimeAtProcessing.java,
725         javax/print/attribute/standard/JobImpressionsCompleted.java,
726         javax/print/attribute/standard/JobKOctets.java,
727         javax/print/attribute/standard/JobKOctetsProcessed.java,
728         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
729         javax/print/attribute/standard/JobPrioritySupported.java: New files.
730         * Makefile.am (javax_source_files): Added new files.
731         * Makefile.in: Regenerated.
733 2004-01-06  Michael Koch  <konqueror@gmx.de>
735         * java/net/URLConnection.java
736         (contentHandler): Removed.
737         (locale): Removed.
738         (getHeaderFields): Return an empty map instead of null.
739         (getContent): Connect if needed, renamed "cType" to "type" and
740         "contentHandler" to "ch" and made it a local variable.
741         (getPermission): Don't use package in class name.
742         (setDefaultRequestProperty): Fixed typo in documentation.
743         (initializeDateFormats): Made locale a local variable.
745 2004-01-06  Michael Koch  <konqueror@gmx.de>
747         * java/lang/Package.java
748         (getPackage): Get the current class loader directly.
749         * java/lang/SecurityManager.java
750         (currentLoadedClass): Dont iterate over class contexts.
751         (classLoaderDepth): Don't check class loaders if everything is allowed.
753 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
755         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
756         (pre_event_handler): Set all insets to 0 when a Configure event
757         is received for a GtkPlug.
758         * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
759         Make handle long, not int.
760         (EmbeddedWindow()): New constructor.
761         (EmbeddedWindow(int)): Rename window_id to handle.  Make handle
762         long, not int.
763         (setHandle): New method.
764         (getHandle): Return long, not int.
765         * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
766         declaration.
767         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
768         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
769         (create(long)): Take long parameter, not int.  Cast gtk_plug_new
770         argument to GdkNativeWindow.
771         (construct): New method.
772         (embed): New method.
774         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
775         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
776         (create(int, int)): New method.
777         (create): Call new create method.
778         (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
779         methods.
780         (childResized): Remove native implementation.  Implement in
781         Java.
782         (getHScrollbarHeight, getVScrollbarWidth): Call
783         gtk_widget_size_request to get scrollbar dimensions.
784         * java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
785         call getVScrollbarWidth and getHScrollbarHeight when vertical
786         and horizontal scrollbars respectively are needed.
787         (doLayout): Enlarge child if it is smaller than the viewport.
789 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
791         * java/awt/Dialog.java (constructor): Accept null title as per spec.
792         * java/awt/FileDialog.java (constructor): Throw exception on invalid
793         argument as per spec.
795 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
797         * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
798         (insert): Ditto.
799         (remove): Ditto.  Also, Check for valid argument.
800         (removeAll): Use peer interface method.
801         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
802         native add function.
803         (nativeRemove): New name for native remove function.
804         (getHistory): New native function.
805         (constructor): Generate ItemEvent.
806         (add): Ditto, if selection is changed.
807         (remove): Ditto, ditto.
808         (removeAll): Add implementation.
809         (handleEvent): Remove.  Dead code.
810         (choicePostItemEvent): Add comment.
811         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
812         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
813         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
814         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
815         comments and fix condition to change selection.
816         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
817         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
818         remove all capability.
819         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
820         (item_activate): Add cast to remove compiler warning.
822 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
824         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
825         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
826         (getPreferredSize): Call preferredSize.
827         (preferredSize): Call gtkWidgetGetPreferredDimensions.
828         (getMinimumSize): Call minimumSize.
829         (minimumSize): Call gtkWidgetGetPreferredDimensions.
830         (gtkWidgetGetDimensions): Return the peer widget's current size
831         request.
832         (gtkWidgetGetPreferredDimensions): Return the peer widget's
833         natural size request.
835 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
837         Thanks to Brian Gough <bjg@network-theory.com>
838         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
839         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
841 2004-01-04  Matthias Klose  <doko@debian.org>
843         * aclocal.m4: Rebuilt using "aclocal -I .".
844         * configure: Rebuilt.
846 2004-01-03  Per Bothner  <per@bothner.com>
848         * java/util/Date.java (parse):  Fix a number of problems.
849         (skipParens):  Remove no-longer-needed method.
851 2003-12-31  Michael Koch  <konqueror@gmx.de>
853         * gnu/java/net/protocol/http/Connection.java
854         (sendRequest): Dont encode output in default character encoding,
855         add correct version number to HTTP user agent string.
857 2003-12-31  Graydon Hoare  <graydon@redhat.com>
859         * configure.in: Add --enable-gtk-cairo check.
860         * configure: Regenerate.
861         * Makefile.am: Conditionally link against cairo.
862         * Makefile.in: Regenerate.
863         * acinclude.m4: Include PKG_CHECK_MODULES.
864         * aclocal.m4: Regenerate.
865         * gnu/java/awt/peer/gtk/GtkToolkit.java (useGraphics2D): New method.
866         (getFontMetrics, getClasspathFontPeer):
867         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics):
868         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (createImage):
869         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (getGraphics):
870         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics):
871         Switch behavior depending on GtkToolkit.useGraphics2D().   
872         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Extend ClasspathFontPeer.
873         * java/awt/Font.java: Switch to peer model.
874         * jni/gtk-peer/gtkcairopeer.h: Definitions of cairo stuff.
875         * jni/gtk-peer/gdkfont.h: Include gtkcairopeer.h.
876         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Include gtkcairopeer.h.
877         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: Un-include gtkpeer.h. 
879 2003-12-31  Guilhem Lavaux  <guilhem@kaffe.org>
881         * java/io/ObjectOutputStream.java
882         (putFields): Reindented. Fixed behaviour: currentPutField should be
883         null
884         before calling this method.
885         (writeFields): Likewise.
886         (markFieldsWritten): Fixed the exception message.
887         (callWriteMethod): Ensure currentPutField is null.
888         (getBooleanField): Translate IllegalArgumentException into
889         InvalidClassException.
890         (getByteField): Likewise.
891         (getCharField): Likewise.
892         (getDoubleField): Likewise.
893         (getFloatField): Likewise.
894         (getIntField): Likewise.
895         (getLongField): Likewise.
896         (getShortField): Likewise.
897         (getObjectField): Check the type code before returning the object.
898         (getField): Translate NoSuchFieldException into InvalidClassException
899         directly.
901 2003-12-31 Guilhem Lavaux <guilhem@kaffe.org>
903         * java/net/URL.java
904         (URL): Change context path to "/" if it is empty.
906 2003-12-31  Michael Koch  <konqueror@gmx.de>
908         * testsuite/libjava.mauve/xfails: Removed tests that pass now:
909         XPASS: gnu.testlet.java.net.URL.URLTest: new URL(string) (number 16)
910         XPASS: gnu.testlet.java.net.URL.URLTest: new URL(string) (number 18)
911         XPASS: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file)
912         (number 26)
913         XPASS: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file)
914         (number 54)
915         
917 2003-12-30 Guilhem Lavaux <guilhem@kaffe.org>
919         * java/util/GregorianCalendar.java
920         (computeFields): Reported by Ito Kazumitsu <kaz@maczuka.gcd.org>.
921         Fixed the computation of DAY_OF_WEEK_IN_MONTH.
922         (computeTime): 12:00 midnight is AM and 12:00 noon is PM.
924 2003-12-30  Michael Koch  <konqueror@gmx.de>
926         * testsuite/libjava.mauve/xfails: Removed the following testcase
927         because it passes now:
928         FAIL: gnu.testlet.java.text.SimpleDateFormat.Test: parse() strict
929         (number 1)
931 2003-12-30  Michael Koch  <konqueror@gmx.de>
933         * java/io/ObjectInputStream.java,
934         java/io/ObjectOutputStream.java,
935         java/io/ObjectStreamClass.java:
936         Reformated, no functional code changes.
938 2003-12-30  Michael Koch  <konqueror@gmx.de>
940         * gnu/java/net/protocol/http/Connection.java
941         (outputStream): New field.
942         (bufferedOutputStream): New field.
943         (connect): Initialize outputStream and bufferedOutputStream.
944         (sendRequest): Create PrintWriter object from outputStream,
945         support HTTP 1.1, send missing HTTP headers and buffered output data
946         for POST method.
947         (getOutputStream): Set request method to POST if output stream is
948         used, return bufferedOutputStream.
949         (setRequestMethod): Allow HEAD and POST methods.
950         This fixes libgcj PR/6302 and libgcj PR/7752.
952 2003-12-30  Guilhem Lavaux <guilhem@kaffe.org>
954         * java/io/LineNumberReader.java
955         (countLines): Removed.
956         (fill): New private method.
957         (mark): Changed logic to use and matchedNewLine.
958         (reset): Likewise.
959         (read): Likewise.
960         (skipRedundantLF): Likewise.
962 2003-12-30  Michael Koch  <konqueror@gmx.de>
964         * gnu/java/net/protocol/http/Connection.java
965         (requestProperties): New field.
966         (addRequestProperty): New method.
967         (getRequestProperty): New method.
968         (setRequestProperty): New method.
969         (getRequestProperties): New method.
971 2003-12-28  Michael Koch  <konqueror@gmx.de>
973         * gnu/java/net/protocol/http/Connection.java
974         (inputStream): Made it a DataInputStream.
975         (requestProperties): Removed.
976         (hdrHash): Removed.
977         (hdrVec): Removed.
978         (headers): New field to store headers.
979         (connect): Initialize inputStream.
980         (receiveReply): Merged from classpath. The new algorithm is line based
981         instead of character based.
982         (getHeaderField): Use headers.
983         (getHeaderFields): Use headers.
984         (getKey): Removed.
985         (getField): Removed.
986         * gnu/java/net/HeaderFieldHelper.java: New file.
987         * Makefile.am (ordinary_java_source_files):
988         Added gnu/java/net/HeaderFieldHelper.java.
989         * Makefile.in: Regenerated.
991 2003-12-28  Guilhem Lavaux <guilhem@kaffe.org>
993         * java/io/LineNumberReader.java
994         (mark): Improved error checking.
995         (read): Likewise.
996         (skip): Likewise. Skip is now really eating the specified number of
997         characters.
998         * java/io/CharArrayReader.java (read): It should throw
999         IndexOutOfBoundsException and not ArrayIndexOutOfBoundsException (see
1000         mauve).
1001         * java/io/BufferedReader.java (readLine): Make readLine() really block
1002         until either EOF is reached or a true error happens.
1004 2003-12-27  Michael Koch  <konqueror@gmx.de>
1006         * gnu/java/net/protocol/http/Connection.java
1007         (getRequestProperty): Removed.
1008         (setRequestProperty): Removed.
1010 2003-12-27  Michael Koch  <konqueror@gmx.de>
1012         * gnu/java/net/protocol/http/Connection.java
1013         (connect): Call receiveReply().
1014         (receiveReply): Renamed from getHttpHeaders().
1015         (getOutputStream): Moved check on doOutput before check for connection
1016         state.
1018 2003-12-27  Michael Koch  <konqueror@gmx.de>
1020         * javax/print/attribute/ResolutionSyntax.java,
1021         javax/print/attribute/SetOfIntegerSyntax.java,
1022         javax/print/attribute/Size2DSyntax.java,
1023         javax/print/attribute/standard/Copies.java,
1024         javax/print/attribute/standard/JobImpressions.java,
1025         javax/print/attribute/standard/JobMediaSheets.java,
1026         javax/print/attribute/standard/NumberOfDocuments.java,
1027         javax/print/attribute/standard/NumberOfInterveningJobs.java,
1028         javax/print/attribute/standard/PagesPerMinute.java,
1029         javax/print/attribute/standard/PagesPerMinuteColor.java,
1030         javax/print/attribute/standard/QueuedJobCount.java:
1031         Fixed typo (s/then/than/).
1033 2003-12-27  Guilhem Lavaux  <guilhem@kaffe.org>
1035         * java/rmi/Naming.java (lookup): Check if the first character of the
1036         filename returned by URL.getFile() is a '/', only if it is the case
1037         we cut this first character and call the registry with the good name.
1038         (bind): Likewise.
1039         (rebind): Likewise.
1041 2003-12-26  Guilhem Lavaux  <guilhem@kaffe.org>
1042             Mark Wielaard  <mark@klomp.org>
1044         * java/io/BufferedReader.java (BufferedReader):
1045         Throw IllegalArgumentException when size <= 0.
1046         (mark): Document and better exception message for negative
1047         readLimit IllegalArgumentException.
1048         (read(char[],int,int)): Throw IndexOutOfBoundsException
1049         if offset and count are not valid regarding buf.
1050         (skip): Throw IllegalArgumentException when count is negative.
1052 2003-12-26  Guilhem Lavaux  <guilhem@kaffe.org>
1054         * java/io/FileInputStream.java
1055         (FileInputStream(String)): Call FileInputStream(File).
1056         (FileInputStream(File)): Check whether the argument is a directory.
1058 2003-12-26  Michael Koch  <konqueror@gmx.de>
1060         * Makefile.am (rmi_java_source_files):
1061         Added gnu/java/rmi/server/RMIVoidValue.java.
1062         * Makefile.in: Regenerated.
1064 2003-12-26  Guilhem Lavaux  <guilhem@kaffe.org>
1065             Mark Wielaard  <mark@klomp.org>
1067         * gnu/java/rmi/server/UnicastConnectionManager.java
1068         (startScavenger): Set the client connection manager to daemon
1069         state because it may block clients until TIMEOUT is reached
1070         when they are exiting.
1072         * gnu/java/rmi/RMIVoidValue.java: New file for a class representing
1073         a void return.
1075         * gnu/java/rmi/server/UnicastRemoteCall.java
1076         (DummyOutputStream): Add a boolean before each written field to
1077         know whether it is a primitive.
1078         (releaseOutputStream): Flush parameters at write time.
1080         * gnu/java/rmi/server/UnicastServerRef.java
1081         (incomingMessageCall): Return a RMIVoidValue if no value is to be
1082         returned.
1084         * gnu/java/rmi/server/UnicastServer.java
1085         (incomingMessageCall): Do not write a returned object if it is
1086         a RMIVoidValue.
1088 2003-12-25  Andreas Tobler  <a.tobler@schweiz.ch>
1090         * libltdl/ltdl.c (HAVE_DYLD): Remove ifdef conditional for 
1091         darwin. Fixed by fixinclude now.
1093 2003-12-25  Michael Koch  <konqueror@gmx.de>
1095         * java/net/ServerSocket.java bind():
1096         If InetSocketAddress.getAddress() returns "null" use "0.0.0.0" as
1097         address to bind to.
1099 2003-12-23  Guilhem Lavaux <guilhem@kaffe.org>
1101         * java/io/ObjectInputStream.java
1102         (getField): Handle transient and non persistent fields.
1103         (readClassDescriptor): Better error handling, use the right
1104         class loader.
1105         (readFields): Fields marked as not present in the stream
1106         or not to be set are not read and set.
1107         * java/io/ObjectInputStream.java
1108         (readFields): Changed implementation of GetField.
1109         (readClassDescriptor): Documented.
1110         * java/io/ObjectOutputStream.java
1111         (writeClassDescriptor): Added condition when to write class super
1112         class information.
1114 2003-12-22  Fernando Nasser  <fnasser@redhat.com>
1116         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (postItemEvent): Rename to...
1117         (choicePostItemEvent): Change signature to more specific String object.
1118         * java/awt/Choice.java (add): Generate ItemEvent for the first item
1119         added.
1120         (insert): Generate ItemEvent if insertion caused
1121         selection to change.
1122         (remove): Generate ItemEvent if removal cause selection to change.
1123         (removeAll): Change algorithm to prevent generation of ItemEvents.
1124         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1125         (connect_choice_item_selectable_hook): Change argument type.
1126         Fix argument value.
1127         Make sure resources are feed by registering callback.
1128         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Adjust call to the
1129         above function.
1130         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Ditto.
1131         (item_activate): Ditto.
1132         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Destroy removed
1133         menuitem.
1134         (item_removed): New function.  Free resources.
1135         * jni/gtk-peer/gtkpeer.h (item_event_hook_info): Change member type and
1136         name.
1137         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1138         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Obtain MethodID for
1139         choicePostItemEvent.
1141 2003-12-23  Michael Koch  <konqueror@gmx.de>
1143         * javax/print/attribute/standard/Copies.java,
1144         javax/print/attribute/standard/JobImpressions.java,
1145         javax/print/attribute/standard/JobMediaSheets.java,
1146         javax/print/attribute/standard/JobPriority.java,
1147         javax/print/attribute/standard/NumberOfDocuments.java,
1148         javax/print/attribute/standard/NumberOfInterveningJobs.java,
1149         javax/print/attribute/standard/NumberUp.java,
1150         javax/print/attribute/standard/PagesPerMinuteColor.java,
1151         javax/print/attribute/standard/PagesPerMinute.java,
1152         javax/print/attribute/standard/QueuedJobCount.java: New files.
1153         * Makefile.am (ordinary_java_source_files): Added new files.
1154         * Makefile.in: Regenerated.
1156 2003-12-23  Michael Koch  <konqueror@gmx.de>
1158         * javax/print/attribute/AttributeSetUtilities.java
1159         (verifyCategoryForValue): Renamed from verifyCategoryForAttribute.
1160         * javax/print/attribute/HashAttributeSet.java
1161         (HashAttributeSet): Call internal add methods, added missing
1162         exceptions.
1163         (add): Call addInternal, added exceptions to documentation.
1164         (addInternal): New method.
1165         (addAll): Call addAllInternal, added exception to documentation.
1166         (addAllInternal): New method.
1167         (clear): Added exception to documentation.
1168         (remove): Likewise.
1169         * javax/print/attribute/URISyntax.java
1170         (serialVersionUID): Fixed value.
1172 2003-12-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
1174         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1175         (pre_event_handler): Don't dereference NULL focus_obj_ptr.
1177 2003-12-21  Michael Koch  <konqueror@gmx.de>
1179         * javax/print/attribute/AttributeSetUtilities.java,
1180         javax/print/attribute/HashAttributeSet.java,
1181         javax/print/attribute/HashDocAttributeSet.java,
1182         javax/print/attribute/HashPrintJobAttributeSet.java,
1183         javax/print/attribute/HashPrintRequestAttributeSet.java,
1184         javax/print/attribute/HashPrintServiceAttributeSet.java: New files.
1185         * Makefile.am (ordinary_java_source_files): Added new files.
1186         * Makefile.in: Regenerated.
1188 2003-12-21  Michael Koch  <konqueror@gmx.de>
1190         * javax/print/attribute/EnumSyntax.java,
1191         javax/print/attribute/SetOfIntegerSyntax.java: New files.
1192         * Makefile.am (ordinary_java_source_files):
1193         Added javax/print/attribute/EnumSyntax.java
1194         and javax/print/attribute/SetOfIntegerSyntax.java.
1195         * Makefile.in: Regenerated.
1197 2003-12-21  Michael Koch  <konqueror@gmx.de>
1199         * javax/print/attribute/PrintJobAttribute.java,
1200         javax/print/attribute/PrintJobAttributeSet.java,
1201         javax/print/attribute/PrintRequestAttribute.java,
1202         javax/print/attribute/PrintServiceAttribute.java,
1203         javax/print/attribute/PrintServiceAttributeSet.java,
1204         javax/print/attribute/SupportedValuesAttribute.java: New files.
1205         * Makefile.am (ordinary_java_source_files): Added new files.
1206         * Makefile.in: Regenerated.
1208 2003-12-21  Michael Koch  <konqueror@gmx.de>
1210         * javax/print/attribute/DateTimeSyntax.java,
1211         javax/print/attribute/DocAttribute.java,
1212         javax/print/attribute/DocAttributeSet.java,
1213         javax/print/attribute/IntegerSyntax.java,
1214         javax/print/attribute/ResolutionSyntax.java,
1215         javax/print/attribute/Size2DSyntax.java,
1216         javax/print/attribute/TextSyntax.java,
1217         javax/print/attribute/URISyntax.java,
1218         javax/print/attribute/UnmodifiableSetException.java: New files.
1219         * Makefile.am (ordinary_java_source_files): Added new files.
1220         * Makefile.in: Regenerated.
1222 2003-12-21  Michael Koch  <konqueror@gmx.de>
1224         * gnu/java/net/PlainDatagramSocketImpl.java
1225         (mcastGrp): Added documentation.
1227 2003-12-20  Michael Koch  <konqueror@gmx.de>
1229         * gnu/java/net/protocol/jar/Connection.java
1230         (connectionCache): New field.
1231         (connect): New method.
1232         (getInputStream): New method.
1233         (hdrHash): New field.
1234         (hdrVec): New field.
1235         (gotHeaders): New field.
1236         (getHeaderField): New method.
1237         (getHeaderFields): New method.
1238         (getHeaderFieldKey): New method.
1239         (getKey): New method.
1240         (getField): New method.
1241         (getHeaders): New method.
1242         * java/net/JarURLConnection.java
1243         (connectionCache): Removed.
1244         (connect): Removed.
1245         (getInputStream): Removed.
1246         (hdrHash): Removed.
1247         (hdrVec): Removed.
1248         (gotHeaders): Removed.
1249         (getHeaderField): Removed.
1250         (getHeaderFields): Removed.
1251         (getHeaderFieldKey): Removed.
1252         (getKey): Removed.
1253         (getField): Removed.
1254         (getHeaders): Removed.
1256 2003-12-20  Michael Koch  <konqueror@gmx.de>
1258         * java/io/ObjectStreamField.java (isUnshared): Added documentation.
1260 2003-12-20  Mohan Embar  <gnustuff@thisiscool.com>
1262         * gnu/java/nio/SelectorImpl.java
1263         (selectThreadMutex): New field.
1264         (selectThread): New field.
1265         (unhandledWakeup): New field.
1266         (implCloseSelector): Added skeleton code which
1267         synchronizes as per Sun JRE JavaDoc.
1268         (keys): Throw ClosedSelectorException if selector
1269         is closed.
1270         (selectNow): Added comment that we're faking out
1271         an immediate select with a one-microsecond-timeout one.
1272         (select): Use 0 instead of -1 for infinite timeout.
1273         (implSelect): Changed comment in declaration.
1274         (select): Added synchronized to method declaration.
1275         Added synchronization and wakeup support as per Sun
1276         JRE JavaDoc.
1277         (selectedKeys): Throw ClosedSelectorException if selector
1278         is closed.
1279         (wakeup): Implemented.
1280         (deregisterCancelledKeys): Synchronize on cancelled key
1281         set before deregistering.
1282         (register): Synchronize on key set before registering.
1283         * java/nio/channels/spi/AbstractSelector.java
1284         Added import for java.nio.channels.ClosedSelectorException.
1285         (close): Added synchronized to method declaration.
1286         (cancelledKeys): Throw ClosedSelectorException if selector
1287         is closed.
1288         (cancelKey): Synchronize on cancelled key set before key.
1290 2003-12-20  Michael Koch  <konqueror@gmx.de>
1292         * Makefile.am (ordinary_java_source_files):
1293         Added gnu.java.net.URLParseError.java.
1294         * Makefile.in: Regenerated.
1296 2003-12-20  Guilhem Lavaux <guilhem@kaffe.org>
1298         * gnu/java/net/URLParseError.java: New file.
1299         * gnu/java/net/protocol/jar/Handler.java
1300         (parseURL): Throw URLParseError if needed, fix '/' handling.
1301         * java/net/URL.java (URL): Catch URLParseError and
1302         transform it into a MalformedURLException.
1304 2003-12-19  Michael Koch  <konqueror@gmx.de>
1306         * gnu/java/nio/ChannelOutputStream.java: New file.
1307         * java/nio/channels/Channels.java
1308         (newOutputStream): Implemented.
1309         * Makefile.am (ordinary_java_source_files)
1310         Added gnu/java/nio/ChannelOutputStream.java.
1311         * Makefile.in: Regenerated.
1313 2003-12-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
1315         * java/awt/FlowLayout.java (layoutContainer): Let components
1316         assume their preferred height.  Centre components vertically.
1318 2003-12-19  Michael Koch  <konqueror@gmx.de>
1320         * gnu/java/nio/ChannelInputStream.java: New file.
1321         * java/nio/channels/Channels.java (newInputStream): Implemented.
1322         * java/nio/channels/FileChannelImpl.java
1323         (readImpl): Only put data into buffer if something was read.
1324         * Makefile.am (ordinary_java_source_files):
1325         Added gnu/java/nio/ChannelInputStream.java.
1326         * Makefile.in: Regenerated.
1328 2003-12-19  Michael Koch  <konqueror@gmx.de>
1330         * gnu/java/nio/OutputStreamChannel.java: New file.
1331         * java/nio/channels/Channels.java (newChannel): Implemented.
1332         * Makefile.am (ordinary_java_source_files):
1333         Added gnu/java/nio/OutputStreamChannel.java.
1334         * Makefile.in: Regenerated.
1336 2003-12-19  Michael Koch  <konqueror@gmx.de>
1338         * Makefile.am (ordinary_java_source_files):
1339         Added gnu.java.nio.InputStreamChannel. 
1340         * Makefile.in: Regenerated.
1342 2003-12-19  Michael Koch  <konqueror@gmx.de>
1344         * gnu/java/nio/InputStreamChannel.java: New file.
1345         * java/nio/channels/Channels.java (newChannel): Implemented.
1347 2003-12-19  Michael Koch  <konqueror@gmx.de>
1349         * java/util/SimpleTimeZone.java
1350         (setStartRule): Reformated documentation.
1351         (setEndRule): Reworked documentation.
1352         (getDSTSavings): Fixed @since tag.
1353         (setDSTSavings): New method.
1355 2003-12-19  Michael Koch  <konqueror@gmx.de>
1357         * java/text/NumberFormat.java: Sorted imports.
1358         (getCurrency): New method.
1359         (setCurrency): New method.
1360         
1362 2003-12-19  Michael Koch  <konqueror@gmx.de>
1364         * java/text/MessageFormat.java
1365         (MessageFormat): New constructor.
1367 2003-12-19  Michael Koch  <konqueror@gmx.de>
1369         * gnu/java/net/protocol/jar/Handler.java
1370         (parseURL): New method.
1371         (toExternalForm): New method.
1373 2003-12-18  Fernando Nasser  <fnasser@redhat.com>
1375         * java/awt/List.java (replaceItem): Prevent selection to move with
1376         replace and minimize flickering.
1378 2003-12-18  Michael Koch  <konqueror@gmx.de>
1380         * libltdl/ltdl.c: Define __private_extern__ if needed.
1382 2003-12-18  Michael Koch  <konqueror@gmx.de>
1384         * libltdl/.cvsignore: Ignore autom4te.cache
1385         * libltdl/Makefile.in: Regenerated.
1386         * libltdl/aclocal.m4: Regenerated.
1387         * libltdl/acconfig.h: Removed (obsolete).
1388         * libltdl/config-h.in: Regenerated.
1389         * libltdl/configure.ac: Added AM_MAINTAINER_MODE.
1390         * libltdl/configure: Regenerated.
1392 2003-12-18  Michael Koch  <konqueror@gmx.de>
1394         * mauve-libgcj: Removed the disabling of java.text.ACIAttribute and
1395         java.text.CollationElementIterator tests as they compile again.
1396         * testsuite/libjava.mauve/xfails: Added failing
1397         java.text.CollationElementIterator tests.
1399 2003-12-18  Michael Koch  <konqueror@gmx.de>
1401         * java/util/prefs/AbstractPreferences.java
1402         (cachedChildren): New method.
1404 2003-12-18  Michael Koch  <konqueror@gmx.de>
1406         * java/util/TimeZone.java (getOffset): New method.
1408 2003-12-17  Fernando Nasser  <fnasser@redhat.com>
1410         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
1411         of ActionEvents for mouse double-clicks.
1413 2003-12-17  Fernando Nasser  <fnasser@redhat.com>
1415         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (handleEvent): Check for
1416         null Graphics pointer returned by FileDialogPeer.
1418 2003-12-17  Michael Koch  <konqueror@gmx.de>
1420         * libltdl/stamp-h.in: Removed, not used anymore.
1422 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
1424         * gnu/java/net/natPlainDatagramSocketImplWin32.cc:
1425         Removed unused InterruptedIOException.h include.
1426         * gnu/java/net/natPlainSocketImplWin32.cc
1427         (connect): Reset and ignore our thread's interrupted
1428         flag instead of testing and throwing an InterruptedIOException
1429         if set.
1430         (accept): Likewise + changed case of SocketTimeoutException
1431         text.
1432         (write): Likewise (for both overloads).
1433         (doRead): Likewise.
1435 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
1437         * win32.cc (WSAEventWrapper): Implemented default
1438         constructor and init() methods.
1439         (_Jv_select): Removed.
1440         * gnu/java/nio/natSelectorImplWin32.cc
1441         (helper_put_filedescriptors): Removed.
1442         (helper_get_filedescriptors): Removed.
1443         (implSelect): Implemented in terms of WSAEventWrapper
1444         and WSAWaitForMultipleEvents instead of _Jv_select().
1445         Added support for thread interruption.
1446         * include/win32.h (WSAEventWrapper): Minor formatting
1447         changes; added default constructor declaration, init(),
1448         getFD() and getEventHandle() methods.
1449         (_Jv_select): Removed.
1451 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
1453         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
1454         (peekData): Throw SocketTimeoutException instead of
1455         InterruptedIOException on timeout.
1456         (receive): Likewise.
1457         * gnu/java/net/natPlainSocketImplPosix.cc
1458         (read): Made a minor exception text case change.
1460 2003-12-16  Michael Koch  <konqueror@gmx.de>
1462         Fix for PR libgcj/13056.
1463         * libltdl/configure.in,
1464         libltdl/config.h.in: Removed.
1465         * libltdl/configure.ac,
1466         libltdl/config-h.in,
1467         libltdl/install-sh,
1468         libltdl/config.guess,
1469         libltdl/config.sub,
1470         libltdl/missing,
1471         libltdl/mkinstalldirs,
1472         libltdl/ltmain.sh: New files.
1473         * libltdl/Makefile.am,
1474         libltdl/acinclude.m4,
1475         libltdl/aclocal.m4,
1476         libltdl/ltdl.c,
1477         libltdl/ltdl.h,
1478         libltdl/README: Update to versions from libtool 1.5.
1479         libltdl/configure,
1480         * libltdl/Makefile.in: Regenerated.
1481         * java/lang/natRuntime.cc (find_symbol):
1482         Use type 'lt_ptr' instead of 'lt_ptr_t'.
1484 2003-12-16  Michael Koch  <konqueror@gmx.de>
1486         * java/awt/MenuComponent.java
1487         (serialVersionUID): Fixed value.
1489 2003-12-16  Fernando Nasser  <fnasser@redhat.com>
1491         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1492         (pre_event_handler): Handle GtkButton widgets differently as events
1493         go to its event_window.
1494         (connect_awt_hook): Remove compiler warning.
1496 i2003-12-16  Guilhem Lavaux <guilhem@kaffe.org>
1498         * java/io/ObjectInputStream.java
1499         (lookupClass): New method.
1500         (currentLoader): New method.
1501         (inputGetObjectStreamClasses): New method.
1502         (assignNewHandle): Documented.
1503         (currentClassLoader): Documented.
1504         * java/io/ObjectStreamClass.java
1505         (setClass): Changed API. Better handling of the imported/exported
1506         fields.
1507         (getSerialPersistentFields): Make it throw previously caught exceptions
1508         so they can handled in setClass.
1510 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
1512         * java/io/ObjectStreamField.java: A few methods were added in prevision
1513         of the upcoming upgrade of the serialization code. This also adds
1514         some missing documentation.
1515         (ObjectStreamField): We should throw a NullPointerException when 'name'
1516         is null.
1518  2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
1519   
1520         * java/io/ObjectInputStream.java (setBooleanField):
1521         Throw an InvalidClassException if the field hasn't the required type,
1522         documentation added.
1523         (setByteField) Likewise.
1524         (setCharField) Likewise.
1525         (setDoubleField) Likewise.
1526         (setFloatField) Likewise.
1527         (setIntField) Likewise.
1528         (setShortField) Likewise.
1529         (setLongField) Likewise.
1530         (setObjectField) Likewise.
1532 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
1533            Helmer Kraemer <hkraemer@freenet.de>
1535         * gnu/java/lang/reflect/TypeSignature.java (getClassForEncoding):
1536         Splitted the method so we can specify an explicit boot loader.
1538 2003-12-15  Graydon Hoare  <graydon@redhat.com>
1540         * jni/gtk-peer/gdkfont.h: New file.
1541         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
1542         include of cairo-xlib.h, add extra gdk_flush().
1544 2003-12-12  Fernando Nasser  <fnasser@redhat.com>
1546         * jni/gtk-peer/gtkpeer.h: Extend NSA set of macros to handle a second
1547         native state table -- native_global_ref_table.
1548         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Define
1549         native_global_ref_table pointer.
1550         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1551         (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose): Make sure JNI
1552         global reference is deleted and memory allocated for pointer freed.
1553         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): Use saved
1554         JNI global reference instead of JNI local reference.
1555         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1556         (pre_event_handler): Remove compilation warning.
1557         (connect_awt_hook): Use saved JNI global reference instead of creating
1558         a new one.
1559         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1560         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_create): Save JNI global
1561         reference to the Java object.
1562         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_connectSignals): Remove
1563         unused variable declaration and add comment.
1564         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
1565         (Java_gnu_java_awt_peer_gtk_GtkCanvasPeer_create): Save JNI global
1566         reference to the Java object.
1567         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c
1568         (Java_gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer_create): Ditto.
1569         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
1570         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeCreate): Ditto.
1571         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals): Use saved
1572         JNI global reference instead of JNI local reference.
1573         (item_toggled): Add debug statement.
1574         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1575         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_create): Save JNI global
1576         reference to the Java object.
1577         (connect_choice_item_selectable_hook): Use saved JNI global references
1578         instead of JNI local reference.
1579         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
1580         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create): Save JNI
1581         global reference to the Java object.
1582         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1583         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_create): Save JNI global
1584         reference to the Java object.
1585         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
1586         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_create): Ditto.
1587         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
1588         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_create): Ditto.
1589         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1590         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Ditto.
1591         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
1592         (Java_gnu_java_awt_peer_gtk_GtkScrollPanePeer_create): Ditto.
1593         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
1594         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Ditto.
1595         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
1596         (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_create): Ditto.
1597         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1598         (Java_gnu_java_awt_peer_gtk_GtkListPeer_create): Ditto.
1599         (Java_gnu_java_awt_peer_gtk_GtkListPeer_connectSignals): Use saved
1600         JNI global reference instead of JNI local reference.
1601         (item_selected): Add debug statement.
1602         (item_unselected): Add debug statement.
1603         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1604         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Save JNI global
1605         reference to the Java object.
1606         Connect "activate" signal handler using global JNI reference.
1607         (connect_activate_hook): Removed in favor of inline code.
1608         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
1609         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_create): Save JNI global
1610         reference to the Java object.
1611         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_connectSignals): Use saved
1612         JNI global reference instead of JNI local reference.  Add FIXME comment.
1613         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_gtkPanelNew): Save JNI global
1614         reference to the Java object.  Add FIXME comment.
1615         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
1616         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Save JNI global
1617         reference to the Java object.
1618         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_connectSignals): Use saved
1619         JNI global reference instead of JNI local reference.
1620         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
1621         (Java_gnu_java_awt_peer_gtk_GtkTextComponentPeer_connectSignals): Use
1622         saved JNI global reference instead of JNI local reference.
1623         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1624         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_create): Save JNI global
1625         reference to the Java object.
1626         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals): Use saved
1627         JNI global reference instead of JNI local reference.
1629 2003-12-11  Michael Koch  <konqueror@gmx.de>
1631         * java/text/Format.java (serialVersionUID): Fixed value.
1633 2003-12-11  Michael Koch  <konqueror@gmx.de>
1635         * javax/naming/event/EventDirContext.java: Jalopied.
1636         (addNamingListener): Fixed typo in method name.
1637         
1639 2003-12-11  Mohan Embar  <gnustuff@thisiscool.com>
1641         * gnu/java/nio/SocketChannelImpl.java
1642         (write): Removed diagnostic trace.
1643         * gnu/java/nio/natSelectorImplPosix.cc: Added
1644         includes for java.lang.Thread and java.io.InterruptedIOException.
1645         (helper_put_filedescriptors): Don't put invalid file descriptors
1646         in select set.
1647         (helper_get_filedescriptors): Clear invalid file descriptors
1648         from select set.
1649         (helper_reset): New method for clearing our file descriptor
1650         array.
1651         (implSelect): Correctly calculate timeout if specified and
1652         legal.
1653         Intercept and deal with any java.io.InterruptedIOException
1654         thrown by _Jv_select().
1656 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
1658         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
1659         Most coded moved to pre_event_handler, with the modifications
1660         mentioned below.
1661         (pre_event_handler): New function.  Called on the Gtk "event" signal.
1662         Do not retrieve the jobject from the window property as it is already
1663         available as user data in the signal.
1664         Do not try and find the grab widget as it is already done by Gtk at
1665         this point.
1666         Do not search for Window ancestor as Gtk already sends the signal to it.
1667         Do not meddle with the activation state of peer widgets on each
1668         key press or release.
1669         Add CList to the special handling when looking for the focused widget.
1670         * jni/gtk-peer/gtkpeer.h: Add declaration for pre_event_handler.
1671         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c (connectJObject):
1672         New function.
1673         (connectSignals): New function.
1674         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c (connectHooks):
1675         Rename to...
1676         (connectSignals): New name.  Get rid of NewGlobalRef call.
1677         Use g_signal_connect instead of deprecated gtk_signal_connect.
1678         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1679         (connect_choice_item_selectable_hook): Use g_signal_connect instead of
1680         deprecated gtk_signal_connect.
1681         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
1682         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1683         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1684         (Java_gnu_java_awt_peer_gtk_GtkClipboard_initNativeState): Ditto.
1685         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1686         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1687         function.
1688         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
1689         function.
1690         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
1691         function.
1692         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1693         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1694         function.
1695         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
1696         function.
1697         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1698         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1699         function.
1700         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
1701         function.
1702         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
1703         function.
1704         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_old_create): Remove dead
1705         code.
1706         (item_select): Remove indirection.
1707         (item_unselect): Ditto.
1708         (connect_selectable_hook): Folded into connectSignals.
1709         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
1710         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1711         function.
1712         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
1713         function.
1714         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
1715         function.
1716         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: Ditto.
1717         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1718         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
1719         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1720         function.
1721         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
1722         function.
1723         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Declare  and call
1724         connectJObject and connectSignals instead of connectHooks.
1725         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Declare connectJObject and
1726         connectSignals.
1727         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Declare connectSignals
1728         and not connectHooks.
1729         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Ditto.
1730         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java: Declare connectJObject
1731         and not connectHooks.
1732         * gnu/java/awt/peer/gtk/GtkListPeer.java: Declare connectJObject and
1733         connectSignals instead of connectHooks.
1734         * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Ditto.
1735         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Ditto.
1736         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Ditto. 
1738 2003-12-09  Michael Koch  <konqueror@gmx.de>
1740         * Makefile.am (nat_headers_install): New variable with header files to
1741         install automatically.
1742         (install-data-local): Install all headers listed in
1743         nat_headers_install. Install innert nat headers explicitely.
1744         * Makefile.in: Regenerated.
1746 2003-12-09  Michael Koch  <konqueror@gmx.de>
1748         * java/util/Calendar.java,
1749         java/util/IdentityHashMap.java,
1750         java/util/prefs/Preferences.java:
1751         Import used classes explicitely.
1753 2003-12-09  Michael Koch  <konqueror@gmx.de>
1755         * java/net/DatagramSocket.java
1756         (close): Directly return if socket is closed.
1757         * java/net/ServerSocket.java
1758         (close): Directly return if socket is closed.
1759         * java/net/Socket.java
1760         (close): Directly return if socket is closed.
1762 2003-12-09  Michael Koch  <konqueror@gmx.de>
1764         * gnu/java/nio/SelectorImpl.java
1765         (implSelect): Throws IOException.
1766         (select): Likewise.
1768 2003-12-08  Kim Ho  <kho@redhat.com>
1770         Fix for Checkbox states.
1771         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
1772         (currentState): New field.
1773         (nativeCreate): Add initial state parameter.
1774         (create): Changed to reflect new parameter.
1775         (setState): Fire only on changed states.
1776         (postItemEvent): Fire only on changed states. Also change the 
1777         Java Checkbox to reflect new state.
1778         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
1779         (nativeCreate): Add parameter and set active state.
1781 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
1783         * java/awt/datatransfer/StringSelection.java (getTransferData): Return
1784         object of type expected by specified DataFlavor.
1786 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
1788         * java/awt/datatransfer/DataFlavor.java (getParameter): Fix off-by-one
1789         error which was clipping off the first character of a parameter value.
1791 2003-12-08  Olga Rodimina <rodimina@redhat.com>
1793         * java/awt/Polygon.java
1794         (translate): Fixed error that caused polygon 
1795         to move right/left when up/down translation was required.
1796         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
1797         (getSelectionStart): Initialized start position to 0. 
1798         (getSelectionEnd): Initialized end position to 0.
1799         (getCaretPosition): Initialized caret position to 0.
1800         (getText): Initialized selected text to NULL 
1802 2003-12-08  Michael Koch  <konqueror@gmx.de>
1804         Fix for PR libgcj/13176.
1805         * java/io/PrintStream.java: Partly revert my previous patches to get
1806         (line_separator): New field.
1807         (converter): New field.
1808         (work): New field.
1809         (work_bytes): New field.
1810         (pw): Removed.
1811         (closed): Removed.
1812         (PrintStrean): Initialize converter and not pw.
1813         (checkError): Flush always, pw doesn't exist anymore.
1814         (close): Close underlying out stream.
1815         (print): New method.
1816         (writeChars): New method.
1817         (print): Use new internal print method.
1818         (println): Likewise.
1820 2002-12-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
1822         * java/util/Hashtable.java (Hashtable(Map)): Use putAll, not
1823         putAllInternal.
1824         (putAllInternal): Correct comment.
1825         * java/util/HashMap.java (HashMap(Map)): As above.
1826         (putAllInternal): As above.
1828 2002-12-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
1830         * java/util/Hashtable.java (internalContainsValue): Removed.
1831         (containsValue): Don't delegate to internalContainsValue.
1833 2003-12-06  Michael Koch  <konqueror@gmx.de>
1835         * javax/naming/directory/Attribute.java,
1836         javax/naming/directory/Attributes.java,
1837         javax/naming/directory/DirContext.java,
1838         javax/naming/directory/InitialDirContext.java,
1839         javax/naming/directory/SearchResult.java,
1840         javax/naming/event/EventContext.java,
1841         javax/naming/event/NamingEvent.java,
1842         javax/naming/event/NamingExceptionEvent.java,
1843         javax/naming/ldap/ControlFactory.java,
1844         javax/naming/ldap/ExtendedRequest.java,
1845         javax/naming/ldap/HasControls.java,
1846         javax/naming/ldap/InitialLdapContext.java,
1847         javax/naming/ldap/LdapContext.java,
1848         javax/naming/ldap/LdapReferralException.java,
1849         javax/naming/ldap/UnsolicitedNotification.java,
1850         javax/naming/ldap/UnsolicitedNotificationListener.java,
1851         javax/naming/spi/DirObjectFactory.java,
1852         javax/naming/spi/DirStateFactory.java,
1853         javax/naming/spi/DirectoryManager.java,
1854         javax/naming/spi/NamingManager.java,
1855         javax/naming/spi/ObjectFactoryBuilder.java,
1856         javax/naming/spi/ResolveResult.java,
1857         javax/naming/spi/Resolver.java,
1858         javax/naming/spi/StateFactory.java:
1859         Import used classes explicitely.
1861 2003-12-05  Scott Gilbertson  <scottg@mantatest.com>
1863         * gnu/gcj/xlib/GC.java (updateClip): Added rectangles argument.
1864         (clip): Removed field
1865         (clipRectangles): New field.
1866         (clone): Use new updateClip.
1867         (setClipRectangles): Use new updateClip.
1868         * gnu/gcj/xlib/natGC.cc (updateClip): Prepare passed rectangles.
1870 2003-12-04  Michael Koch  <konqueror@gmx.de>
1872         * java/io/FilePermission.java:
1873         Import used classes explicitely.
1875 2003-12-04  Michael Koch  <konqueror@gmx.de>
1877         * java/beans/BeanDescriptor.java,
1878         java/beans/EventSetDescriptor.java,
1879         java/beans/FeatureDescriptor.java,
1880         java/beans/IndexedPropertyDescriptor.java,
1881         java/beans/Introspector.java,
1882         java/beans/MethodDescriptor.java,
1883         java/beans/PropertyDescriptor.java,
1884         java/beans/SimpleBeanInfo.java: Explicitely import used classes.
1885         * java/beans/beancontext/BeanContextServicesSupport.java
1886         (serialVersionUID): New field.
1888 2003-12-04  Michael Koch  <konqueror@gmx.de>
1890         * java/awt/MenuComponent.java: Import java.io.Serialization.
1891         * java/awt/MenuItem.java: Likewise.
1892         * java/awt/TextComponent.java: Likewise.
1893         * java/awt/image/ImagingOpException.java
1894         (serialVersionUID): Fixed.
1896 2003-12-04  Michael Koch  <konqueror@gmx.de>
1898         * gnu/java/net/protocol/http/Connection.java
1899         (sendRequest): Merged writing http headers with classpath.
1900         (getInputStream): Merged documentation from classpath.
1901         (getHeaderField): Likewise.
1902         (getHeaderFieldKey): Likewise.
1904 2003-12-04  Michael Koch  <konqueror@gmx.de>
1906         * boehm.cc (_Jv_MarkObj): Access hack_signers field.
1908 2003-12-04  Michael Koch  <konqueror@gmx.de>
1910         * java/net/DatagramPacket.java
1911         (length): Made packge-private to make it accessible via CNI.
1912         (maxlen): New field.
1913         (DatagramPacket): Cleaned up.
1914         (setSocketAddress): Add message to exception.
1915         (setData): Call other setData().
1916         (setData): Call setLength().
1917         (setLength): Initialize maxlen too.
1918         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (peekData):
1919         Get maximal length from maxlen field, set length field directly.
1920         (receive): Likewise.
1921         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
1922         Get maximal length from maxlen field, set length field directly.
1923         (receive): Likewise.
1925 2003-12-03  Mohan Embar  <gnustuff@thisiscool.com>
1927         * gnu/java/nio/natSelectorImplPosix.cc
1928         (implSelect): A timeout of 0 means an infinite
1929         timeout.
1931 2003-12-02  Fernando Nasser  <fnasser@redhat.com>
1933         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
1934         of ActionEvents.
1936 2003-12-03  Michael Koch  <konqueror@gmx.de>
1938         * java/lang/Class.h (hack_signers): Renamed signers to hack_signers.
1939         * java/lang/natClass.cc (getSigners): Likewise.
1940         (setSigners): Likewise.
1942 2003-12-02  Mohan Embar  <gnustuff@thisiscool.com>
1944         * configure.in: Added new MinGW-specific configure flag
1945         --with-win32-nlsapi.
1946         Added new AC_DEFINE MINGW_LIBGCJ_UNICODE.
1947         Add -lunicows to MinGW SYSTEMSPEC if --with-win32-nlsapi
1948         is set to unicows.
1949         * configure: Rebuilt.
1950         * include/config.h.in: Rebuilt.
1951         * win32.cc (_Jv_Win32NewString): Implemented.
1952         (nativeToUnicode): New helper function defined only for
1953         non-UNICODE builds.
1954         (unicodeToNative): Likewise.
1955         (_Jv_Win32TempString): Implemented.
1956         (lots): Refactored using tchar.h macros.
1957         (WSAEventWrapper): Use _Jv_Win32NewString.
1958         (_Jv_platform_initialize): Use GetModuleFileNameA instead
1959         of GetModuleFileName.
1960         (_Jv_platform_initProperties): Use _Jv_Win32NewString.
1961         Use temporary stack buffer instead of a heap buffer.
1962         * include/win32.h
1963         Added defines for UNICODE and _UNICODE if MINGW_LIBGCJ_UNICODE is
1964         defined; added tchar.h include.
1965         (_Jv_Win32TempString): Declared new helper class.
1966         (JV_TEMP_STRING_WIN32): New helper macro.
1967         (_Jv_Win32NewString): Declared new helper method.
1968         * java/io/natFileDescriptorWin32.cc (open): Use
1969         JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
1970         (write): Reformatted slightly.
1971         * java/io/natFileWin32.cc (lots): Use tchar.h macros;
1972         use JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
1973         (getCanonicalPath): Use _Jv_Win32NewString instead of
1974         JvNewStringUTF.
1975         (performList): Likewise.
1976         * java/lang/natWin32Process.cc (ChildProcessPipe):
1977         Use tchar.h macros.
1978         (startProcess): Use tchar.h macros, JV_TEMP_STRING_WIN32,
1979         and UNICODE environment flag for CreateProcess.
1980         * java/net/natNetworkInterfaceWin32.cc
1981         (winsock2GetRealNetworkInterfaces): Use tchar.h macros and
1982         _Jv_Win32NewString.
1984 2003-12-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
1986         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
1987         (initState): Mark obj parameter as unused.
1988         (stringWidth): Mark obj parameter as unused.  Initialize
1989         font_name properly.
1991         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Make
1992         BufferedImageBuilder class static.
1994 2003-12-02  Mark Wielaard  <mark@klomp.org>
1996         * java/security/Security.java: Don't use &nbsp; in the api doc.
1998 2003-12-02  Dalibor Topic <robilad@kaffe.org>
2000         Reported by: Jim Pick <jim@kaffe.org>
2001         * libraries/javalib/java/util/Hashtable.java
2002         (internalcontainsValue): New method.
2003         (contains): Delegate to internalContainsValue.
2004         
2005         Reported by: Mark Wielaard  <mark@klomp.org>
2006         * libraries/javalib/java/util/Hashtable.java
2007         (contains): Improved comment.
2008         
2009         Reported by: Jeroen Frijters  <jeroen@frijters.net>
2010         * libraries/javalib/java/util/Hashtable.java
2011         (containsValue): Delegate to contains(Object) to make sure older
2012         code overwriting it continues to work.
2014 2003-12-02  Fernando Nasser  <fnasser@redhat.com>
2016         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): New
2017         method. Handle mouse and key events that must generate
2018         ActionEvents.
2019         * java/awt/List.java (getSelectedIndex): Return -1
2020         if no list element is selected.
2021         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
2022         Correct handling of mouse and key events so that List receives them.
2023         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
2024         (Java_gnu_java_awt_peer_gtk_GtkListPeer_delItems): Fix removal of
2025         multiple list elements. 
2027 2003-12-02  Ito Kazumitsu  <kaz@maczuka.gcd.org>
2029         * java/text/SimpleDateFormat.java (compileFormat):
2030         isLowerCase() and isUpperCase() allow too many characters.
2031         Just use >= 'A' && <= 'Z' || >= 'a' && <= 'z'.
2033 2003-12-02  Dalibor Topic <robilad@kaffe.org>
2035         * java/text/FieldPosition.java (equals): Fixed comment.
2037 2003-12-02  Mark Wielaard  <mark@klomp.org>
2039         Reported by Archie Cobbs:
2040         * java/security/DigestInputStream.java (read(byte[], int, int): Call
2041         digest.update() with temp, not len as lenght.
2043 2003-12-02  Michael Koch  <konqueror@gmx.de>
2045         * java/net/DatagramSocket.java
2046         (close): Close associated DatagramChannel object.
2047         * java/net/ServerSocket.java
2048         * java/net/Socket.java
2049         (close): Reset impl and bound before calling getChannel().close() to
2050         prevent from loops.
2052 2003-12-02  Michael Koch  <konqueror@gmx.de>
2054         * java/nio/channels/spi/AbstractInterruptibleChannel.java
2055         (opened): Removed.
2056         (closed): New field.
2057         (close): Check of channel is closed already.
2058         (isOpen): Return !closed.
2060 2003-12-02  Michael Koch  <konqueror@gmx.de>
2062         * gnu/java/nio/DatagramChannelImpl.java
2063         (blocking): Initialize with true by default.
2064         * gnu/java/nio/ServerSocketChannelImpl.java
2065         (serverSocket): Made private.
2066         (blocking): Likewise.
2067         (connected): Likewise.
2068         * gnu/java/nio/SocketChannelImpl.java
2069         (connectionPending): Made private.
2070         * gnu/java/nio/FileLockImpl.java
2071         (static): Load native library (needed for classpath).
2072         * gnu/java/nio/SelectorImpl.java
2073         (static): Load native library (needed for classpath).
2075 2003-12-02  Michael Koch  <konqueror@gmx.de>
2077         * gnu/java/net/protocol/file/Connection.java
2078         (getLastModified): Implement for file connections.
2079         (getContentLength): Likewise.
2081 2003-12-02  Michael Koch  <konqueror@gmx.de>
2083         * gnu/java/net/protocol/file/Connection.java:
2084         Some reformating.
2085         (file): Renamed from fileIn.
2086         (getPermission): Moved around.
2088 2003-12-02  Michael Koch  <konqueror@gmx.de>
2090         * gnu/java/net/protocol/jar/Connection.java
2091         (Connection): Made class final, merged documentation with classpath.
2092         (file_cache): Made private.
2093         (jar_file): Renamed from jarfile.
2095 2003-12-02  Michael Koch  <konqueror@gmx.de>
2097         * gnu/java/net/protocol/http/Connection.java
2098         (Connection): Initialize doOutput to false;
2099         (connect): Initialize inputStream, moved "send request" code to new
2100         method.
2101         (sendRequest): New method.
2102         (getHttpHeaders): Don't reinitialize inputStream.
2104 2003-12-02  Michael Koch  <konqueror@gmx.de>
2106         * gnu/java/net/protocol//http/Connection.java
2107         (defRequestProperties): Removed. This dont gets used since JDK 1.3.
2108         (requestProperties): Initialize, documentation added.
2109         (inputStream): Renamed from bufferedIn.
2110         (Connection): Dont initialize requestProperties.
2111         (setDefaultRequestProperty): Removed.
2112         (getDefaultRequestProperty): Removed.
2113         (usingProxy): Documentation added.
2114         (getHttpHeaders): Likewise.
2116 2003-12-02  Michael Koch  <konqueror@gmx.de>
2118         * java/text/DateFormat.java:
2119         Explicitely import used classes.
2121 2003-12-01  Jeff Sturm  <jsturm@one-point.com>
2123         * verify.cc (state::clean_subrs): Clear seen_subrs.
2124         (state::copy): Walk seen_subrs from copy, not `this'.
2125         Don't clear seen_subrs.
2127 2003-12-01  Kim Ho <kho@redhat.com>
2129         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create):
2130         Disable wrapping if TextArea has horizontal scroll bars.
2132 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
2134         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2135         (awt_event_handler): Hard-code inset values.
2137         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (GdkFontMetrics):
2138         Pass font name, not XLFD, to initState.
2139         (stringWidth(String, int, String)): New method.
2140         (stringWidth(String)): Call new stringWidth.
2141         (getLeading): Always return 0.
2142         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
2143         (initState): New Pango implementation.
2144         (stringWidth): Likewise.
2146 2003-12-01  Olga Rodimina <rodimina@redhat.com>
2148         * java/awt/TextComponent.java:
2149         (getSelectionStart): Updated javadocs.
2150         (getSelectionEnd): Ditto.
2151         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer:
2152         (getSelectionStart): Changed to return caret position if no
2153         text is selected
2154         (getSelectionEnd): Ditto.
2156 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
2158         * gnu/awt/gtk/GtkButtonPeer.java, gnu/awt/gtk/gtkcommon.cc,
2159         gnu/awt/gtk/gtkcommon.h, gnu/awt/gtk/GtkComponentPeer.java,
2160         gnu/awt/gtk/GtkContainerPeer.java,
2161         gnu/awt/gtk/GtkFramePeer.java, gnu/awt/gtk/GtkLabelPeer.java,
2162         gnu/awt/gtk/GtkMainThread.java, gnu/awt/gtk/GtkToolkit.java,
2163         gnu/awt/gtk/GtkWindowPeer.java, gnu/awt/gtk/natGtkButtonPeer.cc,
2164         gnu/awt/gtk/natGtkComponentPeer.cc,
2165         gnu/awt/gtk/natGtkContainerPeer.cc,
2166         gnu/awt/gtk/natGtkFramePeer.cc, gnu/awt/gtk/natGtkLabelPeer.cc,
2167         gnu/awt/gtk/natGtkMainThread.cc, gnu/awt/gtk/natGtkToolkit.cc,
2168         gnu/awt/gtk/natGtkWindowPeer.cc: Remove files.
2170         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
2171         (closed): Mark loader parameter as unused.
2173 2003-12-01  Michael Koch  <konqueror@gmx.de>
2175         * gnu/java/net/protocol/http/Connection.java
2176         (Connection): Merged class documentation.
2177         (socket): Renamed from sock.
2178         (Connection): Made protected, documentation added.
2179         (connect): Give URL'S host instead of InetAddress to Socket
2180         constructor.
2181         (disconnect): Documentation added.
2182         (getOutputStream): Rewrapped.
2184 2003-12-01  Michael Koch  <konqueror@gmx.de>
2186         * gnu/java/net/protocol/file/Connection.java
2187         (fileIn): Documentation added.
2188         (inputStream): Likewise.
2189         (outputStream): Likewise.
2190         (Connection): Likewise.
2191         (connect): Simplified.
2193 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
2195         * gnu/java/awt/peer/gtk/GtkImage.java (setDimensions,
2196         setProperties): Check that io is not null before calling
2197         io.imageUpdate.
2198         * java/awt/image/ImageConsumer.java (setPixels, imageComplete):
2199         Update javadocs.
2200         * java/awt/image/PixelGrabber.java: Fix implementation and
2201         update javadocs.
2203 2003-12-01  Michael Koch  <konqueror@gmx.de>
2205         * gnu/java/net/natPlainSocketImplPosix.cc
2206         bind(): Dont set SockedImpl.address field on succesful bind.
2207         * gnu/java/net/natPlainSocketImplWin32.cc
2208         bind(): Likewise.
2210 2003-11-30  Jeff Sturm <jsturm@one-point.com>
2212         * java/net/InetAddress.java:
2213         (static): Don'f force DNS request for ANY_IF address.
2215 2003-11-30  Michael Koch  <konqueror@gmx.de>
2217         * java/net/InetAddress.java,
2218         java/net/natInetAddressNoNet.cc,
2219         java/net/natInetAddressPosix.cc,
2220         java/net/natInetAddressWin32.cc:
2221         Reverted my last patch.
2223 2003-11-28  Michael Koch  <konqueror@gmx.de>
2225         * java/net/InetAddress.java
2226         (lookup): New method that doesnt lookup "0.0.0.0".
2227         (ImplLookup): Renamed from lookup.
2228         * java/net/natInetAddressNoNet.cc
2229         (ImplLookup): Renamed from lookup.
2230         * java/net/natInetAddressPosix.cc
2231         (ImplLookup): Renamed from lookup.
2232         * java/net/natInetAddressWin32.cc
2233         (ImplLookup): Renamed from lookup.
2235 2003-11-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
2237         * configure: Rebuilt.
2238         * configure.in: Require gtk and glib 2.2.0.
2240 2003-11-27  Dalibor Topic <robilad@kaffe.org>
2242         * java/text/FieldPosition.java (equals): Adapted to handle
2243         field_attribute. Added fast-circuit check for comparison to self.
2244         Replaced use of instanceof by getClass to fix symmetry for derived
2245         types.
2246         (toString): Adapted to handle field_attribute. Improved readability.
2247         (hashCode): New method.
2249 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
2251         * java/text/FieldPosition.java (field_attribute): New field.
2252         (FieldPosition (Format.Field), FieldPosition(Format.Field, int),
2253         getFieldAttribute): New methods.
2255 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
2257         * java/text/DecimalFormatSymbols.java (locale): New field.
2258         (DecimalFormatSymbols (Locale)): Set locale.
2259         (serialVersionOnStream): Upgraded to number 2.
2260         (readObject): Assign locale if it wasn't by the serializer.
2262 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
2264         * java/text/FormatCharacterIterator.java: Documented the class and
2266 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
2268         * java/text/FormatCharacterIterator.java: Fixed some typos.
2270 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
2272         * java/text/NumberFormat.java:
2273         (getIntegerInstance) Added the java version in the comments.
2275 2003-11-27  Mark Wielaard  <mark@klomp.org>
2277         * java/text/NumberFormat.java: Import java.io.InvalidObjectException.
2278         (readResolve): Reformat.
2280 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
2282         * java/text/NumberFormat.java
2283         (NumberFormat.Field): New implemented class to match Java 1.4. 
2284         (getIntegerInstance): Two new Java 1.4 methods.o
2286 2003-11-27  Ito Kazumitsu  <kaz@maczuka.gcd.org>
2288         * java/util/GregorianCalendar.java (getLinearTime): Avoid counting
2289         the leap day of the leap year twice.
2290         (computeFields): First week of month is 1 not 0.
2292 2003-11-27  Mark Wielaard  <mark@klomp.org>
2294         * javax/swing/plaf/basic/BasicDefaults.java (BasicDefaults): Put
2295         AbstractUndoableEdit.undoText and AbstractUndoableEdit.redoText.
2297 2003-11-27  Michael Koch  <konqueror@gmx.de>
2299         * javax/swing/UIDefaults.java:
2300         Reformated to match classpath's version.
2302 2003-11-27  Sascha Brawer  <brawer@dandelis.ch>
2304         * javax/swing/UIManager.java (getDefaults, getDimension,
2305         getIcon, getInsets, getInstalledLookAndFeels, getInt,
2306         getLookAndFeel, getString, getSystemLookAndFeelClassName):
2307         Declare as public.
2309 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
2311         * javax/swing/undo/StateEdit.java (getPresentationName): Docfix.
2312         * javax/swing/undo/AbstractUndoableEdit.java (canUndo, canRedo,
2313         isSignificant): Likewise.
2315 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
2317         * javax/swing/undo/CompoundEdit.java: Re-format, document.
2318         (inProgress): Set initial value to true.
2319         (undo, redo, die, canUndo, canRedo): Also call inherited
2320         implementation; simplify code structure.
2321         (getPresentationName, getUndoPresentationName,
2322         getRedoPresentationName): Make behavior dependent on lastEdit.
2323         (addEdit, isSignificant): Completely re-written.
2325 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
2327         * javax/swing/undo/StateEdit.java: Re-format, document.
2328         (undo, redo): Also call inherited implementation.
2330 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
2332         * javax/swing/undo/StateEditable.java: Re-format, document.
2334 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
2336         * javax/swing/undo/AbstractUndoableEdit.java: Re-format, document.
2337         (AbstractUndoableEdit): Initialize hasBeenDone to true.
2338         (canUndo, canRedo): Simplify.
2339         (getUndoPresentationName, getRedoPresentationName): Support
2340         localized message; call getPresentationName() only once.
2342 2003-11-26  David Belanger  <dbelan2@cs.mcgill.ca>
2344         * java/util/zip/ZipFile (Zipfile(File)): Set file path as name.
2345         (ZipFile(File,int)): Likewise.
2347 2003-11-26  Stuart Ballard <stuart.ballard@corp.fast.net>
2349         * java/util/HashMap.java (putAll): Use Iterator hasNext() method.
2350         (putAllInternal): Likewise.
2351         * java/util/Hashtable.java (putAll): Use Iterator hasNext() method.
2352         (putAllInternal): Likewise.
2354 2003-11-26  Michael Koch  <konqueror@gmx.de>
2356         * java/net/URLStreamHandler.java
2357         (parseURL): Added comment in catch statement.
2358         (canonicalizeFilename): Add documentation.
2359         (sameURL): Completed documentation.
2360         (equals): Likewise.
2361         (hostsEqual): Likewise.
2362         (getDefaulPort): Likewise.
2363         (hashCode): Likewise.
2364         (toExternalForm): Likewise.
2365         (getHostName): Fix empty hostname check, completed documentation.
2367 2003-11-26  Tom Tromey  <tromey@redhat.com>
2369         * java/lang/natDouble.cc (parseDouble): Reverted patch of
2370         2003-11-13.
2372 2003-11-26  Guilhem Lavaux  <guilhem@kaffe.org>
2373             Mark Wielaard  <mark@klomp.org>
2375         * java/net/URLStreamHandler (parseUrl): Fixed URL parsing
2376         ('@' should be checked to distinguish port from userinfo).
2377         (toExternalForm): Add @ userInfo if necessary.
2380 2003-11-26  Michael Koch  <konqueror@gmx.de>
2382         * java/net/DatagramSocket.java
2383         (DategramSocket, bind): Moved binding code from DatagramSocket
2384         constructor to bind method.
2386 2003-11-26  Michael Koch  <konqueror@gmx.de>
2388         * java/net/DatagramSocket.java
2389         (impl): Made private.
2390         (bound): New private member variable.
2391         (DatagramSocket): Fixed documentation, use getImpl().
2392         (getImpl): New package-private method.
2393         (isClosed): Use getImpl().
2394         (getLocalAddress): Completed documentation, use getImpl().
2395         (getLocalPort): Use getImpl().
2396         (getSoTimeout): Likewise.
2397         (setSoTimeout): Likewise.
2398         (getSendBufferSize): Likewise.
2399         (setSendBufferSize): Likewise.
2400         (getReceiveBufferSize): Likewise.
2401         (setReceiveBufferSize): Likewise.
2402         (connect): Likewise.
2403         (disconnect): Likewise.
2404         (receive): Likewise.
2405         (send): Likewise.
2406         (setReuseAddress): Likewise.
2407         (setTrafficClass): Likewise.
2408         (bind): Added message to exception.
2409         (isClosed): Completed documentation.
2410         (getChannel): Likewise.
2411         (connect): Added missing exception, refined exception message.
2412         (isBound): Completed documentation, just return bound.
2413         (isConnected): Completed documentation.
2414         (getRemoteSocketAddress): Likewise.
2415         (getReuseAddress): Completed documentation, use getImpl().
2416         (setSoBroadcast): Likewise.
2417         (getSoBroadcast): Likewise.
2418         (getTrafficClass): Likewise.
2419         (getLocalSocketAddress): Simplified.
2420         * java/net/MulticastSocket.java
2421         (MulticastSocket): Removed comment not applying anymore.
2422         (getInterface): Use getImpl().
2423         (getTTL): Likewise.
2424         (getTimeToLive): Likewise.
2425         (setInterface): Likewise.
2426         (setNetworkInterface): Likewise.
2427         (getNetworkInterface): Likewise.
2428         (setLoopback): Likewise.
2429         (getLoopback): Likewise.
2430         (setTTL): Likewise.
2431         (setTimeToLive): Likewise.
2432         (joinGroup): Likewise.
2433         (leaveGroup): Likewise.
2434         (send): Likewise.
2436 2003-11-26  Michael Koch  <konqueror@gmx.de>
2438         * java/net/Socket.java
2439         (implCreated): Dont set default value explicitely, added
2440         documentation.
2441         (inputShutdown): Likewise.
2442         (outputShutdown): Likewise.
2443         (bound): New private member variable.
2444         (bind): Set bound to true.
2445         (close): Set bound to false.
2446         (isBound): Return bound.
2447         * java/net/ServerSocket.java
2448         (bound): New private member variable.
2449         (bind): Set bound to true.
2450         (close): Set bound to false.
2451         (isBound): Return bound.
2453 2003-11-26  Michael Koch  <konqueror@gmx.de>
2455         * java/net/URL.java
2456         (URL): Fixed documentation to be HTML compliant.
2457         (getContent): Completed documentation.
2458         (getFile): Likewise.
2459         (getPath): Likewise.
2460         (getAuthority): Likewise.
2461         (getHost): Likewise.
2462         (getDefaultPort): Likewise.
2463         (getProtocol): Likewise.
2464         (hashCode): Likewise.
2465         (openConnection): Likewise.
2466         (openStream): Likewise.
2467         (set): Likewise.
2468         (getURLStreamHandler): Wrapped lines to fit into our 79 chars rule.
2470 2003-11-26  Michael Koch  <konqueror@gmx.de>
2472         * java/net/InetSocketAddress.java
2473         (hostname): Made private, added documentation.
2474         (addr): Likewise.
2475         (port): Likewise.
2476         (equals): Completed documentation.
2477         (getAddress): Likewise.
2478         (getHostName): Likewise.
2479         (getPort): Likewise.
2480         (hashCode): Likewise.
2481         (isUnresolved): Likewise.
2482         (toString): Likewise.
2484 2003-11-26  Michael Koch  <konqueror@gmx.de>
2486         * gnu/java/net/protocol/file/Handler.java
2487         (Handler): New explicit constructor.
2488         (openConnection): Added documentation.
2489         * gnu/java/net/protocol/jar/Handler.java
2490         (Handler): New explicit constructor.
2491         (openConnection): Added documentation.
2493 2003-11-26  Michael Koch  <konqueror@gmx.de>
2495         * java/net/DatagramPacket.java
2496         (DatagramPacket): Fixed documentation to become legal HTML.
2498 2003-11-25  Michael Koch  <konqueror@gmx.de>
2500         * gcj/javaprims.h: Added missing java.util.Currency.
2502 2003-11-25  Michael Koch  <konqueror@gmx.de>
2504         * testsuite/libjava.mauve/xfails:
2505         Removed these two tests, they mystically pass now:
2506         -FAIL: gnu.testlet.java.net.ServerSocket.ServerSocketTest: Error :
2507         test_params failed - 5getInetAddress did not return proper values
2508         (number 1)
2509         -FAIL: gnu.testlet.java.net.Socket.SocketTest: Error :
2510         test_BasicServer failed - 11 exception was thrown :Illegal seek
2511         (number 1)
2513 2003-11-25  Michael Koch  <konqueror@gmx.de>
2515         * java/net/DatagramSocket.java
2516         (factory): Made private.
2517         (closed): Removed.
2518         (DatagramSocket): Check impl argument, use constructor with
2519         SocketAddress argument.
2520         (close): Set impl to null, use isClosed().
2521         (isClosed): Check for impl == null.
2522         (getLocalAddress): Use isClosed().
2523         (getLocalPort): Check if socket is closed.
2524         (getSoTimeout): Likewise.
2525         (setSoTimeout): Likewise.
2526         (getSendBufferSize): Likewise.
2527         (setSendBufferSize): Likewise.
2528         (getReceiveBufferSize): Likewise.
2529         (setReceiveBufferSize): Likewise.
2530         (receive): Likewise.
2531         (send): Likewise.
2532         (bind): Likewise.
2533         (connect): Likewise.
2534         (setReuseAddress): Likewise.
2535         (getReuseAddress): Likewise.
2536         (setBroadcast): Likewise.
2537         (getBroadcast): Likewise.
2538         (setTrafficClass): Likewise.
2539         (getTrafficClass): Likewise.
2540         * java/net/MulticastSocket.java
2541         (getInterface): Check if socket is closed.
2542         (getTTL): Likewise.
2543         (getTimeToLive): Likewise.
2544         (setInterface): Likewise.
2545         (setNetworkInterface): Likewise.
2546         (getNetworkInterface): Likewise.
2547         (setLoopbackMode): Likewise.
2548         (setTTL): Likewise.
2549         (setTimeToLive): Likewise.
2550         (joinGroup): Likewise.
2551         (leaveGroup): Likewise.
2552         (send): Likewise.
2553         * java/net/ServerSocket.java
2554         (closed): Removed.
2555         (close): Check if socket is closed, set impl to null.
2556         (isClosed): Check impl == null;
2557         (ServerSocket): Check impl argument.
2558         (getInetAddress): Check if socket is bound.
2559         (getLocalPort): Likewise.
2560         (getLocalSocketAddress): Likewise.
2561         (bind): Check if socket is closed.
2562         (implAccept): Likewise.
2563         (setSoTimeout): Likewise.
2564         (getSoTimeout): Likewise.
2565         (setReuseAddress): Likewise.
2566         (getReuseAddress): Likewise.
2567         (setReceiveBufferSize): Likewise.
2568         (getReceiveBufferSize): Likewise.
2569         (toString): Make output compliant to JDK 1.4.2.
2570         * java/net/Socket.java
2571         (closed): Removed.
2572         (Socket): Fixed documentation.
2573         (connect): Check if socket is closed, changed exception text,
2574         fixed documentation.
2575         (getInputStream): Check of socket is closed  and connected.
2576         (getOutputStream): Likewise.
2577         (bind): Check if socket is closed.
2578         (setTcpNoDelay): Likewise.
2579         (getTcpNoDelay): Likewise.
2580         (setSoLinger): Likewise.
2581         (getSoLinger): Likewise.
2582         (sendUrgentData): Likewise.
2583         (setOOBInline): Likewise.
2584         (getOOBInline): Likewise.
2585         (setSoTimeout): Likewise.
2586         (getSoTimeout): Likewise.
2587         (setSendBufferSize): Likewise.
2588         (getSendBufferSize): Likewise.
2589         (setReceiveBufferSize): Likewise.
2590         (getReceiveBufferSize): Likewise.
2591         (setKeepAlive): Likewise.
2592         (getKeepAlive): Likewise.
2593         (close): Likewise.
2594         (shutdownInput): Likewise.
2595         (shutdownOutput): Likewise.
2596         (getReuseAddress): Likewise.
2597         (getTrafficClass): Likewise.
2598         (setTrafficClass): Likewise.
2599         (isClosed): Check impl == null.
2600         (toString): Added missing ']'.
2602 2003-11-24  Tom Tromey  <tromey@redhat.com>
2604         * Makefile.in: Rebuilt.
2605         * Makefile.am (propdir): New macro.
2606         (install-data-local): Install logging.properties.
2607         (core_java_source_files): Added java.util.logging.*.
2608         * java/util/logging/logging.properties: New file.
2610 2003-11-25  Michael Koch  <konqueror@gmx.de>
2612         * java/net/DatagramSocket.java
2613         (DatagramSocket): Move binding code to bind(), simplify constructors.
2614         * java/net/MulticastSocket.java
2615         (MulticastSocket): Call parent constructor with null argument,
2616         bind socket after setReuseAddress is called, simplify constructors.
2618 2003-11-24  Michael Koch  <konqueror@gmx.de>
2620         * javax/swing/BoxLayout.java
2621         (serialVersionUIR): New member variable.
2622         (X_AXIS, Y_AXIS): Documentation added.
2623         (LINE_AXIS, PAGE_AXIS): New constants.
2624         (grid): Renamed from gridbag.
2625         (BoxLayout): Use new constants, throw exception if invalid value for
2626         way, added documentation.
2627         (BoxLayout): Removed.
2628         (addLayoutComponent): Use new constants, added documentation.
2629         (removeLayoutComponent): Likewise.
2630         (addLayoutContainer): Added documentation.
2631         (preferredLayoutSize): Added documentation, check given argument.
2632         (minimumLayoutSize): Likewise.
2633         (layoutContainer): Likewise.
2634         (getLayoutAlignmentX): Likewise.
2635         (getLayoutAlignmentY): Likewise.
2636         (invalidateLayout): Likewise.
2637         (maximumLayoutSize): Likewise.
2639 2003-11-22  Michael Koch  <konqueror@gmx.de>
2641         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
2642         (peekData): Use offset and maximal free space in datagram packet.
2643         (receive): Likewise.
2644         (send): Use offset in datagram packet.
2646 2003-11-22  Michael Koch  <konqueror@gmx.de>
2648         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
2649         (peekData): Use offset and maximal free space in datagram packet.
2650         (receive): Likewise.
2651         (send): Use offset in datagram packet.
2653 2003-11-22  Michael Koch  <konqueror@gmx.de>
2655         * gnu/java/nio/DatagramChannelImpl.java
2656         (getNativeFD): Use getPlainDatagramSocketImpl().
2657         * gnu/java/nio/NIODatagramSocket.java
2658         (getPlainDatagramSocketImpl): Renamed from getImpl().
2659         * gnu/java/nio/NIOSocket.java
2660         (getPlainSocketImpl): Renamed from getImpl().
2661         (setChannel): Use getPlainSocketImpl().
2662         * gnu/java/nio/SocketChannelImpl.java
2663         (SocketChannelImpl): Use getPlainSocketImpl().
2664         (getPlainSocketImpl): Renamed from getImpl().
2665         (getNativeFD): Use getPlainSocketImpl().
2667 2003-11-18  Graydon Hoare  <graydon@redhat.com>
2669         * javax/swing/JLayeredPane.java: Implement.
2670         * javax/swing/JFrame.java (getContentPane): Make public
2671         * javax/swing/javax/swing/JRootPane.java (setContentPane): 
2672         Use JLayeredPane.FRAME_CONTENT_LAYER.
2674 2003-11-21  Mark Wielaard  <mark@klomp.org>
2676         * java/lang/Float.java (static): Removed.
2678 2003-11-18  Graydon Hoare  <graydon@redhat.com>
2680         * java/awt/font/TextLayout.java: Implement simple layouts
2681         using attributed strings and glyph vectors.
2683 2003-11-17  Graydon Hoare  <graydon@redhat.com>
2685         * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: New file.
2686         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java 
2687         (GdkFontLineMetrics): New inner class.
2688         (getLineMetrics): Return new GdkFontLineMetrics.
2689         (getFontMetrics): Return new GdkClasspathFontPeerMetrics.
2690         (layoutGlyphVector): Create GdkGlyphVector.
2691         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (stateStack): New member.
2692         (GdkGraphics2D): Initialize state via mathod calls.
2693         (cairoSetMatrix, cairoShowGlyphs): Simplify native calls.
2694         (cairoTranslate, cairoScale, cairoRotate): Remove.
2695         (various methods): use setTransform for special transform cases.
2696         (DrawState): New inner class.
2697         (stateSave): New method.
2698         (stateRestore): New method.
2699         (various methods): use stateSave, stateRestore.
2700         (getClipInDevSpace): New method.
2701         (clip, clipRect, setClip, getClip, getClipBounds): 
2702         Follow spec more closely.
2703         (getTransform): Return clone of transform.
2704         (setStroke): Set linewidth to passed width / 2.0.
2705         (setPaintMode): Set SrcOver rather than Xor.
2706         (setColor): Set paint to passed color.
2707         (drawRaster, drawImage, PainterThread, drawPixels): Take affine
2708         transform from image to user space.
2709         (drawRenderedImage, drawRenderableImage): Implement.
2710         (getFontRenderContext, getFontMetrics, drawString, getFont): 
2711         Implement
2712         (drawArc, drawOval, drawRoundRect, fillArc, fillOval, fillRoundRect): 
2713         Implement.
2714         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: 
2715         Match changes to java side.
2716         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c: 
2717         Release resources.
2718         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
2719         Don't use pango for metrics.
2720         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: 
2721         New file.
2723 2003-11-19  Guilhem Lavaux <guilhem@kaffe.org>
2724             Jim Pick  <jim@kaffe.org>
2726         * java/text/DecimalFormat.java (getCurrency, setCurrency): New
2727         methods.
2729 2003-11-19  Guilhem Lavaux  <guilhem@kaffe.org>
2731         * java/text/DecimalFormatSymbols.java (getCurrency,
2732         setCurrency): New methods.
2734 2003-11-19  Sascha Brawer  <brawer@dandelis.ch>
2736         * java/awt/geom/FlatteningPathIterator.java: Entirely re-written.
2737         * java/awt/geom/doc-files/FlatteningPathIterator-1.html:
2738         Describe how the implementation works.
2740 2003-11-19  Michael Koch  <konqueror@gmx.de>
2742         * java/net/Socket.java
2743         (implCreated): New variable that indicates created impl.
2744         (getImpl): New method.
2745         (toString): Return more SUN compliant string representation.
2746         (various): Use getImpl() instead of impl.
2748 2003-11-19  Andreas Tobler  <a.tobler@schweiz.ch>
2750         * lib/libjava.exp: Add DYLD_LIBRARY_PATH for darwin. Look for
2751         the right libgcc. Add -multiply_defined suppress and -bind_at_load
2752         flags.
2754 2003-11-18  Tom Tromey  <tromey@redhat.com>
2756         PR libgcj/13026:
2757         * verify.cc (state::copy): Only set local_changed if we're in a
2758         subroutine.  Correctly copy local variables which were modified
2759         by the subroutine.
2760         (push_jump_merge): Added more debugging output.
2762         * jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string
2763         is null.
2765 2003-11-17  Graydon Hoare  <graydon@redhat.com>
2767         * javax/swing/plaf/basic/BasicDefaults.java: Rewrite to spec.
2768         * javax/swing/UIDefaults.java: Modify to reflect rewrite.
2770 2003-11-16  Tom Tromey  <tromey@redhat.com>
2772         PR libgcj/13062:
2773         * java/io/StreamTokenizer.java (commentChar): Clear other
2774         attributes for character.
2775         (quoteChar): Likewise.
2777 2003-11-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
2779         * java/awt/GridBagLayout.java (getLayoutDimensions): Return array of two
2780         zero-length int arrays when layoutInfo is null.
2781         (getLayoutWeights): Return array of two zero-length double arrays when
2782         layoutInfo is null.
2784 2003-11-13  Tom Tromey  <tromey@redhat.com>
2786         * jni.cc (_Jv_JNI_GetStringUTFChars): Pass length of string to
2787         JvGetStringUTFRegion.
2788         * java/lang/natPosixProcess.cc (new_string): Pass length of string
2789         to JvGetStringUTFRegion.
2790         * java/lang/natDouble.cc (parseDouble): Pass length of string to
2791         JvGetStringUTFRegion.
2792         * java/lang/natWin32Process.cc (startProcess): Pass length of
2793         string to JvGetStringUTFRegion.
2794         * java/lang/natClass.cc (forName): Pass length of string to
2795         JvGetStringUTFRegion.
2796         * gnu/gcj/runtime/natNameFinder.cc (getExternalLabel): Pass length
2797         of string to JvGetStringUTFRegion.
2798         * gnu/gcj/convert/natIconv.cc (init): Pass length of string to
2799         JvGetStringUTFRegion.
2800         * gnu/awt/gtk/natGtkLabelPeer.cc (setText): Pass length of string
2801         to JvGetStringUTFRegion.
2802         * gnu/awt/gtk/natGtkButtonPeer.cc (setLabel): Pass length of
2803         string to JvGetStringUTFRegion.
2805 2003-11-13  Mohan Embar  <gnustuff@thisiscool.com>
2807         * gnu/java/nio/natSelectorImplPosix.cc
2808         (helper_put_filedescriptors): Change to static linkage.
2809         (helper_get_filedescriptors): Likewise.
2811 2003-11-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
2813         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Remove
2814         null check.
2815         * gnu/java/awt/peer/gtk/GtkToolkit.java (prepareImage): Likewise.
2816         * java/awt/Component.java (prepareImage): Likewise.
2818         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (setAlignment):
2819         Rename to nativeSetAlignment.
2821 2003-11-11  Danny Smith  <dannysmith@users.sourceforge.net>
2823         * jni.cc (JNI_CreateJavaVM): Remove JNIEXPORT.
2824         (JNI_GetCreatedJavaVMs): Likewise.
2825         (JNI_GetDefaultJavaVMInitArgs): Likewise.
2826         * include/jni.h (JNIIMPEXP): Remove definition
2827         and replace with...
2828         (__GCJ_JNIIMPEXP__): New macro, applicable only to libgcj
2829         symbols,
2830         (__GCJ_DLL__): New macro, controlling __GCJ_JNIIMPEXP__.
2832 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
2834         * Makefile.am: Add GdkPixbufDecoder.java and
2835         gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
2836         * Makefile.in: Regenerate.
2837         * gnu/java/awt/image/ImageDecoder.java (ImageDecoder(byte[],int,int)):
2838         New constructor.
2839         (startProduction): Create ByteArrayInputStream when url and filename are
2840         null.
2841         (produce): Declare stream parameter as InputStream.
2842         * gnu/java/awt/image/XBMDecoder.java (produce): Declare stream parameter
2843         as InputStream.
2844         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
2845         (GdkPixbufDecoder(byte[],int,int)): New constructor.
2846         (produce): Declare stream parameter as InputStream.
2847         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Throw NPE
2848         if image is null.  Set image's observer before running PrepareImage
2849         thread.  Pass image to startProduction.
2850         * gnu/java/awt/peer/gtk/GtkImage.java: Add null checks before calls to
2851         source's member functions.
2852         (observer): New field.
2853         (setObserver): New method.
2854         (setDimensions, setPixels, imageComplete): Call observer's imageUpdate.
2855         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage, getImage): Return
2856         new GtkImage.
2857         (prepareImage): Implement.
2858         * java/awt/Component.java: Add static fields incrementalDraw and
2859         redrawRate.
2860         (imageUpdate): Implement.
2861         (createImage): Call Toolkit's createImage if peer is null.
2862         (prepareImage): Throw NPE if image is null.
2863         * java/awt/MediaTracker.java: Fix return value.
2865 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
2867         * gnu/java/awt/peer/gtk/GtkLabelPeer.java (create()): Call new create.
2868         (create(String, float)): New method.
2869         (setText): Make native.
2870         (nativeSetAlignment): New method.
2871         (setAlignment): Call nativeSetAlignment.
2872         (getArgs): Remove method.
2873         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2874         (find_fg_color_widget, find_bg_color_widget): New functions.
2875         (gtkWidgetSetForeground): Call find_fg_color_widget.
2876         (gtkWidgetSetBackground): Call find_bg_color_widget.  Modify active and
2877         prelight colors.
2878         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create): Wrap label
2879         widget in event box.
2880         (setText, setAlignment): Implement new native methods.
2882 2003-11-11  Michael Koch  <konqueror@gmx.de>
2884         * java/awt/Font.java,
2885         java/awt/datatransfer/DataFlavor.java,
2886         java/math/BigInteger.java,
2887         java/net/Inet4Address.java,
2888         java/net/Inet6Address.java,
2889         java/rmi/MarshalledObject.java,
2890         java/rmi/server/RMIClassLoader.java,
2891         java/security/cert/CertStore.java,
2892         java/sql/Timestamp.java,
2893         java/text/SimpleDateFormat.java,
2894         javax/naming/CompoundName.java:
2895         Removed some redundant obj == null checks.
2897 2003-11-11  Michael Koch  <konqueror@gmx.de>
2899         * java/nio/ByteBuffer.java
2900         (equals): Remove redundant obj == null check.
2902 2003-11-11  Michael Koch  <konqueror@gmx.de>
2904         * gnu/java/nio/natPipeImpl.cc,
2905         gnu/java/nio/natSelectorImpl.cc: Removed
2906         * gnu/java/nio/natPipeImplEcos.cc,
2907         gnu/java/nio/natPipeImplPosix.cc,
2908         gnu/java/nio/natPipeImplWin32.cc,
2909         gnu/java/nio/natSelectorImplEcos.cc,
2910         gnu/java/nio/natSelectorImplPosix.cc,
2911         gnu/java/nio/natSelectorImplWin32.cc: New files
2912         * configure.in: Create links for gnu/java/nio/natPipeImpl.cc and
2913         gnu/java/nio/natSelectorImpl.cc
2914         * configure: Regenerated.
2916 2003-11-11  Micheal Koch  <konqueror@gmx.de>
2918         * java/net/URLStreamHandler.java (toExternalForm): Print port only
2919         if host is printed too and port was really given to URL.
2921 2003-11-10  Gary Benson  <gbenson@redhat.com>
2923         * java/sql/Timestamp.java (valueOf): Correctly handle
2924         nanoseconds.
2926 2003-11-09  Tom Tromey  <tromey@redhat.com>
2928         * java/net/Inet4Address.java (serialVersionUID): Updated.
2930 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
2932         * gnu/gcj/runtime/FirstThread.java (Klocale, Kcalendar):
2933         New fields.
2935 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
2937         * java/io/ByteArrayOutputStream.java (resize):
2938         Fix off-by-one error.
2940 2003-11-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
2942         * gnu/gcj/xlib/XAnyEvent.java (XAnyEvent): Make constructor
2943         public.
2945 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
2947         PR libgcj/12231
2948         * java/lang/Win32Process.java (hasExited) Changed from
2949         public to private.
2950         (startProcess): Likewise.
2951         (cleanup): Likewise.
2952         * java/lang/natWin32Process.cc (cleanup) Don't close
2953         input, output and error streams.
2954         (ChildProcessPipe): New helper class.
2955         (startProcess): Refactored to use ChildProcessPipe.
2956         Use CREATE_NO_WINDOW when launching child process.
2958 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
2960         * include/win32.h (_Jv_platform_close_on_exec): Changed
2961         signature and declared extern.
2962         * win32.cc (_Jv_platform_close_on_exec): Implemented.
2963         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
2964         (create): Use new signature of _Jv_platform_close_on_exec.
2965         * gnu/java/net/natPlainSocketImplWin32.cc 
2966         (create): Eliminated a few typecasts
2967         Use new signature of _Jv_platform_close_on_exec.
2968         (accept): Eliminated a few typecasts
2969         Use new signature of _Jv_platform_close_on_exec.
2970         * java/io/natFileDescriptorWin32.cc (open): Use
2971         _Jv_platform_close_on_exec.
2973 2003-11-04  Bryce McKinlay  <bryce@mckinlay.net.nz>
2975         * java/lang/natClass.cc (newInstance): Throw InstantiationException
2976         if class has no null-argument constructor.
2978 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
2980         PR libgcj/12647:
2981         * win32-threads.cc (_Jv_CondWait): Respect mutex's
2982         refcount when releasing and reacquiring it.
2984 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
2986         * win32.cc: (dirExists) Internal helper function to
2987         test for directory existence.
2988         (getUserHome) New helper function refactored out
2989         of _Jv_platform_initProperties. Uses USERPROFILE
2990         instead of HOMEDIR and attempts to support Win9X and NT.
2991         (_Jv_platform_initProperties) Use getUserHome.
2993 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
2995         PR libgcj/11521:
2996         * gnu/java/net/natPlainSocketImplWin32.cc
2997         (bind): Don't use SO_REUSEADDR
2999 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
3001         PR libgcj/6652:
3002         * java/io/natFileWin32.cc (getCanonicalPath): Treat "" like ".".
3004 2003-10-30  Bryce McKinlay  <bryce@mckinlay.net.nz>
3006         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Don't use vtable
3007         dispatch for final methods.
3009 2003-10-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
3011         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Turn on
3012         word wrapping.
3014 2003-10-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
3016         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (getSize): Return
3017         scrolled window's size request.
3019 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
3021         * java/awt/geom/CubicCurve2D.java (contains): Docfix for URL of embedded drawing.
3022         * java/awt/geom/QuadCurve2D.java: Likewise.
3024 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
3026         * java/awt/geom/CubicCurve2D.java: Added documentation.
3027         * java/awt/geom/QuadCurve2D.java: Likewise.
3029         * java/awt/geom/doc-files/QuadCurve2D-4.png,
3030         java/awt/geom/doc-files/QuadCurve2D-5.png,
3031         java/awt/geom/doc-files/CubicCurve2D-4.png,
3032         java/awt/geom/doc-files/Cubicurve2D-5.png: New illustrations.
3034 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
3036         * java/awt/geom/CubicCurve2D.java (getFlatnessSq): Implement.
3037         (subdivide(CubicCurve2D, CubicCurve2D)): Avoid useless object allocation.
3038         (subdivide(double[],int,double[],int,double[],int)): Implement.
3040 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
3042         * java/awt/geom/doc-files/CubicCurve2D-1.png,
3043         java/awt/geom/doc-files/CubicCurve2D-2.png,
3044         java/awt/geom/doc-files/CubicCurve2D-3.png: New illustrations.
3046 2003-10-29  Ito Kazumitsu <kaz@maczuka.gcd.org>
3048         * java/text/DecimalFormat.java
3049         (scanFormat) corrected so that '%' may appear in a pattern.
3051 2003-10-29  Mark Wielaard  <mark@klomp.org>
3053         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
3054         * java/text/DateFormat.java (Field): New public static inner class.
3055         * java/text/Format.java (Field): Likewise.
3056         (formatToCharacterIterator): New method.
3057         * java/text/FormatCharacterIterator.java: New file.
3059 2003-10-29  Mark Wielaard  <mark@klomp.org>
3061         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
3062         * java/util/Currency.java: New file.
3064 2003-10-29  Michael Koch  <konqueror@gmx.de>
3066         * Makefile.am (ordinary_java_source_files): Added
3067         java/text/FormatCharacterIterator.java and java/util/Currency.java.
3068         * Makefile.in: Regenerated.
3070 2003-10-29  Dalibor Topic  <robilad@kaffe.org>
3072         * gnu/java/beans/IntrospectionIncubator.java (addMethod): Add public
3073         static methods.
3075 2003-10-29  Julian Dolby  <dolby@us.ibm.com>
3077         * javax/naming/spi/NamingManager.java (getContinuationContext): Call
3078         getObjectInstance() with Object, Name, Context and environment
3079         Hashtable from exception. Call fillInStackTrace() on exception when
3080         rethrown.
3081         * javax/naming/InitialContext.java (lookup(Name)): When a
3082         CannotProceedException is thrown use the ContinuationContext.
3083         (lookup(String)): Likewise.
3084         (close): Clear myProps and defaultInitCtx.
3086 2003-10-29  Michael Koch  <konqueror@gmx.de>
3088         * java/net/InetAddress.java
3089         (equals): Remove redundant obj == null check.
3090         * java/net/SocketPermission.java
3091         (equals): Likewise.
3092         * java/net/URL.java
3093         (equals): Likewise.
3094         (getURLStreamHandler): Likewise.
3096 2003-10-29  Michael Koch  <konqueror@gmx.de>
3098         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
3099         (setOption): Directly return if no error occured.
3100         * gnu/java/net/natPlainSocketImplPosix.cc
3101         (setOption): Likewise.
3103 2003-10-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
3105         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Always assign a
3106         vtable slot for final methods. Add FIXME comment.
3108 2003-10-28  David S. Miller  <davem@redhat.com>
3110         * sysdep/sparc/locks.h (__cas_start_atomic): %g0 --> %%g0.
3112 2003-10-26  Mark Wielaard  <mark@klomp.org>
3114         Reported by Helmer Kraemer <hkraemer@freenet.de>
3115         * java/util/jar/JarInputStream.java (readManifest): Don't call
3116         closeEntry().
3118         * java/util/zip/DeflaterOutputStream.java (inbufWrite): New method.
3119         (finish): Use inbufWrite().
3120         (write(int)): Likewise.
3121         (write(byte[],int,int)): Likewise.
3123 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
3125         * java/lang/reflect/AccessibleObject.java (secureSetAccessible):
3126         Don't check for AccessibleObject. Update javadocs.
3127         
3128         * java/util/TreeMap.java: Doc fixes. HashMap -> TreeMap.
3130 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
3132         * java/lang/reflect/Constructor.java (toString): Avoid extra 
3133         whitespace on constructor with no modifiers.
3134         * java/lang/reflect/natConstructor.java (newInstance): Look up
3135         caller and perform accessibility check only if constructor is
3136         non-public and accessible flag is not set.
3138 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
3140         * jni.cc (_Jv_JNI_CallAnyMethodV, _Jv_JNI_CallAnyMethodA,
3141         _Jv_JNI_CallAnyVoidMethodV, _Jv_JNI_CallAnyVoidMethodA): Don't
3142         use _Jv_LookupDeclaredMethod(). Call _Jv_CallAnyMethodA with 
3143         is_virtual_call argument.
3144         * include/jvm.h (_Jv_isVirtualMethod): Moved and renamed from 
3145         natClass.cc.
3146         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use 
3147         _Jv_isVirtualMethod.
3148         * java/lang/reflect/natMethod.cc (invoke): Don't use 
3149         _Jv_LookupDeclaredMethod.
3150         (_Jv_CallAnyMethodA): New is_virtual_call argument. If specified,
3151         look up method in target object's vtable.
3153 2003-10-25  Graydon Hoare  <graydon@redhat.com>
3155         * gnu/java/awt/ClasspathToolkit.java: New abstract class.
3156         * gnu/java/awt/peer/ClasspathFontPeer.java: New abstract class.
3157         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
3158         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
3159         New concrete implementation of ClasspathFontPeer, with native part.
3160         * gnu/java/awt/peer/gtk/GdkGlyphVector.java,
3161         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
3162         New class, with native part.
3163         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3164         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
3165         implement setFont, cairoSetFont, drawGlyphVector, cairoShowGlyphs.
3167 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
3169         * java/lang/reflect/Method.java (toString): Avoid extra whitespace
3170         on method with no modifiers.
3172 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
3174         PR libgcj/11780:
3175         * java/lang/reflect/natMethod.cc (invoke): Look up caller and perform
3176         accessibility check only if target is non-public and accessible flag
3177         is not set.
3178         * java/lang/reflect/natField.cc (getAddr): Likewise.
3180 2003-10-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
3182         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (handleEvent):
3183         Remove method.
3184         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postWindowEvent):
3185         New method.
3186         * java/awt/Window.java (Window(Window,GraphicsConfiguration),
3187         show, hide, dispose, getOwnedWindows): Synchronize on tree lock.
3188         (dispose): Post WINDOW_CLOSED event.
3189         (addWindowFocusListener, addWindowStateListener): Assign result
3190         of multicaster add back to window listener.
3191         (removeWindowFocusListener, removeWindowStateListener): Assign
3192         result of multicaster remove back to window listener.
3193         (dispatchEventImpl): Add null checks for focus and state
3194         listeners.
3195         (processWindowEvent): Handle case where windowListener is null
3196         but state or focus listeners exist.
3197         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
3198         glue for postWindowEvent.
3199         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3200         (window_delete_cb, window_destroy_cb, window_show_cb,
3201         window_focus_in_cb, window_focus_out_cb, window_window_state_cb,
3202         window_get_new_state): New functions.
3203         * jni/gtk-peer/gtkpeer.h: Define window event and frame state
3204         macros.  Declare postWindowEventID.
3206 2003-10-24  Anthony Green  <green@redhat.com>
3208         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Fix case where
3209         we have no interpreter.
3211 2003-10-22  Andrew Haley  <aph@redhat.com>
3213         * java/lang/natClass.cc (initializeClass): Call
3214         _Jv_linkExceptionClassTable.
3215         (_Jv_LinkSymbolTable): Call )_Jv_ThrowNoSuchMethodError.  Call
3216         _Jv_Defer_Resolution on a method whose ncode is NULL.
3217         (_Jv_linkExceptionClassTable): New function.
3218         (_Jv_LayoutVTableMethods): If superclass looks like a constant pool
3219         entry, look it up.
3220         * java/lang/Class.h (struct _Jv_CatchClass): New.
3221         (_Jv_linkExceptionClassTable): New friend.
3222         (_Jv_Defer_Resolution): New friend.
3223         (class Class.catch_classes): New field.
3224         * include/java-interp.h (Jv_Defer_Resolution): New method.
3225         (_Jv_PrepareClass): Make a friend of _Jv_MethodBase.
3226         (_Jv_MethodBase.deferred): New field.
3227         (_Jv_Defer_Resolution): New function.
3228         * resolve.cc (_Jv_PrepareClass): Resolve deferred handlers.
3229         * exception.cc (get_ttype_entry): Change return type to void**.
3230         (PERSONALITY_FUNCTION): Remove all code related to using a
3231         Utf8Const* for a match type.  Change match type to be a pointer to
3232         a pointer, rather than a pointer to a Class.
3233         * defineclass.cc (handleCodeAttribute): Initialize
3234         method->deferred.
3235         (handleMethodsEnd): Likewise.
3237 2003-10-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3239         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Use
3240         _Jv_MutexCheckMonitor instead of accessing mutex.owner directly.
3242 2003-10-22  Tom Tromey  <tromey@redhat.com>
3244         PR libgcj/12416:
3245         * java/lang/Class.h: Updated.
3246         * java/lang/natClass.cc (_getFields): Removed.
3247         (getFields): Likewise.
3248         (getDeclaredFields): Added `public_only' parameter.
3249         * java/lang/Class.java (getFields): Now implemented in java; from
3250         Classpath.
3251         (getDeclaredFields): Likewise.
3252         (getDeclaredFields(boolean)): Declare.
3253         (_getFields): Removed.
3254         (internalGetFields): New method, from Classpath.
3256         PR libgcj/12656:
3257         * gnu/gcj/runtime/natFirstThread.cc (call_main): Use
3258         _Jv_LookupDeclaredMethod, not _Jv_GetMethodLocal.
3260 2003-10-22  David Daney  <ddaney@avtrex.com)
3262         * include/mips-signal.h: New file.
3263         * sysdep/dwarf2-backtrace.cc: New file.
3264         * sysdep/mips: New directory.
3265         * sysdep/mips/locks.h: New file.
3266         * Makefile.am(extra_cc_files): New, to allow extra c++ files to be
3267         added to libgcj.
3268         (extra_cc_source_files): Ditto.
3269         * configure.host(disable_dladdr):  New shell variable passed to
3270         configure.
3271         (mips*-*-linux*): sysdeps_dir=mips,
3272         can_unwind_signal=yes, disable_dladdr=yes, use -mxgot.
3273         (mipsel*-linux* | mipsisa32el*-linux*): Enable hash synchronization.
3274         * configure.in:(mips*-*-linux*): Use sysdep/dwarf2-backtrace.cc to
3275         generate backtrace, and include/mips-signal.h as SIGNAL_HANDLER
3276         (HAVE_DLADDR): Make it depend on setting of disable_dladdr.
3277         (EXTRA_CC_FILES): New, to support conditional addition of
3278         sysdep/dwarf2-backtrace.cc.
3279         * configure: Regenerated.
3280         * Makefile.in: Regenerated.
3281         * gcj/Makefile.in: Regenerated.
3282         * include/config.h.in: Regenerated.
3283         * include/Makefile.in: Regenerated.
3284         * testsuite/Makefile.in: Regenerated.
3285         
3286 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
3288         * java/awt/geom/QuadCurve2D.java (subdivide): Added documentation.
3289         java/awt/geom/doc-files/QuadCurve2D-3.png: New illustration.
3291 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
3293         * java/awt/geom/QuadCurve2D.java: Reformatted, wrote Javadoc.
3294         * java/awt/geom/doc-files: New directory.
3295         * java/awt/geom/doc-files/QuadCurve2D-1.png,
3296         java/awt/geom/doc-files/QuadCurve2D-2.png: New illustrations.
3297         
3298 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
3300         * java/awt/geom/QuadCurve2D.java (subdivide): Implement.
3302 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
3304         * java/awt/geom/QuadCurve2D.java (getFlatness, getFlatnessSq): Implement.
3306 2003-10-22  Michael Koch  <konqueror@gmx.de>
3308         * java/io/File.java
3309         (equals): Removed redundant obj == null check.
3310         (createTempFile): Merged comments from classpath.
3312 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
3314         Fix for bug #2944, reported by David Holmes <dholmes@dltech.com.au>
3315         * java/util/logging/ErrorManager.java (everUsed): Made volatile.
3316         (error): Synchronize on instance, not class.
3318 2003-10-21  Mark Wielaard  <mark@klomp.org>
3320         Reported by M.Negovanovic
3321         * java/beans/Introspector.java (getBeanInfo(ClassLoader, String)): New
3322         method.
3323         (reallyFindExplicitBeanInfo): Use new getBeanInfo() method.
3325 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
3327         Fix for Classpath bug #6076.
3328         * java/awt/geom/GeneralPath.java (append): Re-written.
3330 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
3332         Fix for Classpath bug #6089.
3333         * java/awt/geom/GeneralPath.java (curveTo): Set correct segment type.
3334         (getPathIterator, GeneralPathIterator): Re-written from scratch.
3336 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
3338         * java/awt/geom/GeneralPath.java (getCurrentPoint): Return last
3339         point, not start of subpath.  Fixes Classpath bug #6075.
3341 2003-10-21  Michael Koch  <konqueror@gmx.de>
3343         * java/nio/ByteOrder.java,
3344         java/nio/DirectByteBufferImpl.java,
3345         java/nio/channels/FileChannelImpl.java:
3346         Add code to load library with code for native methods if needed.
3348 2003-10-21  Michael Koch  <konqueror@gmx.de>
3350         * gnu/java/net/PlainDatagramSocketImpl.java,
3351         gnu/java/net/PlainSocketImpl.java,
3352         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
3353         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
3354         gnu/java/net/natPlainSocketImplPosix.cc,
3355         gnu/java/net/natPlainSocketImplWin32.cc:
3356         Renamed fnum to native_fd to match classpath more.
3358 2003-10-21  Jerry Quinn  <jlquinn@optonline.net>
3360         * posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename
3361         _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor.
3362         * include/no-threads.h (_Jv_MutexCheckMonitor): New.
3363         * include/posix-threads.h (_Jv_MutexCheckMonitor): Rename from
3364         _Jv_PthreadCheckMonitor.  Simplify code.
3365         (_Jv_MutexUnlock): Use _Jv_MutexCheckMonitor.
3366         * include/win32-threads.h (_Jv_MutexCheckMonitor): New.
3367         * java/lang/Object.h (_Jv_ObjectCheckMonitor): Declare.
3368         * java/lang/Thread.java (holdsLock): New.
3369         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): New, with and
3370         without JV_HASH_SYNCHRONIZATION.
3371         * java/lang/natThread.cc (java::lang::Thread::holdsLock): New.
3373 2003-10-20  Michael Koch  <konqueror@gmx.de>
3375         * java/text/RuleBasedCollator.java
3376         (RuleBasedCollator): Check rules not empty, fixed search in already
3377         existing collation elements.
3378         (is_special): Removed common whitespace characters.
3379         (text_argument): Dont return on whitespaces, add characters between
3380         two ' to string buffer.
3382 2003-10-18  Michael Koch  <konqueror@gmx.de>
3384         * gnu/java/net/protocol/file/Connection.java,
3385         gnu/java/net/protocol/file/Handler.java,
3386         gnu/java/net/protocol/http/Connection.java,
3387         gnu/java/net/protocol/http/Handler.java,
3388         gnu/java/net/protocol/jar/Connection.java,
3389         gnu/java/net/protocol/jar/Handler.java:
3390         Merged copyright text from classpath to make
3391         it possible to merge the classes.
3393 2003-10-18  Mark Wielaard  <mark@klomp.org>
3395         Reported by M.Negovanovic
3396         * java/beans/IndexedPropertyDescriptor.java
3397         (IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex.
3399 2003-10-17  Mohan Embar  <gnustuff@thisiscool.com>
3401         * win32.cc (_Jv_pipe): Implemented.
3402         * gnu/java/nio/natPipeImpl.cc (nativeInit): Use
3403         _Jv_pipe instead of ::pipe.
3404         * include/posix.h (_Jv_pipe): New inline.
3405         * include/win32.h (_Jv_pipe): New declaration.
3406         
3407 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
3409         * java/lang/StringBuffer.java (getChars): Fix array index checks.
3410         (append, substring, insert): Likewise.
3411         * testsuite/libjava.lang/StringBuffer_overflow.java: New file.
3412         * testsuite/libjava.lang/StringBuffer_overflow.out: New file.
3413         
3414 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
3416         * java/lang/natString.cc (getChars):
3417         Fix validation of array indexes.
3418         (getBytes, regionMatches, startsWith, valueOf): Likewise.
3419         * testsuite/libjava.lang/String_overflow.java: New file.
3420         * testsuite/libjava.lang/String_overflow.out: New file.
3422 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
3424         * prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't
3425         overflow a jint.
3426         (_Jv_NewPrimArray): Check for overflowing a jint, replacing a
3427         check for overflowing size_t, since the lower level functions
3428         take a jint.
3429         * testsuite/libjava.lang/newarray_overflow.java:  New file.
3430         * testsuite/libjava.lang/newarray_overflow.out:  New file.
3431         
3432 2003-10-15  Michael Koch  <konqueror@gmx.de>
3434         * java/text/RuleBasedCollator.java
3435         (RuleBasedCollator): Moved around, documentation added.
3436         (compare): Documentation added.
3437         (equals): Likewise.
3438         (getCollationElementIterator): Likewise.
3439         (getCollationKey): Likewise.
3440         (getRules): Likewise.
3441         (hashCode): Likewise.
3443 2003-10-15  Michael Koch  <konqueror@gmx.de>
3445         * java/text/RuleBasedCollator.java
3446         (CollationElement): Renamed from RBCElement and moved into
3447         RuledBasedCollator as inner class.
3449 2003-10-15  Michael Koch  <konqueror@gmx.de>
3451         * java/text/CollationElementIterator.java
3452         (CollationElementIterator): Moved, documenatation added, call setText.
3453         (next): Reformated.
3454         (reset): Reformated.
3455         (setText): New method.
3456         (getOffset): New method.
3457         * java/text/CollationKey.java
3458         (getSourceString): Reformated.
3459         (hashCode): Reformated.
3460         (toByteArray): Reformated.
3462 2003-10-15  Michael Koch  <konqueror@gmx.de>
3464         * java/util/zip/InflaterInputStream.java
3465         (InflaterInputStream): Renamed infl to inf and bufsize to size,
3466         added description to exception, check for inf == null and size < 0.
3468 2003-10-15  Michael Koch  <konqueror@gmx.de>
3470         * java/text/AttributedCharacterIterator.java,
3471         java/text/CharacterIterator.java: Reformated.
3473 2003-10-15  Michael Koch  <konqueror@gmx.de>
3475         * javax/swing/UIDefaults.java (putDefaults):
3476         Readded accidently removed "public" modifier.
3478 2003-10-14  Paolo Bonzini  <bonzini@gnu.org>
3480         * interpret.cc (_Jv_InterpMethod::run): Don't
3481         use libffi types, they were meant to be internal.
3482         * gcj/javaprims.h (_Jv_ulong): New typedef.
3484 2003-10-13  Tom Tromey  <tromey@redhat.com>
3486         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields): Removed.
3487         (defineClass): Updated.
3488         (_Jv_NewClass): Likewise.
3489         * prims.cc (_Jv_InitPrimClass): Don't call
3490         _Jv_InitNewClassFields.
3492 2003-10-13  Taras Glek  <taras.judge@shaw.ca>
3494         PR libgcj/12592
3495         * gnu/java/net/protocol/http/Connection.java (connect): Use \r\n,
3496         not just \n.
3498 2003-10-13  Michael Koch  <konqueror@gmx.de>
3500         * java/io/File.java: Reformated.
3501         (equals): Check for obj == null.
3503 2003-10-13  Michael Koch  <konqueror@gmx.de>
3505         * java/net/JarURLConnection.java
3506         (jarFileURL): Added dcoumentation.
3507         (jarFileURLConnection): Reformated documentation.
3508         (entryName): Renamed from "element", documentation rewritten.
3509         (connectionCache): Renamed from "conn_cache", documentation
3510         reformated.
3511         (JarURLConnection): Check URL protocol.
3512         (getEntryName): Use entryName.
3513         (connect): Use connectionCache.
3514         (getInputStream): Use entryName, fixed comment.
3515         (getJarEntry): Use entryName.
3516         (getHeaders): Use entryName.
3517         * java/net/URLConnection.java
3518         (addRequestProperty): Fixed documentation.
3519         (setDefaultRequestProptery): Added comment that it does nothing since
3520         JDK 1.3.
3521         (getDefaultRequestProperty): Likewise.
3523 2003-10-13  Michael Koch  <konqueror@gmx.de>
3525         * java/net/java/net/URLStreamHandlerFactory.java
3526         (createURLStreamHandler): Removed redundant "public" modifier.
3527         * java/sql/DatabaseMetaData.java:
3528         (DatabaseMetaData):  Readded accidently removed "public" modifier.
3529         * java/sql/ParameterMetaData.java:
3530         (ParameterMetaData): Readded accidently removed "public" modifier.
3531         * java/sql/PreparedStatement.java:
3532         (PreparedStatement): Readded accidently removed "public" modifier.
3533         * java/sql/Ref.java:
3534         (Ref): Readded accidently removed "public" modifier.
3536 2003-10-13  Michael Koch  <konqueror@gmx.de>
3538         * java/nio/Buffer.java
3539         (hasRemaining): Made implementation more clear.
3540         * java/nio/MappedByteBuffer.java
3541         (loaded): New member variable.
3542         (force): Added comment.
3543         (isLoaded): Return value of loaded.
3544         (load): Set loaded to true, added comment.
3546 2003-10-12  Michael Koch  <konqueror@gmx.de>
3548         * gnu/java/nio/PipeImpl.java
3549         (SourceChannelImpl): New inner class.
3550         (SinkChannelImpl): New inner class.
3551         (sink): New member variable.
3552         (source): New member variable.
3553         (PipeImpl): Add SelectorProvider argument, implemented.
3554         (nativeInit): New method.
3555         (sink): Return sink channel.
3556         (source): Return source channel.
3557         * gnu/java/nio/SelectorProviderImpl.java
3558         (openPipe): Give provider as argument to PipeImpl constructor.
3559         * java/nio/channels/spi/SelectorProvider.java
3560         (pr): Removed.
3561         (systemDefaultProvider): New member variable.
3562         (provider): Made it synchronized, use property
3563         java.nio.channels.spi.SelectorProvider.
3564         * gnu/java/nio/natPipeImpl.cc: New file.
3565         * Makefile.am (nat_source_files): Added gnu/java/nio/natPipeImpl.cc.
3566         * Makefile.in: Regenerated.
3568 2003-10-12  Michael Koch  <konqueror@gmx.de>
3570         * javax/swing/table/DefaultTableModel.java,
3571         javax/swing/table/TableCellEditor.java,
3572         javax/swing/table/TableCellRenderer.java,
3573         javax/swing/table/TableColumnModel.java,
3574         javax/swing/table/TableModel.java,
3575         javax/swing/text/AbstractDocument.java,
3576         javax/swing/text/Document.java,
3577         javax/swing/text/MutableAttributeSet.java,
3578         javax/swing/text/StyledDocument.java,
3579         javax/swing/text/ViewFactory.java,
3580         javax/swing/tree/DefaultMutableTreeNode.java,
3581         javax/swing/tree/MutableTreeNode.java,
3582         javax/swing/tree/RowMapper.java,
3583         javax/swing/tree/TreeCellEditor.java,
3584         javax/swing/tree/TreeCellRenderer.java,
3585         javax/swing/tree/TreeModel.java,
3586         javax/swing/tree/TreeNode.java,
3587         javax/swing/tree/TreeSelectionModel.java,
3588         javax/swing/undo/StateEditable.java,
3589         javax/swing/undo/UndoableEdit.java:
3590         Removed redundant modifiers.
3592 2003-10-12  Michael Koch  <konqueror@gmx.de>
3594         * javax/swing/event/AncestorListener.java,
3595         javax/swing/event/CaretListener.java,
3596         javax/swing/event/CellEditorListener.java,
3597         javax/swing/event/ChangeListener.java,
3598         javax/swing/event/DocumentEvent.java,
3599         javax/swing/event/DocumentListener.java,
3600         javax/swing/event/HyperlinkListener.java,
3601         javax/swing/event/InternalFrameListener.java,
3602         javax/swing/event/ListDataListener.java,
3603         javax/swing/event/ListSelectionListener.java,
3604         javax/swing/event/MenuDragMouseListener.java,
3605         javax/swing/event/MenuKeyListener.java,
3606         javax/swing/event/MenuListener.java,
3607         javax/swing/event/MouseInputListener.java,
3608         javax/swing/event/PopupMenuListener.java,
3609         javax/swing/event/TableColumnModelListener.java,
3610         javax/swing/event/TableModelListener.java,
3611         javax/swing/event/TreeExpansionListener.java,
3612         javax/swing/event/TreeModelListener.java,
3613         javax/swing/event/TreeSelectionListener.java,
3614         javax/swing/event/TreeWillExpandListener.java,
3615         javax/swing/event/UndoableEditListener.java,
3616         javax/swing/plaf/UIResource.java,
3617         javax/swing/plaf/metal/MetalLookAndFeel.java:
3618         Removed redundant modifiers.
3620 2003-10-12  Michael Koch  <konqueror@gmx.de>
3622         * javax/swing/Action.java,
3623         javax/swing/BoundedRangeModel.java,
3624         javax/swing/CellEditor.java,
3625         javax/swing/ComboBoxEditor.java,
3626         javax/swing/ComboBoxModel.java,
3627         javax/swing/DesktopManager.java,
3628         javax/swing/JComboBox.java,
3629         javax/swing/ListCellRenderer.java,
3630         javax/swing/ListSelectionModel.java,
3631         javax/swing/MenuElement.java,
3632         javax/swing/MutableComboBoxModel.java,
3633         javax/swing/Renderer.java,
3634         javax/swing/RootPaneContainer.java,
3635         javax/swing/ScrollPaneConstants.java,
3636         javax/swing/SingleSelectionModel.java,
3637         javax/swing/SpinnerModel.java,
3638         javax/swing/SwingConstants.java,
3639         javax/swing/UIDefaults.java,
3640         javax/swing/WindowConstants.java,
3641         javax/swing/border/Border.java,
3642         javax/swing/colorchooser/ColorSelectionModel.java:
3643         Removed redundant modifiers.
3645 2003-10-11  Michael Koch  <konqueror@gmx.de>
3647         * javax/transaction/Status.java,
3648         javax/transaction/Synchronization.java,
3649         javax/transaction/Transaction.java,
3650         javax/transaction/TransactionManager.java,
3651         javax/transaction/UserTransaction.java,
3652         javax/transaction/xa/XAResource.java,
3653         javax/transaction/xa/Xid.java:
3654         Removing redundant modifiers.
3656 2003-10-11  Michael Koch  <konqueror@gmx.de>
3658         * javax/print/attribute/Attribute.java,
3659         javax/print/attribute/AttributeSet.java,
3660         javax/print/attribute/PrintRequestAttributeSet.java:
3661         Removing redundant modifiers.
3663 2003-10-11  Michael Koch  <konqueror@gmx.de>
3665         * javax/sql/ConnectionEventListener.java,
3666         javax/sql/ConnectionPoolDataSource.java,
3667         javax/sql/DataSource.java,
3668         javax/sql/PooledConnection.java,
3669         javax/sql/RowSet.java,
3670         javax/sql/RowSetInternal.java,
3671         javax/sql/RowSetListener.java,
3672         javax/sql/RowSetMetaData.java,
3673         javax/sql/RowSetReader.java,
3674         javax/sql/RowSetWriter.java,
3675         javax/sql/XAConnection.java,
3676         javax/sql/XADataSource.java:
3677         Removing redundant modifiers.
3679 2003-10-11  Michael Koch  <konqueror@gmx.de>
3681         * javax/naming/Context.java,
3682         javax/naming/Name.java,
3683         javax/naming/NameParser.java,
3684         javax/naming/NamingEnumeration.java,
3685         javax/naming/Referenceable.java,
3686         javax/naming/directory/Attribute.java,
3687         javax/naming/directory/Attributes.java,
3688         javax/naming/directory/DirContext.java,
3689         javax/naming/event/EventContext.java,
3690         javax/naming/event/EventDirContext.java,
3691         javax/naming/event/NamespaceChangeListener.java,
3692         javax/naming/event/NamingListener.java,
3693         javax/naming/event/ObjectChangeListener.java,
3694         javax/naming/ldap/Control.java,
3695         javax/naming/ldap/ExtendedRequest.java,
3696         javax/naming/ldap/ExtendedResponse.java,
3697         javax/naming/ldap/HasControls.java,
3698         javax/naming/ldap/LdapContext.java,
3699         javax/naming/ldap/UnsolicitedNotification.java,
3700         javax/naming/ldap/UnsolicitedNotificationListener.java,
3701         javax/naming/spi/DirObjectFactory.java,
3702         javax/naming/spi/DirStateFactory.java,
3703         javax/naming/spi/InitialContextFactory.java,
3704         javax/naming/spi/InitialContextFactoryBuilder.java,
3705         javax/naming/spi/ObjectFactory.java,
3706         javax/naming/spi/ObjectFactoryBuilder.java,
3707         javax/naming/spi/Resolver.java,
3708         javax/naming/spi/StateFactory.java:
3709         Removing redundant modifiers.
3711 2003-10-11  Michael Koch  <konqueror@gmx.de>
3713         * java/security/Key.java,
3714         * java/security/PrivateKey.java,
3715         * java/security/PublicKey.java,
3716         * java/security/acl/Acl.java,
3717         * java/security/acl/AclEntry.java,
3718         * java/security/acl/Group.java,
3719         * java/security/acl/Owner.java,
3720         * java/security/acl/Permission.java,
3721         * java/security/cert/X509Extension.java,
3722         * java/security/interfaces/DSAKey.java,
3723         * java/security/interfaces/DSAKeyPairGenerator.java,
3724         * java/security/interfaces/DSAParams.java,
3725         * java/security/interfaces/DSAPrivateKey.java,
3726         * java/security/interfaces/DSAPublicKey.java,
3727         * java/security/interfaces/RSAKey.java,
3728         * java/security/interfaces/RSAPrivateCrtKey.java,
3729         * java/security/interfaces/RSAPrivateKey.java,
3730         * java/security/interfaces/RSAPublicKey.java:
3731         Removed redundant modifiers.
3733 2003-10-11  Michael Koch  <konqueror@gmx.de>
3735         * gnu/java/rmi/server/ProtocolConstants.java,
3736         gnu/java/security/der/DER.java:
3737         Removing redundant modifiers.
3739 2003-10-11  Michael Koch  <konqueror@gmx.de>
3741         * java/util/Map.java,
3742         java/util/Observer.java,
3743         java/util/zip/Checksum.java,
3744         java/util/zip/ZipConstants.java:
3745         Removed redundant modifiers.
3747 2003-10-11  Michael Koch  <konqueror@gmx.de>
3749         * java/text/AttributedCharacterIterator.java,
3750         java/text/CharacterIterator.java:
3751         Removed redundant modifiers.
3753 2003-10-11  Michael Koch  <konqueror@gmx.de>
3755         * java/sql/Array.java,
3756         java/sql/Blob.java,
3757         java/sql/CallableStatement.java,
3758         java/sql/Clob.java,
3759         java/sql/Connection.java,
3760         java/sql/DatabaseMetaData.java,
3761         java/sql/Driver.java,
3762         java/sql/ParameterMetaData.java,
3763         java/sql/PreparedStatement.java,
3764         java/sql/Ref.java,
3765         java/sql/ResultSet.java,
3766         java/sql/ResultSetMetaData.java,
3767         java/sql/SQLData.java,
3768         java/sql/SQLInput.java,
3769         java/sql/SQLOutput.java,
3770         java/sql/Savepoint.java,
3771         java/sql/Statement.java,
3772         java/sql/Struct.java:
3773         Removed redundant modifiers.
3775 2003-10-11  Michael Koch  <konqueror@gmx.de>
3777         * java/nio/channels/Channel.java,
3778         java/nio/channels/GatheringByteChannel.java,
3779         java/nio/channels/ReadableByteChannel.java,
3780         java/nio/channels/ScatteringByteChannel.java,
3781         java/nio/channels/WritableByteChannel.java:
3782         Removed redundant modifiers.
3784 2003-10-11  Michael Koch  <konqueror@gmx.de>
3786         * java/rmi/activation/ActivationInstantiator.java,
3787         java/rmi/activation/ActivationMonitor.java,
3788         java/rmi/activation/ActivationSystem.java,
3789         java/rmi/activation/Activator.java,
3790         java/rmi/dgc/DGC.java,
3791         java/rmi/registry/Registry.java,
3792         java/rmi/registry/RegistryHandler.java,
3793         java/rmi/server/LoaderHandler.java,
3794         java/rmi/server/RMIClientSocketFactory.java,
3795         java/rmi/server/RMIFailureHandler.java,
3796         java/rmi/server/RMIServerSocketFactory.java,
3797         java/rmi/server/RemoteCall.java,
3798         java/rmi/server/RemoteRef.java,
3799         java/rmi/server/ServerRef.java,
3800         java/rmi/server/Skeleton.java,
3801         java/rmi/server/Unreferenced.java:
3802         Removed redundant modifiers.
3804 2003-10-11  Michael Koch  <konqueror@gmx.de>
3806         * java/net/ContentHandlerFactory.java,
3807         java/net/DatagramSocketImplFactory.java,
3808         java/net/FileNameMap.java,
3809         java/net/SocketImplFactory.java,
3810         java/net/SocketOptions.java,
3811         java/net/URLStreamHandlerFactory.java:
3812         Removed redundant modifiers.
3814 2003-10-11  Michael Koch  <konqueror@gmx.de>
3816         * java/io/Externalizable.java,
3817         java/io/FileFilter.java,
3818         java/io/FilePermission.java,
3819         java/io/ObjectInput.java,
3820         java/io/ObjectInputValidation.java,
3821         java/io/ObjectOutput.java,
3822         java/io/ObjectStreamClass.java,
3823         java/io/ObjectStreamConstants.java,
3824         java/io/Serializable.java:
3825         Removed redundant modifiers.
3827 2003-10-11  Ingo Proetel  <proetel@aicas.com>
3829         * java/rmi/server/RMIClassLoader.java: Identify cached classloaders by 
3830         codebase and context classloader.
3832 2003-10-11  Michael Koch  <konqueror@gmx.de>
3834         * java/beans/beancontext/BeanContext.java,
3835         java/beans/beancontext/BeanContextChild.java,
3836         java/beans/beancontext/BeanContextChildComponentProxy.java,
3837         java/beans/beancontext/BeanContextChildSupport.java,
3838         java/beans/beancontext/BeanContextContainerProxy.java,
3839         java/beans/beancontext/BeanContextMembershipListener.java,
3840         java/beans/beancontext/BeanContextProxy.java,
3841         java/beans/beancontext/BeanContextServiceProvider.java,
3842         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java,
3843         java/beans/beancontext/BeanContextServiceRevokedListener.java,
3844         java/beans/beancontext/BeanContextServices.java,
3845         java/beans/beancontext/BeanContextServicesListener.java:
3846         Removed redundant modifiers.
3848 2003-10-11  Michael Koch  <konqueror@gmx.de>
3850         * java/beans/AppletInitializer.java,
3851         java/beans/BeanInfo.java,
3852         java/beans/Customizer.java,
3853         java/beans/DesignMode.java,
3854         java/beans/PropertyEditor.java,
3855         java/beans/Visibility.java:
3856         Removed redundant modifiers.
3858 2003-10-11  Michael Koch  <konqueror@gmx.de>
3860         * java/awt/print/Pageable.java,
3861         * java/awt/print/Printable.java,
3862         java/awt/print/PrinterGraphics.java:
3863         Removed redundant modifiers.
3865 2003-10-11  Michael Koch  <konqueror@gmx.de>
3867         * java/awt/peer/ButtonPeer.java,
3868         java/awt/peer/CheckboxMenuItemPeer.java,
3869         java/awt/peer/CheckboxPeer.java,
3870         java/awt/peer/ChoicePeer.java,
3871         java/awt/peer/ComponentPeer.java,
3872         java/awt/peer/ContainerPeer.java,
3873         java/awt/peer/DialogPeer.java,
3874         java/awt/peer/FileDialogPeer.java,
3875         java/awt/peer/FramePeer.java,
3876         java/awt/peer/LabelPeer.java,
3877         java/awt/peer/ListPeer.java,
3878         java/awt/peer/MenuBarPeer.java,
3879         java/awt/peer/MenuComponentPeer.java,
3880         java/awt/peer/MenuItemPeer.java,
3881         java/awt/peer/MenuPeer.java,
3882         java/awt/peer/PopupMenuPeer.java,
3883         java/awt/peer/RobotPeer.java,
3884         java/awt/peer/ScrollPanePeer.java,
3885         java/awt/peer/ScrollbarPeer.java,
3886         java/awt/peer/TextAreaPeer.java,
3887         java/awt/peer/TextComponentPeer.java,
3888         java/awt/peer/TextFieldPeer.java,
3889         java/awt/peer/WindowPeer.java:
3890         Removed redundant modifiers.
3892 2003-10-11  Michael Koch  <konqueror@gmx.de>
3894         * gnu/java/nio/NIOSocket.java (setChannel): Initialize impl.
3895         * gnu/java/nio/ServerSocketChannelImpl.java
3896         (serverSocket): Made it a NIOServerSocket.
3897         (impl): Removed.
3898         (ServerSocketChannelImpl): Initialize only serverSocket.
3899         (initServerSocket): Removed.
3900         (getNativeFD): Rewritten.
3901         (implConfigureBlocking): Set socket timeout and removed comment.
3902         (accept): Rewritten.
3903         * gnu/java/nio/SocketChannelImpl.java
3904         (impl): New variable.
3905         (connected): Removed.
3906         (SocketChannelImpl): Initialize impl too.
3907         (getImpl): New method.
3908         (isConnected): Rewritten.
3909         (read): Rewritten, set position in buffer correctly.
3910         (write): Set position in buffer correctly.
3911         * java/net/ServerSocket.java (getImpl): New method.
3912         * gnu/java/nio/NIOServerSocket.java,
3913         gnu/java/nio/natNIOServerSocket.cc: New files.
3914         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
3915         * Makefile.am
3916         (ordinary_java_source_files):
3917         Added gnu/java/nio/NIOServerSocket.java.
3918         (nat_source_files):
3919         Removed gnu/java/nio/natServerSocketChannelImpl.cc
3920         and added gnu/java/nio/natNIOServerSocket.cc.
3921         * Makefile.in: Regenerated.
3923 2003-10-11  Michael Koch  <konqueror@gmx.de>
3925         * java/awt/ActiveEvent.java,
3926         java/awt/datatransfer/ClipboardOwner.java,
3927         java/awt/datatransfer/FlavorMap.java,
3928         java/awt/datatransfer/Transferable.java,
3929         java/awt/dnd/Autoscroll.java,
3930         java/awt/dnd/peer/DragSourceContextPeer.java,
3931         java/awt/dnd/peer/DropTargetContextPeer.java,
3932         java/awt/dnd/peer/DropTargetPeer.java,
3933         java/awt/font/MultipleMaster.java,
3934         java/awt/font/OpenType.java,
3935         java/awt/im/spi/InputMethodDescriptor.java,
3936         java/awt/image/ImageObserver.java,
3937         java/awt/image/ImageConsumer.java,
3938         java/awt/image/ImageProducer.java,
3939         java/awt/image/RGBImageFilter.java,
3940         java/awt/image/RasterOp.java,
3941         java/awt/image/renderable/RenderableImage.java:
3942         Removed redundant modifiers.
3944 2003-10-11  Michael Koch  <konqueror@gmx.de>
3946         * gnu/awt/j2d/DirectRasterGraphics.java,
3947         gnu/java/awt/EmbeddedWindowSupport.java:
3948         Removed redundant modifiers.
3950 2003-10-09  Michael Koch  <konqueror@gmx.de>
3952         * gnu/java/nio/SelectorImpl.java (register):
3953         Use ServerSocketChannelSelectionKey for server socket channels,
3954         removed unneeded comments.
3955         * gnu/java/nio/ServerSocketChannelImpl.java
3956         (ServerSocketChannelImpl): Made class public final.
3957         (impl): New member variable.
3958         (ServerSocketChannelImpl): Initialize member variables correctly.
3959         (initServerSocket): New method.
3960         (getNativeFD): Likewise.
3961         * gnu/java/nio/ServerSocketChannelSelectionKey.java,
3962         gnu/java/nio/natServerSocketChannelImpl.cc: New files.
3963         * Makefile.am (ordinary_java_source_files):
3964         Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
3965         (nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
3966         * Makefile.in: Regenrated.
3968 2003-10-09  Michael Koch  <konqueror@gmx.de>
3970         * java/nio/channels/spi/AbstractSelectableChannel.java
3971         (registered): Made private.
3972         (blocking): Likewise.
3973         (LOCK): Likewise.
3974         (provider): Likewise.
3975         (keys): Made it a private LinkedList.
3976         (AbstractSelectableChannel): Initialize keys.
3977         (isRegistered): New implementation.
3978         (locate): Rewritten.
3979         (register): Rewritten.
3980         * java/nio/channels/spi/AbstractSelectionKey.java
3981         (ok): Removed.
3982         (cancelled): New member variable.
3983         (cancel): Rewritten.
3984         (isValid): Rewritten.
3985         * java/nio/channels/spi/AbstractSelector.java:
3986         Some methods moved.
3987         (closed): Make private.
3988         (provider): Likewise.
3989         (cancelledKeys): New member variable.
3990         (AbstractSelector): Initialize cancelledKeys.
3991         (cancelKey): New method.
3993 2003-10-09  Tom Tromey  <tromey@redhat.com>
3995         * java/lang/ClassLoader.java (setSigners): Implemented.
3996         * boehm.cc (_Jv_MarkObj): Mark `signers' field.
3997         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
3998         Initialize new fields.
3999         * java/lang/Class.java (getSigners): Now native.
4000         (setSigners): Declare.
4001         * java/lang/natClass.cc (getSigners): New method.
4002         (getSigners): Likewise.
4003         * java/lang/Class.h (Class::signers): New field.
4004         (Class::setSigners): New method.
4006 2003-10-09  Michael Koch  <konqueror@gmx.de>
4008         * java/rmi/server/RMIClassLoader.java:
4009         Removed unused imports, little reformatings.
4010         (getClassLoader): New method, implementation was part of old loadCLass
4011         method.
4012         (loadClass): Simplified by moving functionality to new method and
4013         reworking the code a bit.
4014         (getClassAnnotation): Merged documentation from classpath.
4016 2003-10-09  Michael Koch  <konqueror@gmx.de>
4018         * java/math/BigInteger.java
4019         (add): Removed unused local variable len.
4021 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
4023         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
4024         modality check.
4025         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
4026         Initialize insets to use latest insets.
4027         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
4028         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
4029         field.
4030         (postConfigureEvent): Update latestInsets field when insets
4031         change.  Remove call to setSize.  Move validate call outside of
4032         if blocks.
4033         (setVisible): Call setBounds before showing window.
4034         (nativeSetVisible): New native method.
4035         * java/awt/Window.java (show): Show visible owned windows.
4036         (hide): Hide visible owned windows.
4037         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4038         (awt_event_handler): Implement modality using GTK grabs.
4039         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4040         (global_gtk_window_group): New global variable.
4041         (gtkInit): Initialize global_gtk_window_group.
4042         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
4043         Clamp width and height values to at least 1.  Add this window to
4044         the global GTK window group.
4045         (setVisible): Rename to nativeSetVisible.
4046         (setup_window): Remove function.
4047         (setSize): Clamp width and height values to at least 1.
4048         (nativeSetBounds): Likewise.
4049         (gdk_window_get_root_geometry): Remove function.
4050         * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
4051         and setup_window declarations.  Declare global_gtk_window_group.
4053         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4054         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
4055         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
4056         (gtkWidgetSetForeground): New method.
4057         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4058         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4059         (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
4060         (setBackground, setForeground): Implement.
4061         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4062         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
4063         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
4064         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4065         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
4066         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
4067         Position PangoLayout relative to text's baseline.
4068         * jni/gtk-peer/gtkpeer.h: Define AWT font style constants.
4070         * java/awt/FlowLayout.java (layoutContainer): Fix offset problem
4071         for CENTER and RIGHT alignments.
4073 2003-10-08  Michael Koch  <konqueror@gmx.de>
4075         * java/security/Security.java: Reformated.
4077 2003-10-08  Michael Koch  <konqueror@gmx.de>
4079         * java/text/SimpleDateFormat.java
4080         (compileFormat): Replace Character.isLetter() test with
4081         Character.isLowerCase() || Character.isUpperCase().
4083 2003-10-08  Tom Tromey  <tromey@redhat.com>
4085         * java/lang/StrictMath.java (toDegrees): Multiply before
4086         dividing.
4087         (toRadians): Likewise.
4089 2003-10-08  C. Brian Jones  <cbj@gnu.org>
4091         * java/lang/Math.java
4092         (toRadians): multiply before dividing to reduce decimal error
4093         (toDegrees): ditto
4095 2003-10-08  Michael Koch  <konqueror@gmx.de>
4097         * gnu/gcj/protocol/core/Connection.java,
4098         gnu/gcj/protocol/core/CoreInputStream.java,
4099         gnu/gcj/protocol/core/Handler.java,
4100         gnu/gcj/protocol/core/natCoreInputStream.cc,
4101         gnu/gcj/protocol/file/Connection.java,
4102         gnu/gcj/protocol/file/Handler.java,
4103         gnu/gcj/protocol/gcjlib/Connection.java,
4104         gnu/gcj/protocol/gcjlib/Handler.java,
4105         gnu/gcj/protocol/http/Connection.java,
4106         gnu/gcj/protocol/http/Handler.java,
4107         gnu/gcj/protocol/jar/Connection.java,
4108         gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
4109         * gnu/java/net/protocol/core/Connection.java,
4110         gnu/java/net/protocol/core/CoreInputStream.java,
4111         gnu/java/net/protocol/core/Handler.java,
4112         gnu/java/net/protocol/core/natCoreInputStream.cc,
4113         gnu/java/net/protocol/file/Connection.java,
4114         gnu/java/net/protocol/file/Handler.java,
4115         gnu/java/net/protocol/gcjlib/Connection.java,
4116         gnu/java/net/protocol/gcjlib/Handler.java,
4117         gnu/java/net/protocol/http/Connection.java,
4118         gnu/java/net/protocol/http/Handler.java,
4119         gnu/java/net/protocol/jar/Connection.java,
4120         gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
4121         * gnu/gcj/runtime/FirstThread.java,
4122         java/net/URL.java: Use moved protocol handlers.
4123         * Makefile.am
4124         (ordinary_java_source_files): Moved files.
4125         (nat_source_files): Likewise.
4126         * Makefile.in: Regenerated.
4128 2003-10-08  Michael Koch  <konqueror@gmx.de>
4130         * gnu/java/nio/SocketChannelImpl.java
4131         (read): Write only read data to buffer.
4133 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
4135         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
4136         out.
4137         * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
4138         (JCL_free): Attach "unused" attribute to env parameter.
4139         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
4140         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
4141         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
4142         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
4143         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
4144         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
4145         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
4146         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
4147         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
4148         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
4149         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
4150         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
4151         jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
4152         parameters.
4153         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
4154         (initNativeState): Pass 0 as info argument to
4155         gtk_selection_add_target.
4156         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4157         (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
4158         unused method implementations.
4159         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4160         (awt_event_handler): Add break statement after default label.
4161         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
4162         (drawPixels): Remove unused variable i.
4163         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
4164         (setEnabled): Remove method implementation.
4165         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
4166         (accel_attach): Call _gtk_accel_group_attach with G_OBJECT
4167         argument.
4168         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
4169         unused function.
4170         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
4171         (menu_pos): Assign TRUE to push_in.
4172         (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
4173         argument.
4174         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
4175         (create): Remove unused variable layout.
4176         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
4177         Pass window_widget, rather than window, to
4178         gtk_widget_set_size_request.
4179         * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
4180         structure initialization with NULL values.
4181         * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.
4183 2003-10-08  Michael Koch  <konqueror@gmx.de>
4185         * java/util/LinkedList.java:
4186         Removed whitespace to match classpath's version again.
4188 2003-10-08  Michael Koch  <konqueror@gmx.de>
4190         * java/util/prefs/Preferences.java
4191         (defaultFactoryClass): Fixed class name.
4192         (getFactory): Create instance of class returned by Class.forName(),
4193         reformated code.
4195 2003-10-08  Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
4197         * javax/swing/table/AbstractTableModel.java
4198         (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
4199         helped stop pulling my hair on this +1 then -1 tricky thing!
4201 2003-10-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
4203         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
4204         Remove unused parameters.
4205         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
4206         Likewise.
4207         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4208         (keyevent_state_to_awt_mods): Export function.
4209         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4210         (getCaretPosition): Fix TextArea case.
4211         (textcomponent_commit_cb): Get exact event time and modifier
4212         state.
4213         * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.
4215 2003-10-02  Guilhem Lavaux  <guilhem@kaffe.org>
4217         * java/net/InetSocketAddress.java
4218         (InetSocketAddress): Made exception more clear.
4219         (equals): Handle case when addr is null.
4220         (toString): Likewise.
4221         * java/net/NetworkInterface.java
4222         (static): Load native library.
4223         (getNetworkInterfaces): Rewritten.
4225 2003-10-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
4227         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
4228         field.
4229         (initializeInsets): New method.
4230         (GtkComponentPeer): Call initializeInsets.  Call setCursor and
4231         setBounds unconditionally.
4232         (setBounds): Convert coordinates if parent is a Window.
4233         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
4234         field to GtkComponentPeer.
4235         (GtkContainerPeer): Don't initialize insets.
4236         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
4237         New method.
4238         (create): Call new GtkWindowPeer create method.
4239         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
4240         New method.
4241         (create): Call new GtkWindowPeer create method.
4242         (setBounds): Remove method.
4243         (postConfigureEvent): Likewise.
4244         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
4245         type constants with GDK window type constants.
4246         (create(int,boolean,int,int,GtkWindowPeer)): New method.
4247         (create(int,boolean)): Likewise.
4248         (create()): Call create(int,boolean).
4249         (nativeSetBounds): New native method declaration.
4250         (setBounds): Call native method declaration.
4251         (setSize): New native method declaration.
4252         (setBoundsCallback): Likewise.
4253         (postConfigureEvent): Handle change in insets.  Call setSize and
4254         setBoundsCallback methods.
4255         * java/awt/Window.java (Window): Set visible to false.
4256         (setBoundsCallback): New method.
4257         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4258         (gtkWidgetGetLocationOnScreen): If this component is not a
4259         container, adjust the location returned based on the peer's
4260         allocation.
4261         (set(String,boolean)): Revert change from 2003-09-19.
4262         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4263         (awt_event_handler): Fix inset calculation.
4264         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
4265         glue for Window.setBoundsCallback.
4266         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
4267         Set up stacking order, window decorations and window manager
4268         hints.
4269         (setBoundsCallback): New method.
4270         (setSize): New method.
4271         (nativeSetBounds): New method.
4272         * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
4274 2003-10-02  Tom Tromey  <tromey@redhat.com>
4276         * java/lang/VMClassLoader.java (loadClass): Now native.
4277         * java/lang/natClassLoader.cc (loadClass): Implement.
4278         * prims.cc (_Jv_RunMain): Initialize ClassLoader.
4280 2003-10-02  Michael Koch  <konqueror@gmx.de>
4282         * java/net/InetAddress.java
4283         (zeros): Removed.
4284         (ANY_IF): Initalizie in static block.
4285         (static): Load library with native methods here and initialize ANY_IF.
4286         (isAnyLocalAddress): Check if equal to ANY_IF.
4287         (equals): Use addr directly instead of addr1. Simplify for loop.
4288         (toString): Rename "result" to "host" and add IP address allways.
4289         (getLocalHost): Merged documentation from classpath.
4290         * java/net/ServerSocket.java
4291         (ServerSocket): New package-private constructor used by java.nio.
4292         * java/net/URLConnection.java
4293         (getRequestProperties): Check if already connected.
4295 2003-10-02  Michael Koch  <konqueror@gmx.de>
4297         * java/nio/ByteBufferHelper.java:
4298         Rewrote all methods by suggestions from Eric Blake.
4300 2003-10-02  Michael Koch  <konqueror@gmx.de>
4302         * java/net/URL.java
4303         (DEFAULT_SEARCH_PATH): New static variable.
4304         (ph_cache): Made it a HashMap.
4305         (getURLStreamHandler): Rename propVal to ph_search_path and use
4306         DEFAULT_SEARCH_PATH.
4308 2003-10-02  Michael Koch  <konqueror@gmx.de>
4310         * javax/swing/table/AbstractTableModel.java
4311         (findColumnName): Prevent from NullPointerException if argument
4312         columnName is null.
4314 2003-10-02  Michael Koch  <konqueror@gmx.de>
4316         * javax/swing/table/AbstractTableModel.java:
4317         This patch is based on a patch done by Arnaud Vandyck
4318         <arnaud.vandyck@ulg.ac.be>.
4319         (getColumnName): Fixed method documentation.
4320         (findColumn): Likewise.
4321         (getColumnClass): Likewise.
4322         (isCellEditable): Likewise.
4323         (setValueAt): Likewise.
4324         (addTableModelListener): Likewise.
4325         (removeTableModelListener): Likewise.
4326         (getTableModelListeners): New method.
4328 2003-10-02  Michael Koch  <konqueror@gmx.de>
4330         * javax/swing/table/AbstractTableModel.java:
4331         Reformated.
4333 2003-10-01  Bryce McKinlay  <bryce@mckinlay.net.nz>
4335         Fix PR libgcj/12475
4336         * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
4337         * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
4339 2003-10-01  Tom Tromey  <tromey@redhat.com>
4341         * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
4343 2003-10-01  Andrew Haley  <aph@redhat.com>
4345         * java/lang/natClass.cc (initializeClass): Check for otable and
4346         atable.
4347         (_Jv_LinkOffsetTable): Check for existence of atable.  Rewrite
4348         loops using for().  Search superinterfaces.  Check for fields as
4349         well as methods.  Initialize atable as well as otable: check for
4350         static methods as well as virtual methods.
4351         * java/lang/Class.h (struct _Jv_AddressTable): New.
4352         (atable): New.
4353         (atable_syms): New.
4354         * include/jvm.h (_Jv_equalUtf8Consts): constify.
4355         * prims.cc (_Jv_equalUtf8Consts): constify.
4357 2003-09-29  Tom Tromey  <tromey@redhat.com>
4359         PR libgcj/10596:
4360         * include/jvm.h (_Jv_FinalizeString,
4361         _Jv_RegisterStringFinalizer): Declare.
4362         * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
4363         unintern.
4364         (intern): Updated.
4365         (_Jv_NewStringUtf8Const): Likewise.
4366         * java/lang/ref/natReference.cc (finalize_referred_to_object):
4367         Add special case when finalizing a String.
4368         (in_hash): New function.
4369         (_Jv_RegisterStringFinalizer): Likewise.
4370         (maybe_add_finalize): Likewise.
4372 2003-09-29  Michael Koch  <konqueror@gmx.de>
4374         * java/net/InetAddress.java:
4375         (isMulticastAddress): Dont use local variable to store address length.
4376         Let the compiler optimize this.
4377         (getHostName): Merged dcoumentation from classpath.
4378         (getAddress): Likewise.
4379         (getHostAddress): Likewise.
4380         (hashCode): Likewise.
4381         (equals): Likewise.
4382         (toString): Likewise.
4383         (getByName): Likewise.
4384         (getAllByName): Likewise.
4386 2003-09-29  Michael Koch  <konqueror@gmx.de>
4388         * java/awt/image/IndexColorModel.java: Reformated.
4390 2003-09-29  Michael Koch  <konqueror@gmx.de>
4392         * java/net/InetAddress.java,
4393         java/net/URL.java: Reformated.
4395 2003-09-29  Bryce McKinlay  <bryce@mckinlay.net.nz>
4397         * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most 
4398         significant bit of descriptor. Include the vtable and sync_info 
4399         fields.
4401 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
4403         * java/text/DateFormat.java (format): Throw IllegalArgumentException
4404         if `obj' is not a Number or Date instance.
4405         * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
4406         instead of Vector.
4408 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
4410         * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
4411         Don't call setTimeZone on calendar.
4413 2003-09-27  Michael Koch  <konqueror@gmx.de>
4415         * java/net/URL.java (getURLStreamHandler): Compile fixes.
4417 2003-09-27  Michael Koch  <konqueror@gmx.de>
4419         * java/net/URL.java (getURLStreamHandler):
4420         Check if we have to use cache before trying to retrieve handler from
4421         cache. Rename facName to clsName to match classpath more. Reformated
4422         some little pieces.
4424 2003-09-27  Michael Koch  <konqueror@gmx.de>
4426         * gnu/java/nio/SelectionKeyImpl.java
4427         (ch): Make package-private again. Jikes found this bug.
4428         Jeff Sturm submitted PR12426 for this to bugzilla
4429         to fix this bug in gcj.
4431 2003-09-26  Michael Koch  <konqueror@gmx.de>
4433         * java/rmi/server/RMIClassLoader.java:
4434         Reformatted file, no functional code changes.
4436 2003-09-26  Sascha Brawer  <brawer@dandelis.ch>
4438         * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer): 
4439         Save space for some pixels at the buffer end.  Added Javadoc.
4441 2003-09-26  Tom Tromey  <tromey@redhat.com>
4443         * java/io/ObjectOutputStream.java (writeFields): Fixed
4444         indentation.
4445         (putFields): Likewise.
4447 2003-09-26  Michael Koch  <konqueror@gmx.de>
4449         * java/nio/ByteBufferHelper.java:
4450         Totally reworked with help from Eric Blake.
4452 2003-09-26  Tom Tromey  <tromey@redhat.com>
4454         * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
4455         * java/awt/geom/PathIterator.java: Documentation fixes.
4457 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
4459         * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
4460         (select): Likewise.
4461         (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
4463 2003-09-25  Michael Koch  <konqueror@gmx.de>
4465         * gnu/java/nio/DatagramChannelImpl.java
4466         (getNativeFD): New method.
4467         * gnu/java/nio/SelectionKeyImpl.java
4468         (SelectionKeyImpl): Class made abstract.
4469         (fd): Removed.
4470         (SelectionKeyImpl): Remove fd argument.
4471         (getNativeFD): New method.
4472         * gnu/java/nio/SocketChannelImpl.java
4473         (getNativeFD): New method.
4474         gnu/java/nio/DatagramChannelSelectionKey.java,
4475         * gnu/java/nio/SocketChannelSelectionKey.java:
4476         New files.
4477         * Makefile.am (ordinary_java_source_files):
4478         Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
4479         gnu/java/nio/SocketChannelSelectionKey.java.
4480         * Makefile.in: Regenerated.
4482 2003-09-25  Michael Koch  <konqueror@gmx.de>
4484         * java/lang/reflect/Proxy.java
4485         (getProxyClass): Remove workaround for gcj 3.0.x.
4487 2003-09-25  Michael Koch  <konqueror@gmx.de>
4489         * gnu/java/net/PlainDatagramSocketImpl.java
4490         (finalize): Moved to directly after constructor.
4491         (getNativeFD): New method.
4492         * gnu/java/net/PlainSocketImpl.java
4493         (getNativeFD): New method.
4495 2003-09-25  Ingo Proetel  <proetel@aicas.com>
4497         * java/io/ObjectOutputStream.java:
4498         Allow putFields be called more than once.
4500 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
4502         * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
4503         * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
4504         * java/awt/image/BufferedImage.java (toString): Implement.
4506 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
4508         * aclocal.m4: Rebuilt.
4509         * configure: Rebuilt.
4511 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
4513         * java/text/SimpleDateFormat.java (parse): Don't use class calendar
4514         field.
4516 2003-09-25  Michael Koch  <konqueror@gmx.de>
4518         * gnu/java/nio/SelectorImpl.java
4519         (implSelect): Renamed from java_do_select.
4520         (select): Call native implSelect() and add support for Thread
4521         interruption.
4522         * gnu/java/nio/natSelectorImpl.cc
4523         (implSelect): Renamed from java_do_select.
4525 2003-09-25  Michael Koch  <konqueror@gmx.de>
4527         * gnu/java/nio/SelectorImpl.java
4528         (selectNow): Made final, throws IOException.
4529         (select): Likewise.
4530         (getFDsAsArray): Made final.
4531         (selectedKeys): Likewise.
4532         (wakeup): Likewise.
4533         (deregisterCancelledKeys): Likewise.
4534         (register): Likewise.
4535         (ass): Removed.
4536         (add_selected): Removed.
4537         * gnu/java/nio/natSelectorImpl.cc:
4538         No need to include bstring.h or gcj/cni.h.
4539         (helper_put_filedescriptors): Rewritten.
4540         (helper_get_filedescriptors): Rewritten.
4542 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
4544         * java/awt/font/FontRenderContext.java (getTransform): Return
4545         copy of internal transform object. Add Javadoc.
4546         * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
4547         winding rule as Sun J2SE.
4548         * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
4550 2003-09-25  Ingo Proetel  <proetel@aicas.com>
4552         * java/rmi/Naming.java:
4553         Added comments, now accepts pseudo protocol "rmi".
4555 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
4557         * java/text/DecimalFormat.java (format): Don't immediatly round
4558         baseNumber to long.
4559         (setMinimumIntegerDigits): Call super.
4560         (setMinimumFractionDigits): Likewise.
4561         (setMaximumIntegerDigits): Likewise.
4562         (setMaximumFractionDigits): Likewise.
4564 2003-09-25  Michael Koch  <konqueror@gmx.de>
4566         * gnu/java/nio/DatagramChannelImpl.java
4567         (DatagramChannelImpl): Made class final.
4568         (blocking): Made private.
4569         (socket): Made it a NIODatagramSocket and private.
4570         (DatagramChannelImpl): create NIODatagramSocket instead of
4571         DatagramSocket.
4572         (implConfigureBlocking): Set socket timeout.
4573         (connect): Check that channel is not closed.
4574         (write): Implemented.
4575         (write): Rewritten.
4576         (read): Implemented.
4577         (read): Rewritten.
4578         (receive): Implemented.
4579         (send): Implemented.
4580         * gnu/java/nio/SelectionKeyImpl.java
4581         (readyOps): Made private.
4582         (interestOps): Made private.
4583         (impl): Made private.
4584         (ch): Made private.
4585         (readyOps): Check if selection key is valid.
4586         (interestOps): Likewise.
4587         * gnu/java/nio/SelectorImpl.java
4588         (closed): Removed.
4589         (keys): Made private.
4590         (selected): Made private.
4591         (finalize): New method.
4592         (implCloseSelector): Rewritten.
4593         (keys): Return unmodifiable Set.
4594         (deregisterCancelledKeys): Fixed typo in method name.
4595         * gnu/java/nio/SocketChannelImpl.java
4596         (SocketChannelImpl): Made class final.
4597         (socket): Made it a NIOSocket and private.
4598         (blocking): Made private.
4599         (connected): Made private.
4600         (connectionPending): New member variable.
4601         (SocketChannelImpl): New implementation.
4602         (finalizer): Use isConnected().
4603         (connect): Rewritten.
4604         (finishConnect): Throws IOException, implemented.
4605         (isConnectionPending): Return connectionPending.
4606         (read): Rewritten.
4607         (write): Rewritten.
4608         * gnu/java/nio/NIOConstants.java: New file.
4609         * Makefile.am (ordinary_java_source_files):
4610         Added gnu/java/nio/NIOConstants.java.
4611         * Makefile.in: Regenerated.
4613 2003-09-25  Michael Koch  <konqueror@gmx.de>
4615         * java/net/InetAddress.java:
4616         Reorder imports, remove implementation comment.
4617         (isMulticastAddress): Merged documentation from classpath.
4618         * java/net/URLConnection.java
4619         (setRequestProperty): Check key for null, fix documentation.
4620         (adREquestProperty): Check key for null, remove wrong implementation
4621         and replace it with comment to overwrite this method in subclasses,
4622         fix documentation.
4624 2003-09-25  Tom Tromey  <tromey@redhat.com>
4626         * java/lang/reflect/Proxy.java (generate): Uncomment protection
4627         domain code.
4628         * java/lang/natClassLoader.cc (defineClass): Added `loader'
4629         argument.
4630         (linkClass0): Now in VMClassLoader.
4631         (markClassErrorState0): Likewise.
4632         (getSystemClassLoaderInternal): New method.
4633         * java/lang/natClass.cc (initializeClass): Use
4634         VMClassLoader::resolveClass.
4635         * java/lang/ClassLoader.java: New version, from Classpath.
4636         * java/lang/Class.java (getProtectionDomain):
4637         protectionDomainPermission and unknownProtectionDomain now in
4638         VMClassLoader.
4639         * java/lang/Class.h: VMClassLoader now a friend class.
4640         * gnu/gcj/runtime/VMClassLoader.java (instance): Now
4641         package-private.
4642         * gcj/javaprims.h: Regenerated class list.
4643         * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
4644         * java/lang/VMClassLoader.java: New version from Classpath;
4645         modified for libgcj use.
4647 2003-09-25  Michael Koch  <konqueror@gmx.de>
4649         * java/nio/ByteBufferHelper.java:
4650         New file.
4651         * java/nio/ByteBufferImpl.java,
4652         java/nio/DirectByteBufferImpl.java,
4653         java/nio/MappedByteBufferImpl.java
4654         (getType,putType): Use new helper class ByteBufferHelper.
4655         * Makefile.am (ordinary_java_source_files):
4656         Added java/nio/ByteBufferHelper.java.
4657         * Makefile.in: Regenerated.
4659 2003-09-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
4661         * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
4662         PR libgcj/12388.
4664 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
4666         * java/lang/StringBuffer.java (substring): Don't set `shared' on small
4667         Strings, even if buffer is already shared.
4669 2003-09-24  Michael Koch  <konqueror@gmx.de>
4671         * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
4673 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
4675         * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
4676         (write): Likewise.
4677         (SocketInputStream): Declare `read' and `write' methods native.
4678         Remove implementations which called back into PlainSocketImpl.
4679         Remove unneccessary overridden methods.
4680         * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation 
4681         to inner class PlainSocketImpl.SocketInputStream.
4682         (write): Likewise.
4683         * gnu/java/net/natPlainSocketImplPosix.cc: As above.
4684         * gnu/java/net/natPlainSocketImplWin32.cc: As above.
4685         * gnu/java/net/SocketInputStream.java: Remove unused file.
4686         * gnu/java/net/SocketOutputStream.java: Likewise.
4687         * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
4688         and SocketOutputStream.
4689         * Makefile.in: Rebuilt.
4691 2003-09-23  Nathanael Nerode  <neroden@gcc.gnu.org>
4693         * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
4695         * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
4696         markers.
4698 2003-09-22  Anthony Green  <green@redhat.com>
4700         * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
4701         * configure: Rebuilt.
4703 2003-09-21  Ralph Loader  <suckfish@ihug.co.nz>
4705         PR java/12350:
4706         * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
4708 2003-09-22  Michael Koch  <konqueror@gmx.de>
4710         * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
4711         compiler warning but produces a different one now.
4713 2003-09-22  Michael Koch  <konqueror@gmx.de>
4715         * java/net/InetAddress.java:
4716         Moves around some code, reformats and adds documentation.
4717         No functional changes.
4719 2003-09-22  Michael Koch  <konqueror@gmx.de>
4721         * java/net/JarURLConnection.java
4722         (JarURLConnection): Modifed code to match classpath more, fixed comment.
4723         (getCertificates): Made it more error prone.
4724         (getMainAttributes): Likewise.
4725         (getAttributes): Implemented.
4726         (getManifest): Reformatted code.
4728 2003-09-20  Tom Tromey  <tromey@redhat.com>
4730         * java/awt/Component.java: Indentation cleanup from Classpath.
4732 2003-09-20  Dalibor Topic  <robilad@kaffe.org>
4734        * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
4735        checking to follow 1.4.2 spec.
4737 2003-08-11  Ingo Proetel  <proetel@aicas.com>
4739         * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject  
4740         is compatible in case client and server are running in the same VM
4741         (remerged from Classpath on 2003-09-20)
4743 2003-09-19  David Daney <ddaney@avtrex.com>
4745         * java/lang/ref/Reference.java (clear): Set referent to null and
4746         synchronize.
4748 2003-09-19  Michael Koch  <konqueror@gmx.de>
4750         * gnu/java/nio/NIODatagramSocket.java,
4751         gnu/java/nio/NIOSocket.java: New files.
4752         * Makefile.am (ordinary_java_source_files):
4753         Added gnu/java/nio/NIODatagramSocket.java and
4754         gnu/java/nio/NIOSocket.java.
4755         * Makefile.in: Regenerated.
4757 2003-09-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
4759         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
4760         top-level GTK window.
4761         (getArgs): Add "title" property.
4762         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
4763         "allow_shrink" and "allow_grow" properties.
4764         * java/awt/Dialog.java: Initialize resizable to true and change
4765         comments accordingly.  Initialize visible to false in
4766         constructors.
4767         * java/awt/Frame.java (dispose): Remove method.
4768         * java/awt/Window.java (ownedWindows): New field.
4769         (Window(Window,GraphicsConfiguration)): Add a weak reference to
4770         owner's ownedWindows vector.
4771         (finalize): Remove method.
4772         (hide): Hide owned windows.
4773         (dispose): Dispose of owned windows.
4774         (getOwnedWindows): Implement.
4775         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
4776         unused GtkArg code.
4777         (set(String,boolean)): Clamp gboolean parameter to g_object_set
4778         to TRUE or FALSE.
4779         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4780         (create): Set window's size requisition.
4781         (connectHooks): Fix indentation.
4782         (setResizable): Remove function.
4783         (static setBounds): Likewise.
4784         (setBounds): Replace call to setBounds with GTK size requisition
4785         and resize calls.
4787 2003-09-19  Mohan Embar  <gnustuff@thisiscool.com>
4789         * win32-threads.cc: (ensure_interrupt_event_initialized) New
4790         function for lazy initialization of an auto-reset event.
4791         (_Jv_CondWait) Added thread interrupt support.
4792         (_Jv_ThreadInitData) Added initialization of interrupt support
4793         members.
4794         (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
4795         (_Jv_ThreadStart) Removed unused code.
4796         (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
4797         to an external caller.
4798         (_Jv_ThreadInterrupt) Implemented.
4799         * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
4800         event for interrupt support as well as a mutex which regulates
4801         access to this.
4802         (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
4803         event to an external caller.
4804         * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
4805         process.
4806         (waitFor) Added interrupt support.
4808 2003-09-19  Michael Koch  <konqueror@gmx.de>
4810         * java/net/DatagramSocket.java (getLocalAddress):
4811         Renamed result variable to localAddr.
4812         * java/net/MulticastSocket.java:
4813         No need to import gnu.java.net.PlainDatagramSocketImpl.
4815 2003-09-18  Sascha Brawer  <brawer@dandelis.ch>
4817         * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
4818         Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
4820 2003-09-18  Tom Tromey  <tromey@redhat.com>
4822         * javax/naming/InitialContext.java: Reindented.
4824 2003-09-18  Dalibor Topic <robilad@kaffe.org>,
4825             Helmer Kraemer <hkraemer@freenet.de>
4827         * javax/naming/spi/NamingManager.java (getURLContext,
4828         getObjectInstance, getStateToBind): Always use current thread's
4829         context class loader when calling Class.forName.
4831 2003-09-18  Michael Koch  <konqueror@gmx.de>
4833         * java/util/Timer.java (finalize): Added "throws Throwable".
4835 2003-09-18  Michael Koch  <konqueror@gmx.de>
4837         * java/net/DatagramSocket.java
4838         (ch): Removed.
4839         (receive): Use getChannel() instead of ch.
4840         (send): Likewise.
4841         (getChannel): Return null.
4842         * java/net/ServerSocket.java
4843         (ch): Removed.
4844         (setChannel): Removed.
4845         (implAccept): Use getChannel() instead of ch.
4846         (close): Likewise.
4847         (getChannel): Return null.
4848         * java/net/Socket.java
4849         (ch): Removed.
4850         (connect): Use getChannel() instead of ch.
4851         (setChannel): Removed.
4852         (getChannel): Return null.
4854 2003-09-18  Mark Wielaard  <mark@klomp.org>
4856         Reported by Guilhem Lavaux and Julian Dolby
4857         * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
4858         field "serialPersistentFields", not "getSerialPersistentFields".
4860 2003-09-18  Ingo Proetel  <proetel@aicas.com>
4862         * java/util/TimeZone.java: Initialize lazily.
4863         * java/util/Locale.java (readManifest): Fix check for country.
4864         * java/util/GregorianCalendar.java: Make use of ResourceBundle better
4865         traceable 
4866         * java/util/Calendar.java: Make use of ResourceBundle better
4867         traceable.
4869 2003-09-18  Jeroen Frijters  <jeroen@frijters.net>
4871         * java/sql/Timestamp.java
4872         (valueOf): Fixed confusion of java.sql.Date and java.util.Date
4874 2003-09-18  David P Grove  <groved@us.ibm.com>
4876         * java/io/LineNumberReader (read): Don't reset pos & limit when
4877         markPos is 0.
4879 2003-09-18  Dalibor Topic  <robilad@kaffe.org>
4881         * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
4882         constant.
4883         (computeArguments): use computeTypicalArguments.
4885         * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
4886         Compile_jikes.java and RMICException.java.
4887         * gnu/java/rmi/rmic/Compile_kjc.java: New file.
4888         * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
4889         * gnu/java/rmi/rmic/RMICException.java: Likewise.
4891         * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
4893         * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
4894         (computeTypicalArguments): New method.
4895         (compile): Print compiler output to System.out. Collect compiler
4896         error output and use it in exception message.
4898         * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
4899         (destination): Initialize to null.
4900         (run): Replace file separator with '.' when processing class.
4901         (processClass): Replace '.' with file separator when compiling
4902         classes.
4903         (findClass): Use SystemClassLoader to load class.
4904         (generateStub): Use full class name for generated stub, that puts
4905         it in right path.  Replace '.' with file separator when generating
4906         stub file name. Write just the stub class name without package
4907         information as class name, and constructor name. Write only
4908         interface names for interfaces extending java.rmi.Remote as
4909         implemented.
4910         (generateSkel): Use full class name for generated skel, that puts
4911         it in right path.  Replace '.' with file separator when generating
4912         stub file name. Write just the stub class name without package
4913         information as class name.
4915 2003-09-18  Michael Koch  <konqueror@gmx.de>
4917         * Makefile.am (rmi_java_source_files):
4918         Added gnu/java/rmi/rmic/Compile_kjc.java,
4919         gnu/java/rmi/rmic/Compile_jikes.java and
4920         gnu/java/rmi/rmic/RMICException.java
4921         * Makefile.in: Regenerated.
4923 2003-09-17  Graydon Hoare  <graydon@redhat.com>
4925         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4926         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4927         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
4928         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: 
4929         New files.
4931 2003-09-16  Graydon Hoare  <graydon@redhat.com>
4933         * java/awt/BufferedImage.java (setData): Support non-component
4934         sample models.
4935         (getData): Same.
4937 2003-09-10  Graydon Hoare  <graydon@redhat.com>
4939         * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
4940         * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
4942 2003-09-17  Mohan Embar  <gnustuff@thisiscool.com>
4944         * configure.in: Standardized help text case of
4945         --enable-hash-synchronization
4946         New configure switch --enable-libgcj-multifile and corresponding
4947         automake conditional ONESTEP.
4948         * configure: Rebuilt.
4949         * Makefile.am: Use automake conditional ONESTEP to determine
4950         whether classfiles should be compiled individually or all
4951         at once.
4952         * Makefile.in: Rebuilt.
4954 2003-09-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
4956         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
4957         Remove method declaration.
4958         (create()): Call native create.
4959         (create(int)): New method.
4960         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
4961         (create): Add window_id parameter.  Call gtk_plug_new with
4962         window_id parameter.
4963         (construct): Remove method implementation.
4965 2003-09-16  Mohan Embar  <gnustuff@thisiscool.com>
4967         * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
4968         (mostlyclean-local): New target patterned after clean-local
4969         which recursively deletes all libtool objects using 'libtool rm'.
4970         (clean-local): Slightly modified comment to alleviate monotony.
4971         (distclean-local): New target patterned after clean-local
4972         which recursively deletes all .d files.
4973         * Makefile.in: Rebuilt.
4975 2003-09-11  Tom Tromey  <tromey@redhat.com>
4977         * java/net/URLStreamHandler.java (parseURL): If original file
4978         ends with "/", so must canonical result.
4979         * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
4980         with nul-termination and finding previous "/".
4982 2003-09-11  Michael Koch  <konqueror@gmx.de>
4984         * acconfig.h: Removed most items.
4985         * configure.in: Added descriptions to AC_DEFINE macros that where in
4986         acconfig.h before.
4987         * include/config.h.in: Regenerated.
4989 2003-09-11  Sascha Brawer  <brawer@dandelis.ch>
4991         * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
4992         if one is installed. Improve Javadoc.
4993         (getSystemEventQueueImpl): Improve Javadoc.
4995 2003-09-11  Tom Tromey  <tromey@redhat.com>
4997         * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
4998         file does not exist.
5000 2003-09-10  Anthony Green  <green@redhat.com>
5002         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
5003         Specify full name when referencing ::java::net::InetAddress.
5004         * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
5005         Fix argument type.
5007 2003-09-10  Michael Koch  <konqueror@gmx.de>
5009         * acconfig.h (__NO_MATH_INLINES): Removed.
5010         * configure.in: Removed check for g++ math inlining bug from 2000.
5011         * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
5012         libgcj_cxxflags.
5013         * configure: Regenerated.
5015 2003-09-10  David Daney <ddaney@avtrex.com>
5017         * java/util/Arrays.java (equals(all variants)): Quit using
5018         NullPointerException catching to detect null valued parameters.
5020 2003-09-10  Michael Koch  <konqueror@gmx.de>
5022         * java/net/DatagramSocket.java,
5023         java/net/MulticastSocket.java,
5024         java/net/ServerSocket.java,
5025         java/net/Socket.java:
5026         Use gnu.java.net.Plain*SocketImpl instead of
5027         java.net.PlainSocketImpl.
5028         * java/net/PlainDatagramSocketImpl.java,
5029         java/net/PlainSocketImpl.java,
5030         java/net/SocketInputStream.java,
5031         java/net/SocketOutputStream.java,
5032         java/net/natPlainDatagramSocketImplNoNet.cc,
5033         java/net/natPlainDatagramSocketImplPosix.cc,
5034         java/net/natPlainDatagramSocketImplWin32.cc,
5035         java/net/natPlainSocketImplNoNet.cc,
5036         java/net/natPlainSocketImplPosix.cc,
5037         java/net/natPlainSocketImplWin32.cc:
5038         Removed.
5039         * gnu/java/net/PlainDatagramSocketImpl.java,
5040         gnu/java/net/PlainSocketImpl.java,
5041         gnu/java/net/SocketInputStream.java,
5042         gnu/java/net/SocketOutputStream.java,
5043         gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
5044         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
5045         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
5046         gnu/java/net/natPlainSocketImplNoNet.cc,
5047         gnu/java/net/natPlainSocketImplPosix.cc,
5048         gnu/java/net/natPlainSocketImplWin32.cc:
5049         New files (moved from java/net).
5050         * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
5051         instead of java/net/natPlain*SocketImpl.cc.
5052         * configure: Regenerated.
5053         * Makefile.am: Moved files from java/net to gnu/java/net.
5054         * Makefile.in: Regenerated.
5056 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
5058         * configure: Regenerate.
5060 2003-09-04  Tom Tromey  <tromey@redhat.com>
5062         * configure.host: Removed erroneous comment.
5064         * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
5065         lvalue cast; use correct rvalue cast.
5067 2003-09-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
5069         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
5070         and height arguments to GtkWindowPeer.create method call.
5071         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
5072         (create(int,int,int)): New method.
5073         (create(int)): Add call to new create method.
5074         (create()): Add width and height arguments to create method
5075         call.
5076         (GtkWindowPeer): Remove call to setBounds.
5077         * java/awt/Frame.java (Frame(String)): Initialize visible field
5078         to false.
5079         (Frame(GraphicsConfiguration)): Likewise.
5080         (Frame(String,GraphicsConfiguration)): Likewise.
5081         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
5082         Add width and height parameters.  Call
5083         gtk_window_set_default_size.
5084         (connectHooks): Remove unused name variable.
5085         (static setBounds): Call gtk_window_resize not
5086         gtk_widget_set_usize.
5087         (setBounds): Remove unused nchildren variable.
5089 2003-08-31  Ingo Proetel  <proetel@aicas.com>
5091         * java/util/logging/Logger.java: provide class and method information
5092         * java/util/logging/LogManager.java: create handlers
5093         * java/util/logging/SimpleFormatter.java: print souceClassName and
5094         sourceMethodName
5096 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
5098         * win32.cc: fixed tab, indentation and whitespace
5099         inconsistencies
5100         removed jvm.h include
5101         added includes java/lang/UnsupportedOperationException.h,
5102         java/io/IOException.h, java/net/SocketException.h
5103         (WSAEventWrapper): class implementation
5104         (_Jv_WinStrError): implemented both overloads
5105         (_Jv_ThrowIOException): implemented both overloads
5106         (_Jv_ThrowSocketException): implemented both overloads
5107         (_Jv_select): implemented
5108         * include/win32.h: fixed tab, indentation and whitespace
5109         inconsistencies
5110         wrapped <windows.h> include with  #define WIN32_LEAN_AND_MEAN
5111         added jvm.h include
5112         (WSAEventWrapper): added class declaration
5113         (_Jv_WinStrError): added both overload declarations
5114         (_Jv_ThrowIOException): added both overload declarations
5115         (_Jv_ThrowSocketException): added both overload declarations
5116         removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
5117         (_Jv_select): added declaration
5118         (_Jv_socket): removed
5119         (_Jv_connect): removed
5120         (_Jv_close): removed
5121         (_Jv_bind): removed
5122         (_Jv_accept): removed
5123         (_Jv_listen): removed
5124         (_Jv_write): removed
5125         (_Jv_read): removed
5126         * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
5127         whitespace inconsistencies
5128         replaced <windows.h> #include with <platform.h>
5129         removed jvm.h include
5130         (testCanUseGetHandleInfo): new function which tests whether Win32
5131         GetHandleInformation() call can be used with console buffer handles
5132         (only supported on >=WinNT 5.0)
5133         (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
5134         (valid): rewrote implementation using GetHandleInformation()
5135         (sync):         changed exception throwing to use error string and exception
5136         helper methods declared in include/win32.h
5137         (open): likewise
5138         (write): likewise
5139         (setLength): likewise
5140         (close): likewise
5141         (seek): likewise
5142         (getFilePointer): likewise
5143         (read): likewise
5144         * java/io/natFileWin32.cc: fixed tab, indentation and
5145         whitespace inconsistencies
5146         replaced <windows.h> #include with <platform.h>
5147         removed jvm.h include
5148         (_access): use JV_TEMP_UTF_STRING
5149         (_stat): likewise
5150         (performMkDir): use JV_TEMP_UTF_STRING
5151         (performRenameTo): likewise
5152         (performDelete): likewise
5153         (performCreate): likewise
5154         (performSetReadOnly): likewise
5155         (performSetLastModified): likewise
5156         * java/lang/natWin32Process.cc: fixed tab, indentation and
5157         whitespace inconsistencies
5158         replaced <windows.h> #include with <platform.h>
5159         removed includes gcj/cni.h, jvm.h
5160         (new_string): removed
5161         (startProcess): use JV_TEMP_UTF_STRING,
5162         changed exception throwing to use error string and exception
5163         helper methods declared in include/win32.h
5164         * java/net/natInetAddressWin32.cc: fixed tab, indentation and
5165         whitespace inconsistencies
5166         replaced <windows.h> #include with <platform.h>
5167         removed jvm.h include
5168         removed DISABLE_JAVA_NET conditional code
5169         removed POSIX conditional code not relevant to Win32
5170         (aton): use JV_TEMP_UTF_STRING
5171         removed POSIX conditional code not relevant to Win32
5172         (lookup): likewise
5173         (getLocalHostName): likewise
5174         * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
5175         whitespace inconsistencies
5176         removed unnecessary windows.h, winsock.h and gcj/cni.h includes
5177         removed DISABLE_JAVA_NET conditional code
5178         removed POSIX conditional code not relevant to Win32
5179         (winsock2GetRealNetworkInterfaces): new function to compute network
5180         interfaces via Winsock2 API
5181         (determineGetRealNetworkInterfacesFN): new function for returning
5182         a function pointer to the function used to compute network interfaces.
5183         (getRealNetworkInterfaces): implemented
5184         * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
5185         whitespace inconsistencies
5186         removed gcj/cni.h include
5187         removed DISABLE_JAVA_NET conditional code
5188         removed POSIX conditional code not relevant to Win32
5189         changed net POSIXisms to Win32isms
5190         replaced _Jv socket-related calls with their real Win32 equivalents
5191         changed exception throwing to use error string and exception
5192         helper methods declared in include/win32.h
5193         (peekData): implemented timeout support
5194         (receive): likewise
5195         * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
5196         whitespace inconsistencies
5197         removed gcj/cni.h and gcj/javaprims.h includes
5198         removed DISABLE_JAVA_NET conditional code
5199         removed POSIX conditional code not relevant to Win32
5200         changed net POSIXisms to Win32isms
5201         replaced _Jv socket-related calls with their real Win32
5202         equivalents
5203         changed exception throwing to use error string and exception
5204         helper methods declared in include/win32.h
5205         (throwConnectException): helper function for connect()
5206         (connect): implemented timeout support
5207         (accept): likewise
5208         (doRead): new helper function common to both read() method overloads,
5209         includes timeout support
5210         (read): implemented both overloads in terms of doRead()
5211         (available): implemented using ioctlsocket()
5213 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
5215         * java/net/natInetAddressWin32.cc,
5216         java/net/natNetworkInterfaceWin32.cc,
5217         java/net/natPlainDatagramSocketImplWin32.cc,
5218         java/net/natPlainSocketImplWin32.cc:
5219         Readded code enclosed in DISABLE_JAVA_NET defines
5220         in preparation for MinGW cleanup / networking
5221         patch
5223 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
5225         * Makefile.am: Fixed problems with parallel makes.
5226         (all_java_class_files): Readded definition.
5227         (all_java_class_files): New target which depends on
5228         libgcj-@gcc_version@.jar
5229         * Makefile.in: Rebuilt
5231 2003-08-28  Tom Tromey  <tromey@redhat.com>
5233         * Makefile.in: Rebuilt.
5234         * Makefile.am (ordinary_java_source_files): Added new files.
5235         * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
5236         friend.
5237         * java/net/URLClassLoader.java (findClass): Don't use
5238         findURLResource.  Use loader's getClass method.
5239         (URLLoader.getClass): New method.
5240         (addURL): Handle `gcjlib' URLs.
5241         (SoURLLoader): New class.
5242         (SoResource): Likewise.
5243         * gnu/gcj/protocol/gcjlib/Connection.java: New file.
5244         * gnu/gcj/protocol/gcjlib/Handler.java: New file.
5245         * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
5246         (_Jv_RegisterCoreHook): Declare.
5247         (_Jv_FindCore): Declare.
5248         * gnu/gcj/runtime/SharedLibHelper.java: New file.
5249         * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
5250         typedef.
5251         (core_hook): New function.
5252         (struct SharedLibDummy) [saved_core]: New field.
5253         (init): Set _Jv_RegisterCoreHook.  Throw exception on failure.
5254         (register_hook): Set protection domain and class loader on new
5255         class.
5256         (finalize): Free core chain.
5257         * gnu/gcj/Core.java (Core): New constructor.
5258         * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
5259         SharedLibHelper.
5260         * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
5261         (_Jv_create_core): New function.
5262         (create): Use it.
5263         (default_register_resource): New function.
5264         (_Jv_RegisterCoreHook): New global.
5265         (_Jv_RegisterResource): Use it.
5266         (core_chain_struct): Removed.
5267         (_Jv_FindCore): New function.
5268         (_Jv_FreeCoreChain): New function.
5270 2003-08-29  Michael Koch  <konqueror@gmx.de>
5272         * java/net/natInetAddressWin32.cc,
5273         java/net/natNetworkInterfaceWin32.cc,
5274         java/net/natPlainDatagramSocketImplWin32.cc,
5275         java/net/natPlainSocketImplWin32.cc:
5276         Removed code enclosed in DISABLE_JAVA_NET defines.
5278 2003-08-26  Mohan Embar  <gnustuff@thisiscool.com>
5280         * Makefile.am: (write_entries_to_file) New parameterized
5281         function for writing entries to a file one line at a time.
5282         (all_java_class_files): Removed definition.
5283         (.java.class) Removed.target.
5284         (libgcj-@gcc_version@.jar): Changed dependency to
5285         $(all_java_source_files); added compilation step which compiles
5286         all changed source files in one pass.
5287         (libgcj.la) Refactored to use write_entries_to_file.
5288         (lib-gnu-awt-xlib.la) Likewise.
5289         (install-data-local) Likewise.
5290         (write-entries-to-file-check) New target which tests write_entries_to_file.
5291         (all-recursive): Changed dependency from $(all_java_class_files)
5292         to libgcj-@gcc_version@.jar
5293         * Makefile.in: Rebuilt.
5295 2003-08-26  Tom Tromey  <tromey@redhat.com>
5297         * java/lang/StrictMath.java: Typo fix.
5298         * java/lang/Math.java: Typo fix.
5300 2003-08-26  Stephen Crawley  <crawley@dstc.edu.au>
5302         * java/lang/ThreadGroup.java (removeThread): null the 'group' field
5303         of the removed Thread.
5305 2003-08-26  Mark Wielaard  <mark@klomp.org>
5307         Reported by David Holmes <dholmes@dltech.com.au>.
5308         * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
5309         Collections.synchronizedMap.
5310         * java/lang/ThreadLocal.java (valueMap): Likewise.
5312 2003-08-26  Mark Wielaard  <mark@klomp.org>
5314         * java/security/acl/Acl.java: Fix broken p tag.
5315         * java/text/DateFormatSymbols.java: Correctly open and close li tags.
5316         * javax/swing/border/LineBorder.java: Close img tag alt attributes.
5317         * javax/swing/plaf/TreeUI.java: Likewise.
5318         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
5319         * java/util/Properties.java: Use the word umlaut, not &auml; in api
5320         documentation.
5321         * java/util/PropertyResourceBundle.java: Likewise and add closing code
5322         tag.
5324 2003-08-26  Tom Tromey  <tromey@redhat.com>
5326         * Makefile.in: Rebuilt.
5327         * Makefile.am: Removed all GNU-make-specific FIXME comments.
5329         * java/lang/ref/Reference.java (get): Indentation fix.
5330         (clear): Comment fix.
5331         (enqueue): Likewise.
5332         (lock): Likewise.
5333         (referent): Likewise.
5335 2003-08-26  Tom Tromey  <tromey@redhat.com>
5337         PR java/12058:
5338         * java/lang/reflect/natArray.cc (set): Allow null as argument.
5340         * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
5341         (ProxyData.getPackage): New method.
5342         (ProxyData.getProxyData): Use package name, not Package.
5343         (ClassFactory.ClassFactory): Updated.
5345 2003-08-25  Scott Gilbertson  <scottg@mantatest.com>
5346         * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
5347         * Makefile.in: re-generated.
5348         * gnu/awt/j2d/IntegerGraphicsState.java
5349         (ScreenCoupledImage): new interface.
5350         (drawImage): detect ScreenCoupledImage instances.
5351         * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
5352         * gnu/awt/xlib/XEventLoop.java
5353         (createEvent): re-formatted, and rearranged to avoid null pointer.
5354         * gnu/awt/xlib/XGraphics.java
5355         (drawImage): added XOffScreenImage handling.
5356         * gnu/awt/xlib/XOffScreenImage.java: new file.
5357         * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
5358         * gnu/gcj/xlib/GC.java (copyArea): new native method.
5359         * gnu/gcj/xlib/XAnyEvent.java
5360         (TYPE_KEY_PRESS): new constant.
5361         (TYPE_KEY_RELEASE): new constant.
5362         (TYPE_MOTION_NOTIFY): new constant.
5363         (TYPE_ENTER_NOTIFY): new constant.
5364         (TYPE_LEAVE_NOTIFY): new constant.
5365         (TYPE_FOCUS_IN): new constant.
5366         (TYPE_FOCUS_OUT): new constant.
5367         (TYPE_KEYMAP_NOTIFY): new constant.
5368         (TYPE_GRAPHICS_EXPOSE): new constant.
5369         (TYPE_NO_EXPOSE): new constant.
5370         (TYPE_VISIBILITY_NOTIFY): new constant.
5371         (TYPE_CREATE_NOTIFY): new constant.
5372         (TYPE_DESTROY_NOTIFY): new constant.
5373         (TYPE_MAP_REQUEST): new constant.
5374         (TYPE_CONFIGURE_REQUEST): new constant.
5375         (TYPE_GRAVITY_NOTIFY): new constant.
5376         (TYPE_RESIZE_REQUEST): new constant.
5377         (TYPE_CIRCULATE_NOTIFY): new constant.
5378         (TYPE_CIRCULATE_REQUEST): new constant.
5379         (TYPE_PROPERTY_NOTIFY): new constant.
5380         (TYPE_SELECTION_CLEAR): new constant.
5381         (TYPE_SELECTION_REQUEST): new constant.
5382         (TYPE_SELECTION_NOTIFY): new constant.
5383         (TYPE_COLORMAP_NOTIFY): new constant.
5384         (TYPE_MAPPING_NOTIFY): new constant.
5385         * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
5386         * gnu/gcj/xlib/natGC.cc (copyArea): new method
5387         * java/awt/Component.java (createImage): changed to use peer method.
5389 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
5391         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
5392         name, not XLFD, to native drawString.
5393         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5394         Replace XLFD-based implementation with Pango-based
5395         implementation.
5397 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
5399         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
5400         GTK_WINDOW_DIALOG.  Set GTK_WINDOW_POPUP to 1.
5402 2003-08-21  David Daney  <ddaney@avtrex.com>
5404         Fix for PR libgcj/12013:
5405         * java/lang/ref/natReference.cc (finalize_referred_to_object):
5406         Check `cleared' field.
5407         * java/lang/ref/Reference.java (copy): Updated comments.
5408         (cleared): New field.
5409         (clear): Rewrote.
5411 2003-08-21  Scott Gilbertson  <scottg@mantatest.com>
5412             Thomas Fitzsimmons  <fitzsim@redhat.com>
5414         * Makefile.am (gtk_awt_peer_sources): Add
5415         gnu/java/awt/peer/GLightweightPeer.java.  Remove
5416         gnu/java/awt/GLightweightPeer.java.
5417         * gnu/java/awt/GLightweightPeer.java: Remove file.
5418         * gnu/java/awt/peer/GLightweightPeer.java: New file.
5419         * java/awt/Component.java (getToolkit): Add comment about
5420         lightweight components.
5421         * java/awt/Toolkit.java (createComponent): Return
5422         gnu.java.awt.peer.GLightweightPeer.
5424 2003-08-21  Richard Earnshaw  <rearnsha@arm.com>
5426         * configure.in: Fix detection of gcj when building with newlib.
5427         * configure: Regenerated.
5429 2003-08-20  Graydon Hoare  <graydon@redhat.com>
5431         * jni.cc: Replace "cheating" pointer-casting code with
5432         extract_from_jvalue<> template.
5434 2003-08-20  Andrew Haley  <aph@redhat.com>
5436         * gnu/gcj/runtime/StackTrace.java (getClass): New method.
5437         * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
5438         (classAt): Break out class lookup function into getClass().
5439         * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
5440         handlers when using -fno-assume-compiled.
5442 2003-08-20  Tom Tromey  <tromey@redhat.com>
5444         Fix for PR libgcj/9125:
5445         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
5446         object outside of loop.  Respect lib_control setting.
5447         * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
5448         field.
5449         (lib_control): New field.
5450         (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
5451         (VMClassLoader): Initialize new field.
5453         * java/lang/ref/natReference.cc (finalize_referred_to_object):
5454         Set `list->reference' to DELETED_REFERENCE when removing dead
5455         object.
5456         (find_slot): Added an assert.
5457         (DELETED_REFERENCE): New define.
5458         (add_to_hash): Check for DELETED_REFERENCE.
5459         (remove_from_hash): Just return if found slot isn't ours.
5461 2003-08-19  Andrew Haley  <aph@redhat.com>
5463         * prims.cc (unblock_signal): New function.
5464         (catch_segv): Use it.
5465         (catch_fpe): Likewise.
5467 2003-08-19  Danny Smith  <dannysmith@users.sourceforge.net>
5469         PR libgcj/11575
5470         * java/io/natFileDescriptorWin32.cc (open): Set create
5471         flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
5472         Honor EXCL when openning with WRITE flag. 
5474 2003-08-19  Mohan Embar  <gnustuff@thisiscool.com>
5476         * include/jvm.h: New class _Jv_TempUTFString (helper class for
5477         getting a temporary C string from a jstring)
5478         New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
5479         but uses a stack buffer if the string length is less than 256
5480         bytes.
5482 2003-08-18  Tom Tromey  <tromey@redhat.com>
5484         PR libgcj/11951:
5485         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
5486         void.  Throw VirtualMachineError if ffi fails.  Initialize return
5487         value.  Added is_jni_call argument; only wrap exception if not a
5488         JNI call.  Use descriptive message if operation not supported.
5489         (_Jv_GetTypesFromSignature): Use declaring class' loader to find
5490         array class.
5491         * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
5492         * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
5493         _Jv_CallAnyMethodA.
5494         (_Jv_JNI_CallAnyMethodA): Likewise.
5495         (_Jv_JNI_CallAnyVoidMethodV): Likewise.
5496         (_Jv_JNI_CallAnyVoidMethodA): Likewise.
5498 2003-08-13  Tom Tromey  <tromey@redhat.com>
5500         * gij.cc (help): Document -? and -X.
5502 2003-08-12  Graydon Hoare  <graydon@redhat.com>
5504         * java/awt/Font.java: 
5505         Stub out more recent API. 
5507 2003-08-12  Graydon Hoare  <graydon@redhat.com>
5509         * java/awt/Color.java (getAlpha): 
5510         Prevent sign-extended alpha values.
5512 2003-08-12  Tom Tromey  <tromey@redhat.com>
5514         * gij.cc (main): Handle -? and -X.
5516 2003-08-10  Jeroen Frijters  <jeroen@frijters.net>
5518         * java/awt/Container.java
5519         (getPreferredSize): Call preferredSize.
5520         (preferredSize): Moved body of getPreferredSize here.
5521         (getMinimumSize): Call minimumSize.
5522         (minimumSize): Moved body of getMinimumSize here.
5524 2003-08-11  Tom Tromey  <tromey@redhat.com>
5526         * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
5527         (postEvent): Removed FIXME comment.
5528         (isDispatchThread): Documented.
5529         (getCurrentEvent): New method.
5530         (dispatchEvent): Set currentEvent and lastWhen.
5531         (getMostRecentEventTime): Rewrote.
5532         (invokeLater): Documented.
5534 2003-08-10  Bryce McKinlay  <bryce@mckinlay.net.nz>
5536         * java/io/PrintStream.java (print): Always flush if auto_flush is
5537         set. Don't check for newline characters.
5538         (write (int)): Implement without using a temporary array.
5539         (write (byte[], int, int): Always flush if auto_flush is set. Don't
5540         check for newline characters.
5541         Fixes PR libgcj/11778.
5543 2003-08-08  Andrew Haley  <aph@redhat.com>
5545         * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
5546         * Makefile.in: Rebuild.
5547         * java/lang/natRuntime.cc (insertSystemProperties): Add
5548         "sun.boot.class.path".
5550 2003-08-07  Andrew Haley  <aph@redhat.com>
5552         * java/io/PrintStream.java: Don't crash on a null string.
5553         
5554 2003-08-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5556         * configure.in: Don't initialize GCINCS to boehm-gc/include.
5557         * configure: Regenerate.
5559 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
5561         * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
5562         SocketImpl. Update Javadoc.
5563         (bind): Call close() not impl.close() in event of exception.
5564         (connect): Likewise.
5565         Remove superfluous null checks throughout.
5566         * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
5567         Don't create an extra socket. Fix for PR libgcj/10868.
5568         (bind): Clean up exception handling.
5569         Remove superfluous null checks throughout.
5571 2003-08-07  Jacob Gladish <gladish@spinnakernet.com>
5572             Bryce McKinlay  <bryce@mckinlay.net.nz>
5574         * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
5575         ready-to-write argument to _Jv_Select. Reset the socket back to 
5576         non-blocking state after connecting.
5577         (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
5578         Throw SocketTimeoutException not InterruptedIOException.
5579         (read): Throw SocketTimeoutException not InterruptedIOException.
5581 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
5583         * java/lang/Thread.java (Thread): Check for null "name" from
5584         start of private constructor, not after calling the private
5585         constructor.
5587 2003-08-06  Tom Tromey  <tromey@redhat.com>
5589         * java/io/FilePermission.java (equals): Use correct index for
5590         last character of path.
5592 2003-08-06  Alan Modra  <amodra@bigpond.net.au>
5594         * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
5595         * configure.in: Compare with_cross_host to build_alias, not build.
5596         * aclocal.m4: Regenerate.
5597         * configure: Regenerate.
5599 2003-08-05  Tom Tromey  <tromey@redhat.com>
5601         Fix for PR libgcj/11779:
5602         * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
5603         class.
5605         * java/lang/reflect/Method.java: Updated status comment.
5606         Imported javadoc from Classpath and re-ordered methods.
5607         * java/lang/reflect/Constructor.java: Reindented.  Updated
5608         status comment.  Imported javadoc from Classpath and re-ordered
5609         methods.
5611 2003-08-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
5613         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
5614         Add keyLocation parameter.
5615         * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
5616         string.
5617         (paramString): Generate keyChar string according to keyChar, not
5618         keyCode.
5619         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5620         (state_to_awt_mods): Handle ALT key.
5621         (keyevent_state_to_awt_mods): New function.
5622         (get_first_keyval_from_keymap): New function.
5623         (keysym_to_awt_keycode): Get virtual key code from keymap.
5624         Handle missing VK_ values.
5625         (keysym_to_awt_keylocation): New function.
5626         (keyevent_to_awt_keychar): New function.
5627         (generates_key_typed_event): Handle non-text-component case.
5628         Handle GDK_KP_Delete and GDK_KP_Enter.
5629         (awt_event_handler): Call new functions to get postKeyEvent
5630         parameters.
5631         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
5632         Update postKeyEvent method signature.
5633         * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines.  Add missing
5634         VK_ defines.
5636 2003-08-05  Matthias Klose  <doko@debian.org>
5638         * aclocal.m4: check for libart-config binary
5639           under the name libart2-config as well.
5640         * configure: regenerated.
5642 2003-08-04  David P Grove  <groved@us.ibm.com>
5644         * java/text/DecimalFormat.java (format): avoid ArithmeticException
5645         when groupingSize is 0.
5646         (parse): Likewise.
5648 2003-08-04  Matthias Klose  <doko@debian.org>
5650         * libart.m4: check for libart-config binary
5651           under the name libart2-config as well.
5652         * configure, aclocal.m4: regenerated.
5654 2003-08-02  Michael Koch  <konqueror@gmx.de>
5656         * java/nio/ByteBufferImpl.java
5657         (getChar): Check remaining bytes, fixed comment about endianess.
5658         (putChar): Likewise.
5659         (getShort): Likewise.
5660         (putShort): Likewise.
5661         (getInt): Check remaining bytes, fixed conversion, fixed comment about
5662         endianess.
5663         (putInt): Likewise.
5664         (getLong): Likewise.
5665         (putLong): Likewise.
5666         (getFloat): Likewise.
5667         (putFloat): Likewise.
5668         (getDouble): Likewise.
5669         (putDouble): Likewise.
5670         * java/nio/DirectByteBufferImpl.java
5671         (getChar): Wrapped code, fixed comment about endianess.
5672         (putchar): Likewise.
5673         (getShort): Likewise.
5674         (putShort): Likewise.
5675         (getInt): Fixed conversion, fixed comment about endianess.
5676         (putInt): Likewise.
5677         (getLong): Likewise.
5678         (putLong): Likewise.
5679         (getFloat): Likewise.
5680         (putFloat): Likewise.
5681         (getDouble): Likewise.
5682         (putDouble): Likewise.
5683         * java/nio/MappedByteBufferImpl.java
5684         (compact): Implemented.
5685         (getChar): Implemented.
5686         (putChar): Implemented.
5687         (getDouble): Implemented.
5688         (putdouble): Implemented.
5689         (getFloat): Implemented.
5690         (putFloat): Implemented.
5691         (getInt): Implemented.
5692         (putInt): Implemented.
5693         (getLong): Implemented.
5694         (putLong): Implemented.
5695         (getShort): Implemented.
5696         (putShort): Implemented.
5697         * java/nio/channels/FileChannelImpl.java
5698         (read): Set position where to access file.
5699         (write): Likewise.
5700         (transferTo): Flip buffer after read and before write.
5701         (transferFrom): Likewise.
5703 2003-08-02  Michael Koch  <konqueror@gmx.de>
5705         * gnu/java/lang/ArrayHelper.java
5706         (equalsArray): Reformated, added method documentation.
5708 2003-08-02  Michael Koch  <konqueror@gmx.de>
5710         * java/net/URL.java
5711         (URL): Added paragraph about the
5712         gnu.java.net.nocache_protocol_handlers property.
5713         (ph_cache): Renamed from handlers to match classpath's implementation.
5714         Reordered it with factory and serialVersionUID member variables.
5715         (cache_handlers): New member variable.
5716         (static): New static initializer to initialize cache_handlers from
5717         gnu.java.net.nocache_protocol_handlers property.
5718         (URL): Use ph_cache instead of handlers, reformatted some code to
5719         match classpath's implementation.
5721 2003-08-01  Tom Tromey  <tromey@redhat.com>
5723         Fix for PR libgcj/11241:
5724         * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
5725         initialCapacity is 0, set it to 1.
5727 2003-08-01  Stephen Crawley <crawley@dstc.edu.au>
5729         * java/net/SocketImpl.java (toString): Display the remote address
5730         of an unconnected server socket as "0.0.0.0/0.0.0.0".
5732 2003-08-01  Sascha Brawer  <brawer@dandelis.ch>
5734         * javax/swing/border/BevelBorder.java,
5735         javax/swing/border/EtchedBorder.java,
5736         javax/swing/border/LineBorder.java,
5737         javax/swing/border/MatteBorder.java,
5738         javax/swing/border/SoftBevelBorder.java,
5739         javax/swing/plaf/BorderUIResource.java,
5740         javax/swing/plaf/ComponentUI.java,
5741         javax/swing/plaf/TreeUI.java,
5742         javax/swing/plaf/basic/BasicBorders.java,
5743         javax/swing/plaf/basic/BasicGraphicsUtils.java,
5744         javax/swing/plaf/basic/BasicTreeUI.java:
5745         Prepend "doc-files" to all paths to embedded Javadoc images, so
5746         that the generated documentation contains the correct URL.
5748 2003-08-01  Tom Tromey  <tromey@redhat.com>
5750         * configure: Rebuilt.
5751         * configure.in (tool_include_dir): Redefine to match gcc.
5753 2003-08-01  Jerry Quinn  <jlquinn@optonline.net>
5754             Mark Wielaard  <mark@klomp.org>
5755             
5756         * java/math/BigDecimal (divide): Correctly handle
5757         ROUND_HALF_EVEN when amount is greater than 0.5.
5758         Simplify and optimize code.
5760 2003-07-31  Tom Tromey  <tromey@redhat.com>
5762         More for PR libgcj/11737:
5763         * java/io/ObjectInputStream.java (processResolution): Use
5764         getMethod.
5765         (getMethod): Make method accessible.
5766         (getField): Make field accessible.
5767         (setBooleanField): Don't call setAccessible here.
5768         (setByteField, setCharField, setDoubleField, setFloatField,
5769         setIntField, setLongField, setShortField, setObjectField):
5770         Likewise.
5771         (callReadMethod): Don't check whether method is null.  Catch
5772         NoSuchMethodException.
5773         * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
5774         cause on thrown exceptions.
5776 2003-07-31  Stepan Koltsov  <yozh@mx1.ru>
5778         Fix for PR libgcj/11728:
5779         * java/util/HashMap.java (readObject): Set size.
5781 2003-07-31  Tom Tromey  <tromey@redhat.com>
5783         Fix for PR libgcj/11737:
5784         * java/io/ObjectOutputStream.java (getMethod): Make method
5785         accessible.
5786         (getField): Likewise.
5787         (writeObject): Use getMethod.
5788         Import PrivilegedAction and AccessController.
5789         (callWriteMethod): Don't check whether m is null.  Catch
5790         NoSuchMethodException.
5792         * java/awt/geom/Arc2D.java (getBounds2D): Implement.
5793         (containsAngle): Likewise.
5794         (getStartPoint): Rewrote.
5795         (getEndPoint): Likewise.
5796         (setAngleStart(Point2D)): Likewise.
5798 2003-07-31  Roger Sayle  <roger@eyesopen.com>
5799             Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5801         * configure.in: Add new THREADCXXFLAGS variable.
5802         Handle POSIX threads on alpha*-dec-osf*.
5803         * configure: Regenerate.
5804         * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
5805         * Makefile.in: Regenerate.
5807 2003-07-08  Andrew Haley  <aph@redhat.com>
5809         * include/i386-signal.h (RESTORE): New.
5810         (INIT_SEGV): Set restorer.
5811         (INIT_FPE): Likewise.
5813 2003-07-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
5815         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
5816         than getXLFD.
5817         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
5818         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
5819         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
5820         (gtkSetFont): Scale size parameter by PANGO_SCALE.
5821         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
5822         Likewise.
5823         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
5824         Likewise.
5826 2003-07-29  Tom Tromey  <tromey@redhat.com>
5828         * defineclass.cc (handleField): Throw exception if field name is
5829         duplicated.
5830         (handleMethod): Throw exception for duplicate method.
5832 2003-07-29  Tom Tromey  <tromey@redhat.com>
5834         * gnu/gcj/convert/natIconv.cc (write): Handle case where
5835         output buffer is too small.
5837 2003-07-28  Tom Tromey  <tromey@redhat.com>
5839         * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
5840         New method.
5841         Include gnu/gcj/runtime/StringBuffer.h.
5842         * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
5843         native method.
5844         (String(gnu.gcj.runtime.StringBuffer)): Use it.
5846 2003-07-27  Anthony Green  <green@redhat.com>
5848         * configure.in: Fix newlib check.
5849         * configure: Rebuilt.
5851 2003-07-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
5853         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
5854         Create vbox and layout for GtkPlug.
5856 2003-07-27  Michael Koch  <konqueror@gmx.de>
5858         * java/awt/Window.java
5859         (Window): Removed now unused constructor. It became oboslete with the
5860         new embedded window patch.
5862 2003-07-27  Thomas Fitzsimmons <fitzsim@redhat.com.h> 
5863             Michael Koch  <konqueror@gmx.de>
5865         * gnu/java/awt/EmbeddedWindow.java
5866         (EmbeddedWindow): Extends Frame instead of Window.
5867         (window_id): New member variable to store the native window handle.
5868         (create): Removed.
5869         (EmbeddedWindow): New constructor.
5870         (addNotify): New method.
5871         (getHandler): Likewise.
5872         (setWindowPeer): New native method.
5873         * gnu/java/awt/EmbeddedWindowSupport.java
5874         (EmbeddedWindowSupport): Fixed documentation.
5875         (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
5876         WindowPeer, give it an EmbeddedWindow instance instead of the raw
5877         window data.
5878         * gnu/java/awt/natEmbeddedWindow.cc
5879         (create): Removed.
5880         (setWindowPeer): New method.
5881         * gnu/java/awt/peer/EmbeddedWindowPeer.java,
5882         gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
5883         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
5884         New files
5885         * gnu/java/awt/peer/gtk/GtkToolkit.java
5886         (GtkToolkit): Implements EmbeddedWindowSupport.
5887         (createEmbeddedWindow): New method.
5888         * java/awt/Window.java
5889         (Window): Removed.
5890         * Makefile.am
5891         (java_source_files): Added EmbeddedWindowPeer.java.
5892         (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
5893         (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
5894         * Makefile.in: Regenerated.
5896 2003-07-26  Ranjit Mathew  <rmathew@hotmail.com>
5898         * java/lang/Win32Process.java (ConcreteProcess): Surround
5899         a command line element with quotes if it contains an
5900         embedded space or tab.
5901         * java/lang/natWin32Process.cc (startProcess): Do not
5902         surround command line elements with quotes here.
5904         * configure.host: Use -fcheck-references and 
5905         -fuse-divide-subroutine for MinGW until we fix
5906         win32_exception_handler( ) in win32.cc w.r.t. Win32 
5907         Structured Exception Handling (SEH).
5909         * win32.cc (_Jv_platform_initProperties): Use generic names
5910         like "x86" for the "os.arch" property to be consistent with
5911         what Sun's JDK produces. Use the wProcessorArchitecture
5912         member of the Win32 SYSTEM_INFO structure, filled in a call 
5913         to GetSystemInfo( ), instead of dwProcessorType.
5915 2003-07-26  Mohan Embar  <gnustuff@thisiscool.com>
5916             Ranjit Mathew  <rmathew@hotmail.com>
5918         * Makefile.am: Use cross-compiling gcjh from the path for
5919         a crossed-native build.
5920         * Makefile.in: Rebuilt.
5921         * configure.in: Include libltdl in non-newlib builds.
5922         Moved determination of gcj used to build libraries to
5923         its own section. Fixed cross-compilation issues for
5924         non-newlib builds.
5925         * configure: Rebuilt.
5927 2003-07-25  Tom Tromey  <tromey@redhat.com>
5929         * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
5930         (write): Likewise.
5931         (read): Likewise.
5932         (read): Likewise.
5934 2003-07-25  Mark Wielaard  <mark@klomp.org>
5936         * java/lang/natRuntime.cc (_load): Add library name to
5937         UnsatisfiedLinkError when thrown.
5939 2003-07-25  Mark Wielaard  <mark@klomp.org>
5941         * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
5942         added.
5943         * Makefile.in: Likewise.
5945 2003-07-25  Jeroen Frijters  <jeroen@frijters.net>
5947         * java/awt/Component.java
5948         (getPreferredSize): Call preferredSize.
5949         (preferredSize): Moved body of getPreferredSize here.
5950         (getMinimumSize): Call minimumSize.
5951         (minimumSize): Moved body of getMinimumSize here.
5952         (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
5953         (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
5954         pass -1
5955         * java/awt/Container.java
5956         (validate): Don't validate if there is no peer.
5957         (update): Clear background before calling paint.
5958         * java/awt/GridBagLayout.java
5959         Completed the implementation and fixed several bugs.
5960         * java/awt/MediaTracker.java
5961         (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
5962         combine flags.
5963         * java/awt/Window.java
5964         (Window): Don't call setVisible(false). Windows are invisible by
5965         default and calling virtual methods from constructor causes
5966         compatibility problems (e.g. subclasses may assume that the peer
5967         already exists).
5969 2003-07-25  Michael Koch  <konqueror@gmx.de>
5971         * java/awt/GridBagLayout.java:
5972         Totally reworked and partly implemented.
5973         * java/awt/GridBagLayoutInfo.java:
5974         New file.
5976 2003-07-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
5978         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
5979         Don't pack label in an event box.
5981 2003-07-24  Tom Tromey  <tromey@redhat.com>
5983         For PR libgcj/7482:
5984         * verify.cc (ref_intersection): New class.
5985         (type_val): Removed unresolved_reference_type,
5986         uninitialized_unresolved_reference_type.
5987         (is_assignable_from_slow): Rewrote.
5988         (type::data): Removed.
5989         (type::klass): New field.
5990         (type::type): Added verifier argument.
5991         (type::resolve): Removed.
5992         (type::set_uninitialized): Updated for change to type_val.
5993         (type::set_initialized): Likewise.
5994         (type::isinitialized): Likewise.
5995         (type::print): Likewise.
5996         (construct_primitive_array_type): Likewise.
5997         (type::compatible): Updated for change to type_val and to use
5998         ref_intersection.
5999         (type::isarray): Updated to use ref_intersection.
6000         (type::isinterface): Likewise.
6001         (type::element_type): Likewise.
6002         (type::to_array): Likewise.
6003         (type::verify_dimensions): Rewrote.
6004         (type::merge): Likewise.
6005         (check_class_constant): Updated for type constructor change.
6006         (check_constant): Likewise.
6007         (check_field_constant): Likewise.
6008         (get_one_type): Likewise.
6009         (initialize_stack): Likewise.
6010         (verify_instructions_0): Likewise.
6011         (verify_instructions_0) [op_invokeinterface]: Removed special
6012         case.
6013         (isect_list): New field.
6014         (_Jv_BytecodeVerifier): Initialize it.
6015         (~_Jv_BytecodeVerifier): Destroy ref_intersection objects. 
6017 2003-07-24  H. Väisänen  <hvaisane@joyx.joensuu.fi>
6019         * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
6020         unless field size is 2.
6022 2003-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
6024         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
6025         (connectHooks): New method.
6026         (handleEvent): Remove.
6027         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
6028         (createHooks): Remove declaration.
6029         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6030         (generates_key_typed_event): Change to handle only certain
6031         keyvals.
6032         (awt_event_handler): Add special handling for GtkTextView.
6033         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
6034         (textcomponent_commit_cb): New function.
6035         (textcomponent_changed_cb): Likewise.
6036         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
6037         (connectHooks): Remove.
6039 2003-07-23  Tom Tromey  <tromey@redhat.com>
6041         * java/lang/natSystem.cc (arraycopy): Check for overflow.
6043         * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
6045 2003-07-22  Tom Tromey  <tromey@redhat.com>
6047         * boehm.cc (_Jv_BuildGCDescr): Wrote.
6048         Include limits.h.
6050 2003-07-22  Tom Tromey  <tromey@redhat.com>
6052         * java/awt/Window.java (getWarningString): Just return the
6053         string.
6054         (Window): Set warningString; check with security manager.
6056 2003-07-22  Scott Gilbertson  <scottg@mantatest.com>
6058         * gnu/awt/xlib/XGraphicsConfiguration.java
6059         (FontMetricsCache): Made static.
6061 2003-07-22  Tom Tromey  <tromey@redhat.com>
6063         * java/net/URLEncoder.java (encode(String)): Use platform default
6064         encoding.
6065         (encode(String,String)): Convert to 2-digit upper-case hex
6066         number.
6067         (hex): New field.
6069 2003-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
6071         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6072         (create): Remove unused method implementation.
6073         (connectHooks): Remove debug messages.
6075 2003-07-20  Anthony Green  <green@redhat.com>
6077         * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
6078         CloneNotSupportedException.
6079         * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
6080         * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
6081         * gnu/gcj/xlib/GC.java (clone): Ditto.
6082         * gnu/awt/xlib/XGraphics.java (clone): Ditto.
6083         * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
6085         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
6086         handler.
6087         * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
6089 2003-07-20  Steve Pribyl <steve@netfuel.com.>
6091         * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
6092         String.  Put dlerror() message into exception.
6093         Include UnsatisfiedLinkError.
6094         * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
6095         String.  Now native.
6097 2003-07-20  Tom Tromey  <tromey@redhat.com>
6099         * java/lang/Runtime.java: Comment fix.
6100         * java/lang/ClassLoader.java (isAncestorOf): New method.
6101         (getParent): Uncommented security check.  Use isAncestorOf.
6102         * include/jvm.h (_Jv_CheckAccess): Declare.
6103         * java/lang/reflect/natConstructor.cc (newInstance): Perform
6104         access check.
6105         Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
6106         * java/lang/reflect/natArray.cc (newInstance): Pass caller's
6107         class loader to _Jv_GetArrayClass.
6108         Include ArrayIndexOutOfBoundsException.h.
6109         * java/lang/reflect/Field.java: Update comment to reflect status.
6110         (equals): Fixed indentation.
6111         * java/lang/Class.h (Class): Declare memberAccessCheck, not
6112         checkMemberAccess.  Make _Jv_CheckAccess a friend.
6113         * java/lang/Class.java (memberAccessCheck): New method from
6114         Classpath.
6115         (checkMemberAccess): Removed.
6116         (getDeclaredMethod): Use memberAccessCheck.
6117         (getField): Likewise.
6118         (getMethod): Likewise.
6119         * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
6120         (_Jv_SearchMethodInClass): Likewise.
6121         * prims.cc (_Jv_CheckAccess): New function.
6122         * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
6123         (_Jv_JNI_GetAnyFieldID): Likewise.
6124         * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
6125         (getClassLoader): Added security check.
6126         (getConstructor): Call memberAccessCheck.
6127         (getDeclaredClasses): Likewise.
6128         (getDeclaredField): Likewise.
6129         (getDeclaredFields): Likewise.
6130         (_getConstructors): Likewise.
6131         (getDeclaredConstructor): Likewise.
6132         (getDeclaredMethods): Likewise.
6133         (getFields): Likewise.
6134         (getMethods): Likewise.
6135         (newInstance): Likewise.
6136         (_Jv_MakeVTable): Put method name in exception.
6137         * java/lang/reflect/natMethod.cc (getType): Use
6138         getClassLoaderInternal.
6139         (_Jv_GetTypesFromSignature): Likewise.
6140         (invoke): Perform access check.
6141         (_Jv_CallAnyMethodA): Removed old FIXME comments.
6142         Include ArrayIndexOutOfBoundsException.h.
6143         * java/lang/reflect/natField.cc (getType): Use
6144         getClassLoaderInternal.
6145         (_Jv_CheckFieldAccessibility): Removed.
6146         (getAddr): Use _Jv_CheckAccess; find caller.
6147         Include ArrayIndexOutOfBoundsException.h.
6149 2003-07-20  Michael Koch  <konqueror@gmx.de>
6151         * java/net/URL.java
6152         (URL): Fixed documentation to name an argument correcty, Reformatted
6153         one method declaration.
6154         (getURLStreamHandler): Added documentation from classpath.
6156 2003-07-19  Tom Tromey  <tromey@redhat.com>
6158         * mauve-libgcj: Don't run CollationElementIterator tests.
6160 2003-07-19  Jeroen Frijters <jeroen@sumatra.nl>
6162         * java/net/URLClassLoader.java (addURL): Moved implementation to
6163         private addURLImpl() to avoid calling addURL from the constructor.
6164         (addURLImpl): Contains the code that was previously in addURL.
6165         (addURLs): Call addURLImpl(), not addURL().
6167 2003-07-18  Graydon Hoare  <graydon@redhat.com>
6169         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 
6170         Handle missing event cases, connect to "value-changed" signal.
6172 2003-07-18  Graydon Hoare  <graydon@redhat.com>
6174         * java/awt/geom/CubicCurve2D.java,
6175         java/awt/geom/Line2D.java,
6176         java/awt/geom/QuadCurve2D.java,
6177         java/awt/geom/Rectangle2D.java: 
6178         Fix path some calculations, make path iterators follow
6179         a consistent style.
6181 2003-07-18  Mark Wielaard  <mark@klomp.org>
6183         * java/util/logging/Handler.java (isLoggable): Check record level
6184         smaller or equal.
6186 2003-07-17  Michael Koch  <konqueror@gmx.de>
6188         * gnu/java/awt/peer/gtk/GtkToolkit.java:
6189         Reworked imports.
6191 2003-07-14  Michael Koch  <konqueror@gmx.de>
6193         * gnu/java/rmi/server/UnicastServerRef.java:
6194         New version from classpath.
6196 2003-07-14  Michael Koch  <konqueror@gmx.de>
6198         * java/awt/image/MemoryImageSource.java,
6199         java/beans/PropertyEditorManager.java,
6200         javax/naming/CompoundName.java,
6201         javax/naming/spi/NamingManager.java,
6202         javax/swing/AbstractButton.java,
6203         javax/swing/ButtonModel.java,
6204         javax/swing/SwingUtilities.java,
6205         javax/swing/UIManager.java,
6206         javax/swing/colorchooser/DefaultColorSelectionModel.java,
6207         javax/swing/event/AncestorEvent.java,
6208         javax/swing/event/InternalFrameEvent.java,
6209         java/util/zip/ZipFile.java:
6210         New versions from classpath.
6212 2003-07-13  Michael Koch  <konqueror@gmx.de>
6214         * gnu/java/nio/FileChannelImpl.java,
6215         gnu/java/nio/natFileChannelImpl.cc: Removed.
6216         * java/io/FileInputStream.java,
6217         java/io/FileOutputStream.java,
6218         java/io/RandomAccessFile.java,
6219         java/nio/MappedByteBufferImpl.java:
6220         Import java.nio.channels.FileChannelImpl instead of
6221         gnu.java.nio.FileChannelImpl.
6222         * java/nio/channels/FileChannelImpl.java,
6223         java/nio/channels/natFileChannelImpl.cc:
6224         New files.
6225         * Makefile.am
6226         (ordinary_java_source_files):
6227         Removed gnu/java/nio/FileChannelImpl.java and added
6228         java/nio/channels/FileChannelImpl.java.
6229         (nat source_files):
6230         Removed gnu/java/nio/natFileChannelImpl.cc and added
6231         java/nio/channels/natFileChannelImpl.cc.
6232         * Makefile.in: Regenerated.
6234 2003-07-13  Michael Koch  <konqueror@gmx.de>
6236         * javax/swing/plaf/basic/BasicBorders.java,
6237         javax/swing/plaf/basic/BasicLabelUI.java,
6238         javax/swing/plaf/basic/BasicLookAndFeel.java,
6239         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6240         javax/swing/plaf/basic/BasicTextUI.java,
6241         javax/swing/plaf/metal/MetalLookAndFeel.java:
6242         New versions from classpath.
6244 2003-07-13  Michael Koch  <konqueror@gmx.de>
6246         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
6247         * gnu/java/awt/peer/gtk/GdkGraphics.java
6248         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
6249         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
6250         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
6251         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
6252         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
6253         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
6254         * gnu/java/awt/peer/gtk/GtkClipboard.java
6255         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
6256         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
6257         * gnu/java/awt/peer/gtk/GtkFramePeer.java
6258         * gnu/java/awt/peer/gtk/GtkGenericPeer.java
6259         * gnu/java/awt/peer/gtk/GtkImage.java
6260         * gnu/java/awt/peer/gtk/GtkImagePainter.java
6261         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
6262         * gnu/java/awt/peer/gtk/GtkListPeer.java
6263         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
6264         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
6265         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
6266         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
6267         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
6268         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
6269         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
6270         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
6271         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
6272         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
6273         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
6274         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
6276 2003-07-13  Michael Koch  <konqueror@gmx.de>
6278         * gnu/java/locale/LocaleInformation_de.java
6279         * gnu/java/locale/LocaleInformation_en.java
6280         * gnu/java/locale/LocaleInformation_nl.java
6282 2003-07-13  Michael Koch  <konqueror@gmx.de>
6284         * gnu/java/awt/EmbeddedWindow.java,
6285         gnu/java/awt/EmbeddedWindowSupport.java,
6286         gnu/java/awt/natEmbeddedWindow.cc:
6287         New files.
6288         * java/awt/Window.java
6289         (Window): New constructor to support embedded windows.
6290         * Makefile.am
6291         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
6292         gnu/java/awt/EmbeddedWindowSupport.java.
6293         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
6294         * Makefile.in: Regenerated.
6296 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
6298         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
6299         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
6300         * java/awt/im/InputContext.java: Remove a redundant
6301         partial line.
6303 2003-07-09  Tom Tromey  <tromey@redhat.com>
6305         * Makefile.in: Rebuilt.
6306         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
6308 2003-07-09  Mark Wielaard  <mark@klomp.org>
6310         * java/io/ObjectOutputStream.java (writeObject): break after
6311         calling writeClassDescriptor().
6313 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
6315         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
6317 2003-07-09  Michael Koch  <konqueror@gmx.de>
6319         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6320         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
6321         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
6322         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
6323         Explicitly import used classes.
6324         * java/awt/Container.java: New version from classpath.
6326 2003-07-09  Michael Koch  <konqueror@gmx.de>
6328         * libgcj.pc.in: New file.
6329         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
6330         * Makefile.in: Regenerated.
6331         * configure: Regenrated.
6332         * configure.in: Create libgcj.pc from libgcj.pc.in.
6334 2003-07-08  Mark Wielaard <mark@klomp.org>
6336         * gcj/cni.h: CNI now expands to Compiled Native Interface.
6338         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
6339         * java/lang/fdlibm.h: Likewise.
6341 2003-07-07  Adam Megacz <adam@xwt.org>
6343         * posix.cc: added #include<stdio.h>
6344                 
6345 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
6347         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
6348         formatting.
6350         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
6351         (setCaretPosition, setEditable): Rely entirely on native
6352         implementation.
6353         (getArgs): Remove.
6354         (postTextEvent): New method.
6355         (handleEvent): New method.
6356         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
6357         method.
6358         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
6359         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6360         (keysym_to_awt_keycode): Fix range checks.
6361         (generates_key_typed_event): New function.
6362         (awt_event_handler): Post AWT_KEY_RELEASED events to event
6363         queue.
6364         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6365         (gtkInit): Store TextComponent's postTextEvent method ID.
6366         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
6367         (setText): Post TEXT_VALUE_CHANGED event to event queue.
6369 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
6371         * configure.in: Check for usleep declaration.
6372         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
6373         * configure: Regenerate.
6374         * include/config.h.in: Likewise.
6375         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
6377 2003-07-01  Michael Koch  <konqueror@gmx.de>
6379         * gnu/gcj/convert/natIconv.cc
6380         (iconv_init): Fixed possible memory leak by releasing allocated iconv
6381         handle.
6383 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
6385         * glib-2.0.m4: New file.
6386         * gtk-2.0.m4: New file.
6387         * glib.m4: Remove.
6388         * gtk.m4: Remove.
6389         * configure.in: Update AM_PATH_GTK macro call to
6390         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
6391         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
6392         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
6393         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
6394         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
6395         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
6396         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
6397         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
6398         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
6399         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
6400         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
6401         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
6402         jni/gtk-peer/gthread-jni.c,
6403         jni/gtk-peer/gthread-jni.h:
6404         New versions from classpath.
6405         * aclocal.m4: Regenerate.
6406         * configure: Regenerate.
6407         * Makefile.in: Regenerate.
6408         * gcj/Makefile.in: Regenerate.
6409         * include/Makefile.in: Regenerate.
6410         * testsuite/Makefile.in: Regenerate.
6412 2003-06-30  Gary Benson  <gbenson@redhat.com>
6414         For PR libgcj/11349:
6415         * javax/naming/spi/NamingManager.java (getURLContext): Use
6416         correct name for factory class.
6418 2003-06-28  Michael Koch  <konqueror@gmx.de>
6420         * java/io/PrintStream.java
6421         (checkError): Call flush() instead of direct flushing of the Writer
6422         object.
6423         (print): Call print(String) instead of direct print method of the
6424         Writer Object.
6425         (println): Call println(String) instead of direct println method of the
6426         Writer Object.
6427         (write): Simplified.
6429 2003-06-28  Michael Koch  <konqueror@gmx.de>
6431         * java/net/ServerSocket.java
6432         (setChannel): New method.
6433         * java/net/Socket.java
6434         (setChannel): New method.
6436 2003-06-27  Michael Koch  <konqueror@gmx.de>
6438         * java/beans/beancontext/BeanContextSupport.java:
6439         New version from classpath.
6441 2003-06-27  Michael Koch  <konqueror@gmx.de>
6443         * java/awt/Window.java,
6444         java/awt/font/GraphicAttribute.java,
6445         java/awt/font/ImageGraphicAttribute.java,
6446         java/awt/image/DataBufferByte.java,
6447         java/awt/image/DataBufferInt.java,
6448         java/awt/image/DataBufferUShort.java,
6449         java/awt/image/DirectColorModel.java,
6450         java/awt/image/PixelGrabber.java:
6451         New versions from classpath.
6453 2003-06-27  Michael Koch  <konqueror@gmx.de>
6455         * java/security/Certificate.java
6456         (getGuarantor): Removed wrong @deprecated tag.
6457         (getPrincipal): Likewise.
6458         (getPublicKey): Likewise.
6459         (encode): Likewise.
6460         (decode): Likewise.
6461         (getFormat): Likewise.
6462         (toString): Likewise.
6463         * java/security/cert/PolicyQualifierInfo.java
6464         (PolicyQualifierInfo): Made final.
6465         * javax/security/auth/x500/X500Principal.java
6466         (serialVersionUID): New member variable.
6468 2003-06-27  Michael Koch  <konqueror@gmx.de>
6470         * java/text/Format.java
6471         (serialVersionUID): Fixed value.
6473 2003-06-27  Michael Koch  <konqueror@gmx.de>
6475         * java/net/Inet4Address.java
6476         (Inet4Address): Made package-private.
6477         * java/net/Inet6Address.java
6478         (Inet4Address): Made package-private.
6480 2003-06-27  Michael Koch  <konqueror@gmx.de>
6482         * java/io/RandomAccessFile.java
6483         (readLine): Removed wrong @deprecated tag.
6484         (getChannel): Made final.
6486 2003-06-27  Michael Koch  <konqueror@gmx.de>
6488         * gnu/java/nio/FileChannelImpl.java
6489         (write): Removed.
6491 2003-06-27  Michael Koch  <konqueror@gmx.de>
6493         * java/nio/ByteBufferImpl.java
6494         (ByteBufferImpl): Made it a package-private class
6495         * java/nio/CharBufferImpl.java
6496         (CharBufferImpl): Made it a package-private class
6497         * java/nio/DirectByteBufferImpl.java
6498         (DirectByteBufferImpl): Made it a package-private class
6499         * java/nio/DoubleBufferImpl.java
6500         (DoubleBufferImpl): Made it a package-private class
6501         * java/nio/FloatBufferImpl.java
6502         (FloatBufferImpl): Made it a package-private class
6503         * java/nio/IntBufferImpl.java
6504         (IntBufferImpl): Made it a package-private class
6505         * java/nio/LongBufferImpl.java
6506         (LongBufferImpl): Made it a package-private class
6507         * java/nio/ShortBufferImpl.java
6508         (ShortBufferImpl): Made it a package-private class
6509         * java/nio/channels/FileChannel.java
6510         (write): Made final.
6511         * java/nio/channels/ServerSocketChannel.java
6512         (ServerSocketChanne): Made protected.
6514 2003-06-27  Michael Koch  <konqueror@gmx.de>
6516         * javax/naming/CompositeName.java
6517         (serialVersionUID): New member variable.
6518         * javax/naming/CompoundName.java
6519         (serialVersionUID): New member variable.
6520         * javax/naming/InitialContext.java
6521         (InitialContext): Throws NamingException.
6522         (init): Likewise.
6523         * javax/naming/LinkRef.java
6524         (serialVersionUID): New member variable.
6525         (gteLinkName): Throws NamingException.
6526         * javax/naming/NamingException.java
6527         (serialVersionUID): New member variable.
6528         * javax/naming/NamingSecurityException.java
6529         (NamingSecurityException): Made abstract.
6530         (serialVersionUID): New member variable.
6531         * javax/naming/ReferralException.java
6532         (serialVersionUID): New member variable.
6533         * javax/naming/StringRefAddr.java
6534         (serialVersionUID): New member variable.
6535         * javax/naming/directory/BasicAttribute.java:
6536         Reworked imports.
6537         (serialVersionUID): New member variable.
6538         (get): Throws NamingException.
6539         (getAll): Throws NamingException.
6540         * javax/naming/directory/BasicAttributes.java:
6541         Reworked imports.
6542         (serialVersionUID): New member variable.
6543         * javax/naming/ldap/UnsolicitedNotificationEvent.java
6544         (serialVersionUID): New member variable.
6546 2003-06-27  Michael Koch  <konqueror@gmx.de>
6548         * Makefile.am
6549         (awt_java_source_files): Added new files:
6550         javax/swing/Popup.java,
6551         javax/swing/PopupFactory.java
6552         * Makefile.in: Regenerated.
6554 2003-06-27  Michael Koch  <konqueror@gmx.de>
6556         * javax/swing/JWindow.java,
6557         javax/swing/event/AncestorEvent.java,
6558         javax/swing/event/HyperlinkEvent.java,
6559         javax/swing/event/InternalFrameEvent.java,
6560         javax/swing/event/ListDataEvent.java,
6561         javax/swing/event/TableModelEvent.java,
6562         javax/swing/plaf/PopupMenuUI.java,
6563         javax/swing/plaf/SplitPaneUI.java,
6564         javax/swing/plaf/TabbedPaneUI.java,
6565         javax/swing/plaf/TextUI.java,
6566         javax/swing/plaf/TreeUI.java,
6567         javax/swing/plaf/basic/BasicTextUI.java,
6568         javax/swing/plaf/basic/BasicTreeUI.java:
6569         New versions from classpath.
6570         * javax/swing/Popup.java,
6571         javax/swing/PopupFactory.jav:
6572         New source files from classpath.
6573         * javax/swing/plaf/doc-files/TreeUI-1.png:
6574         New binary files from classpath.
6576 2003-06-25  Michael Koch  <konqueror@gmx.de>
6578         * Makefile.am
6579         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
6580         * Makefile.in: Regenerated.
6582 2003-06-25  Michael Koch  <konqueror@gmx.de>
6584         * javax/swing/plaf/ActionMapUIResource.java,
6585         javax/swing/plaf/BorderUIResource.java,
6586         javax/swing/plaf/ButtonUI.java,
6587         javax/swing/plaf/ColorChooserUI.java,
6588         javax/swing/plaf/ColorUIResource.java,
6589         javax/swing/plaf/ComboBoxUI.java,
6590         javax/swing/plaf/ComponentInputMapUIResource.java,
6591         javax/swing/plaf/ComponentUI.java,
6592         javax/swing/plaf/DesktopIconUI.java,
6593         javax/swing/plaf/DesktopPaneUI.java,
6594         javax/swing/plaf/DimensionUIResource.java,
6595         javax/swing/plaf/FileChooserUI.java,
6596         javax/swing/plaf/FontUIResource.java,
6597         javax/swing/plaf/IconUIResource.java,
6598         javax/swing/plaf/InputMapUIResource.java,
6599         javax/swing/plaf/InsetsUIResource.java,
6600         javax/swing/plaf/InternalFrameUI.java,
6601         javax/swing/plaf/LabelUI.java,
6602         javax/swing/plaf/ListUI.java,
6603         javax/swing/plaf/MenuBarUI.java,
6604         javax/swing/plaf/MenuItemUI.java,
6605         javax/swing/plaf/OptionPaneUI.java,
6606         javax/swing/plaf/PanelUI.java,
6607         javax/swing/plaf/ProgressBarUI.java,
6608         javax/swing/plaf/RootPaneUI.java,
6609         javax/swing/plaf/ScrollBarUI.java,
6610         javax/swing/plaf/ScrollPaneUI.java,
6611         javax/swing/plaf/SeparatorUI.java,
6612         javax/swing/plaf/SliderUI.java,
6613         javax/swing/plaf/TableHeaderUI.java,
6614         javax/swing/plaf/TableUI.java,
6615         javax/swing/plaf/ToolBarUI.java,
6616         javax/swing/plaf/ToolTipUI.java,
6617         javax/swing/plaf/ViewportUI.java:
6618         New versions from classpath.
6619         * javax/swing/plaf/SpinnerUI.java: 
6620         New file from classpath
6622 2003-06-25  Michael Koch  <konqueror@gmx.de>
6624         * java/awt/image/ColorModel.java:
6625         New version from classpath.
6627 2003-06-25  Michael Koch  <konqueror@gmx.de>
6629         * java/net/PlainDatagramSocketImpl.java:
6630         Partly merged with classpath, this mainly adds documentation.
6632 2003-06-25  Michael Koch  <konqueror@gmx.de>
6634         * java/io/ObjectInputStream.java
6635         (readClassDescriptor): New method.
6636         (readObject): Moved functionality to readClassDescriptor().
6637         * java/io/ObjectOutputStream.java
6638         (writeClassDescriptor): New method.
6639         (writeObject): Moved functionality to writeClassDescriptor().
6641 2003-06-25  Michael Koch  <konqueror@gmx.de>
6643         * javax/swing/plaf/basic/BasicListUI.java,
6644         javax/swing/plaf/basic/BasicOptionPaneUI.java:
6645         Added missing methods.
6647 2003-06-25  Michael Koch  <konqueror@gmx.de>
6649         * javax/swing/event/AncestorEvent.java
6650         javax/swing/event/HyperlinkEvent.java
6651         javax/swing/event/InternalFrameEvent.java
6652         javax/swing/event/ListDataEvent.java
6653         javax/swing/event/TableModelEvent.java:
6654         Compile fixes.
6656 2003-06-24  Michael Koch  <konqueror@gmx.de>
6658         * java/net/URL.java:
6659         Renamed "handler" to "ph" in the whole file to match classpaths
6660         version.
6661         * java/net/URLStreamHandler.java:
6662         (equals): Renamed "handler" to "ph".
6664 2003-06-24  Michael Koch  <konqueror@gmx.de>
6666         * javax/swing/event/AncestorEvent.java,
6667         javax/swing/event/HyperlinkEvent.java,
6668         javax/swing/event/InternalFrameEvent.java,
6669         javax/swing/event/ListDataEvent.java,
6670         javax/swing/event/TableModelEvent.java,
6671         javax/swing/event/TreeWillExpandListener.java,
6672         javax/swing/plaf/ComponentUI.java,
6673         javax/swing/plaf/DesktopIconUI.java,
6674         javax/swing/plaf/DesktopPaneUI.java,
6675         javax/swing/plaf/DimensionUIResource.java,
6676         javax/swing/plaf/FileChooserUI.java,
6677         javax/swing/plaf/FontUIResource.java,
6678         javax/swing/plaf/IconUIResource.java,
6679         javax/swing/plaf/InputMapUIResource.java,
6680         javax/swing/plaf/InsetsUIResource.java,
6681         javax/swing/plaf/InternalFrameUI.java,
6682         javax/swing/plaf/LabelUI.java,
6683         javax/swing/plaf/ListUI.java,
6684         javax/swing/plaf/MenuBarUI.java,
6685         javax/swing/plaf/MenuItemUI.java,
6686         javax/swing/plaf/OptionPaneUI.java,
6687         javax/swing/plaf/PanelUI.java,
6688         javax/swing/plaf/ProgressBarUI.java,
6689         javax/swing/plaf/doc-files/ComponentUI-1.dia,
6690         javax/swing/plaf/doc-files/ComponentUI-1.png:
6691         New versions from classpath.
6693 2003-06-24  Michael Koch  <konqueror@gmx.de>
6695         * java/nio/Buffer.java
6696         (cap): Made package-private.
6697         (pos): Likewise.
6698         (limit): Likewise.
6699         (mark): Likewise.
6701 2003-06-24  Michael Koch  <konqueror@gmx.de>
6703         * java/net/SocketImpl.java
6704         (shutdownInput): Made it non-abstract method throwing an exception
6705         like in SUNs JRE.
6706         (shutdownOutput): Likewise.
6707         * java/net/SocketInputStream.java,
6708         java/net/SocketOutputStream.java:
6709         New files from classpath.
6711 2003-06-24  Michael Koch  <konqueror@gmx.de>
6713         * java/awt/Font.java,
6714         java/awt/Window.java,
6715         java/awt/color/ColorSpace.java,
6716         java/awt/datatransfer/StringSelection.java,
6717         java/awt/image/ColorModel.java:
6718         New versions from classpath.
6720 2003-06-24  Michael Koch  <konqueror@gmx.de>
6722         * Makefile.am
6723         (awt_java_source_files): Added new files:
6724         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
6725         javax/swing/plaf/basic/BasicSplitPaneUI.java
6726         * Makefile.in: Regenerated.
6728 2003-06-24  Michael Koch  <konqueror@gmx.de>
6730         * javax/swing/text/JTextComponent.java:
6731         New version from classpath.
6733 2003-06-24  Michael Koch  <konqueror@gmx.de>
6735         * javax/swing/Timer.java,
6736         javax/swing/plaf/ActionMapUIResource.java,
6737         javax/swing/plaf/ButtonUI.java,
6738         javax/swing/plaf/ColorChooserUI.java,
6739         javax/swing/plaf/ColorUIResource.java,
6740         javax/swing/plaf/ComboBoxUI.java,
6741         javax/swing/plaf/ComponentInputMapUIResource.java,
6742         javax/swing/plaf/basic/BasicBorders.java:
6743         New versions from classpath.
6744         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
6745         javax/swing/plaf/basic/BasicSplitPaneUI.java:
6746         New file from classpath.
6747         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
6748         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
6749         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
6750         javax/swing/plaf/doc-files/ComponentUI-1.dia,
6751         javax/swing/plaf/doc-files/ComponentUI-1.png:
6752         New binary files from classpath.
6754 2003-06-24  Michael Koch  <konqueror@gmx.de>
6756         * java/io/LineNumberReader.java
6757         (skip): Dont do line number accounting here as this is already done in
6758         read(), simplified.
6760 2003-06-21  Michael Koch  <konqueror@gmx.de>
6762         * java/io/File.java
6763         (static): Load javaio lib if existing (only in classpath).
6764         (File): Revised documentation to show the correct argument name.
6765         (createTempFile): Partly merged with classpath.
6766         (compareTo): Simplified.
6767         (lastModified): Throw exception if time < 0.
6768         (deleteOnExit): Revised documentation.
6770 2003-06-21  Michael Koch  <konqueror@gmx.de>
6772         * java/net/PlainSocketImpl.java:
6773         Reformatted.
6774         (PlainSocketImpl): Merged class documentaion with classpath.
6775         (in): Moved.
6776         (out): Moved.
6777         (PlainSocketImpl): New empty constructor.
6778         (finalize): Moved.
6779         (setOption): Merged documentation from classpath.
6780         (getOption): Likewise.
6781         (create): Likewise.
6782         (connect): Likewise.
6783         (bind): Likewise.
6784         (listen): Likewise.
6785         (accept): Likewise.
6786         (available): Likewise.
6787         (close): Likewise.
6788         (read): Likewise.
6789         (write): Likewise.
6790         (getInputStream): Made synchronozed to get sure that only one stream
6791         object can be created for this socket, merged documentation from
6792         classpath.
6793         (getOutputStream): Likewise.
6795 2003-06-21  Michael Koch  <konqueror@gmx.de>
6797         * java/net/PlainSocketImpl.java:
6798         Reformatting.
6799         (static): New implicit method.
6800         (read): Made package private.
6801         (write): Likewise.
6803 2003-06-21  Michael Koch  <konqueror@gmx.de>
6805         * java/util/SimpleTimeZone.java:
6806         Removed unneeded import, reformatting.
6808 2003-06-21  Michael Koch  <konqueror@gmx.de>
6810         * java/text/DateFormat.java,
6811         java/text/SimpleDateFormat.java,
6812         java/util/Locale.java:
6813         New versions from classpath.
6815 2003-06-21  Michael Koch  <konqueror@gmx.de>
6817         * javax/swing/SpinnerModel.java:
6818         New file from classpath.
6819         * javax/swing/border/LineBorder.java,
6820         javax/swing/border/SoftBevelBorder.java,
6821         javax/swing/plaf/BorderUIResource.java,
6822         javax/swing/plaf/basic/BasicBorders.java:
6823         New versions from classpath.
6824         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
6825         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
6826         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
6827         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
6828         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
6829         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
6830         New binary files from classpath.
6832 2003-06-21  Michael Koch  <konqueror@gmx.de>
6834         * java/util/logging/LogRecord.java,
6835         java/util/logging/Logger.java,
6836         java/util/logging/SocketHandler.java,
6837         java/util/logging/SimpleFormatter.java,
6838         java/util/logging/Formatter.java,
6839         java/util/logging/ErrorManager.java,
6840         java/util/logging/Handler.java,
6841         java/util/logging/FileHandler.java,
6842         java/util/logging/LogManager.java,
6843         java/util/logging/Level.java,
6844         java/util/logging/ConsoleHandler.java,
6845         java/util/logging/StreamHandler.java,
6846         java/util/logging/LoggingPermission.java,
6847         java/util/logging/Filter.java,
6848         java/util/logging/MemoryHandler.java,
6849         java/util/logging/XMLFormatter.java:
6850         New files from classpath.
6852 2003-06-20  Michael Koch  <konqueror@gmx.de>
6854         * java/io/ObjectStreamField.java
6855         (unshared): new member variable.
6856         (ObjectStreamField): New constructor.
6857         (isUnshared): New method.
6859 2003-06-20  Michael Koch  <konqueror@gmx.de>
6861         * java/net/URLStreamHandler.java
6862         (hostsEqual): Rewritten.
6864 2003-06-20  Michael Koch  <konqueror@gmx.de>
6866         * gnu/java/nio/MappedByteFileBuffer.java,
6867         gnu/java/nio/natMappedByteFileBuffer.cc:
6868         Removed
6869         * java/nio/MappedByteBufferImpl.java:
6870         New file.
6871         * gnu/java/nio/FileChannelImpl.java:
6872         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
6873         * Makefile.am
6874         (ordinary_java_source_files): Removed
6875         gnu/java/nio/MappedByteFileBuffer.java and added
6876         java/nio/MappedByteBufferImpl.java.
6877         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
6878         * Makefile.in: Regenerated.
6880 2003-06-19  Michael Koch  <konqueror@gmx.de>
6882         * gnu/java/nio/DatagramChannelImpl.java
6883         (fd): Removed.
6884         (blocking): New member variable.
6885         (socket): Likewise.
6886         (DatagramChannelImpl): Throws IOException, initialize socket.
6887         (socket):Implemented.
6888         (implCloseSelectableChannel): Throws IOException, implemented.
6889         (implConfigureBlocking): Likewise.
6890         (connect): Likewise.
6891         (disconnect): Likewise.
6892         (isConnected): Likewise.
6893         (write): Likewise.
6894         (read): Likewise.
6895         (receive): Throws IOException.
6896         (send): Likewise.
6897         * gnu/java/nio/SocketChannelImpl.java
6898         (read): Implemented.
6899         (write): Implemented.
6901 2003-06-19  Michael Koch  <konqueror@gmx.de>
6903         * javax/swing/JComponent.java,
6904         javax/swing/JInternalFrame.java,
6905         javax/swing/MenuSelectionManager.java,
6906         javax/swing/SwingUtilities.java,
6907         javax/swing/ToggleButtonModel.java:
6908         New versions from classpath.
6910 2003-06-19  Michael Koch  <konqueror@gmx.de>
6912         * java/text/CollationElementIterator.java
6913         (NULLORDER): Initialize with -1 as JDK documentation says.
6915 2003-06-19  Michael Koch  <konqueror@gmx.de>
6917         * java/net/HttpURLConnection.java,
6918         java/net/Inet4Address.java,
6919         java/net/Inet6Address.java,
6920         java/net/SocketImpl.java,
6921         java/net/URLClassLoader.java:
6922         Reworked import statements.
6923         * java/net/InetAddress.java
6924         (getByAddress): Simplified.
6925         * java/net/ServerSocket.java
6926         (ServerSocket): Moved special handling during bind operation to
6927         bind().
6928         (bind): Handle different cases when trying to bind a socket.
6929         * java/net/URLConnection.java
6930         (getHeaderFieldDate): Merged with classpath.
6931         (getHeaderFieldInt): Likewise.
6933 2003-06-19  Michael Koch  <konqueror@gmx.de>
6935         * java/util/zip/InflaterInputStream.java
6936         (InflaterInputStream): Throw NullPointerException if in is null (as
6937         JDK does).
6939 2003-06-19  Michael Koch  <konqueror@gmx.de>
6941         * java/awt/Font.java
6942         javax/swing/UIManager.java
6943         javax/swing/border/AbstractBorder.java
6944         javax/swing/border/BevelBorder.java
6945         javax/swing/border/Border.java
6946         javax/swing/border/CompoundBorder.java
6947         javax/swing/border/EmptyBorder.java
6948         javax/swing/border/EtchedBorder.java
6949         javax/swing/border/LineBorder.java
6950         javax/swing/border/MatteBorder.java
6951         javax/swing/border/TitledBorder.java
6952         javax/swing/plaf/BorderUIResource.java
6953         javax/swing/plaf/basic/BasicBorders.java
6954         javax/swing/plaf/basic/BasicButtonUI.java
6955         javax/swing/plaf/basic/BasicCheckBoxUI.java
6956         javax/swing/plaf/basic/BasicGraphicsUtils.java
6957         javax/swing/plaf/basic/BasicLabelUI.java
6958         javax/swing/plaf/basic/BasicRadioButtonUI.java
6959         javax/swing/plaf/basic/BasicToggleButtonUI.java:
6960         New versions from classpath.
6961         * javax/swing/border/SoftBevelBorder.java:
6962         New file from classpath.
6963         * javax/swing/border/doc-files/LineBorder-1.png,
6964         javax/swing/border/doc-files/BevelBorder-1.png,
6965         javax/swing/border/doc-files/BevelBorder-2.png,
6966         javax/swing/border/doc-files/BevelBorder-3.png,
6967         javax/swing/border/doc-files/EmptyBorder-1.png,
6968         javax/swing/border/doc-files/EtchedBorder-1.png,
6969         javax/swing/border/doc-files/EtchedBorder-2.png,
6970         javax/swing/border/doc-files/MatteBorder-1.png,
6971         javax/swing/border/doc-files/MatteBorder-2.png,
6972         javax/swing/border/doc-files/MatteBorder-3.png,
6973         javax/swing/border/doc-files/MatteBorder-4.png,
6974         javax/swing/border/doc-files/MatteBorder-5.png,
6975         javax/swing/border/doc-files/MatteBorder-6.png,
6976         javax/swing/border/doc-files/SoftBevelBorder-1.png,
6977         javax/swing/border/doc-files/SoftBevelBorder-2.png,
6978         javax/swing/border/doc-files/SoftBevelBorder-3.png,
6979         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
6980         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
6981         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
6982         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
6983         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
6984         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
6985         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
6986         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
6987         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
6988         New binary files from classpath.
6989         * Makefile.am
6990         (awt_java_source_files): Added
6991         javax/swing/border/SoftBevelBorder.java.
6992         * Makefile.in: Regenerated.
6994 2003-06-19  Michael Koch  <konqueror@gmx.de>
6996         * gnu/java/security/x509/X509Certificate.java
6997         (writeReplace): Merged from classpath.
6999 2003-06-19  Michael Koch  <konqueror@gmx.de>
7001         * gnu/java/nio/FileChannelImpl.java
7002         (map_address): Made public.
7003         (FileChannelImpl): Merged with classpath.
7004         * gnu/java/nio/natFileChannelImpl.cc
7005         (nio_mmap_file): Commented out unused arguments.
7006         (nio_unmmap_file): Likewise.
7007         (niu_msync): Likewise.
7009 2003-06-19  Michael Koch  <konqueror@gmx.de>
7011         * java/awt/image/IndexColorModel.java:
7012         New version from classpath.
7014 2003-06-18  Tom Tromey  <tromey@redhat.com>
7016         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
7017         on arrays.
7018         (isLoopbackAddress): Likewise.
7019         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
7020         on arrays.
7022 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
7024         * java/lang/natVMSecurityManager.cc (getClassContext):
7025         Use maxlen instead of len for loop bound.
7027 2003-06-18  Michael Koch  <konqueror@gmx.de>
7029         * gnu/java/nio/SelectorImpl.java
7030         (register): Use fd with value 0 for now, will be fixed later.
7031         * gnu/java/nio/ServerSocketChannelImpl.java
7032         (fd): Removed.
7033         (local_port): Removed.
7034         (InetSocketAddress): Removed.
7035         (ServerSocketChannelImpl): Just initialize internal socket object.
7036         (implCloseSelectableChannel): Close internal socket object.
7037         (implConfigureBlocking): Added comment.
7038         (accept): Use jaba.net stuff to accept socket.
7039         * gnu/java/nio/SocketChannelImpl.java
7040         (fd): Removed.
7041         (local_port): Removed.
7042         (InetSocketAddress): Removed.
7043         (SocketCreate): Removed.
7044         (SocketConnect): Removed.
7045         (SocketBind): Removed.
7046         (SocketListen): Removed.
7047         (SocketAvailable): Removed.
7048         (SocketClose): Removed.
7049         (SocketRead): Removed.
7050         (SocketWrite): Removed.
7051         (SocketChannelImpl): Just initialize internal socket object.
7052         (implCloseSelectableChannel): Close internal socket object.
7053         (implConfigureBlocking): Fixed implementation, added comment.
7054         (connect): Use internal socket object to connect.
7055         (socket): No need for sanity checks.
7056         (read): Comment out some stuff, this will be reimplemented in the next
7057         commit.
7058         (write): Likewise.
7059         * gnu/java/nio/natFileChannelImpl.cc
7060         (nio_mmap_file): Line wrapped.
7061         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
7062         * Makefile.am
7063         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
7064         * Makefile.in: Regenerated.
7066 2003-06-18  Michael Koch  <konqueror@gmx.de>
7068         * java/util/Locale.java
7069         (equals): Merged from classpath.
7071 2003-06-18  Michael Koch  <konqueror@gmx.de>
7073         * java/net/InetAddress.java:
7074         Reformatted to better match classpath's version.
7075         * java/net/URL.java
7076         (equals): Simplified.
7077         * java/net/URLConnection.java
7078         (setDoInput): Revised documentation.
7079         (getDefaultUseCaches): Likewise.
7080         (setRequestProperty): Added @since tag.
7082 2003-06-17  Michael Koch  <konqueror@gmx.de>
7084         * java/net/InetSocketAddress.java
7085         (InetSocketAddress): Use wildcard address if addr is null.
7086         (InetSocketAddress): Dont duplicate implementation.
7087         (InetSocketAddress): Throw exception when hostname is null.
7088         * java/net/Socket.java:
7089         Reworked imports.
7090         (Socket): Throw exception when raddr is null, handle case when laddr
7091         is null.
7093 2003-06-17  Michael Koch  <konqueror@gmx.de>
7095         * java/nio/DirectByteBufferImpl.java
7096         (address): Made package private.
7097         (DirectByteBufferImpl): New constructor.
7098         * java/nio/natDirectByteBufferImpl.cc
7099         (allocateImpl): Moved to java.nio namespace, implemented.
7100         (freeImpl): Likewise.
7101         (getImpl): Likewise.
7102         (putImpl): Likewise.
7103         * jni.cc
7104         (_Jv_JNI_NewDirectByteBuffer): Implemented.
7105         (_Jv_JNI_GetDirectBufferAddress): Implemented.
7106         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
7108 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7110         * include/powerpc-signal.h: New File.
7111         * configure.in: Use it.
7112         * configure: Regenerated.
7114 2003-06-17  Michael Koch  <konqueror@gmx.de>
7116         * java/util/Locale.java
7117         (getDisplayLanguage): Made it final.
7118         (getDisplayCountry): Likewise.
7119         (getDisplayVariant): Likewise.
7120         (getDisplayName): Likewise.
7122 2003-06-17  Michael Koch  <konqueror@gmx.de>
7124         * java/util/PropertyResourceBundle.java:
7125         Removed unneeded import.
7127 2003-06-17  Michael Koch  <konqueror@gmx.de>
7129         * java/util/prefs/AbstractPreferences.java,
7130         java/util/prefs/PreferencesFactory.java:
7131         Reworked imports, removed unused imports.
7132         * java/util/prefs/Preferences.java
7133         (systemNodeForPackage): Method takes a Class not an Object.
7134         (userNodeForPackage): Likewise.
7135         (nodeForPackage): Likewise.
7137 2003-06-17  Michael Koch  <konqueror@gmx.de>
7139         * gnu/java/security/x509/X509Certificate.java:
7140         Explicitely import used classes.
7142 2003-06-17  Michael Koch  <konqueror@gmx.de>
7144         * java/util/zip/ZipEntry.java,
7145         java/util/zip/ZipFile.java,
7146         java/util/zip/ZipInputStream.java,
7147         java/util/zip/ZipOutputStream.java:
7148         Reworked imports, only import used classes.
7150 2003-06-17  Michael Koch  <konqueror@gmx.de>
7152         * gnu/java/lang/ArrayHelper.java,
7153         gnu/java/lang/ClassHelper.java:
7154         Reformatted to match classpath's versions.
7156 2003-06-14  Michael Koch  <konqueror@gmx.de>
7158         * gnu/java/nio/FileChannelImpl.java
7159         (map_address): Removed incorrect comment.        
7160         * gnu/java/nio/SelectorImpl.java
7161         (register): Remove code duplication and code for file channel handling.        
7162         * gnu/java/nio/ServerSocketChannelImpl.java
7163         (serverSocket): Renamed from sock_object.
7164         (ServerSocketChannel): Initialize serverSocket.
7165         (socket): Return serverSocket.
7166         * gnu/java/nio/SocketChannelImpl.java
7167         (socket): Renamed from sock_object.
7168         (isConnectionPenging): Simplified.
7169         (socket): Return socket.
7170 2003-06-14  Michael Koch  <konqueror@gmx.de>
7172         * java/security/BasicPermission.java:
7173         New version from classpath.
7175 2003-06-14  Michael Koch  <konqueror@gmx.de>
7177         * javax/naming/directory/Attribute.java:
7178         New version from classpath.
7180 2003-06-14  Michael Koch  <konqueror@gmx.de>
7182         * java/io/BufferedReader.java,
7183         java/io/FileOutputStream.java:
7184         New versions from classpath.
7186 2003-06-12  Andrew Haley  <aph@redhat.com>
7188         * prims.cc (catch_segv): Create exception in handler.
7189         (catch_fpe): Likewise.  
7190         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
7191         (_Jv_ThrowSignal): Remove.
7193         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
7194         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
7195         to nullp and arithexception.
7196         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
7197         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
7198         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
7199         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
7200         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
7202 2003-06-11  Andrew Haley  <aph@redhat.com>
7204         * jni.cc (_Jv_JNI_check_types): New.
7205         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
7206         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
7207         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
7208         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
7209         
7210         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
7211         infinite loop.
7213 2003-06-11  Tom Tromey  <tromey@redhat.com>
7215         * java/lang/ClassLoader.java (loadClass): Not deprecated.
7216         * java/io/PrintStream.java: Not deprecated.
7218 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
7220         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
7221         (fillOval): implemented
7222         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
7223         (fillArc): implemented.
7224         * gnu/gcj/xlib/GC.java (drawArc): added native method.
7225         (fillArc): added native method.
7226         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
7227         (fillArc): added native method.
7229 2003-06-11  Michael Koch  <konqueror@gmx.de>
7231         * java/awt/im/InputSubset.java:
7232         New version from classpath.
7234 2003-06-11  Michael Koch  <konqueror@gmx.de>
7236         * javax/swing/AbstractAction.java,
7237         javax/swing/AbstractButton.java,
7238         javax/swing/AbstractCellEditor.java,
7239         javax/swing/AbstractListModel.java,
7240         javax/swing/BorderFactory.java,
7241         javax/swing/Box.java,
7242         javax/swing/BoxLayout.java,
7243         javax/swing/ButtonGroup.java,
7244         javax/swing/DefaultButtonModel.java,
7245         javax/swing/DefaultListModel.java,
7246         javax/swing/DefaultListSelectionModel.java,
7247         javax/swing/FocusManager.java,
7248         javax/swing/ImageIcon.java,
7249         javax/swing/InputMap.java,
7250         javax/swing/JApplet.java,
7251         javax/swing/JButton.java,
7252         javax/swing/JCheckBox.java,
7253         javax/swing/JCheckBoxMenuItem.java,
7254         javax/swing/JColorChooser.java,
7255         javax/swing/JComboBox.java,
7256         javax/swing/JComponent.java,
7257         javax/swing/JDesktopPane.java,
7258         javax/swing/JDialog.java,
7259         javax/swing/JEditorPane.java,
7260         javax/swing/JFileChooser.java,
7261         javax/swing/JFormattedTextField.java,
7262         javax/swing/JFrame.java,
7263         javax/swing/JLabel.java,
7264         javax/swing/JLayeredPane.java,
7265         javax/swing/JList.java,
7266         javax/swing/JMenuBar.java,
7267         javax/swing/JMenuItem.java,
7268         javax/swing/JOptionPane.java,
7269         javax/swing/JPanel.java,
7270         javax/swing/JPasswordField.java,
7271         javax/swing/JPopupMenu.java,
7272         javax/swing/JProgressBar.java,
7273         javax/swing/JRadioButton.java,
7274         javax/swing/JRadioButtonMenuItem.java,
7275         javax/swing/JRootPane.java,
7276         javax/swing/JScrollBar.java,
7277         javax/swing/JScrollPane.java,
7278         javax/swing/JSeparator.java,
7279         javax/swing/JSlider.java,
7280         javax/swing/JTabbedPane.java,
7281         javax/swing/JTable.java,
7282         javax/swing/JTextField.java,
7283         javax/swing/JToggleButton.java,
7284         javax/swing/JToolBar.java,
7285         javax/swing/JToolTip.java,
7286         javax/swing/JTree.java,
7287         javax/swing/JViewport.java,
7288         javax/swing/JWindow.java,
7289         javax/swing/KeyStroke.java,
7290         javax/swing/ListSelectionModel.java,
7291         javax/swing/LookAndFeel.java,
7292         javax/swing/RepaintManager.java,
7293         javax/swing/ScrollPaneLayout.java,
7294         javax/swing/SizeRequirements.java,
7295         javax/swing/SwingConstants.java,
7296         javax/swing/Timer.java,
7297         javax/swing/UIDefaults.java,
7298         javax/swing/UIManager.java,
7299         javax/swing/border/AbstractBorder.java,
7300         javax/swing/border/CompoundBorder.java,
7301         javax/swing/colorchooser/AbstractColorChooserPanel.java,
7302         javax/swing/colorchooser/ColorChooserComponentFactory.java,
7303         javax/swing/colorchooser/ColorSelectionModel.java,
7304         javax/swing/colorchooser/DefaultColorSelectionModel.java,
7305         javax/swing/event/AncestorEvent.java,
7306         javax/swing/event/HyperlinkEvent.java,
7307         javax/swing/event/InternalFrameAdapter.java,
7308         javax/swing/event/InternalFrameEvent.java,
7309         javax/swing/event/ListDataEvent.java,
7310         javax/swing/event/MouseInputAdapter.java,
7311         javax/swing/event/SwingPropertyChangeSupport.java,
7312         javax/swing/event/TableModelEvent.java,
7313         javax/swing/event/TreeWillExpandListener.java,
7314         javax/swing/event/UndoableEditEvent.java,
7315         javax/swing/filechooser/FileFilter.java,
7316         javax/swing/filechooser/FileSystemView.java,
7317         javax/swing/filechooser/FileView.java,
7318         javax/swing/plaf/BorderUIResource.java,
7319         javax/swing/plaf/basic/BasicDefaults.java,
7320         javax/swing/table/AbstractTableModel.java,
7321         javax/swing/table/DefaultTableCellRenderer.java,
7322         javax/swing/table/DefaultTableColumnModel.java,
7323         javax/swing/table/DefaultTableModel.java,
7324         javax/swing/table/TableColumn.java,
7325         javax/swing/text/JTextComponent.java,
7326         javax/swing/tree/AbstractLayoutCache.java,
7327         javax/swing/tree/DefaultMutableTreeNode.java,
7328         javax/swing/tree/DefaultTreeCellEditor.java,
7329         javax/swing/tree/DefaultTreeCellRenderer.java,
7330         javax/swing/tree/DefaultTreeModel.java,
7331         javax/swing/tree/DefaultTreeSelectionModel.java,
7332         javax/swing/tree/FixedHeightLayoutCache.java,
7333         javax/swing/tree/TreeCellEditor.java,
7334         javax/swing/tree/TreeModel.java,
7335         javax/swing/tree/TreeNode.java,
7336         javax/swing/tree/TreePath.java,
7337         javax/swing/tree/TreeSelectionModel.java,
7338         javax/swing/tree/VariableHeightLayoutCache.java,
7339         javax/swing/undo/AbstractUndoableEdit.java,
7340         javax/swing/undo/CompoundEdit.java,
7341         javax/swing/undo/StateEdit.java,
7342         javax/swing/undo/UndoManager.java,
7343         javax/swing/undo/UndoableEditSupport.java:
7344         New versions from classpath.
7345         * javax/swing/table/JTableHeader.java:
7346         New file from classpath.
7347         * Makefile.am
7348         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
7349         * Makefile.in: Regenerated.
7351 2003-06-11  Michael Koch  <konqueror@gmx.de>
7353         * java/nio/MappedByteBuffer.java,
7354         java/nio/channels/Channels.java,
7355         java/nio/channels/ServerSocketChannel.java,
7356         java/nio/channels/spi/AbstractSelector.java:
7357         Removed unneeded imports.
7359 2003-06-11  Michael Koch  <konqueror@gmx.de>
7361         * java/net/DatagramSocket.java:
7362         Partly merged with classpath.
7364 2003-06-11  Michael Koch  <konqueror@gmx.de>
7366         * java/awt/Frame.java,
7367         java/awt/Graphics.java,
7368         java/awt/Menu.java,
7369         java/awt/Robot.java,
7370         java/awt/image/ColorModel.java:
7371         New versions from classpath.
7373 2003-06-10  Michael Koch  <konqueror@gmx.de>
7375         * java/io/PrintStream.java:
7376         Merged version from classpath.
7377         (close): Removed sychronized keyword. This class is not garantied to
7378         be thread-safe.
7379         (write): Likewise.
7381 2003-06-09  Tom Tromey  <tromey@redhat.com>
7383         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
7384         field.
7385         (getDescent): Likewise, for "descent".
7387 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
7389         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
7390         (getMaxDescent): adjusted return value.
7391         (getAscent): modified to use metrics for 'O'.
7392         (getDescent): modified to use metrics for 'y'.
7394 2003-06-08  Anthony Green  <green@redhat.com>
7396         * java/net/URLStreamHandler.java (sameFile): Fix port value
7397         comparison.
7398         * java/net/URL.java (handler): Make package private.
7399         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
7401 2003-06-07  Tom Tromey  <tromey@redhat.com>
7403         For PR libgcj/11085:
7404         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
7405         Limit number of characters in numeric field when required.
7406         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
7407         Respect maximumIntegerDigits.
7409 2003-06-08  Michael Koch  <konqueror@gmx.de>
7411         * java/net/Socket.java
7412         (Socket): Dont initialize inputShutdown and outputShutdown twice,
7413         call bind() and connect() to actually do the bind and connect tasks.
7414         (bind): Connect to canonical address if bindpoint is null, create
7415         socket and bind it to bindpoint.
7416         (connect): Check for exceptions.
7418 2003-06-08  Michael Koch  <konqueror@gmx.de>
7420         * java/net/DatagramSocket.java
7421         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
7422         into the Multicast constructors.
7423         * java/net/DatagramSocketImpl.java
7424         (getOption): Removed.
7425         (setOption): Removed.
7426         * java/net/MulticastSocket.java
7427         (MulticastSocket): Call setReuseAddress (true).
7428         * java/net/SocketImpl.java
7429         (getOption): Removed.
7430         (setOption): Removed.
7432 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
7434         PR libgcj/10886:
7435         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
7436         Test for empty vector.
7438 2003-06-06  Mark Wielaard  <mark@klomp.org>
7440         * java/security/Security.java (secprops): Initialize.
7441         (loadProviders): Return boolean.
7442         (static): Check result of loadProvider calls. If necessary
7443         display WARNING and fallback to Gnu provider.
7445 2002-06-06  James Clark  <jjc@jclark.com>
7447         Fix for PR libgcj/8738:
7448         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
7449         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
7450         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
7451         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
7452         (write): Always decrease avail when count is increased.
7453         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
7454         and whether output buffer is full before increasing size.
7456 2002-06-06  Mark Wielaard  <mark@klomp dot org>
7458         * java/io/PrintStream.java (writeChars(char[],int, int)):
7459         Check converter.havePendingBytes().
7460         (writeChars(String,int,int)): Likewise.
7461         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
7462         Check converter.havePendingBytes() and flush buffer when stalled.
7464 2003-06-07  Michael Koch  <konqueror@gmx.de>
7466         * include/posix.h
7467         (O_DSYNC): Define O_DSYNC on platforms not
7468         supporting O_FSYNC (newlib).
7470 2003-06-06  Mark Wielaard  <mark@klomp.org>
7472         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
7473         AWTError.
7475 2003-06-06  Michael Koch  <konqueror@gmx.de>
7477         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
7478         More compile fixes from my stupid work yesterday.
7480 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
7482         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
7483         if _IEEE_LIBM is undefined.
7485 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
7487         * libjava/include/posix.h (O_SYNC): Define if not available
7488         and a reasonable, perhaps more conservative, replacement exists.
7489         (O_DSYNC): Likewise.
7490         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
7492 2003-06-05  Michael Koch  <konqueror@gmx.de>
7494         * javax/swing/plaf/BorderUIResource.java,
7495         javax/swing/plaf/basic/BasicDefaults.java,
7496         javax/swing/plaf/basic/BasicOptionPaneUI.java:
7497         More compile fixes for latest Border commit. I should not commit
7498         something in this heat here ...
7500 2003-06-05  Michael Koch  <konqueror@gmx.de>
7502         * javax/swing/border/BevelBorder.java
7503         (BevelBorder): Removed.
7504         * javax/swing/border/EmptyBorder.java:
7505         Reformatted.
7506         (EmptyBorder): Removed.
7507         (getBorderInsets): Dont use l, r, t and b.
7508         * javax/swing/border/EtchedBorder.java
7509         (EtchedBorder): Removed.
7510         * javax/swing/border/LineBorder.java
7511         (LineBorder): Removed.
7512         * javax/swing/border/MatteBorder.java
7513         (MatteBorder): Removed.
7514         * javax/swing/border/TitledBorder.java
7515         (defaultBorder): Use other default for now.
7516         (defaultFont): Likewise.
7517         (defaultColor): Likewise.
7519 2003-06-05  Michael Koch  <konqueror@gmx.de>
7521         * javax/swing/border/Border.java:
7522         New version from classpath.
7524 2003-06-05  Michael Koch  <konqueror@gmx.de>
7526         * javax/swing/border/AbstractBorder.java,
7527         javax/swing/border/BevelBorder.java,
7528         javax/swing/border/CompoundBorder.java,
7529         javax/swing/border/EmptyBorder.java,
7530         javax/swing/border/EtchedBorder.java,
7531         javax/swing/border/LineBorder.java,
7532         javax/swing/border/MatteBorder.java,
7533         javax/swing/border/TitledBorder.java:
7534         New versions from Classpath.
7536 2003-06-05  Michael Koch  <konqueror@gmx.de>
7538         * java/awt/Button.java,
7539         java/awt/Checkbox.java,
7540         java/awt/CheckboxMenuItem.java,
7541         java/awt/Choice.java,
7542         java/awt/Container.java,
7543         java/awt/Dialog.java,
7544         java/awt/EventQueue.java,
7545         java/awt/FileDialog.java,
7546         java/awt/Frame.java,
7547         java/awt/Label.java,
7548         java/awt/List.java,
7549         java/awt/Menu.java,
7550         java/awt/MenuItem.java,
7551         java/awt/Panel.java,
7552         java/awt/PopupMenu.java,
7553         java/awt/Rectangle.java,
7554         java/awt/ScrollPane.java,
7555         java/awt/Scrollbar.java,
7556         java/awt/TextArea.java,
7557         java/awt/TextField.java,
7558         java/awt/Window.java,
7559         java/awt/datatransfer/DataFlavor.java,
7560         java/awt/dnd/DragSource.java,
7561         java/awt/dnd/DragSourceContext.java,
7562         java/awt/event/HierarchyEvent.java,
7563         java/awt/event/MouseWheelEvent.java,
7564         java/awt/im/InputContext.java,
7565         java/awt/image/BufferedImage.java,
7566         java/awt/image/ComponentColorModel.java,
7567         java/awt/image/Raster.java,
7568         java/awt/image/WritableRaster.java,
7569         java/awt/peer/ComponentPeer.java,
7570         java/awt/print/PageFormat.java,
7571         java/awt/print/PrinterJob.java:
7572         New versions from Classpath.
7574 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
7576         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
7577         numberFormat.setParseIntegerOnly(true).
7579 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
7581         * include/posix-threads.h: Include <machine/pal.h> on OSF.
7583 2003-06-03  Andrew Haley  <aph@redhat.com>
7585         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
7586         stack volatile to prevent optimization from removing it.
7588 2003-05-27  Michael Koch  <konqueror@gmx.de>
7590         * java/util/zip/Deflater.java
7591         (FILTERED): Merged documentation from classpath.
7592         * java/util/zip/DeflaterOutputStream.java
7593         (DeflaterOutputStream): Merged documentation and argument validity
7594         check from classpath.
7595         (deflate): Merged documentation from classpath.
7596         (finish): Likewise.
7597         * java/util/zip/Inflater.java
7598         (Inflater): Merged class documentation from classpath.
7599         (zstream): Reordered.
7600         (is_finished): Reordered.
7601         (dict_needed): Reordered.
7602         (Inflater): Reordered, merged documentation from classpath.
7603         (end): Likewise.
7604         (finalize): Merged documentation from classpath.
7605         (finished): Likewise.
7606         (getAdler): Likewise.
7607         (getRemaining): Likewise.
7608         (getTotalIn): Likewise.
7609         (getTotalOut): Likewise.
7610         (inflate): Likewise.
7611         (needsDictionary): Likewise.
7612         (needsInput): Likewise.
7613         (reset): Likewise.
7614         (setDictionary): Likewise.
7615         (setInput): Likewise.
7617 2003-05-27  Michael Koch  <konqueror@gmx.de>
7619         * java/net/URLConnection.java
7620         (getHeaderFieldInt): Merged with classpath.
7622 2003-05-27  Michael Koch  <konqueror@gmx.de>
7624         * java/io/PrintStream.java
7625         (PrintStream): Reformatted.
7626         (PrintStream): New method, merged from classpath.
7627         (write): Reformatted.
7629 2003-05-27  Michael Koch  <konqueror@gmx.de>
7631         * java/lang/System.java:
7632         Explicitely import needed classes.
7634 2003-05-26  Michael Koch  <konqueror@gmx.de>
7636         * java/net/NetPermission.java,
7637         java/net/NetworkInterface.java,
7638         java/net/PasswordAuthentication.java,
7639         java/net/SocketPermission.java:
7640         New versions from classpath.
7642 2003-05-25  Michael Koch  <konqueror@gmx.de>
7644         * java/io/PushbackInputStream.java,
7645         java/net/Authenticator.java,
7646         java/net/ContentHandler.java,
7647         java/net/ContentHandlerFactory.java,
7648         java/net/DatagramSocket.java,
7649         java/net/DatagramSocketImpl.java,
7650         java/net/DatagramSocketImplFactory.java,
7651         java/net/FileNameMap.java,
7652         java/net/SocketImplFactory.java,
7653         java/net/SocketOptions.java,
7654         java/net/URLStreamHandlerFactory.java:
7655         Merged new versions from classpath.
7657 2003-05-25  Michael Koch  <konqueror@gmx.de>
7659         * java/awt/Checkbox.java,
7660         java/awt/Dialog.java,
7661         java/awt/Font.java,
7662         java/awt/Frame.java,
7663         java/awt/ScrollPaneAdjustable.java,
7664         java/awt/Scrollbar.java,
7665         java/awt/Window.java:
7666         New versions from classpath.
7668 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
7670         PR libgcj/10838:
7671         * java/io/ObjectInputStream (enableResolveObject):
7672         Fixed spelling of permission name.
7674 2003-05-20  Michael Koch  <konqueror@gmx.de>
7676         * java/io/DataInputStream.java
7677         (convertFromUTF): Merged comment from classpath.
7678         * java/io/PrintStream.java
7679         (error_occured): Renamed from error, merged comment from classpath.
7680         (PrintStream): No need to initialized error.
7681         (checkError): Replace error with error_occurred.
7682         (setError): Likewise.
7684 2003-05-20  Michael Koch  <konqueror@gmx.de>
7686         * java/io/DataInputStream.java:
7687         Reformatted, Replaced < and & with html entitites in documentation.
7688         * java/io/File.java:
7689         Reformatted.
7690         * java/io/PrintWriter.java:
7691         Moved class documentation.
7693 2003-05-20  Michael Koch  <konqueror@gmx.de>
7695         * gnu/java/nio/ByteBufferImpl.java,
7696         gnu/java/nio/CharBufferImpl.java,
7697         gnu/java/nio/CharViewBufferImpl.java,
7698         gnu/java/nio/DirectByteBufferImpl.java,
7699         gnu/java/nio/DoubleBufferImpl.java,
7700         gnu/java/nio/DoubleViewBufferImpl.java,
7701         gnu/java/nio/FloatBufferImpl.java,
7702         gnu/java/nio/FloatViewBufferImpl.java,
7703         gnu/java/nio/IntBufferImpl.java,
7704         gnu/java/nio/IntViewBufferImpl.java,
7705         gnu/java/nio/LongBufferImpl.java,
7706         gnu/java/nio/LongViewBufferImpl.java,
7707         gnu/java/nio/natDirectByteBufferImpl.cc,
7708         gnu/java/nio/ShortBufferImpl.java,
7709         gnu/java/nio/ShortViewBufferImpl.java:
7710         Moved files to java/nio.
7711         * gnu/java/nio/SocketChannelImpl.java
7712         
7713         * java/nio/ByteBuffer.java,
7714         java/nio/CharBuffer.java,
7715         java/nio/DoubleBuffer.java,
7716         java/nio/FloatBuffer.java,
7717         java/nio/IntBuffer.java,
7718         java/nio/LongBuffer.java,
7719         java/nio/ShortBuffer.java:
7720         Dont import anything.
7721         * java/nio/ByteBufferImpl.java,
7722         java/nio/CharBufferImpl.java,
7723         java/nio/CharViewBufferImpl.java,
7724         java/nio/DirectByteBufferImpl.java,
7725         java/nio/DoubleBufferImpl.java,
7726         java/nio/DoubleViewBufferImpl.java,
7727         java/nio/FloatBufferImpl.java,
7728         java/nio/FloatViewBufferImpl.java,
7729         java/nio/IntBufferImpl.java,
7730         java/nio/IntViewBufferImpl.java,
7731         java/nio/LongBufferImpl.java,
7732         java/nio/LongViewBufferImpl.java,
7733         java/nio/natDirectByteBufferImpl.cc,
7734         java/nio/ShortBufferImpl.java,
7735         java/nio/ShortViewBufferImpl.java:
7736         Moved from gnu/java/nio.
7737         * Makefile.am
7738         (ordinary_java_source_files): Moved files from gnu/java/nio to
7739         java/nio.
7740         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
7741         to java/nio.
7742         * Makefile.in: Regenerated.
7744 2003-05-19  Michael Koch  <konqueror@gmx.de>
7746         * java/util/Calendar.java
7747         (get): Not final anymore since JDK 1.4
7748         (set): Likewise.
7750 2003-05-19  Michael Koch  <konqueror@gmx.de>
7752         * java/text/CollationKey.java:
7753         Merged copyright and dat from classpath.
7754         * java/text/RuleBasedCollator.java:
7755         Merged class documentation from classpath.
7757 2003-05-19  Michael Koch  <konqueror@gmx.de>
7759         * java/nio/CharBuffer.java
7760         (toString): Compile fix.
7762 2003-05-19  Michael Koch  <konqueror@gmx.de>
7764         * gnu/java/nio/ByteBufferImpl.java
7765         (putLong): Fixed conversion to bytes.
7766         (putDouble): Fixed conversion to bytes.
7767         * gnu/java/nio/DirectByteBufferImpl.java
7768         (putLong): Fixed conversion to bytes.
7769         (putDouble): Fixed conversion to bytes.
7770         * gnu/java/nio/FileLockImpl.java
7771         (isValid): Reformatted.
7772         * java/nio/Buffer.java
7773         (Buffer): Fixed off-by-one bug in handling mark.
7774         * java/nio/ByteBuffer.java:
7775         Added newline.
7776         * java/nio/CharBuffer.java
7777         (toString): Don't use relative get to get string data.
7779 2003-05-16  Michael Koch  <konqueror@gmx.de>
7781         * java/io/natFileDescriptorPosix.cc
7782         (open): Commented out the O_SYNC and O_DSYNC usage until its better
7783         tested.
7785 2003-05-14  Michael Koch  <konqueror@gmx.de>
7787         * gnu/java/nio/FileLockImpl.java
7788         (released): New member variable.
7789         (FileLockImpl): Initialize released.
7790         (releaseImpl): New native method.
7791         (release): Implemented.
7792         * gnu/java/nio/SelectorImpl.java: Reformatted.
7793         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
7794         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
7795         (accept): Throws IOException.
7796         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
7797         (implConfigureBlocking): Throws IOException.
7798         (connect): Likewise.
7799         (read): Likewise.
7800         (write): Likewise.
7801         * gnu/java/nio/natFileLockImpl.cc: New file.
7802         * java/nio/channels/FileLock.java: Reformatted.
7803         * Makefile.am:
7804         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
7805         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
7806         * Makefile.in: Regenerated.
7808 2003-05-13  Michael Koch  <konqueror@gmx.de>
7810         * gnu/java/nio/CharViewBufferImpl.java
7811         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
7812         (get): Shift bits to the right direction.
7813         (put): Likewise.
7814         * gnu/java/nio/DoubleViewBufferImpl.java
7815         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
7816         (get): Shift bits to the right direction.
7817         (put): Likewise.
7818         * gnu/java/nio/FloatViewBufferImpl.java
7819         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
7820         (get): Shift bits to the right direction.
7821         (put): Likewise.
7822         * gnu/java/nio/IntViewBufferImpl.java
7823         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
7824         (get): Shift bits to the right direction.
7825         (put): Likewise.
7826         * gnu/java/nio/LongViewBufferImpl.java
7827         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
7828         (get): Shift bits to the right direction.
7829         (put): Likewise.
7830         * gnu/java/nio/ShortViewBufferImpl.java
7831         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
7832         (get): Shift bits to the right direction.
7833         (put): Likewise.
7835 2003-05-13  Michael Koch  <konqueror@gmx.de>
7837         * gnu/java/nio/natDirectByteBufferImpl.cc
7838         (allocateImpl): jlong -> RawData*.
7839         (freeImpl): Likewise.
7841 2003-05-13  Michael Koch  <konqueror@gmx.de>
7843         * java/nio/channels/FileChannel.java
7844         (MapMode.m): Made it package-private to match JDK 1.4.
7845         * java/nio/charset/Charset.java
7846         (decode): Made it final to match JDK 1.4.
7848 2003-05-13  Michael Koch  <konqueror@gmx.de>
7850        * java/io/FileDescriptor.java
7851        (SYNC): New constant.
7852        (DSYNC): Likewise.
7853        (getLength): Renamed from lenght() to match classpath's
7854        FileDescriptor.java.
7855        * java/io/RandomAccessFile.java
7856        (RandomAccessFile): Removed unneeded mode check, implemented mode
7857        "rws" and "rwd", merged documentation from classpath.
7858        (setLength): Reformatted.
7859        (length): Use new getLength() of FileDescriptor.
7860        * java/io/natFileDescriptorEcos.cc
7861        (getLength): Renamed from length().
7862        * java/io/natFileDescriptorPosix.cc
7863        (open): Implemented support for SYNC and DSYNC.
7864        (seek): Use getLength() instead of length().
7865        (getLength): Renamed from length().
7866        * java/io/natFileDescriptorWin32.cc
7867        (getLength): Renamed from length().
7868        (seek): Use getLength() instead of length().
7869        (available): Likewise.
7870        * gnu/java/nio/natFileChannelImpl.cc
7871        (size): Use getLength() instead of length().
7873 2003-05-13  Michael Koch  <konqueror@gmx.de>
7875         * gnu/java/nio/ByteBufferImpl.java
7876         (ByteBufferImpl): All constructors revised.
7877         (slice): Reimplemented.
7878         (duplicate): Reimplemented.
7879         (asReadOnlyBuffer): Reimplemented.
7880         * java/nio/ByteBuffer.java:
7881         Reformatted.
7882         (array_offset): Renamed from "offset" to match all other buffer
7883         classes.
7884         (ByteBuffer): All constructors revised.
7885         (allocateDirect): Implemented.
7886         (allocate): New implementation, documentation reworked.
7887         (wrap): Likewise.
7888         (get): Documentation reworked.
7889         (put): New implementation, documentation reworked.
7890         (hasArray): Documentation reworked.
7891         (arrayOffset): Likewise.
7892         (hashCode): Likewise.
7893         (equals): Likewise.
7894         (compareTo): Likewise.
7895         (order): Likewise.
7896         (compact): Likewise.
7897         (isDirect): Likewise.
7898         (slice): Likewise.
7899         (duplicate): Likewise.
7900         (asReadOnlyBuffer): Likewise.
7901         * Makefile.am
7902         (ordinary_java_source_files):
7903         Added gnu/java/nio/DirectByteBufferImpl.java.
7904         (nat_source_files):
7905         Added gnu/java/nio/natDirectByteBufferImpl.cc.
7906         * Makefile.in: Regenerated.
7908 2003-05-12  Michael Koch  <konqueror@gmx.de>
7910         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
7911         (nio_get_*): Removed.
7912         (nio_put_*): Removed.
7913         (as*Buffer): Implemented.
7914         (compact): Implemented.
7915         (get): Documentation added.
7916         (put): Documentation added.
7917         (get*): Newly implemented.
7918         (put*): Newly implemented.
7919         * gnu/java/nio/CharBufferImpl.java: Reformatted.
7920         (CharBufferImpl): Revised.
7921         (slice): New implementation.
7922         (duplicate): New implementation.
7923         (compact): New implementation.
7924         (asReadOnlyBuffer): New implementation.
7925         (get): Documentation revised.
7926         (order): Return native byte order.
7927         * gnu/java/nio/DirectByteBufferImpl.java
7928         (allocateDirect): objects can be null not 0.
7929         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
7930         (DoubleBufferImpl): Revised.
7931         (slice): New implementation.
7932         (duplicate): New implementation.
7933         (compact): New implementation.
7934         (asReadOnlyBuffer): New implementation.
7935         (get): Documentation revised.
7936         (order): Return native byte order.
7937         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
7938         (FloatBufferImpl): Revised.
7939         (slice): New implementation.
7940         (duplicate): New implementation.
7941         (compact): New implementation.
7942         (asReadOnlyBuffer): New implementation.
7943         (get): Documentation revised.
7944         (order): Return native byte order.
7945         * gnu/java/nio/IntBufferImpl.java: Reformatted.
7946         (IntBufferImpl): Revised.
7947         (slice): New implementation.
7948         (duplicate): New implementation.
7949         (compact): New implementation.
7950         (asReadOnlyBuffer): New implementation.
7951         (get): Documentation revised.
7952         (order): Return native byte order.
7953         * gnu/java/nio/LongBufferImpl.java: Reformatted.
7954         (LongBufferImpl): Revised.
7955         (slice): New implementation.
7956         (duplicate): New implementation.
7957         (compact): New implementation.
7958         (asReadOnlyBuffer): New implementation.
7959         (get): Documentation revised.
7960         (order): Return native byte order.
7961         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
7962         (ShortBufferImpl): Revised.
7963         (slice): New implementation.
7964         (duplicate): New implementation.
7965         (compact): New implementation.
7966         (asReadOnlyBuffer): New implementation.
7967         (get): Documentation revised.
7968         (order): Return native byte order.
7969         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
7970         (CharBuffer): Revised.
7971         (order): Removed.
7972         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
7973         (DoubleBuffer): Revised.
7974         (allocateDirect): Removed.
7975         (order): Removed.
7976         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
7977         (FloatBuffer): Revised.
7978         (allocateDirect): Removed.
7979         (order): Removed.
7980         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
7981         (IntBuffer): Revised.
7982         (allocateDirect): Removed.
7983         (order): Removed.
7984         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
7985         (LongBuffer): Revised.
7986         (allocateDirect): Removed.
7987         (order): Removed.
7988         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
7989         (ShortBuffer): Revised.
7990         (allocateDirect): Removed.
7991         (order): Removed.
7992         * gnu/java/nio/natByteBufferImpl.cc: Removed.
7993         * gnu/java/nio/natCharBufferImpl.cc: Removed.
7994         * Makefile.am
7995         (ordinary_java_source_files): Added the following files:
7996         gnu/java/nio/CharViewBufferImpl.java,
7997         gnu/java/nio/DoubleViewBufferImpl.java,
7998         gnu/java/nio/FloatViewBufferImpl.java,
7999         gnu/java/nio/IntViewBufferImpl.java,
8000         gnu/java/nio/LongViewBufferImpl.java,
8001         gnu/java/nio/ShortViewBufferImpl.java
8002         (nat_source_files): Removed the following files:
8003         gnu/java/nio/natByteBufferImpl.cc,
8004         gnu/java/nio/natCharBufferImpl.cc
8005         * Makefile.in: Regenerated.
8007 2003-05-12  Michael Koch  <konqueror@gmx.de>
8009         * gnu/java/nio/CharViewBufferImpl.java,
8010         gnu/java/nio/DirectByteBufferImpl.java,
8011         gnu/java/nio/DoubleViewBufferImpl.java,
8012         gnu/java/nio/FloatViewBufferImpl.java,
8013         gnu/java/nio/IntViewBufferImpl.java,
8014         gnu/java/nio/LongViewBufferImpl.java,
8015         gnu/java/nio/ShortViewBufferImpl.java,
8016         gnu/java/nio/natDirectByteBufferImpl.cc:
8017         New files, not yet to be compiled.
8019 2003-05-10  Michael Koch  <konqueror@gmx.de>
8021         * javax/swing/plaf/ButtonUI.java,
8022         javax/swing/plaf/ColorUIResource.java,
8023         javax/swing/plaf/ComponentUI.java,
8024         javax/swing/plaf/DimensionUIResource.java,
8025         javax/swing/plaf/FontUIResource.java,
8026         javax/swing/plaf/IconUIResource.java,
8027         javax/swing/plaf/InsetsUIResource.java,
8028         javax/swing/plaf/LabelUI.java,
8029         javax/swing/plaf/ListUI.java,
8030         javax/swing/plaf/OptionPaneUI.java,
8031         javax/swing/plaf/PanelUI.java,
8032         javax/swing/plaf/TabbedPaneUI.java,
8033         javax/swing/plaf/TextUI.java,
8034         javax/swing/plaf/TreeUI.java,
8035         javax/swing/plaf/ViewportUI.java,
8036         javax/swing/plaf/basic/BasicBorders.java,
8037         javax/swing/plaf/basic/BasicButtonUI.java,
8038         javax/swing/plaf/basic/BasicCheckBoxUI.java,
8039         javax/swing/plaf/basic/BasicDefaults.java,
8040         javax/swing/plaf/basic/BasicGraphicsUtils.java,
8041         javax/swing/plaf/basic/BasicIconFactory.java,
8042         javax/swing/plaf/basic/BasicLabelUI.java,
8043         javax/swing/plaf/basic/BasicListUI.java,
8044         javax/swing/plaf/basic/BasicOptionPaneUI.java,
8045         javax/swing/plaf/basic/BasicPanelUI.java,
8046         javax/swing/plaf/basic/BasicRadioButtonUI.java,
8047         javax/swing/plaf/basic/BasicScrollPaneUI.java,
8048         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
8049         javax/swing/plaf/basic/BasicTextUI.java,
8050         javax/swing/plaf/basic/BasicToggleButtonUI.java,
8051         javax/swing/plaf/basic/BasicTreeUI.java,
8052         javax/swing/plaf/basic/BasicViewportUI.java,
8053         javax/swing/plaf/metal/MetalLookAndFeel.java:
8054         New versions from classpath. This adds copyrights to all files and
8055         some serialVersionUIDs.
8057 2003-05-10  Michael Koch  <konqueror@gmx.de>
8059         * java/nio/CharBuffer.java
8060         (offset): Make it package-private.
8061         (backing_buffer): Likewise.
8062         * java/nio/DoubleBuffer.java
8063         (offset): Make it package-private.
8064         (backing_buffer): Likewise.
8065         (put): Reformatted.
8066         * java/nio/FloatBuffer.java
8067         (offset): Make it package-private.
8068         (backing_buffer): Likewise.
8069         * java/nio/IntBuffer.java
8070         (offset): Make it package-private.
8071         (backing_buffer): Likewise.
8072         * java/nio/LongBuffer.java
8073         (offset): Make it package-private.
8074         (backing_buffer): Likewise.
8075         * java/nio/ShortBuffer.java
8076         (offset): Make it package-private.
8077         (backing_buffer): Likewise.
8079 2003-05-10  Michael Koch  <konqueror@gmx.de>
8081         * java/nio/CharBuffer.java
8082         (put): Fixed precondtion check.
8083         (toString): Make it work without backing array.
8084         (put): Skip one level of method calling.
8086 2003-05-10  Michael Koch  <konqueror@gmx.de>
8088         * java/security/Identity.java,
8089         java/security/IdentityScope.java,
8090         java/security/Key.java,
8091         java/security/KeyPair.java,
8092         java/security/PrivateKey.java,
8093         java/security/Provider.java,
8094         java/security/PublicKey.java,
8095         java/security/SecureRandom.java,
8096         java/security/SecureRandomSpi.java,
8097         java/security/SignedObject.java,
8098         java/security/Signer.java,
8099         java/security/cert/Certificate.java,
8100         java/security/cert/PKIXCertPathBuilderResult.java,
8101         java/security/cert/X509Certificate.java:
8102         New versions from classpath.
8104 2003-05-09  Tom Tromey  <tromey@redhat.com>
8106         * Makefile.in: Rebuilt.
8107         * Makefile.am (nat_source_files): Removed old files.
8108         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
8109         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
8110         * gnu/java/nio/natIntBufferImpl.cc: Removed.
8111         * gnu/java/nio/natLongBufferImpl.cc: Removed.
8112         * gnu/java/nio/natShortBufferImpl.cc: Removed.
8114 2003-05-09  Michael Koch  <konqueror@gmx.de>
8116         * gnu/java/nio/ByteBufferImpl.java
8117         (nio_cast): Removed.
8118         (ByteBufferImpl): Removed.
8119         (nio_get_Byte): Removed.
8120         (nio_put_Byte): Removed.
8121         (asByteBuffer): Removed.
8122         (asCharBuffer): Removed implementation and throw exception.
8123         (asShortBuffer): Likewise.
8124         (asIntBuffer): Likewise.
8125         (asLongBuffer): Likewise.
8126         (asFloatBuffer): Likewise.
8127         (asDoubleBuffer): Likewise.
8128         * gnu/java/nio/CharBufferImpl.java
8129         (CharBufferImpl): Removed.
8130         (nio_get_Byte): Removed.
8131         (nio_put_Byte): Removed.
8132         (asByteBuffer): Removed.
8133         * gnu/java/nio/DoubleBufferImpl.java
8134         (DoubleBufferImpl): Removed.
8135         (nio_get_Byte): Removed.
8136         (nio_put_Byte): Removed.
8137         (asByteBuffer): Removed.
8138         * gnu/java/nio/FloatBufferImpl.java
8139         (FloatBufferImpl): Removed.
8140         (nio_get_Byte): Removed.
8141         (nio_put_Byte): Removed.
8142         (asByteBuffer): Removed.
8143         * gnu/java/nio/IntBufferImpl.java
8144         (IntBufferImpl): Removed.
8145         (nio_get_Byte): Removed.
8146         (nio_put_Byte): Removed.
8147         (asByteBuffer): Removed.
8148         * gnu/java/nio/LongBufferImpl.java
8149         (LongBufferImpl): Removed.
8150         (nio_get_Byte): Removed.
8151         (nio_put_Byte): Removed.
8152         (asByteBuffer): Removed.
8153         * gnu/java/nio/ShortBufferImpl.java
8154         (ShortBufferImpl): Removed.
8155         (nio_get_Byte): Removed.
8156         (nio_put_Byte): Removed.
8157         (asByteBuffer): Removed.
8158         * gnu/java/nio/natByteBufferImpl.cc
8159         (nio_cast): Removed.
8160         (nio_get_Byte): Removed.
8161         (nio_put_Byte): Removed.
8162         * gnu/java/nio/natCharBufferImpl.cc
8163         (nio_get_Byte): Removed.
8164         (nio_put_Byte): Removed.
8166 2003-05-09  Michael Koch  <konqueror@gmx.de>
8168         * java/net/JarURLConnection.java
8169         (getJarEntry): Merged documentation from classpath.
8170         (getJarFile): Likewise.
8171         (getMainAttributes): Likewise.
8172         (getAttributes): Likewise.
8173         (getManifest): Likewise.
8174         (getCertificates): Reformatted.
8175         * java/net/URLConnection.java:
8176         Little classpath merge.
8178 2003-05-09  Michael Koch  <konqueror@gmx.de>
8180         * java/io/DataOutputStream.java
8181         (writeShort): Made it synchronized.
8182         (writeChar): Likewise.
8183         (writeInt): Likewise.
8184         (writeLong): Liekwise.
8185         (writeUTF): Made it synchronized, renamed argument to match classpath.
8186         * java/io/InputStreamReader.java
8187         (converter): Added documentation.
8188         (read): Merged documentation from classpath.
8189         * java/io/OutputStreamWriter.java
8190         (OutputStreamWriter): Merged documentation from classpath.
8191         (close): Reformatted.
8192         (getEncoding): Likewise.
8193         (flush): Likewise.
8194         (write): Merged documentation from classpath, reformatted.
8196 2003-05-08  Tom Tromey  <tromey@redhat.com>
8198         * configure.host <powerpc64*-*>: Set with_libffi_default and
8199         libgcj_interpreter to "yes".
8201 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
8203         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
8204         
8205 2003-05-06  Tom Tromey  <tromey@redhat.com>
8207         * verify.cc: Reverted previous patch.
8209 2003-05-06  Michael Koch  <konqueror@gmx.de>
8211         * java/io/DataOutputStream.java
8212         (write): Renamed argument to "value", merged documentation from
8213         classpath.
8214         (writeBoolean): Likewise.
8215         (writeByte): Likewise.
8216         (writeShort): Likewise.
8217         (writeChar): Likewise.
8218         (writeInt): Likewise.
8219         (writeLong): Likewise.
8220         (writeFloat): Likewise.
8221         (writeDouble): Likewise.
8222         (writeBytes): Likewise.
8223         (writeChars): Likewise.
8224         (writeUTF): Likewise.
8225         * java/io/File.java
8226         (performDelete): Added documentation.
8227         (performList): Likewise.
8228         (performMkdir): Likewise.
8229         (performSetReadOnly): Likewise.
8230         (performRenameTo): Likewise.
8231         (performSetLastModified): Likewise.
8232         (delete): Made it sychronized.
8233         (renameTo): Made it sychronized.
8234         (equals): Reformatted.
8235         (isHidden): Likewise.
8236         (listFiles): Likewise.
8237         (setReadOnly): Likewise.
8238         (listRoots): Likewise.
8239         (setLastModified): Likewise.
8240         (checkRead): Likewise.
8241         (checkWrite): Likewise.
8242         * java/io/FileInputStream.java
8243         (skip): Made it sychronized, merged from classpath.
8244         * java/io/FileOutputStream.java
8245         (write): Merged from classpath.
8246         * java/io/InputStreamReader.java:
8247         (InputStreamReader): Merged documentation from classpath.
8249 2003-05-05  Michael Koch  <konqueror@gmx.de>
8251         * java/net/NetworkInterface.java
8252         (networkInterfaces): Removed.
8253         (getByName): Use getRealNetworkInterfaces() instead of
8254         networkInterfaces.
8255         (getByInetAddress): Likewise.
8256         (getNetworkInterfaces): Likewise.
8257         (toString): Fix output of addresses of an interface.
8259 2003-05-05  Michael Koch  <konqueror@gmx.de>
8261         * java/io/DataInputStream.java:
8262         Merged new documentation from classpath.
8264 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
8266         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
8267         "version".
8268         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
8269         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
8270         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
8271         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
8272         * gnu/awt/gtk/GtkMainThread.java: Likewise.
8273         * gnu/awt/gtk/GtkToolkit.java: Likewise.
8274         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
8275         * java/security/Key.java: Likewise.
8276         * java/security/PrivateKey.java: Likewise.
8277         * java/security/Provider.java: Likewise.
8278         * java/security/PublicKey.java: Likewise.
8280 2003-05-02  Michael Koch  <konqueror@gmx.de>
8282         * java/net/URI.java
8283         (create): Doesnt throws any exceptions.
8284         * java/net/URLConnection.java
8285         (URLConnection): Commend added.
8286         (getExpiration): The header field is called "expires" not
8287         "expiration".
8288         (getHeaderField): Merged documentation with classpath.
8289         (getHeaderFieldInt): Likewise.
8290         (getHeaderFieldDate): Likewise.
8291         (getHeaderFieldKey): Likewise.
8292         (getPermission): Likewise.
8293         (setDefaultUseCaches): Likewise.
8294         (setRequestProperty): Likewise.
8295         (addRequestProperty): Likewise.
8296         (getRequestProperty): Likewise.
8297         (getRequestProperties): Likewise.
8298         (setDefaultRequestProperty): Likewise.
8299         (getDefaultRequestProperty): Likewise.
8300         (guessContentTypeFromStream): Likewise.
8301         (getFileNameMap): Likewise.
8302         (setFileNameMap): Likewise.
8303         (setDoInput): Merged implementation and documentation with classpath.
8304         (setDoOutput): Likewise.
8305         (setAllowUserInteraction): Likewise.
8306         (setDefaultAllowUserInteraction): Likewise.
8307         (setContentHandlerFactory): Made it synchronized, merged documentation
8308         with classpath.
8309         (guessContentTypeFromName): Renamed argument fname to filename to
8310         match classpath, merged documentation with classpath.
8312 2003-05-02  Michael Koch  <konqueror@gmx.de>
8314         * java/net/JarURLConnection.java
8315         (JarURLConnection): Class documentation merged with classpath.
8316         (getJarFileURL): Moved and documentation merged with classpath.
8317         (getEntryName): Likewise.
8318         (JarURLConnection): Documentation merged with classpath.
8319         (getJarEntry): Likewise.
8320         (getJarFile): Likewise.
8321         * java/net/PlainDatagramSocketImpl.java:
8322         Class documentation moved.
8323         * java/net/URLConnection.java
8324         (fileNameMap): Moved and documentation merged with classpath.
8325         (factory): Likewise.
8326         (defaultAllowUserInteraction): Likewis.
8327         (defaultUseCaches): Likewise.
8328         (allowUserInteraction): Likewise.
8329         (connected): Likewise.
8330         (url): Likewise.
8331         (connect): Documentation merged with classpath.
8332         (getURL): Likewise.
8333         (getContentLength): Likewise.
8334         (getContentType): Likewise.
8335         (getContentEncoding): Likewise.
8336         (getExpiration): Likewise.
8337         (getDate): Likewise.
8338         (getLastModified): Likewise.
8339         (getHeaderField): Likewise.
8340         (getContent): Likewise.
8341         (getPermission): Likewise.
8342         (getInputStream): Likewise.
8343         (getOutputStream): Likewise.
8344         (toString): Likewise.
8345         (getDoInput): Likewise.
8346         (getDoOutput): Likewise.
8347         (setAllowUserInteraction): Likewise.
8348         (getAllowUserInteraction): Likewise.
8349         (setDefaultAllowUserInteraction): Likewise.
8350         (getDefaultAllowUserInteraction): Likewise.
8351         (setUseCaches): Likewise.
8352         (getUseCaches): Likewise.
8353         (setIfModifiedSince): Likewise.
8354         (getIfModifiedSince): Likewise.
8355         (setDefaultRequestProperty): Likewise.
8356         (getDefaultRequestProperty): Likewise.
8357         (setContentHandlerFactory): Likewise.
8358         (setFileNameMap): Likewise.
8360 2003-05-02  Michael Koch  <konqueror@gmx.de>
8362         * java/net/InetAddress.java:
8363         Merged class documentation with classpath.
8364         * java/net/JarURLConnection.java:
8365         Explicitely import all used classes.
8366         * java/net/URL.java:
8367         Reformatting.
8368         * java/net/ServerSocket.java,
8369         java/net/Socket.java:
8370         New versions from classpath.
8372 2003-05-02  Michael Koch  <konqueror@gmx.de>
8374         * gnu/java/nio/FileChannelImpl.java
8375         (read): New implementation.
8376         (implRead): New methods.
8377         (write): New implementation, call other write insteal of read method.
8378         (implWrite): New methods.
8379         (map): Added comment.
8380         (transferFrom): Implemented.
8381         (transferTo): Implemented.
8382         (lock): Added checks to throw exceptions.
8383         (truncate): Added check to throw exception.
8384         * gnu/java/nio/natFileChannelImpl.cc
8385         (implRead): New method.
8386         (implWrite): New method.
8387         * java/nio/ByteBuffer.java
8388         (hashCode): Fixed comment.
8389         (get): Fixed exception documentation.
8390         (put): Fixed exception documentation.
8391         * java/nio/CharBuffer.java:
8392         Added comment for later optimizations.
8394 2003-04-30  Tom Tromey  <tromey@redhat.com>
8396         PR libgcj/10582:
8397         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
8398         Removed.
8399         (type::compatible): Use _Jv_IsAssignableFrom.
8400         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
8401         (_Jv_IsAssignableFrom): Work even when source or target class is
8402         not prepared.
8404 2003-04-30  Michael Koch  <konqueror@gmx.de>
8406         * java/text/BreakIterator.java
8407         (clone): New method.
8409 2003-04-30  Michael Koch  <konqueror@gmx.de>
8411         * java/text/CollationElementIterator.java,
8412         java/text/CollationKey.java,
8413         java/text/RuleBasedCollator.java:
8414         Merged copyright and documentation from classpath and
8415         rearranged some code. No code changes done.
8417 2003-04-30  Michael Koch  <konqueror@gmx.de>
8419         * java/util/regex/Matcher.java
8420         (pattern): New member variable.
8421         (appendReplacement): New method.
8422         (appendTail): New method.
8423         (end): New method.
8424         (find): New method.
8425         (group): New method.
8426         (replaceFirst): Added documentation.
8427         (replaceAll): Added documentation.
8428         (groupCount): New method.
8429         (lookingAt): New method.
8430         (matches): New method.
8431         (reset): New method.
8432         (start): New method.
8433         * java/util/regex/Pattern.java
8434         (serialVersionUID): New constant.
8435         (CANON_EQ): New constant.
8436         (CASE_INSENSITIVE): New constant.
8437         (COMMENTS): New constant.
8438         (DOTALL): New constant.
8439         (MULTILINE): New constant.
8440         (UNICODE_CASE): New constant.
8441         (UNIX_LINES): New constant.
8442         (regex): New member variable.
8443         (flags): New member variable.
8444         (Pattern): New method.
8445         (compile): Documentation added.
8446         (flags): New method.
8447         (matches): Documentation added.
8448         (matcher): Documentation added.
8449         (split): Documentation added.
8450         (pattern): New method.
8452 2003-04-30  Michael Koch  <konqueror@gmx.de>
8454         * gnu/java/security/Engine.java,
8455         gnu/java/security/OID.java,
8456         gnu/java/security/der/BitString.java,
8457         gnu/java/security/der/DER.java,
8458         gnu/java/security/der/DERReader.java,
8459         gnu/java/security/der/DERValue.java,
8460         gnu/java/security/der/DERWriter.java,
8461         gnu/java/security/provider/DSAKeyFactory.java,
8462         gnu/java/security/provider/X509CertificateFactory.java,
8463         gnu/java/security/x509/X500DistinguishedName.java,
8464         gnu/java/security/x509/X509CRL.java,
8465         gnu/java/security/x509/X509CRLEntry.java,
8466         gnu/java/security/x509/X509Certificate.java,
8467         java/security/cert/CRLSelector.java,
8468         java/security/cert/CertPathBuilder.java,
8469         java/security/cert/CertPathBuilderResult.java,
8470         java/security/cert/CertPathBuilderSpi.java,
8471         java/security/cert/CertPathParameters.java,
8472         java/security/cert/CertPathValidator.java,
8473         java/security/cert/CertPathValidatorResult.java,
8474         java/security/cert/CertPathValidatorSpi.java,
8475         java/security/cert/CertSelector.java,
8476         java/security/cert/CertStore.java,
8477         java/security/cert/CertStoreParameters.java,
8478         java/security/cert/CertStoreSpi.java,
8479         java/security/cert/CollectionCertStoreParameters.java,
8480         java/security/cert/LDAPCertStoreParameters.java,
8481         java/security/cert/PKIXBuilderParameters.java,
8482         java/security/cert/PKIXCertPathBuilderResult.java,
8483         java/security/cert/PKIXCertPathChecker.java,
8484         java/security/cert/PKIXCertPathValidatorResult.java,
8485         java/security/cert/PKIXParameters.java,
8486         java/security/cert/PolicyNode.java,
8487         java/security/cert/PolicyQualifierInfo.java,
8488         java/security/cert/TrustAnchor.java,
8489         javax/security/auth/x500/X500Principal.java:
8490         New files from classpath.
8491         * gnu/java/io/ASN1ParsingException.java,
8492         gnu/java/io/Base64InputStream.java,
8493         gnu/java/security/der/DEREncodingException.java,
8494         gnu/java/security/provider/DSAParameters.java,
8495         gnu/java/security/provider/DSASignature.java,
8496         gnu/java/security/provider/Gnu.java,
8497         gnu/java/security/provider/GnuDSAPrivateKey.java,
8498         gnu/java/security/provider/GnuDSAPublicKey.java,
8499         java/security/AlgorithmParameterGenerator.java,
8500         java/security/AlgorithmParameters.java,
8501         java/security/KeyFactory.java,
8502         java/security/KeyPairGenerator.java,
8503         java/security/KeyStore.java,
8504         java/security/MessageDigest.java,
8505         java/security/SecureClassLoader.java,
8506         java/security/SecureRandom.java,
8507         java/security/Security.java,
8508         java/security/Signature.java,
8509         java/security/cert/Certificate.java,
8510         java/security/cert/CertificateFactory.java,
8511         java/security/cert/CertificateFactorySpi.java,
8512         java/security/cert/X509CRL.java,
8513         java/security/cert/X509Certificate.java,
8514         java/security/spec/DSAPublicKeySpec.java:
8515         New versions from classpath.
8516         * gnu/java/security/provider/DERReader.java,
8517         gnu/java/security/provider/DERWriter.java,
8518         java/security/Engine.java: Removed.
8519         * Makefile.am
8520         (java_source_files, javax_source_files): Added new files.
8521         * Makefile.in: Regenerated.
8523 2003-04-29  Michael Koch  <konqueror@gmx.de>
8525         * javax/swing/JTable.java
8526         (AUTO_RESIZE_ALL_COLUMNS): New constant.
8527         (AUTO_RESIZE_LAST_COLUMN): New constant.
8528         (AUTO_RESIZE_NEXT_COLUMN): New constant.
8529         (AUTO_RESIZE_OFF): New constant.
8530         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
8531         (JTable): New method.
8532         (columnAdded): New method.
8533         (columnMarginChanged): New method.
8534         (columnMoved): New method.
8535         (columnRemoved): New method.
8536         (columnSelectionChanged): New method.
8537         (editingCanceled): New method.
8538         (editingStopped): New method.
8539         (getColumnModel): New method.
8540         (getPreferredScrollableViewportSize): New method.
8541         (getScrollableBlockIncrement): New method.
8542         (getScrollableTracksViewportHeight): New method.
8543         (getScrollableTracksViewportWidth): New method.
8544         (getScrollableUnitIncrement): New method.
8545         (getSelectedRow): New method.
8546         (getSelectionModel): New method.
8547         (tableChanged): New method.
8548         (setModel): New method.
8549         (setSelectionMode): New method.
8550         (setSelectionModel): New method.
8551         (setShowGrid): New method.
8552         (valueChanged): New method.
8553         * javax/swing/text/DefaultEditorKit.java
8554         (backwardAction): New constant.
8555         (beepAction): New constant.
8556         (beginAction): New constant.
8557         (beginLineAction): New constant.
8558         (beginParagraphAction): New constant.
8559         (beginWordAction): New constant.
8560         (copyAction): New constant.
8561         (cutAction): New constant.
8562         (defaultKeyTypedAction): New constant.
8563         (deleteNextCharAction): New constant.
8564         (deletePrevCharAction): New constant.
8565         (downAction): New constant.
8566         (endAction): New constant.
8567         (endLineAction): New constant.
8568         (endOfLineStringProperty): New constant.
8569         (endParagraphAction): New constant.
8570         (endWordAction): New constant.
8571         (forwardAction): New constant.
8572         (insertBreakAction): New constant.
8573         (insertContentAction): New constant.
8574         (insertTabAction): New constant.
8575         (nextWordAction): New constant.
8576         (pageDownAction): New constant.
8577         (pageUpAction): New constant.
8578         (pasteAction): New constant.
8579         (previousWordAction): New constant.
8580         (readOnlyAction): New constant.
8581         (selectAllAction): New constant.
8582         (selectionBackwardAction): New constant.
8583         (selectionBeginAction): New constant.
8584         (selectionBeginLineAction): New constant.
8585         (selectionBeginParagraphAction): New constant.
8586         (selectionBeginWordAction): New constant.
8587         (selectionDownAction): New constant.
8588         (selectionEndAction): New constant.
8589         (selectionEndLineAction): New constant.
8590         (selectionEndParagraphAction): New constant.
8591         (selectionEndWordAction): New constant.
8592         (selectionForwardAction): New constant.
8593         (selectionNextWordAction): New constant.
8594         (selectionPreviousWordAction): New constant.
8595         (selectionUpAction): New constant.
8596         (selectLineAction): New constant.
8597         (selectParagraphAction): New constant.
8598         (selectWordAction): New constant.
8599         (upAction): New constant.
8600         (writableAction): New constant.
8602 2003-04-29  Michael Koch  <konqueror@gmx.de>
8604         * java/util/PropertyPermission.java:
8605         New version from classpath
8606         * java/util/ResourceBundle.java:
8607         Partly merged from classpath
8608         (getObject): Reformated.
8609         (tryBundle): Set foundBundle = null if no bundle found.
8611 2003-04-29  Michael Koch  <konqueror@gmx.de>
8613         * javax/swing/AbstractListModel.java,
8614         javax/swing/DefaultBoundedRangeModel.java,
8615         javax/swing/DefaultSingleSelectionModel.java:
8616         New Versions from classpath.
8618 2003-04-29  Michael Koch  <konqueror@gmx.de>
8620         * java/awt/Window.java
8621         (show): Call super.show() instead of setVisible() to avoid endless
8622         loop.
8623         (hide): Call super.hide() instead of setVisible() to avoid endless
8624         loop.
8626 2003-04-29  Michael Koch  <konqueror@gmx.de>
8628         * java/util/zip/Deflater.java,
8629         java/util/zip/DeflaterOutputStream.java:
8630         Partly merged with classpath.
8632 2003-04-27  Tom Tromey  <tromey@redhat.com>
8634         * java/lang/natString.cc (_Jv_AllocString): Initialize
8635         cachedHashCode.
8636         (init): Likewise.
8637         (_Jv_NewStringUtf8Const): Likewise.
8639 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
8641         * include/jvm.h: (_Jv_GetNbArgs) added
8642         (_Jv_GetSafeArg) added
8643         (_Jv_SetArgs) added
8644         * prims.cc: (_Jv_GetNbArgs) implemented
8645         (_Jv_GetSafeArg) implemented
8646         (_Jv_SetArgs) implemented
8647         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
8648         setting _Jv_argc and _Jv_argv
8649         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
8650         instead of _Jv_argv
8651         * java/lang/natRuntime.cc: (insertSystemProperties) use
8652         _Jv_GetSafeArg() instead of _Jv_argv
8654 2003-04-23  Tom Tromey  <tromey@redhat.com>
8656         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
8657         required by this object.  Search superclasses to find required
8658         alignment.
8659         (get_alignment_from_class): Use alignment of type as it appears
8660         in a struct.
8661         (ALIGNOF): New macro.
8662         (struct aligner): New helper structure.
8664 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
8666         * java/awt/Container.java (addImpl): Enable paint events if adding
8667         a lightweight to a heavyweight.
8668         (addNotify): Ensure that peer is created before
8669         addNotifyContainerChildren.
8670         (addNotifyContainerChildren): Enable paint events if a heavyweight
8671         container contains a lightweight.
8673 2003-04-20  Tom Tromey  <tromey@redhat.com>
8675         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
8676         java/io/DataInput.java, java/io/DataOutput.java: Imports from
8677         Classpath.
8679 2003-04-19  Tom Tromey  <tromey@redhat.com>
8681         * java/sql/Date.java, java/sql/DriverManager.java,
8682         java/sql/Time.java, java/sql/Timestamp.java: New versions from
8683         Classpath.
8685         * Makefile.in: Rebuilt.
8686         * Makefile.am (ordinary_java_source_files): Added new files.
8687         * java/security/AlgorithmParameterGenerator.java,
8688         java/security/AlgorithmParameters.java, java/security/Engine.java,
8689         java/security/Identity.java, java/security/IdentityScope.java,
8690         java/security/KeyFactory.java,
8691         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
8692         java/security/MessageDigest.java, java/security/Policy.java,
8693         java/security/ProtectionDomain.java,
8694         java/security/SecureRandom.java, java/security/Security.java,
8695         java/security/Signature.java, java/security/SignatureSpi.java,
8696         java/security/SignedObject.java, java/security/Signer.java,
8697         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
8698         java/security/spec/PSSParameterSpec.java,
8699         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
8700         java/security/spec/RSAOtherPrimeInfo.java: New versions from
8701         Classpath.
8703 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
8705         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
8706         (dispose): Null metrics.
8707         * gnu/awt/xlib/XToolkit.java (sync): Implement.
8708         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
8709         finalize.
8710         (finalize): Call dispose.
8711         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
8712         (gcCachedCount): New field.
8713         (finalize): New method.
8714         (putGCInCache): New method.
8715         (getGCFromCache): New method.
8716         * gnu/gcj/xlib/GC.java (GC): Make protected.
8717         (clone): Get new GC from cache if possible.
8718         (create): New static method.
8719         (dispose): Save old GC in cache.
8720         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
8721         deleting.
8722         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
8723         is null.
8724         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
8725         * java/awt/Container.java (visitChild): Dispose gfx2 when
8726         finished.
8728 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
8730         * java/math/BigInteger.java (probablePrime): New.
8731         * java/math/BigDecimal.java (unscaledValue): New.
8733 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
8735         * java/io/File.java (getAbsolutePath): On Windows, take care
8736         of paths like "C:", "G:foo\bar", etc.
8737         (getName): Make it work correctly on Windows.
8738         (getParent): Make it work correctly on Windows. For UNIX,
8739         fix bug that causes "/" to be returned as the parent of "/",
8740         instead of null as returned by Sun's JRE.
8742         * java/io/natFileWin32.cc: Change copyright owner to FSF.
8744 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
8746         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
8747         inner class.
8748         (CACHE_SIZE_PER_DISPLAY): New field
8749         (fontMetricsCache): New field
8750         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
8751         loading ISO10646-1 fonts.
8753 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
8755         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
8756         characters.
8757         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
8758         characters.
8760 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
8762         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
8763         floating point.
8765 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
8767         * configure.host (*-linux*): Don't set slow_pthread_self if primary
8768         installed libpthread is either linuxthreads with floating stacks or
8769         NPTL.
8771 2003-04-14  Tom Tromey  <tromey@redhat.com>
8773         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
8774         of alignment.
8776 2003-04-10  Tom Tromey  <tromey@redhat.com>
8778         * verify.cc (pop64): Removed.
8779         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
8780         exception if top-of-stack is narrow.
8781         (initialize_stack): Check to ensure that <init> is not static and
8782         <clinit> is.
8784 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
8786         * java/io/ObjectStreamException
8787         * java/io/FileFilter
8788         * java/io/FilenameFilter
8789         * java/io/ObjectInput
8790         * java/io/ObjectOutput
8791         * java/io/ObjectStreamConstants
8792         Minor doc fixes, format fixes, spelling corrections, etc.
8793         * java/io/DataInput
8794         Corrected code samples in Javadocs to match reality
8795         * java/io/DataOutput
8796         * java/io/ObjectInputValidation
8797         Major documentation fixes - all Javadocs re-written or updated
8799 2003-04-06  Michael Koch  <konqueror@gmx.de>
8801         * java/net/URLConnection.java:
8802         Import classes directly.
8803         (URLConnection): Merged class documentation with classpath.
8804         (url): Moved, documentation from classpath added.
8805         (doInput): Moved, documentation from classpath added.
8806         (doOutput): Moved, documentation from classpath added.
8807         (allowUserInteraction): Moved.
8808         (useCaches): Moved, documentation from classpath added.
8809         (ifModifiedSince): Moved, documentation from classpath added.
8810         (connected): Moved, documentation from classpath added.
8812 2003-04-06  Michael Koch  <konqueror@gmx.de>
8814         * java/io/FileInputStream.java
8815         (skip): Renamed some variables to match classpath, added
8816         checks from classpath.
8818 2003-03-31  Michael Koch  <konqueror@gmx.de>
8820         * javax/swing/AbstractAction.java
8821         (AbstractAction): Reformatted.
8822         (serialVersionUID): New private member variable.
8823         * javax/swing/plaf/BorderUIResource.java
8824         (serialVersionUID): New private member variable.
8825         * javax/swing/plaf/basic/BasicLookAndFeel.java
8826         (serialVersionUID): New private member variable.
8828 2003-03-31  Michael Koch  <konqueror@gmx.de>
8830         * java/sql/Date.java
8831         (valueOf): Deprecated, reformatted.
8832         (toString): Deprecated, reformatted.
8833         * java/sql/Time.java
8834         (valueOf): Deprecated, reformatted.
8835         (toString): Deprecated, reformatted.
8837 2003-03-31  Michael Koch  <konqueror@gmx.de>
8839         * java/rmi/dgc/VMID.java
8840         (isUnique): Deprecated.
8842 2003-03-31  Michael Koch  <konqueror@gmx.de>
8844         * java/io/File.java
8845         (separator): Merged documentation from classpath.
8846         (separatorChar): Merged documentation from classpath.
8847         (pathSeparator): Merged documentation from classpath.
8848         (pathSeparatorChar): Merged documentation from classpath.
8849         (path): Merged documentation from classpath.
8850         (canRead): Merged documentation from classpath.
8851         (canWrite): Merged documentation from classpath.
8852         (createNewFile): Merged documentation from classpath.
8853         (delete): Merged documentation from classpath.
8854         (equals): Merged documentation from classpath.
8855         (exists): Merged documentation from classpath.
8856         (File): Renamed p to name to match classpath, merged documentation
8857         from classpath.
8858         (getAbsolutePath): Merged documentation from classpath.
8859         (getCanonicalPath): Merged documentation from classpath.
8860         (getCanonicalFile): Merged documentation from classpath.
8861         (getName): Merged documentation from classpath.
8862         (getParent): Merged documentation from classpath.
8863         (getParentFile): Merged documentation from classpath.
8864         (getPath): Merged documentation from classpath.
8865         (hashCode): Merged documentation from classpath.
8866         (isAbsolute): Merged documentation from classpath.
8867         (isDirectory): Merged documentation from classpath.
8868         (isFile): Merged documentation from classpath.
8869         (isHidden): Merged documentation from classpath.
8870         (lastModified): Merged documentation from classpath.
8871         (length): Merged documentation from classpath.
8872         (list): Merged documentation from classpath.
8873         (listFiles): Merged documentation from classpath.
8874         (toString): Merged documentation from classpath.
8875         (toURL): Merged documentation from classpath.
8876         (mkdir): Merged documentation from classpath.
8877         (mkdirs): Merged documentation from classpath.
8878         (createTempFile): Merged documentation from classpath.
8879         (setReadOnly): Merged documentation from classpath.
8880         (listRoots): Merged documentation from classpath.
8881         (compareTo): Merged documentation from classpath.
8882         (renameTo): Merged documentation from classpath.
8883         (setLastModified): Merged documentation from classpath.
8884         * java/io/PrintStream.java
8885         (auto_flush): Merged documentation from classpath.
8886         (PrintStream): Merged documentation from classpath.
8887         (checkError): Merged documentation from classpath.
8888         (setError): Merged documentation from classpath.
8889         (close): Merged documentation from classpath.
8890         (flush): Merged documentation from classpath.
8891         (print): Merged documentation from classpath.
8892         (println):  Merged documentation from classpath.
8893         (write): Renamed count to len to match classpath,
8894         merged documentation from classpath.
8895         * java/io/RandomAccessFile.java
8896         (readShort): Merged documentation from classpath.
8897         (readUnsignedByte): Merged documentation from classpath.
8898         (readUnsignedShort): Merged documentation from classpath.
8899         (readUTF): Merged documentation from classpath.
8900         (seek): Reformatted, merged documentation from classpath.
8901         (skipBytes): Renamed some variables to match classpath, reformatted,
8902         merged documentation from classpath.
8903         (write): Merged documentation from classpath.
8904         (writeBoolean): Merged documentation from classpath.
8905         (writeByte): Merged documentation from classpath.
8906         (writeShort): Merged documentation from classpath.
8907         (writeChar): Merged documentation from classpath.
8908         (writeInt): Merged documentation from classpath.
8909         (writeLong): Merged documentation from classpath.
8910         (writeFloat): Merged documentation from classpath.
8911         (writeDouble): Merged documentation from classpath.
8912         (writeBytes): Merged documentation from classpath.
8913         (writeChars): Merged documentation from classpath.
8914         (writeUTF): Reformatted.
8915         (getChannel): Reformatted.
8917 2003-03-31  Michael Koch  <konqueror@gmx.de>
8919         * java/awt/font/TextAttribute.java
8920         (readResolve): Throws java.io.InvalidObjectException.
8922 2003-03-31  Michael Koch  <konqueror@gmx.de>
8924         * java/rmi/server/LoaderHandler.java
8925         (loadClass): Deprecated.
8926         (getSecurityContext): Deprecated.
8927         * java/rmi/server/LogStream.java
8928         (getDefaultStream): Deprecated.
8929         (setDefaultStream): Deprecated.
8930         (getOutputStream): Deprecated.
8931         (setOutputStream): Deprecated.
8932         (write): Deprecated.
8933         (toString): Deprecated.
8934         (parseLevel): Deprecated.
8935         * java/rmi/server/Operation.java
8936         (Operation): Deprecated.
8937         (getOperation): Deprecated.
8938         (toString): Deprecated.
8939         * java/rmi/server/RemoteCall.java
8940         (getOutputStream): Deprecated.
8941         (releaseOutputStream): Deprecated.
8942         (getInputStream): Deprecated.
8943         (releaseInputStream): Deprecated.
8944         (getResultStream): Deprecated.
8945         (executeCall): Deprecated.
8946         (done): Deprecated.
8947         * java/rmi/server/RemoteRef.java
8948         (invoke): Deprecated.
8949         (newCall): Deprecated.
8950         (done): Deprecated.
8951         * java/rmi/server/RemoteStub.java
8952         (setRef): Deprecated.
8953         * java/rmi/server/Skeleton.java:
8954         No need to import java.lang.Exception explicitly.
8955         (dispatch): Deprecated.
8956         (getOperations): Deprecated.
8958 2003-03-31  Michael Koch  <konqueror@gmx.de>
8960         * java/rmi/dgc/VMID.java,
8961         java/rmi/registry/RegistryHandler.java,
8962         java/rmi/server/LogStream.java,
8963         java/rmi/server/Operation.java,
8964         java/rmi/server/RemoteCall.java,
8965         java/rmi/server/RemoteRef.java,
8966         java/rmi/server/RemoteStub.java:
8967         Reformatted.
8969 2003-03-31  Michael Koch  <konqueror@gmx.de>
8971         * javax/swing/AbstractCellEditor.java,
8972         javax/swing/AbstractListModel.java,
8973         javax/swing/ActionMap.java,
8974         javax/swing/BorderFactory.java,
8975         javax/swing/ButtonGroup.java,
8976         javax/swing/DefaultBoundedRangeModel.java,
8977         javax/swing/DefaultButtonModel.java,
8978         javax/swing/DefaultCellEditor.java,
8979         javax/swing/DefaultComboBoxModel.java,
8980         javax/swing/DefaultDesktopManager.java,
8981         javax/swing/DefaultListCellRenderer.java,
8982         javax/swing/DefaultSingleSelectionModel.java,
8983         javax/swing/InputMap.java,
8984         javax/swing/JComponent.java,
8985         javax/swing/JMenu.java,
8986         javax/swing/JSlider.java,
8987         javax/swing/KeyStroke.java,
8988         javax/swing/OverlayLayout.java,
8989         javax/swing/ScrollPaneLayout.java,
8990         javax/swing/SizeRequirements.java,
8991         javax/swing/UIManager.java,
8992         javax/swing/ViewportLayout.java,
8993         javax/swing/border/AbstractBorder.java,
8994         javax/swing/colorchooser/DefaultColorSelectionModel.java,
8995         javax/swing/event/EventListenerList.java,
8996         javax/swing/table/AbstractTableModel.java,
8997         javax/swing/table/DefaultTableCellRenderer.java,
8998         javax/swing/table/DefaultTableColumnModel.java,
8999         javax/swing/table/DefaultTableModel.java,
9000         javax/swing/table/TableColumn.java,
9001         javax/swing/text/StyledEditorKit.java,
9002         javax/swing/tree/DefaultMutableTreeNode.java,
9003         javax/swing/tree/DefaultTreeModel.java,
9004         javax/swing/tree/DefaultTreeSelectionModel.java,
9005         javax/swing/tree/TreePath.java,
9006         javax/swing/undo/AbstractUndoableEdit.java,
9007         javax/swing/undo/StateEdit.java,
9008         javax/swing/undo/StateEditable.java,
9009         javax/swing/undo/UndoableEditSupport.java:
9010         Merges from classpath.
9012 2003-03-30  Tom Tromey  <tromey@redhat.com>
9014         * java/lang/String.java (data, boffset, count): Documented.
9015         (String(byte[],String)): Reformatted.
9016         (String(byte[])): Likewise.
9017         (lastIndexOf(int)): Likewise.
9018         (lastIndexOf(String)): Likewise.
9019         (substring(int)): Renamed argument to match Classpath.
9020         (String(StringBuffer)): Don't share buffer if it is nearly empty.
9022         * java/lang/String.java: Miscellaneous minor formatting changes
9023         to match Classpath more closely.
9025 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
9026             Tom Tromey  <tromey@redhat.com>
9028         * java/lang/natString.cc (hashCode): Use cachedHashCode.
9029         (init()): Removed.
9030         (charAt): Put index in exception.
9031         (contentEquals): New method.
9032         Include StringBuffer.h.
9033         * java/lang/String.java (cachedHashCode): New field.
9034         (String()): Follow classpath implementation.
9035         (init()): Removed.
9036         (contentEquals): Declare.
9037         (subSequence): Don't declare IndexOutIfBoundsException in throws
9038         clause.
9039         (matches, replaceFirst, replaceAll, split): New methods from
9040         Classpath.
9042 2003-03-29  Tom Tromey  <tromey@redhat.com>
9044         * java/lang/String.java: Reordered to follow Classpath; merged in
9045         javadoc.
9047         * java/text/MessageFormat.java: Removed some whitespace.
9049         * Makefile.in: Rebuilt.
9050         * Makefile.am (awt_java_source_files): Added new files.
9051         * gnu/javax/rmi/PortableServer.java,
9052         gnu/javax/rmi/CORBA/DelegateFactory.java,
9053         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
9054         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
9055         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
9056         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
9057         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
9058         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
9059         javax/rmi/PortableRemoteObject.java,
9060         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
9061         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
9062         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
9063         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
9064         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
9065         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
9067         * java/lang/natClass.cc (newInstance): Put method name in
9068         exception.
9069         (getConstructor): Likewise.
9070         (getDeclaredConstructor): Likewise.
9071         (getPrivateMethod): Likewise.
9073 2003-03-28  Tom Tromey  <tromey@redhat.com>
9075         * java/lang/reflect/Proxy.java: New version from Classpath.
9076         * java/lang/Package.java: New version from Classpath.
9078 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
9080         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
9081         * configure: Regenerate.
9083 2003-03-28  Michael Koch  <konqueror@gmx.de>
9085         * java/io/File.java:
9086         Import needed classes instead of whole packages, merged class
9087         documentation with classpath, moved constants and variables to top of
9088         class.
9089         * java/io/PrintStream.java:
9090         Merged class documentation with classpath, moved constants and
9091         variables to top of class.
9092         * java/io/RandomAccessFile.java
9093         (RandomAccessFile): Merged with classpath.
9094         (read): Merged with classpath).
9095         (read*): Reformatted.
9097 2003-03-28  Michael Koch  <konqueror@gmx.de>
9099         * java/io/FileDescriptor.java
9100         (finalize): Throws Throwable, not IOException.
9101         * java/io/ObjectOutputStream.java
9102         (PutField.put): Doesnt throws anything.
9104 2003­03-28  Michael Koch  <konqueror@gmx.de>
9106         * java/io/FileOutputStream.java:
9107         Merged class documentation and authors with classpath.
9108         (FileOutputStream): Partly merged with classpath.
9109         (write): Merged with classpath.
9110         (getChannel): Make it synchronized instead of explicit block in this
9111         method.
9112         * java/io/RandomAccessFile.java:
9113         Merged class documentation and authors with classpath.
9115 2003-03-26  Tom Tromey  <tromey@redhat.com>
9117         * java/lang/natRuntime.cc (insertSystemProperties): Set
9118         gnu.classpath.home.url.
9119         * Makefile.in: Rebuilt.
9120         * Makefile.am: Define LIBDIR.
9122 2003-03-25  Michael Koch  <konqueror@gmx.de>
9124         * java/io/FileInputStream.java
9125         (read): Renamed b to buf and off to offset.
9126         * java/io/FileOutputStream.java
9127         (ch): Documentation added.
9128         (FileOutputStream): Documentation added.
9129         (getFD): Documentation added.
9130         (write): Documentation added.
9131         (close): Documentation added.
9132         (getChannel): Documentation added.
9134 2003-03-24  Michael Koch  <konqueror@gmx.de>
9136         * java/io/DataOutputStream.java
9137         (write): Merged from classpath.
9138         * java/io/File.java:
9139         Merged copyrigth with classpath.
9140         * java/io/FileInputStream.java
9141         (getChannel): Made it synchronized instead of using a synchronized
9142         block.
9143         * java/io/FileOutputStream.java: Reformatted.
9144         * java/io/InputStreamReader.java
9145         (InputStreamReader): Renamed enc to encoding_name.
9146         (close): Merged documentation from classpath.
9147         (getEncoding): Merged documentation from classpath.
9148         (ready): Merged documentation from classpath.
9149         (read): Merged documentation from classpath.
9150         * java/io/LineNumberReader.java
9151         (lineNumber): Made it private.
9152         (LineNumberReader): Use Constant instead of a direct value.
9153         * java/io/OutputStreamWriter.java
9154         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
9155         documentation from classpath.
9156         (close): Merged documentation from classpath.
9157         (flush): Merged documentation from classpath.
9158         (write): Merged documentation from classpath.
9159         * java/io/PrintStream.java: Reformatted.
9161 2003-03-24  Michael Koch  <konqueror@gmx.de>
9163         * javax/swing/text/ComponentView.java
9164         (getComponent): Must be final.
9165         * javax/swing/tree/DefaultTreeCellRenderer.java:
9166         Reformatted.
9167         * javax/swing/undo/StateEditable.java:
9168         Reformatted.
9170 2003-03-24  Michael Koch  <konqueror@gmx.de>
9172         * java/rmi/activation/ActivationInstantiator.java:
9173         Reformatted.
9174         * java/rmi/activation/Activator.java:
9175         Reformatted.
9176         * java/rmi/registry/RegistryHandler.java:
9177         Remerged from classpath.
9179 2003-03-24  Michael Koch  <konqueror@gmx.de>
9181         * java/util/Date.java:
9182         Fixed documentation starting tag to make javadoc happy.
9183         * java/util/regex/Pattern.java
9184         (Pattern): Implements Serializable.
9185         * java/util/PatternSyntaxException.java
9186         (serialVersionUID): New member variable.
9188 2003-03-24  Michael Koch  <koqnueror@gmx.de>
9190         * java/awt/ContainerOrderFocusTraversalPolicy.java
9191         (getFirstComponent): Implemented.
9192         (getLastComponent): Implemented.
9193         (getDefaultComponent): Implemented.
9194         (setImplicitDownCycleTraversal): Fixed implementation.
9195         * java/awt/Robot.java
9196         (Robot): Added documentation.
9197         * java/awt/Toolkit.java
9198         (getFontList): Deprecated.
9199         (getFontMetrics): Deprecated.
9200         (getPrintJob): Added documentation.
9201         (getSystemSelection): Added documentation.
9202         (getLockingKeyState): Added documentation.
9203         (setLockingKeyState): Added documentation.
9204         (createCustomCursor): Added documentation.
9205         (getBestCursorSize): Added documentation.
9206         (getMaximumCursorColors): Added documentation.
9207         (isFrameStateSupported): Added documentation.
9209 2003-03-24  Michael Koch  <konqueror@gmx.de>
9211         * java/io/RandomAccessFile.java:
9212         More little merges with classpath. No code changes.
9214 2003-03-24  Michael Koch  <konqueror@gmx.de>
9216         * java/net/natInetAddressNoNet.cc:
9217         Include stddef.h.
9218         * java/net/natPlainDatagramSocketImplNoNet.cc:
9219         Fixed inlcude of java/net/DatagramPacket.h.
9220         * java/net/natPlainSocketImplNoNet.cc:
9221         Include some missing classes.
9223 2003-03-24  Michael Koch  <konqueror@gmx.de>
9225         * java/awt/dnd/DropTarget.java
9226         (DropTargetAutoScroller): According to the online documentation, this
9227         is protected, but in reality it is public.
9228         * java/awt/dnd/DropTargetContext.java
9229         (TransferableProxy): According to the online documentation, this
9230         is protected, but in reality it is public.
9232 2003-03-24  Michael Koch  <konqueror@gmx.de>
9234         * java/io/DataInputStream.java
9235         (): Wrapped documentation line.
9236         (): Fixed @return tag.
9237         * java/io/DataOutputStream.java
9238         (written): Moved to top of class.
9239         (all methods): Merged documentation from classpath.
9240         * java/io/File.java:
9241         Merged copyright year with classpath.
9242         * java/io/FileInputStream.java
9243         (all methods): Merged documentation from classpath.
9244         * java/io/LineNumberReader.java
9245         (getLineNumber): Fixed @return tag.
9246         * java/io/ObjectInputStream.java.
9247         Reformatted.
9248         * java/io/ObjectOutputStream.java:
9249         Reformatted, fixed some @see tags.
9250         * java/io/OutputStreamWriter.java:
9251         Deleted empty line.
9252         * java/io/Writer.java:
9253         Reformatted.
9255 2003-03-24  Michael Koch  <konqueror@gmx.de>
9257         * java/awt/Frame.java
9258         (DEFAULT_CURSOR): Fixed @deprecated tag.
9259         (setCursor): Fixed @deprecated tag.
9261 2003-03-24  Michael Koch  <konqueror@gmx.de>
9263         * java/beans/beancontext/BeanContextEvent.java:
9264         Reformated.
9266 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
9268         * java/lang/natStringBuffer.cc (regionMatches): New function.
9269         * java/lang/String.java (count): Now package-private.
9270         * java/lang/StringBuffer.java: Merged with Classpath.
9272 2003-03-23  Michael Koch  <konqueror@gmx.de>
9274         * java/io/BufferedOutputStream.java:
9275         Reformated.
9276         * java/io/BufferedReader.java:
9277         Reformated.
9278         * java/io/ByteArrayOutputStream.java
9279         (size): Fixed @see tag.
9280         * java/io/CharArrayWriter.java
9281         (size): Fixed @see tag.
9282         * java/io/DataInput.java:
9283         Reformated.
9284         * java/io/DataOutput.java:
9285         Reformated.
9286         * java/io/DataOutputStream.java:
9287         Merged copyright years with classpath.
9288         * java/io/Externalizable.java:
9289         Reformated.
9290         * java/io/FileFilter.java:
9291         Reformated.
9292         * java/io/FileInputStream.java:
9293         Merged copyright years with classpath.
9294         * java/io/FileOutputStream.java:
9295         Merged copyright years with classpath.
9296         * java/io/FilePermission.java
9297         (FilePermission): Replaced @XXX with FIXME:.
9298         * java/io/FileWriter.java:
9299         Reformated.
9300         * java/io/FilenameFilter.java:
9301         Reformated.
9302         * java/io/FilterInputStream.java:
9303         Reformated.
9304         * java/io/FilterOutputStream.java:
9305         Reformated.
9306         * java/io/FilterReader.java:
9307         Reformated.
9308         * java/io/FilterWriter.java:
9309         Reformated.
9310         * java/io/LineNumberInputStream.java
9311         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
9312         happy.
9313         (getLineNumber): Fixed @return tag.
9314         * java/io/ObjectInput.java:
9315         Reformated.
9316         * java/io/ObjectOutput.java:
9317         Reformated.
9318         * java/io/ObjectStreamClass.java:
9319         Reformated.
9320         * java/io/PrintStream.java:
9321         Merged copyright years with classpath.
9322         * java/io/PushbackReader.java
9323         (PushbackReader): Replaced @code with @param.
9324         * java/io/SerializablePermission.java:
9325         Reformated.
9326         * java/io/StreamTokenizer.java
9327         (resetSyntax): Fixed @see tag.
9329 2003-03-22  Richard Henderson  <rth@redhat.com>
9331         * sysdep/ia64/locks.h: Include ia64intrin.h.
9332         (compare_and_swap): Use __sync_bool_compare_and_swap.
9333         (compare_and_swap_release): Expose ar.ccv assignment.
9335 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
9337         * include/posix.h: Add suffix for darwin dynamic libraries.
9339 2003-03-21  Michael Koch  <konqueror@gmx.de>
9341         * javax/swing/Action.java
9342         (ACCELERATOR_KEY): New constant.
9343         (ACTION_COMMAND_KEY): Likewise.
9344         (MNEMONIC_KEY): Likewise.
9345         * javax/swing/UnsupportedLookAndFeelException.java
9346         (UnsupportedLookAndFeelException): Must be public.
9347         * javax/swing/WindowConstants.java
9348         (EXIT_ON_CLOSE): New constant.
9349         * javax/swing/text/BadLocationException.java
9350         (offset): New member variable.
9351         (BadLocationException): New implementation, documentation added.
9352         (offsetRequested): New method.
9353         * javax/swing/text/Caret.java:
9354         Reformated.
9355         * javax/swing/text/Document.java:
9356         Reformated.
9358 2003-03-21  Michael Koch  <konqueror@gmx.de>
9360         * java/rmi/activation/Activatable.java
9361         (serialVersionUID): New member variable.
9362         * java/rmi/activation/ActivationGroup.java
9363         (serialVersionUID): New member variable.
9364         * java/rmi/activation/ActivationGroupDesc.java
9365         (serialVersionUID): New member variable.
9366         * java/rmi/registry/Registry.java:
9367         Reformated.
9368         (Registry): Deprecated.
9369         * java/rmi/server/LoaderHandler.java
9370         Reformated.
9371         (LoaderHandler): Deprecated.
9372         * java/rmi/server/LogStream.java
9373         Reformated.
9374         (LogStream): Deprecated.
9375         * java/rmi/server/Operation.java
9376         (Operation): Deprecated.
9377         * java/rmi/server/RMIFailureHandler.java:
9378         Reformated.
9379         * java/rmi/server/RMISocketFactory.java:
9380         Reformated.
9381         * java/rmi/server/RemoteCall.java
9382         (RemoteCall): Deprecated.
9383         * java/rmi/server/RemoteStub.java:
9384         Reformated.
9385         * java/rmi/server/Skeleton.java
9386         Reformated.
9387         (Skeleton): Deprecated.
9389 2003-03-21  Michael Koch  <konqueror@gmx.de>
9391         * java/io/LineNumberReader.java
9392         (LineNumberReader): Merged documentation with classpath.
9393         (getLineNumber): Likewise.
9394         (setLineNumber): Likewise.
9395         (mark): Likewise.
9396         (reset): Likewise.
9397         (read): Likewise.
9398         (readLine): Likewise.
9399         (skip): Likewise.
9401 2003-03-21  Michael Koch  <konqueror@gmx.de>
9403         * java/rmi/RMISecurityManager.java
9404         (checkAccept): Removed.
9405         (checkAccess): Likewise.
9406         (checkAccess): Likewise.
9407         (checkAwtEventQueueAccess): Likewise.
9408         (checkConnect): Likewise.
9409         (checkCreateClassLoader): Likewise.
9410         (checkDelete): Likewise.
9411         (checkExec): Likewise.
9412         (checkExit): Likewise.
9413         (checkLink): Likewise.
9414         (checkListen): Likewise.
9415         (checkMemberAccess): Likewise.
9416         (checkMulticast): Likewise.
9417         (checkPackageAccess): Likewise.
9418         (checkPackageDefinition): Likewise.
9419         (checkPermission): Likewise.
9420         (checkPrintJobAccess): Likewise.
9421         (checkPropertiesAccess): Likewise.
9422         (checkPropertyAccess): Likewise.
9423         (checkRead): Likewise.
9424         (checkSecurityAccess): Likewise.
9425         (checkSetFactory): Likewise.
9426         (checkSystemClipboardAccess): Likewise.
9427         (checkTopLevelWindow): Likewise.
9428         (checkWrite): Likewise.
9430 2003-03-20  Michael Koch  <konqueror@gmx.de>
9432         * gnu/java/nio/FileChannelImpl.java
9433         (address): Removed.
9434         (map_address): New member variable.
9435         (length): Make it package private.
9436         (fd): Make it package private.
9437         (buf): Make it package private.
9438         (file_obj): Make it package private.
9439         (FileChannelImpl): New constructor.
9440         (nio_mmap_file): Use RawData instead of long.
9441         (nio_munmap_file): Use RawData instead of long.
9442         (nio_msync): Use RawData instead of long.
9443         (implCloseChannel): New implementation using map_address.
9444         (read): Reformated.
9445         (map): Implemented.
9446         (create_direct_mapped_buffer): Implemented, use RawData, throws
9447         IOException.
9448         (force): Use map_address instead of address.
9449         * gnu/java/nio/MappedByteFileBuffer.java
9450         (address): Removed.
9451         (map_address): New member variable.
9452         (MappedByteFileBuffer): Use map_address instead of address, reformated.
9453         (several methods): Use map_address instead of address, replaced long
9454         with RawData where appropriate.
9455         * gnu/java/nio/natFileChannelImpl.cc
9456         (nio_mmap_file): Replaced long with RawData.
9457         (nio_munmap_file): Replaced long with RawData.
9458         (nio_msync): Replaced long with RawData.
9459         * gnu/java/nio/natMappedByteFileBuffer.cc
9460         (several methods): Replaced long with RawData where appropriate.
9462 2003-03-20  Michael Koch  <konqueror@gmx.de>
9464         * java/net/InetAddress.java,
9465         java/net/JarURLConnection.java,
9466         java/net/PlainDatagramSocketImpl.java,
9467         java/net/PlainSocketImpl.java,
9468         java/net/URLConnection.java:
9469         Merged copyright statements with classpath for easier merging.
9471 2003-03-20  Michael Koch  <konqueror@gmx.de>
9473         * java/io/FileInputStream.java
9474         (getChannel): New implementation.
9475         * java/io/FileOutputStream.java
9476         (ch): New member variable.
9477         (getChannel): Implemented.
9478         * java/io/RandomAccessFile.java
9479         (RandomAccessFile): Throws FileNotFoundException instead of
9480         IOException.
9481         (getChannel): New method.
9482         (ch): New member variable.
9484 2003-03-20  Michael Koch  <konqueror@gmx.de>
9486         * java/io/DataOutputStream.java,
9487         java/io/File.java,
9488         java/io/FileInputStream.java,
9489         java/io/FileOutputStream.java,
9490         java/io/InputStreamReader.java,
9491         java/io/LineNumberReader.java,
9492         java/io/OutputStreamWriter.java,
9493         java/io/PrintStream.java,
9494         java/io/RandomAccessFile.java:
9495         Merged copyright statements with classpath for easier merging.
9497 2003-03-19  Michael Koch  <konqueror@gmx.de>
9499         * java/lang/Process.java:
9500         Merged from classpath.
9502 2003-03-19  Michael Koch  <konqueror@gmx.de>
9504         * java/io/FileOutputStream.java
9505         (FileOutputStream): New constructor, merged from classpath.
9506         * java/io/FileWriter.java
9507         (FileWriter): New constructor, merged from classpath.
9509 2003-03-18  Michael Koch  <konqueror@gmx.de>
9511         * java/awt/ScrollPane.java
9512         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
9513         (getViewportSize): Likewise.
9514         (addNotify): Likewise.
9515         (removeNotify): Likewise.
9516         * java/awt/ScrollPaneAdjustable.java
9517         (ScrollPaneAdjustable): No longer extends Scrollbar.
9518         * java/beans/beancontext/BeanContextServices.java:
9519         Reformated.
9520         (getService): Added throws TooManyListenersException;
9521         * java/beans/beancontext/BeanContextServicesSupport.java:
9522         Reformated.
9524 2003-03-18  Michael Koch  <konqueror@gmx.de>
9526         * java/io/BufferedOutputStream.java,
9527         java/io/DataInput.java,
9528         java/io/DataInputStream.java,
9529         java/io/DataOutput.java,
9530         java/io/Externalizable.java:
9531         More merges from classpath.
9533 2003-03-18  Michael Koch  <konqueror@gmx.de>
9535         * configure.in: Fixed links to platform dependant java.net files.
9536         * configure: Regenerated.
9537         * java/net/natInetAddress.cc,
9538         java/net/natNetworkInterface.cc,
9539         java/net/natPlainDatagramSocketImpl.cc,
9540         java/net/natPlainSocketImpl.cc:
9541         Removed.
9543 2003-03-18  Michael Koch  <konqueror@gmx.de>
9545         * configure.in: Create links to architecture dependent files,
9546         introduced PLATFORMNET variable (set to NoNet for newlib usage).
9547         * configure: Regenerated.
9548         * java/net/natInetAddressNoNet.cc,
9549         java/net/natInetAddressPosix.cc,
9550         java/net/natInetAddressWin32.cc,
9551         java/net/natNetworkInterfaceNoNet.cc,
9552         java/net/natNetworkInterfacePosix.cc,
9553         java/net/natNetworkInterfaceWin32.cc,
9554         java/net/natPlainDatagramSocketImplNoNet.cc,
9555         java/net/natPlainDatagramSocketImplPosix.cc,
9556         java/net/natPlainDatagramSocketImplWin32.cc,
9557         java/net/natPlainSocketImplNoNet.cc,
9558         java/net/natPlainSocketImplPosix.cc,
9559         java/net/natPlainSocketImplWin32.cc: New files.
9561 2003-03-18  Michael Koch  <konqueror@gmx.de>
9563         * java/io/BufferedReader.java,
9564         java/io/BufferedWriter.java,
9565         java/io/ByteArrayOutputStream.java,
9566         java/io/FileFilter.java,
9567         java/io/FilePermission.java,
9568         java/io/FileReader.java,
9569         java/io/FileWriter.java,
9570         java/io/FilenameFilter.java,
9571         java/io/FilterInputStream.java,
9572         java/io/FilterOutputStream.java,
9573         java/io/FilterReader.java,
9574         java/io/FilterWriter.java,
9575         java/io/ObjectInput.java,
9576         java/io/ObjectInputValidation.java,
9577         java/io/ObjectOutput.java,
9578         java/io/ObjectStreamField.java,
9579         java/io/PipedInputStream.java,
9580         java/io/PipedReader.java,
9581         java/io/PrintWriter.java,
9582         java/io/PushbackReader.java,
9583         java/io/Reader.java,
9584         java/io/SerializablePermission.java,
9585         java/io/StringReader.java,
9586         java/io/Writer.java:
9587         Merged from classpath.
9589 2003-03-17  Michael Koch  <konqueror@gmx.de>
9591         * java/awt/ScrollPaneAdjustable.java:
9592         Compile fixes.
9593         
9594 2003-03-17  Michael Koch  <konqueror@gmx.de>
9596         * java/net/DatagramSocket.java
9597         (connect): Fixed comment.
9598         * java/nio/ByteBuffer.java
9599         (hasArray): Fixed comment.
9601 2003-03-17  Michael Koch  <konqueror@gmx.de>
9603         * java/beans/Beans.java:
9604         Explicitely import classes not packages.
9605         * java/beans/FeatureDescriptor.java
9606         (preferred): New member variable.
9607         (isPreferred): New method.
9608         (setPreferred): New method.
9609         * java/beans/PropertyEditorManager.java:
9610         Explicitely import used classes.
9611         * java/beans/beancontext/BeanContextChild.java:
9612         Added line wrapping.
9613         * java/beans/beancontext/BeanContextChildSupport.java:
9614         Reindented.
9615         * java/beans/beancontext/BeanContextEvent.java:
9616         Reindented.
9618 2003-03-17  Michael Koch  <konqueror@gmx.de>
9620         * java/awt/Dialog.java
9621         (Dialog): New constructor, changed implementations, added
9622         documentation.
9623         * java/awt/ScrollPaneAdjustable.java
9624         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
9625         Serializable.
9626         (serialVersionUID): New member variable.
9627         (sp): New member variable.
9628         (orientation): New member variable.
9629         (value): New member variable.
9630         (minimum): New member variable.
9631         (maximum): New member variable.
9632         (visibleAmount): New member variable.
9633         (unitIncrement): New member variable.
9634         (blockIncrement): New member variable.
9635         (AdjustmentListener): New member variable.
9636         (ScrollPaneAdjustable): New implementation.
9637         (addAdjustmentListener): New method.
9638         (removeAdjustmentListener): New method.
9639         (getAdjustmentListeners): New method.
9640         (getBlockIncrement): New method.
9641         (getMaximum): New method.
9642         (getMinimum): New method.
9643         (getOrientation): New method.
9644         (getUnitIncrement): New method.
9645         (getValue): New method.
9646         (getVisibleAmount): New method.
9647         (setBlockIncrement): New method.
9648         (setMaximum): Implemented.
9649         (setMinimum): Implemented.
9650         (setUnitIncrement): New method.
9651         (setValue): New method.
9652         (setVisibleAmount): Implemented. 
9653         (paramString): New stubbed method.
9654         * java/awt/Window.java
9655         (show): Call setVisible().
9656         (hide): Call setVisible().
9657         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
9658         and WINDOW_STATE_CHANGED.
9659         (processWindowFocusEvent): New method.
9660         (processWindowStateEvent): New method.
9661         (postEvent): Deprecated.
9662         (applyResourceBundle): Deprecated.
9663         * java/awt/datatransfer/DataFlavor.java
9664         (DataFlavor): Doesn't thow ClassNotFoundException.
9666 2003-03-17  Michael Koch
9668         * javax/print/attribute/Attribute.java,
9669         javax/print/attribute/AttributeSet.java,
9670         javax/print/attribute/PrintRequestAttributeSet.java:
9671         New files.
9672         * Makefile.am
9673         (javax_source_files): Added new files:
9674         javax/print/attribute/Attribute.java
9675         javax/print/attribute/AttributeSet.java
9676         javax/print/attribute/PrintRequestAttributeSet.java
9677         * Makefile.in: Regenerated.
9679 2003-03-17  Michael Koch
9681         * javax/print/attribute/Attribute.java,
9682         javax/print/attribute/AttributeSet.java,
9683         javax/print/attribute/PrintRequestAttributeSet.java:
9684         New files.
9685         * Makefile.am
9686         (awt_java_source_files): Added new files:
9687         javax/print/attribute/Attribute.java
9688         javax/print/attribute/AttributeSet.java
9689         javax/print/attribute/PrintRequestAttributeSet.java
9690         * Makefile.in: Regenerated.
9692 2003-03-16  Tom Tromey  <tromey@redhat.com>
9694         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
9695         Include platform.h.
9696         * java/lang/natRuntime.cc (insertSystemProperties): Use
9697         _Jv_platform_path_separator.
9698         (nativeGetLibname): Use _Jv_platform_file_separator.
9699         (_load): Use _Jv_platform_onload_names.
9700         (onload_names): New global.
9701         * include/win32.h (_Jv_platform_file_separator): New define.
9702         (_Jv_platform_path_separator): Likewise.
9703         (_Jv_platform_onload_names): Likewise.
9704         (_Jv_platform_ffi_abi): Likewise.
9705         * include/posix.h (_Jv_platform_file_separator): New define.
9706         (_Jv_platform_path_separator): Likewise.
9707         (_Jv_platform_onload_names): Likewise.
9708         (_Jv_platform_ffi_abi): Likewise.
9710 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
9712         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
9714 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
9716         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
9717         hierarchy loop.
9718         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
9719         list to Object,ObjectStreamClass, moved callReadMethod code up into
9720         readObject and added Class argument to all setXxxField calls.
9721         (callReadMethod): Changed Class argument to ObjectStreamClass to be
9722         consistent with ObjectOutputStream and to facilitate caching the
9723         Method in the future.
9724         (setBooleanField): Added Class argument.
9725         (setByteField): Likewise.
9726         (setCharField): Likewise.
9727         (setDoubleField): Likewise.
9728         (setFloatField): Likewise.
9729         (setIntField): Likewise.
9730         (setLongField): Likewise.
9731         (setShortField): Likewise.
9732         (setObjectField): Likewise.
9733         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
9734         class hierarchy loop.
9735         (defaultWriteObject): Call writeFields with new argument list.
9736         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
9737         list to Object,ObjectStreamClass, moved callWriteMethod up into
9738         writeObject and added Class argument to all getXxxField calls.
9739         (callWriteMethod): Added ObjectStreamClass argument to be able to
9740         get the proper class to call getMethod on (each class can have (or
9741         not have) its own writeObject method).
9742         (getBooleanField): Added Class argument.
9743         (getByteField): Likewise.
9744         (getCharField): Likewise.
9745         (getDoubleField): Likewise.
9746         (getFloatField): Likewise.
9747         (getIntField): Likewise.
9748         (getLongField): Likewise.
9749         (getShortField): Likewise.
9750         (getObjectField): Likewise.
9751         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
9752         facilitate caching the Method object in the future.
9754 2003-03-12  Andreas Schwab  <schwab@suse.de>
9756         * configure.in: Avoid trailing /. in toolexeclibdir.
9757         * configure: Rebuilt.
9759 2003-03-11  Michael Koch  <konqueror@gmx.de>
9761         * gnu/java/nio/ByteBufferImpl.java
9762         (putInt): Use limit() instead of limit.
9763         * gnu/java/nio/CharBufferImpl.java
9764         (slice): Fixed implementation.
9765         (subSequence): Better bounds checking.
9766         * gnu/java/nio/MappedByteFileBuffer.java:
9767         Import all needed classes directly.
9768         * java/nio/ByteBuffer.java
9769         (hashCode): New dummy method.
9770         * java/nio/CharBuffer.java
9771         (array_offset): New member variable.
9772         (hasArray): Fixed documentation.
9773         (arrayOffset): Return array_offset.
9775 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
9777         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
9778         setter; made return value of getter const char* instead of char*
9779         * prims.cc: removed all references to _Jv_ThisExecutable().
9780         These are in the platform-specific sections now.
9781         * posix.cc: define platform-specific _Jv_ThisExecutable().
9782         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
9783         * win32.cc: define platform-specific _Jv_ThisExecutable()
9784         using GetModuleFilename()
9785         * java/lang/natRuntime.cc: set gnu.gcj.progname property
9786         to argv[0] instead of _Jv_ThisExecutable()
9788 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
9790         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
9791         that is set if we are using addr2name.awk instead of addr2line.
9792         (NameFinder): Set usingAddr2name if using addr2name.awk.
9793         (getExternalLabel): New native method to convert a method 
9794         name to an external label.
9795         (lookup): Convert name given by addr2line to an external label
9796         before demangling.
9798         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
9799         constant representing the prefix attached to method names to
9800         convert them to an external label.
9801         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
9802         using LABEL_PREFIX.
9804 2003-03-10  Tom Tromey  <tromey@redhat.com>
9806         * Makefile.in: Rebuilt.
9807         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
9808         (JC1FLAGS): Removed -Wno-deprecated.
9810 2003-03-10  Michael Koch  <konqueror@gmx.de>
9812         * java/nio/ByteOrder.java
9813         (nativeOrder): Working implementation, added documentation.
9814         (toString): Added documentation.
9816 2003-03-10  Michael Koch  <konqueror@gmx.de>
9818         * java/net/DatagramSocket.java,
9819         java/net/MulticastSocket.java,
9820         java/net/Socket.java,
9821         java/net/URL.java,
9822         java/net/URLConnection.java:
9823         Fixed some documentation tags to make javadoc and friends happy.
9825 2003-03-10  Michael Koch  <koqnueror@gmx.de>
9827         * java/beans/beancontext/BeanContextServicesSupport.java,
9828         java/beans/beancontext/BeanContextSupport.java: New files.
9829         * Makefile.am
9830         (awt_source_files): Added new files.
9831         * Makefile.in: Regenerated.
9833 2003-03-10  Michael Koch  <konqueror@gmx.de>
9835         * java/awt/FocusTraversalPolicy.java
9836         (FocusTraversalPolicy): Documentation added.
9837         (getComponentAfter): Documentation added.
9838         (getComponentBefore): Documentation added.
9839         (getFirstComponent): Documentation added.
9840         (getLastComponent): Documentation added.
9841         (getDefaultComponent): Documentation added.
9842         (getInitialComponent): Documentation added.
9843         * java/awt/ScrollPaneAdjustable.java
9844         (sp): New member variable.
9845         (orientation): New member variable.
9846         (value): New member variable.
9847         (minimum): New member variable.
9848         (maximum): New member variable.
9849         (visibleAmount): New member variable.
9850         (unitIncrement): New member variable.
9851         (blockIncrement): New member variable.
9852         (adjustmentListener): New member variable.
9853         (ScrollPaneAdjustable): Rewrote.
9854         (addAdjustmentListener): New method.
9855         (removeAdjustmentListener): New method.
9856         (getAdjustmentListeners): New method.
9857         (getBlockIncrement): New method.
9858         (getMaximum): New method.
9859         (getMinimum): New method.
9860         (getOrientation): New method.
9861         (getUnitIncrement): New method.
9862         (getValue): New method.
9863         (getVisibleAmount): New method.
9864         (setBlockIncrement): New method.
9865         (setUnitIncrement): New method.
9866         (setMaximum): Implemented.
9867         (setMinimum): Implemented.
9868         (setValue): New method.
9869         (setVisibleAmount): Implemented.
9870         (paramString): New method.
9871         * java/awt/Window.java
9872         (show): Use setVisible(true) instead of super.show().
9873         (hide): Use sevVisible(false) instead of super.hide().
9874         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
9875         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
9876         (postEvent): Deprecated.
9877         (applyResourceBundle): Deprecated.
9878         (processWindowFocusEvent): New method.
9879         (processWindowStateEvent): New method.
9880         * java/awt/datatransfer/DataFlavor.java: Reindented.
9881         * java/awt/font/TextHitInfo.java
9882         (charIndex): New member variable.
9883         (leadingEdge): New member variable.
9884         (TextHitInfo): New constructor.
9885         (getCharIndex): Implemented.
9886         (isLeadingEdge): Implemented.
9887         (getInsertionIndex): Implemented.
9888         (hashCode): Access charIndex directly.
9889         (equals): Reformated.
9890         (leading): Implemented.
9891         (trailing): Implemented.
9892         (beforeOffset): Implemented.
9893         (afterOffset): Implemented.
9894         (getOtherHit): Implemented.
9895         (getOffsetHit): Implemented.
9896         (toString): Implemented.
9897         * java/awt/image/BufferedImage.java
9898         (BufferedImage): Implements WritableRenderedImage.
9899         (observers): New member variable.
9900         (addTileObserver): New method.
9901         (removeTileObserver): New method.
9903 2003-03-09  Tom Tromey  <tromey@redhat.com>
9905         PR libgcj/9934:
9906         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
9907         to lseek.  Return 0 if we can't compute the value.
9909 2003-03-03  Michael Koch  <konqueror@gmx.de>
9911         * java/net/NetworkInterface.java: Merged with classpath.
9913 2003-03-03  Tom Tromey  <tromey@redhat.com>
9915         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
9916         of bytecode.
9917         (handle_ret_insn): Fail if returning to jsr that appears at end of
9918         bytecode.
9920 2003-03-03  Michael Koch  <konqueror@gmx.de>
9922         * Makefile.am
9923         (ordinary_java_source_files):
9924         Added gnu/java/nio/MappedByteFileBuffer.java.
9925         (nat_source_files):
9926         Added gnu/java/nio/natMappedByteFileBuffer.cc.
9927         * Makefile.in: Regenerated.
9929 2003-03-03  Michael Koch  <konqueror@gmx.de>
9931         * java/net/DatagramSocket.java
9932         (connect): Merged comment from classpath.
9933         (receive): Merged documentation from classpath.
9934         * java/net/Socket.java
9935         (setSoTimeout): Clarified documentation.
9936         * java/net/URL.java
9937         (getPath): Merged from classpath.
9938         (getUserInfo): Merged from classpath.
9939         (getQuery): Merged from classpath.
9940         * java/net/URLStreamHandler.java
9941         (toExternalForm): Merged from classpath.
9943 2003-03-02  Mark Wielaard  <mark@klomp.org>
9945         * java/util/Properties.java (load): Only skip line if the first
9946         character is a comment, whitespaces don't count.
9948 2003-03-02  Michael Koch  <konqueror@gmx.de>
9950         * java/net/NetPermission.java:
9951         Merged copyright with classpath.
9953 2003-03-02  Michael Koch  <konqueror@gmx.de>
9955         * java/lang/Package.java:
9956         Remerged from classpath.
9958 2003-03-02  Michael Koch  <konqueror@gmx.de>
9960         * java/net/HttpURLConnection.java
9961         (HTTP_SERVER_ERROR): Deprecated.
9962         * java/net/MulticastSocket.java
9963         (send): Replaced checkMulticast with appropriate checkPermission call,
9964         deprecated.
9965         * java/net/URLDecoder.java
9966         (decode): Deprecated.
9967         * java/net/URLEncoder.java
9968         (encode): Deprecated.
9970 2003-03-02  Michael Koch  <konqueror@gmx.de>
9972         * javax/swing/text/Caret.java
9973         (getMagicCaretPosition): Fixed typo in method name.
9974         * javax/swing/text/DefaultCaret.java
9975         (getMagicCaretPosition): Fixed typo in method name.
9977 2003-03-02  Michael Koch  <konqueror@gmx.de>
9979         * java/awt/List.java
9980         (setMultipleSelections): Deprecated.
9981         (delItem): Deprecated.
9982         * java/awt/MenuComponent.java
9983         (getPeer): Deprecated.
9984         * java/awt/ScrollPane.java
9985         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
9986         * java/awt/dnd/MouseDragGestureRecognizer.java
9987         (mouseClicked): Added comment.
9988         (mousePressed): Added comment.
9989         (mouseReleased): Added comment.
9990         (mouseEntered): Added comment.
9991         (mouseExited): Added comment.
9992         (mouseDragged): Added comment.
9993         (mouseMoved): Added comment.
9994         * java/awt/event/KeyEvent.java
9995         (KeyEvent): Deprecated.
9996         (setModifiers): Deprecated.
9997         
9998 2003-03-02  Michael Koch  <konqueror@gmx.de>
10000         * gnu/java/nio/FileChannelImpl.java
10001         (fd): Type FileDescriptor instead of int.
10002         (lengthInternal): Removed.
10003         (FileChannelImpl): Fixed arguments, check type of file object.
10004         (size): Made it native.
10005         (implPosition): New native method.
10006         (implTruncate): New native method.
10007         (position): Implemented.
10008         (truncate): Implemented.
10009         (nio_mmap_file): Changed arguments.
10010         (nio_munmap_file): Changed arguments.
10011         (nio_msync): Changed arguments.
10012         * gnu/java/nio/natFileChannelImpl.cc
10013         (lengthInternal): Removed.
10014         (size): New method.
10015         (implPosition): New method.
10016         (implTruncate): New method.
10017         (nio_mmap_file): Changed arguments.
10018         (nio_munmap_file): Changed arguments.
10019         (nio_msync): Changed arguments.
10021 2003-03-02  Michael Koch  <konqueror@gmx.de>
10023         * java/awt/dnd/DropTargetContext.java:
10024         Compile fix: Forgot to commit import.
10025         
10026 2003-03-02  Michael Koch  <konqueror@gmx.de>
10028         * java/awt/Component.java,
10029         java/awt/ScrollPane.java:
10030         Fixed typos.
10032 2003-03-02  Michael Koch  <konqueror@gmx.de>
10034         * java/awt/dnd/DnDEventMulticaster.java: New file.
10035         * java/awt/dnd/DragSource.java
10036         (flavorMap): New member variable.
10037         (dragSourceListener): New member variable.
10038         (dragSourceMotionListener): New member variable.
10039         (getFlavorMap): Implemented.
10040         (createDragGestureRecognizer): Implemented.
10041         (addDragSourceListener): Implemented.
10042         (removeDragSourceListener): Implemented.
10043         (getDragSourceListeners): Implemented.
10044         (addDragSourceMotionListener): Implemented.
10045         (removeDragSourceMotionListener): Implemented.
10046         (getDragSourceMotionListeners): Implemented.
10047         (getListeners): Implemented.
10048         * java/awt/dnd/DragSourceContext.java
10049         (peer): New member variable.
10050         (cursor): New member variable.
10051         (transferable): New member variable.
10052         (trigger): New member variable.
10053         (dragSourceListener): New member variable.
10054         (image): New member variable.
10055         (offset): New member variable.
10056         (DragSourceContext): Implemented.
10057         (getDragSource): Implemented.
10058         (getComponent): Implemented.
10059         (getTrigger): Implemented.
10060         (getSourceActions): Implemented.
10061         (setCursor): Implemented.
10062         (getCursor): Implemented.
10063         (addDragSourceListener): Implemented.
10064         (removeDragSourceListener): Implemented.
10065         (getTransferable): Implemented.
10066         * java/awt/dnd/DropTarget.java
10067         (DropTargetAutoScroller.component): New member variable.
10068         (DropTargetAutoScroller.point): New member variable.
10069         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
10070         (DropTargetAutoScroller.updateLocation): Implemented.
10071         (active): Renamed from isActive, defaults to true now.
10072         (component): New member variable.
10073         (flavorMap): New member variable.
10074         (actions): New member variable.
10075         (dropTargetContext): New member variable.
10076         (dropTargetListener): New member variable.
10077         (DropTarget): Implemented.
10078         (getComponent): Implemented.
10079         (setComponent): Implemented.
10080         (setDefaultActions): Implemented.
10081         (getDefaultActions): Implemented.
10082         (setActive): Use active instead of isActive.
10083         (isActive): Use active instead of isActive.
10084         (addDropTargetListener): Implemented.
10085         (removeDropTargetListener): Implemented.
10086         (getFlavorMap): Implemented.
10087         (setFlavorMap): Implemented.
10088         (getDropTargetContext): Implemented.
10089         (createDropTargetContext): Implemented.
10090         (createDropTargetAutoScroller): Implemented.
10091         * java/awt/dnd/DropTargetContext.java
10092         (TransferableProxy.getTransferDataFlavors): Implemented.
10093         (TransferableProxy.isDataFlavorSupported): Implemented.
10094         (TransferableProxy.getTransferData): Implemented.
10095         (dropTarget):  New member variable.
10096         (dtcp): New member variable.
10097         (DropTargetContext): New package private constructor.
10098         (getDropTarget): Implemented.
10099         (getComponent): Implemented.
10100         (addNotify): Implemented.
10101         (removeNotify): Implemented.
10102         (getCurrentDataFlavorsAsList): Implemented.
10103         (isDataFlavorSupported): Implemented.
10104         * java/awt/dnd/MouseDragGestureRecognizer.java
10105         (registerListeners): Implemented.
10106         (unregisterListeners): Implemented.
10107         * Makefile.am
10108         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
10109         * Makefile.in: Regenerated.
10111 2003-03-02  Michael Koch  <konqueror@gmx.de>
10113         * java/awt/Component.java
10114         (eventTypeEnabled): New method.
10115         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
10116         * java/awt/Container.java
10117         (changeSupport): New member variable.
10118         (addPropertyChangeListener): New methods.
10119         * java/awt/ContainerOrderFocusTraversalPolicy.java
10120         (ContainerOrderFocusTraversalPolicy): Added comment.
10121         (getComponentAfter): Throw exception, documentation added.
10122         (getComponentBefore): Throw exception, documentation added.
10123         (getFirstComponent): Throw exception, documentation added.
10124         (getLastComponent): Throw exception, documentation added.
10125         (getDefaultComponent): Throw exception, documentation added.
10126         * java/awt/EventQueue.java: Reindented.
10127         * java/awt/FocusTraversalPolicy.java:
10128         (FocusTraversalPolicy): Added comment.
10129         (getComponentAfter): Documentation added.
10130         (getComponentBefore): Documentation added.
10131         (getFirstComponent): Documentation added.
10132         (getLastComponent): Documentation added.
10133         (getDefaultComponent): Documentation added.
10134         (getInitialComponent): Documentation added.
10135         * java/awt/ScrollPane.java
10136         (wheelScrollingEnabled): New member variable.
10137         (ScrollPane): Initialize wheelScollingEnabled.
10138         (eventTypeEnabled): New method.
10139         (isWheelScrollingEnabled): New method.
10140         (setWheelScrollingEnabled): New method.
10142 2003-03-02  Michael Koch  <konqueror@gmx.de>
10144         * java/net/DatagramSocket.java
10145         (closed): New member variable.
10146         (close): Use closed variable.
10147         (getInetAddress): No need to call isConnected().
10148         (getPort): No need to call isConnected().
10149         (disconnect): Reset remoteAddress and remotePort, fixed typo.
10150         (isClosed): Reimplemented.
10151         
10152 2003-03-02  Michael Koch  <konqueror@gmx.de>
10154         * configure.in: Added check for memory mapping of files.
10155         * configure: Regenerated.
10156         * config.h.in: Regenerated.
10158 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
10160         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
10161         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
10163 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
10165         * java/io/File.java (normalizePath): Remove trailing separator
10166         on Windows only if path is not of the form "x:\".
10168         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
10169         (java::io::File::attr): Change formatting a bit and use
10170         WIN32_EPOCH_MILLIS instead of magic numbers.
10171         (java::io::File::isAbsolute): Path must have at least 3 
10172         characters for a UNC network path.
10173         (java::io::File::init_native): Define.
10174         (java::io::File::performCreate): Likewise.
10175         (java::io::File::performSetReadOnly): Likewise.
10176         (java::io::File::performSetLastModified): Likewise.
10177         (java::io::File::performListRoots): Likewise.
10179 2003-03-01  Tom Tromey  <tromey@redhat.com>
10181         * java/lang/natObject.cc: Don't include assert.h.
10182         (heavy_lock_obj_finalization_proc): Use JvAssert.
10183         (remove_all_heavy): Likewise.
10184         (_Jv_MonitorEnter): Likewise.
10185         (_Jv_MonitorExit): Likewise.
10186         (wait): Likewise.
10188 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
10190         * java/io/File (getAbsolutePath): Prefix drive specifier on
10191         Windows for paths starting with a '\'.
10192         (toURL): Make URL more consistent with what Sun's JDK returns.
10194         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
10195         true only if the path is a UNC network path or it starts with a
10196         drive specifier.
10198         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
10199         Be prepared to handle either '/' or '\\' in the file path for
10200         Windows if using the "file" protocol.
10201         Canonicalise the file path if using a relative path in the given
10202         context and the "file" protocol.
10204 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
10206         * java/lang/natWin32Process.cc (startProcess): Double-quote each
10207         program array element passed to CreateProcess.
10209 2003-03-01  Tom Tromey  <tromey@redhat.com>
10211         * java/rmi/registry/RegistryHandler.java: Deprecate.
10213 2003-03-01  Tom Tromey  <tromey@redhat.com>
10215         * javax/accessibility/AccessibleEditableText.java,
10216         javax/accessibility/AccessibleHyperlink.java: New versions from
10217         Classpath.
10219         * gnu/java/locale/LocaleInformation_af_ZA.java,
10220         gnu/java/locale/LocaleInformation_ar_AE.java,
10221         gnu/java/locale/LocaleInformation_ar_BH.java,
10222         gnu/java/locale/LocaleInformation_ar_DZ.java,
10223         gnu/java/locale/LocaleInformation_ar_EG.java,
10224         gnu/java/locale/LocaleInformation_ar_IN.java,
10225         gnu/java/locale/LocaleInformation_ar_IQ.java,
10226         gnu/java/locale/LocaleInformation_ar_JO.java,
10227         gnu/java/locale/LocaleInformation_ar_KW.java,
10228         gnu/java/locale/LocaleInformation_ar_LB.java,
10229         gnu/java/locale/LocaleInformation_ar_LY.java,
10230         gnu/java/locale/LocaleInformation_ar_MA.java,
10231         gnu/java/locale/LocaleInformation_ar_OM.java,
10232         gnu/java/locale/LocaleInformation_ar_QA.java,
10233         gnu/java/locale/LocaleInformation_ar_SD.java,
10234         gnu/java/locale/LocaleInformation_ar_SY.java,
10235         gnu/java/locale/LocaleInformation_ar_TN.java,
10236         gnu/java/locale/LocaleInformation_ar_YE.java,
10237         gnu/java/locale/LocaleInformation_be_BY.java,
10238         gnu/java/locale/LocaleInformation_bn_IN.java,
10239         gnu/java/locale/LocaleInformation_br_FR.java,
10240         gnu/java/locale/LocaleInformation_bs_BA.java,
10241         gnu/java/locale/LocaleInformation_ca_ES.java,
10242         gnu/java/locale/LocaleInformation_cs_CZ.java,
10243         gnu/java/locale/LocaleInformation_cy_GB.java,
10244         gnu/java/locale/LocaleInformation_da_DK.java,
10245         gnu/java/locale/LocaleInformation_de_AT.java,
10246         gnu/java/locale/LocaleInformation_de_BE.java,
10247         gnu/java/locale/LocaleInformation_de_CH.java,
10248         gnu/java/locale/LocaleInformation_de_DE.java,
10249         gnu/java/locale/LocaleInformation_de_LU.java,
10250         gnu/java/locale/LocaleInformation_el_GR.java,
10251         gnu/java/locale/LocaleInformation_en_AU.java,
10252         gnu/java/locale/LocaleInformation_en_BW.java,
10253         gnu/java/locale/LocaleInformation_en_CA.java,
10254         gnu/java/locale/LocaleInformation_en_DK.java,
10255         gnu/java/locale/LocaleInformation_en_GB.java,
10256         gnu/java/locale/LocaleInformation_en_HK.java,
10257         gnu/java/locale/LocaleInformation_en_IE.java,
10258         gnu/java/locale/LocaleInformation_en_IN.java,
10259         gnu/java/locale/LocaleInformation_en_NZ.java,
10260         gnu/java/locale/LocaleInformation_en_PH.java,
10261         gnu/java/locale/LocaleInformation_en_SG.java,
10262         gnu/java/locale/LocaleInformation_en_US.java,
10263         gnu/java/locale/LocaleInformation_en_ZA.java,
10264         gnu/java/locale/LocaleInformation_en_ZW.java,
10265         gnu/java/locale/LocaleInformation_es_AR.java,
10266         gnu/java/locale/LocaleInformation_es_BO.java,
10267         gnu/java/locale/LocaleInformation_es_CL.java,
10268         gnu/java/locale/LocaleInformation_es_CO.java,
10269         gnu/java/locale/LocaleInformation_es_CR.java,
10270         gnu/java/locale/LocaleInformation_es_DO.java,
10271         gnu/java/locale/LocaleInformation_es_EC.java,
10272         gnu/java/locale/LocaleInformation_es_ES.java,
10273         gnu/java/locale/LocaleInformation_es_GT.java,
10274         gnu/java/locale/LocaleInformation_es_HN.java,
10275         gnu/java/locale/LocaleInformation_es_MX.java,
10276         gnu/java/locale/LocaleInformation_es_NI.java,
10277         gnu/java/locale/LocaleInformation_es_PA.java,
10278         gnu/java/locale/LocaleInformation_es_PE.java,
10279         gnu/java/locale/LocaleInformation_es_PR.java,
10280         gnu/java/locale/LocaleInformation_es_PY.java,
10281         gnu/java/locale/LocaleInformation_es_SV.java,
10282         gnu/java/locale/LocaleInformation_es_US.java,
10283         gnu/java/locale/LocaleInformation_es_UY.java,
10284         gnu/java/locale/LocaleInformation_es_VE.java,
10285         gnu/java/locale/LocaleInformation_et_EE.java,
10286         gnu/java/locale/LocaleInformation_eu_ES.java,
10287         gnu/java/locale/LocaleInformation_fa_IR.java,
10288         gnu/java/locale/LocaleInformation_fi_FI.java,
10289         gnu/java/locale/LocaleInformation_fo_FO.java,
10290         gnu/java/locale/LocaleInformation_fr_BE.java,
10291         gnu/java/locale/LocaleInformation_fr_CA.java,
10292         gnu/java/locale/LocaleInformation_fr_CH.java,
10293         gnu/java/locale/LocaleInformation_fr_FR.java,
10294         gnu/java/locale/LocaleInformation_fr_LU.java,
10295         gnu/java/locale/LocaleInformation_ga_IE.java,
10296         gnu/java/locale/LocaleInformation_gd_GB.java,
10297         gnu/java/locale/LocaleInformation_gl_ES.java,
10298         gnu/java/locale/LocaleInformation_gv_GB.java,
10299         gnu/java/locale/LocaleInformation_he_IL.java,
10300         gnu/java/locale/LocaleInformation_hi_IN.java,
10301         gnu/java/locale/LocaleInformation_hr_HR.java,
10302         gnu/java/locale/LocaleInformation_hu_HU.java,
10303         gnu/java/locale/LocaleInformation_id_ID.java,
10304         gnu/java/locale/LocaleInformation_it_CH.java,
10305         gnu/java/locale/LocaleInformation_it_IT.java,
10306         gnu/java/locale/LocaleInformation_iw_IL.java,
10307         gnu/java/locale/LocaleInformation_ja_JP.java,
10308         gnu/java/locale/LocaleInformation_ka_GE.java,
10309         gnu/java/locale/LocaleInformation_kl_GL.java,
10310         gnu/java/locale/LocaleInformation_ko_KR.java,
10311         gnu/java/locale/LocaleInformation_kw_GB.java,
10312         gnu/java/locale/LocaleInformation_lt_LT.java,
10313         gnu/java/locale/LocaleInformation_lv_LV.java,
10314         gnu/java/locale/LocaleInformation_mi_NZ.java,
10315         gnu/java/locale/LocaleInformation_mk_MK.java,
10316         gnu/java/locale/LocaleInformation_mr_IN.java,
10317         gnu/java/locale/LocaleInformation_mt_MT.java,
10318         gnu/java/locale/LocaleInformation_nl_BE.java,
10319         gnu/java/locale/LocaleInformation_nl_NL.java,
10320         gnu/java/locale/LocaleInformation_nn_NO.java,
10321         gnu/java/locale/LocaleInformation_no_NO.java,
10322         gnu/java/locale/LocaleInformation_oc_FR.java,
10323         gnu/java/locale/LocaleInformation_pl_PL.java,
10324         gnu/java/locale/LocaleInformation_pt_BR.java,
10325         gnu/java/locale/LocaleInformation_pt_PT.java,
10326         gnu/java/locale/LocaleInformation_ro_RO.java,
10327         gnu/java/locale/LocaleInformation_ru_RU.java,
10328         gnu/java/locale/LocaleInformation_ru_UA.java,
10329         gnu/java/locale/LocaleInformation_se_NO.java,
10330         gnu/java/locale/LocaleInformation_sk_SK.java,
10331         gnu/java/locale/LocaleInformation_sl_SI.java,
10332         gnu/java/locale/LocaleInformation_sq_AL.java,
10333         gnu/java/locale/LocaleInformation_sr_YU.java,
10334         gnu/java/locale/LocaleInformation_sv_FI.java,
10335         gnu/java/locale/LocaleInformation_sv_SE.java,
10336         gnu/java/locale/LocaleInformation_ta_IN.java,
10337         gnu/java/locale/LocaleInformation_te_IN.java,
10338         gnu/java/locale/LocaleInformation_tg_TJ.java,
10339         gnu/java/locale/LocaleInformation_tl_PH.java,
10340         gnu/java/locale/LocaleInformation_tr_TR.java,
10341         gnu/java/locale/LocaleInformation_uk_UA.java,
10342         gnu/java/locale/LocaleInformation_ur_PK.java,
10343         gnu/java/locale/LocaleInformation_uz_UZ.java,
10344         gnu/java/locale/LocaleInformation_vi_VN.java,
10345         gnu/java/locale/LocaleInformation_yi_US.java,
10346         gnu/java/locale/LocaleInformation_zh_CN.java,
10347         gnu/java/locale/LocaleInformation_zh_HK.java,
10348         gnu/java/locale/LocaleInformation_zh_SG.java,
10349         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
10350         info; from Classpath.
10352         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
10353         isPaintPending): New methods.
10354         * gnu/awt/xlib/XFramePeer.java (getState, setState,
10355         setMaximizedBounds): New methods.
10356         (beginLayout, endLayout, isPaintPending): Likewise.
10357         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
10358         (requestFocus): Likewise.
10359         (isObscured): Likewise.
10360         (canDetermineObscurity): Likewise.
10361         (coalescePaintEvent): Likewise.
10362         (updateCursorImmediately): Likewise.
10363         (createVolatileImage): Likewise.
10364         (handlesWheelScrolling): Likewise.
10365         (createBuffers): Likewise.
10366         (getBackBuffer): Likewise.
10367         (flip): Likewise.
10368         (destroyBuffers): Likewise.
10370         * Makefile.in: Rebuilt.
10371         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
10372         RobotPeer.java.
10373         * gnu/java/awt/GLightweightPeer.java,
10374         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
10375         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
10376         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
10377         gnu/java/awt/peer/gtk/GtkFramePeer.java,
10378         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
10379         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
10380         java/awt/dnd/peer/DragSourceContextPeer.java,
10381         java/awt/dnd/peer/DropTargetContextPeer.java,
10382         java/awt/peer/ButtonPeer.java,
10383         java/awt/peer/CheckboxMenuItemPeer.java,
10384         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
10385         java/awt/peer/ComponentPeer.java,
10386         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
10387         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
10388         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
10389         java/awt/peer/MenuBarPeer.java,
10390         java/awt/peer/MenuComponentPeer.java,
10391         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
10392         java/awt/peer/PopupMenuPeer.java,
10393         java/awt/peer/ScrollPanePeer.java,
10394         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
10395         java/awt/peer/TextComponentPeer.java,
10396         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
10397         New versions from Classpath.
10398         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
10399         * java/awt/peer/RobotPeer.java: Likewise.
10401 2003-03-01  Mark Wielaard  <mark@klomp.org>
10403         * java/io/ObjectInputStream.java: Reindent.
10404         * java/io/ObjectOutputStream.java: Likewise.
10406 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
10408         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
10409         jvalue for each argument. Simplify.
10410         * testsuite/libjava.jni/calls.c (docall),
10411         testsuite/libjava.jni/calls.java (longpb_f): check for argument
10412         misalignment.
10414 2003-02-28  Mark Wielaard  <mark@klomp.org>
10416         * Makefile.am (nat_source_files): Remove
10417         java/io/natObjectOutputStream.cc.
10418         * Makefile.in: Regenerated.
10419         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
10420         * java/io/ObjectStreamField.java (typename): New field.
10421         (ObjectStreamField(String, Class)): Initialize new field.
10422         (ObjectStreamField(String, String)): New Constructor.
10423         (getTypeCode): Use new field.
10424         (getTypeString): Use new field.
10425         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
10426         ObjectStreamExceptions. Remember and reset old BlockDataMode.
10427         Handle reading of Proxy classes. Never drain(), just write
10428         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
10429         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
10430         (flush): Call flush(), not just drain().
10431         (writeBoolean): Always use blockDataOutput.
10432         (writeByte): Likewise.
10433         (writeShort): Likewise.
10434         (writeChar): Likewise.
10435         (writeInt): Likewise.
10436         (writeLong): Likewise.
10437         (writeFloat): Likewise.
10438         (writeDouble): Likewise.
10439         (writeBytes): Likewise.
10440         (putfield (put(String,Object))): Throw IllegalArgumentException if
10441         field cannot be found.
10442         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
10443         (writeArraySizeAndElements): Write byte[] in one go.
10444         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
10445         set BlockDataMode to false.
10446         (annotateProxyClass): New method.
10447         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
10448         (getField): No longer native.
10449         (getMethod): Likewise.
10450         (setBlockDataMode): Always drain() on switch, return old mode.
10451         (static): New static code block.
10452         * java/io/natObjectOutputStream.cc: Removed.
10453         * java/io/ObjectInputStream.java (getField): No longer native.
10454         (getMethod): Likewise.
10455         (readObject): Remember and reset old BlockDataMode. Track whether
10456         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
10457         TC_LONGSTRING.
10458         (defaultReadObject): Set BlockDataMode to false during readFields.
10459         (resolveClass): Create new SecurityManager if necessary.
10460         Use Class.forName() if null ClassLoader found.
10461         (read(byte[],int,int): Copy remaining bytes to data before calling
10462         readNextBlock().
10463         (readFields): Set and reset BlockDataMode on call_read_method.
10464         Catch NoSuchFieldErrors.
10465         (setBlockDataMode): Return old mode.
10466         (static): New static code block.
10467         * java/io/natObjectInputStream.cc (getField): Removed.
10468         (getMethod): Likewise.
10470 2003-02-27  Michael Koch  <konqueror@gmx.de>
10472         * java/beans/Beans.java,
10473         java/beans/FeatureDescriptor.java
10474         java/beans/PropertyEditorManager.java:
10475         Reformated to GNU style.
10477 2003-02-25  Michael Koch  <konqueror@gmx.de>
10479         * gnu/java/nio/MappedByteFileBuffer.java,
10480         gnu/java/nio/natMappedByteFileBuffer.cc:
10481         New files, both are not compiled yet to get not noncompiling CVS.
10483 2003-02-24  Tom Tromey  <tromey@redhat.com>
10485         * java/util/prefs/AbstractPreferences.java (isUserNode):
10486         Implemented.
10488 2003-02-24  Tom Tromey  <tromey@redhat.com>
10490         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
10491         Deprecate.
10492         * java/lang/Thread.java (resume): Deprecate.
10493         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
10494         in @deprecated.
10496 2003-02-23  Tom Tromey  <tromey@redhat.com>
10498         * Makefile.in: Rebuilt.
10499         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
10501 2003-02-23  Tom Tromey  <tromey@redhat.com>
10503         * java/lang/natRuntime.cc (libraries_size, libraries_count,
10504         libraries): Removed.
10505         (add_library): Removed.
10506         (_load): Don't call add_library.
10507         (loadLibraryInternal): Likewise.
10508         (init): Likewise.
10509         (lookup_data): New struct.
10510         (find_symbol): New function.
10511         (_Jv_FindSymbolInExecutable): Use it.
10513 2002-02-21  Anthony Green  <green@redhat.com>
10515         * java/lang/Thread.java (Thread): New constructor taking stack
10516         size parameter (ignored for now).
10517         * Many methods: Merged GNU Classpath documentation.
10519         * java/lang/Class.java (finalize): throws a Throwable.
10521 2003-02-21  Mark Wielaard  <mark@klomp.org>
10523         * java/util/zip/ZipEntry.java (setComment): Don't check length when
10524         argument is null.
10526 2003-02-21  Mark Wielaard  <mark@klomp.org>
10528         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
10529         then 65535 chars throw IllegalArgumentException.
10531 2003-02-21  Mark Wielaard  <mark@klomp.org>
10533         * java/util/zip/ZipFile.java (finalize): New method.
10535 2003-02-21  Michael Koch  <konqueror@gmx.de>
10537         * gnu/java/nio/natSocketChannelImpl.cc:
10538         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
10539         <cato@df.lth.se> for pointing to it.
10541 2003-02-20  Raif S. Naffah <raif@fl.net.au>
10543         * java/math/BigInteger.java (euclidInv): Take result array as an
10544         argument.  Updated all callers.
10545         (modInverse): Removed unused variables.
10547 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
10549         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
10550         config.status.
10551         * configure: Rebuilt.
10553 2003-02-19  Michael Koch  <konqueror@gmx.de>
10555         * gnu/java/nio/natSocketChannelImpl.cc:
10556         Added support for platforms without network support.
10558 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10560         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
10561         after config.h.  Use <> for consistency.
10562         * java/lang/natObject.cc: Likewise.
10563         * java/lang/natRuntime.cc: Likewise.
10564         * java/lang/natSystem.cc: Likewise.
10565         * java/util/natTimeZone.cc: Likewise.
10566         * win32.cc: Likewise.
10567         * include/posix.h (fcntl, socket, connect, close, bind, accept,
10568         listen, write, read): Undef to avoid interference from OS macros.
10570 2003-02-19  Michael Koch  <konqueror@gmx.de>
10572         * gnu/java/nio/ByteBufferImpl.java
10573         (ByteBufferImpl): Renamed two variables.
10574         * gnu/java/nio/CharBufferImpl.java
10575         (CharBufferImpl): Renamed two variables.
10576         * gnu/java/nio/DoubleBufferImpl.java
10577         (DoubleBufferImpl): Renamed two variables.
10578         * gnu/java/nio/FloatBufferImpl.java
10579         (FloatBufferImpl): Renamed two variables.
10580         * gnu/java/nio/IntBufferImpl.java
10581         (IntBufferImpl): Renamed two variables.
10582         * gnu/java/nio/LongBufferImpl.java
10583         (LongBufferImpl): Renamed two variables.
10584         * gnu/java/nio/ShortBufferImpl.java
10585         (ShortBufferImpl): Renamed two variables.
10586         * java/nio/CharBuffer.java
10587         (wrap): Fixed arguments to CharBufferImpl constructor.
10588         (hasArray): Only not read-only buffers have backing arrays.
10589         (length): Documentation added.
10590         (subSequence): Documentation added.
10591         * java/nio/DoubleBuffer.java
10592         (hasArray): Only not read-only buffers have backing arrays.
10593         * java/nio/FloatBuffer.java
10594         (hasArray): Only not read-only buffers have backing arrays.
10595         * java/nio/IntBuffer.java
10596         (hasArray): Only not read-only buffers have backing arrays.
10597         * java/nio/LongBuffer.java
10598         (hasArray): Only not read-only buffers have backing arrays.
10599         * java/nio/ShortBuffer.java
10600         (hasArray): Only not read-only buffers have backing arrays.
10601         
10602 2003-02-19  Michael Koch  <konqueror@gmx.de>
10604         * javax/accessibility/AccessibleContext.java
10605         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
10607 2003-02-19  Michael Koch  <konqueror@gmx.de>
10609         * java/awt/ScrollPaneAdjustable.java: Reformated.
10611 2003-02-19  Michael Koch <konqueror@gmx.de>
10613         * gnu/awt/j2d/Graphics2DImpl.java
10614         (getFontRenderContext): New method.
10615         (drawGlyphVector): New method.
10616         * java/awt/Graphics2D.java
10617         (getFontRenderContext): New abstract method.
10618         (drawGlyphVector): New abstract method.
10619         
10620 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
10622         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
10623         if necessary.
10624         
10625         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
10626         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
10627         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
10628         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
10629         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
10630         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
10631         (setFont, gtkSetFont): add.
10632         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
10633         Propagate font to peer.  (setFont): add FIXME comment.
10635         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
10636         (gtkTextGetSize): fix height, width computation.
10638         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
10639         Make X font name a bit less bogus.
10641         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
10642         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
10644         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
10645         (processAdjustmentEvent): Adjust value.
10647         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
10648         logic errors.
10650         * java/awt/Component.java (setVisible, show, hide): Call show and
10651         hide methods in subclasses.
10652         (getPreferredSize): don't set prefSize before we have peer.
10654         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
10655         Guess (0,0) if we don't have peer.
10658 2003-02-18  Michael Koch  <konqueror@gmx.de>
10660         * java/nio/channels/FileChannel.java
10661         (toString): New implementation, added documentation.
10662         (map): Added exception documentation.
10663         (size): Added exception documentation.
10664         (write): New methods, documentation work.
10665         (read): New methods, documentation work.
10666         (implCloseChannel): Rewrote exception documentation.
10667         (force): Throws IOException, added documentation.
10668         (lock): New methods.
10669         (tryLock): New methods.
10670         (position): New methods.
10671         (transferTo): New method.
10672         (transferFrom): New method.
10673         (truncate): New method.
10674         * java/nio/channels/spi/SelectorProvider.java
10675         (provider): Implemented.
10676         * Makefile.am
10677         (ordinary_java_source_files): Added the following files:
10678         gnu/java/nio/DatagramChannelImpl.java
10679         gnu/java/nio/FileChannelImpl.java
10680         gnu/java/nio/PipeImpl.java
10681         gnu/java/nio/SelectionKeyImpl.java
10682         gnu/java/nio/SelectorImpl.java
10683         gnu/java/nio/SelectorProviderImpl.java
10684         gnu/java/nio/ServerSocketChannelImpl.java
10685         gnu/java/nio/SocketChannelImpl.java
10686         java/nio/channels/FileLock.java
10687         (nat_java_source_files): Added the following files:
10688         gnu/java/nio/natFileChannelImpl.cc
10689         gnu/java/nio/natSelectorImpl.cc
10690         gnu/java/nio/natSocketChannelImpl.cc
10691         * Makefile.in: Regenerated.
10693 2003-02-17  Tom Tromey  <tromey@redhat.com>
10695         * java/awt/image/ColorModel.java: Re-merged with Classpath.
10696         * java/awt/image/ImageFilter.java: Likewise.
10698 2003-02-17  Raif S. Naffah <raif@fl.net.au>
10700         * java/math/BigInteger.java (euclidInv): Return array of
10701         `BigInteger's.  Changed all callers.
10703 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
10705         * java/util/Properties.java (store): Move the code formerly in
10706         list(), into this method.
10707         (list (PrintStream)): Just call list (PrintWriter) with a 
10708         PrintWriter object constructed from the given PrintStream object.
10709         (list (PrintWriter)): Emulate the output of Properties.list()
10710         as found in JDK 1.3/1.4.
10712 2003-02-17  Michael Koch  <konqueror@gmx.de>
10714         * java/net/DatagramSocket.java
10715         (connect): Merged with classpath.
10716         (disconnect): Merged documentation with classpath.
10717         (receice): Merged documentation with classpath.
10718         (send): Merged documentation with classpath.
10719         
10720 2003-02-17  Michael Koch  <konqueror@gmx.de>
10722         * java/awt/dnd/DragSourceContext.java
10723         (addDragSourceListener): Added documentation.
10724         * java/awt/dnd/DragSourceDragEvent.java
10725         (serialVersionUID): New member variable.
10726         (getDropAction): Reformated.
10727         * java/awt/dnd/DragSourceDropEvent.java
10728         (serialVersionUID): New member variable.
10729         (dropSuccess): Renamed from success for serialization issues.
10730         * java/awt/dnd/DragSourceEvent.java
10731         (serialVersionUID): New member variable.
10732         * java/awt/dnd/DropTarget.java
10733         (serialVersionUID): New member variable.
10734         (DropTarget): Implemented, documentation reworked.
10735         (setComponent): Documentation added.
10736         (getComponent): Documentation added.
10737         (setDefaultActions): Documentation added.
10738         (getDefaultActions): Documentation added.
10739         (addDropTargetListener): Documentation added.
10740         * java/awt/dnd/DropTargetContext.java
10741         (DropTargetContext): Documentation added.
10742         (TransferableProxy.TransferableProxy): New method.
10743         (dropComplete): Fixed documentation.
10744         (getTransferable): Fixed documentation.
10745         (createTransferableProxy): Implemented.
10746         * java/awt/dnd/DropTargetDragEvent.java
10747         (DropTargetDragEvent): Documentation added.
10748         (serialVersionUID): New member variable.
10749         (DropTargetDragEvent): Throw exceptions, documentation added.
10750         (acceptDrag): Implemented.
10751         (getCurrentDataFlavors): Implemented.3yy
10752         (getCurrentDataFlavorsAsList): Implemented.
10753         (isDataFlavorSupported): Implemented.
10754         (rejectDrag): Implemented.
10755         * java/awt/dnd/DropTargetDropEvent.java
10756         (DropTargetDropEvent): Documentation added.
10757         (serialVersionUID): New member variable.
10758         (actions): Renamed from srcActions for serialization issues.
10759         (isLocalTx): Renamed from isLocalTx for serialization issues.
10760         (DropTargetDropEvent): New implementation, throw exceptions,
10761         documentation added.
10762         (getCurrentDataFlavors): Implemented.
10763         (getCurrentDataFlavorsAsList): Implemented.
10764         (isDataFlavorSupported): Implemented.
10765         (getSourceActions): Implemented.
10766         (getDropAction): Implemented.
10767         (getTransferable): Implemented.
10768         (acceptDrop): Implemented.
10769         (rejectDrop): Implemented.
10770         * java/awt/dnd/DropTargetListener.java
10771         (drop): Fixed documentation.
10772         * java/awt/dnd/MouseDragGestureRecognizer.java
10773         (MouseDragGestureRecognizer): Documentation added.
10775 2003-02-17  Michael Koch  <konqueror@gmx.de>
10777         * java/awt/font/FontRenderContext.java,
10778         java/awt/font/ShapeGraphicAttribute.java,
10779         java/awt/font/MultipleMaster.java,
10780         java/awt/font/TransformAttribute.java,
10781         java/awt/font/GlyphJustificationInfo.java,
10782         java/awt/font/LineBreakMeasurer.java,
10783         java/awt/font/TextMeasurer.java,
10784         java/awt/font/TextLayout.java,
10785         java/awt/font/LineMetrics.java,
10786         java/awt/font/TextAttribute.java,
10787         java/awt/font/GlyphMetrics.java,
10788         java/awt/font/OpenType.java,
10789         java/awt/font/GlyphVector.java,
10790         java/awt/font/GraphicAttribute.java,
10791         java/awt/font/ImageGraphicAttribute.java,
10792         java/awt/font/NumericShaper.java: New files.
10793         * Makefile.am
10794         (awt_java_source_files): Added the following files:
10795         java/awt/font/FontRenderContext.java
10796         java/awt/font/ShapeGraphicAttribute.java
10797         java/awt/font/MultipleMaster.java
10798         java/awt/font/TransformAttribute.java
10799         java/awt/font/GlyphJustificationInfo.java
10800         java/awt/font/LineBreakMeasurer.java
10801         java/awt/font/TextMeasurer.java
10802         java/awt/font/TextLayout.java
10803         java/awt/font/LineMetrics.java
10804         java/awt/font/TextAttribute.java
10805         java/awt/font/GlyphMetrics.java
10806         java/awt/font/OpenType.java
10807         java/awt/font/GlyphVector.java
10808         java/awt/font/GraphicAttribute.java
10809         java/awt/font/ImageGraphicAttribute.java
10810         java/awt/font/NumericShaper.java
10811         * Makefile.in: Regenerated.
10813 2003-02-17  Michael Koch  <konqueror@gmx.de>
10815         * java/awt/print/Paper.java
10816         (Paper): Implements Cloneable.
10817         * java/awt/print/PrinterJob.java
10818         (setJobName): Return value must be void.
10819         (print): Throws PrinterException.
10820         
10821 2003-02-16  Tom Tromey  <tromey@redhat.com>
10823         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
10824         variable.
10826 2003-02-15  Michael Koch  <konqueror@gmx.de>
10828         * java/awt/datatransfer/DataFlavor.java
10829         (isRepresentationClassByteBuffer): Removed try-catch block.
10830         (isRepresentationClassCharBuffer): Removed try-catch block.
10831         (isRepresentationClassReader): Removed try-catch block.
10833 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
10835         * java/nio/charset/Charset.java
10836         (isRegistered): Fixed method args and implementation.
10837         * java/nio/charset/CharsetEncoder.java
10838         (unmappableCharacterAction): New method.
10840 2003-02-15  Michael Koch  <konqueror@gmx.de>
10842         * java/awt/CheckboxMenuItem.java
10843         (CheckBoxMenuItem): Dont implement Serializable.
10844         (getListeners): New method,
10845         (getItemListeners): New method.
10846         * java/awt/Choice.java
10847         (getListeners): New method,
10848         (getItemListeners): New method.
10849         * java/awt/Container.java
10850         (getListeners): Added exception documentation.
10851         (setFocusTraversalKeys): Throw exceptions, added documentattion.
10852         (getFocusTraversalKeys): Added documentation.
10853         (areFocusTraversalKeysSet): Added documentation.
10854         (applyComponentOrientation): Added documentation.
10855         * java/awt/ContainerOrderFocusTraversalPolicy.java
10856         (implicitDownCycleTraversal): Renamed from downCycle for
10857         serialization.
10858         (ContainerOrderFocusTraversalPolicy): Added documentation.
10859         (accept): Reformated.
10860         * java/awt/Dialog.java
10861         (Dialog): Dont implement Serializable.
10862         (Dialog): Added documentation.
10863         * java/awt/Font.java
10864         (Font): Dont use absolute class name.
10865         * java/awt/Frame.java
10866         (Frame): Font implement Serializable.
10867         * java/awt/List.java
10868         (getListeners): New method,
10869         (getActionListeners): New method.       
10870         (getItemListeners): New method.
10871         * java/awt/Menu.java
10872         (countItems): New deprecated method.
10873         * java/awt/Scrollbar.java
10874         (getListeners): New method,
10875         (getAdjustmentListeners): New method,
10876         * java/awt/TextComponent.java
10877         (getListeners): New method,
10878         (getTextListeners): New method,
10879         * java/awt/TextField.java
10880         (getListeners): New method,
10881         (getActionListeners): New method.       
10882         * java/awt/Window.java
10883         (windowFocusListener): New member variable.
10884         (windowStateListener): New member variable.
10885         (getWindowFocusListeners): New method.
10886         (getWindowStateListeners): New method.
10887         (addWindowFocusListener): New method.
10888         (addWindowStateListener): New method.
10889         (removeWindowFocusListener): New method.
10890         (removeWindowStateListener): New method.
10891         * java/awt/datatransfer/DataFlavor.java
10892         (isRepresentationClassByteBuffer): New method.
10893         (isRepresentationClassCharBuffer): New method.
10894         (isRepresentationClassReader): New method.
10896 2003-02-14  Mark Wielaard  <mark@klomp.org>
10898         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
10899         zero when there is an exponent and the significant is zero.
10900         (divide): Always set scale to newScale even in special ZERO case.
10902 2003-02-14  Tom Tromey  <tromey@redhat.com>
10904         * java/lang/System.java (properties): Use Properties.clone.
10905         (setProperties): Likewise.
10907 2003-02-14  Michael Koch  <konqueror@gmx.de>
10909         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
10910         * gnu/java/nio/ServerSocketChannelImpl.java
10911         (SocketAccept): Removed.
10912         (accept): Commented out use of SocketAccept.
10914 2003-02-13  Tom Tromey  <tromey@redhat.com>
10916         * verify.cc (state::seen_subrs): New field.
10917         (state::state): Initialize it.
10918         (state::clean_subrs): New method.
10919         (state::~state): Call it.
10920         (state::copy): Copy subroutine list.
10921         (state::add_subr): New method.
10922         (state::merge): Only register a change if the current subroutine
10923         hasn't yet been noted.
10925 2003-02-13  Mark Wielaard  <mark@klomp.org>
10927         * java/io/InputStreamReader.java (getEncoding): Return null when
10928         closed.
10929         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
10931 2003-02-13  Mark Wielaard  <mark@klomp.org>
10933         * java/util/zip/InflaterInputStream.java (read): Return zero when len
10934         is zero.
10936 2003-02-13  Mark Wielaard  <mark@klomp.org>
10938         * java/io/BufferedOutputStream.java (write(int)): Only flush when
10939         next byte cannot be buffered.
10941 2003-02-13  Michael Koch  <konqueror@gmx.de>
10943         * java/awt/Label.java
10944         (Label): Don't implement Serializable directly.
10945         (addNotify): Fixed typo in documentation.
10946         * java/awt/List.java
10947         (List): Don't implement Serializable directly.
10948         * java/awt/PopupMenu.java
10949         (PopupMenu): Don't implement Serializable directly.
10950         * java/awt/ScrollPane.java
10951         (ScrollPane): Don't implement Serializable directly.
10952         * java/awt/Scrollbar.java
10953         (Scrollbar): Don't implement Serializable directly.
10954         * java/awt/TextArea.java
10955         (preferredSize): Fixed method arguments.
10956         * java/awt/TextField.java
10957         (TextField): Don't implement Serializable directly.
10958         * java/awt/color/ICC_ColorSpace.java
10959         (fromCIOXYZ): Documentation added.
10960         (getMinValue): Documentation added.
10961         (getMaxValue): Documentation added.
10962         * java/awt/datatransfer/DataFlavor.java
10963         (isMimeTypeEqual): May not be final.
10964         (clone): Throws CloneNotSupportedException.
10965         (getReaderForText): Don't throws UnsupportedEncodingException.
10967 2003-02-13  Michael Koch  <konqueror@gmx.de>
10969         * gnu/java/awt/peer/gtk/GdkGraphics.java
10970         (drawString): New stubbed method.
10971         * java/awt/Graphics.java
10972         (drawString): New method.
10974 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
10976         PR libgcj/9271:
10977         * java/security/SecureRandom.java (next): Avoid bias in results.
10979 2003-02-13  Michael  <konqueror@gmx.de>
10981         * gnu/java/nio/FileChannelImpl.java
10982         (lengthInternal): Must be native.
10983         (size): Check if channel is already closed.
10984         (implCloseChannel): Reformated.
10985         (read): w was unused, removed it.
10986         (read): Removed.
10987         (read): New method.
10988         (write): New method.
10989         (map): Check arguments.
10990         (force): Throws IOException, check if channel is closed.
10991         (transferTo): New method.
10992         (transferFrom): New method.
10993         (lock): New method.
10994         (tryLock): New method.
10995         (position): New method.
10996         (truncate): New method.
10997         (nio_mmap_file): Uncommented.
10998         (nio_munmap_file): Uncommented.
10999         (nio_msync): Uncommented.
11000         * gnu/java/nio/natFileChannelImpl.cc: New file.
11001         
11002 2003-02-13  Michael Koch  <konqueror@gmx.de>
11004         * java/nio/ByteBuffer.java
11005         (endian): New member variable.
11006         (get): New methods.
11007         (equals): New method.
11008         (compareTo): New method.
11009         (order): New methods.
11010         (compact): New method.
11011         (isDirect): New method.
11012         (slice): New method.
11013         (duplicate): New method.
11014         (asReadOnlyBuffer): New method.
11015         (asCharBuffer): New method.
11016         (asDoubleBuffer): New method.
11017         (asFloatBuffer): New method.
11018         (asIntBuffer): New method.
11019         (asLongBuffer): New method.
11020         (asShortBuffer): New method.
11021         (get*): New methods.
11022         (put*): New methods.
11023         (toString): New method.
11024         * java/nio/CharBuffer.java
11025         (CharBuffer): Implement Comparable instead of Cloneable.
11026         (get): May not be final.
11027         (put): May not be final.
11028         
11029 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
11031         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
11032         lastIndexOf( ) instead of indexOf( ) to find the colon before
11033         the line number, because Win32 file names might contain a 
11034         drive letter and a colon at the start of an absolute path.
11036 2003-02-13  Michael Koch  <konqueror@gmx.de>
11038         * gnu/java/nio/natSocketChannelImpl.cc
11039         (SocketConnect): This is not implemented yet.
11040         (SocketBind): This is not implemented yet.
11042 2003-02-13  Michael Koch  <konqueror@gmx.de>
11044         * gnu/java/nio/natByteBufferImpl.cc,
11045         gnu/java/nio/natCharBufferImpl.cc,
11046         gnu/java/nio/natDoubleBufferImpl.cc,
11047         gnu/java/nio/natFloatBufferImpl.cc,
11048         gnu/java/nio/natIntBufferImpl.cc,
11049         gnu/java/nio/natLongBufferImpl.cc,
11050         gnu/java/nio/natShortBufferImpl.cc:
11051         Added copyright and license.
11052         * java/nio/DoubleBuffer.java,
11053         java/nio/FloatBuffer.java,
11054         java/nio/IntBuffer.java,
11055         java/nio/LongBuffer.java,
11056         java/nio/ShortBuffer.java
11057         (array): Throw exceptions.
11058         (arrayOffset): Throw exceptions.
11060 2003-02-13  Michael Koch  <konqueror@gmx.de>
11062         * gnu/java/util/prefs/FileBasedFactory.java,
11063         gnu/java/util/prefs/MemmoryBasedFactory.java,
11064         gnu/java/util/prefs/MemoryBasedPreferences.java,
11065         gnu/java/util/prefs/NodeReader.java,
11066         gnu/java/util/prefs/NodeWriter.java,
11067         java/util/prefs/AbstractPreferences.java,
11068         java/util/prefs/BackingStoreException.java,
11069         java/util/prefs/InvalidPreferencesFormatException.java,
11070         java/util/prefs/NodeChangeEvent.java,
11071         java/util/prefs/NodeChangeListener.java,
11072         java/util/prefs/PreferenceChangeEvent.java,
11073         java/util/prefs/PreferenceChangeListener.java,
11074         java/util/prefs/Preferences.java,
11075         java/util/prefs/PreferencesFactory.java:
11076         New files, all merged from classpath.
11077         * Makefile.am
11078         (ordinary_java_source_files): Added the following files:
11079         gnu/java/util/prefs/FileBasedFactory.java,
11080         gnu/java/util/prefs/MemmoryBasedFactory.java,
11081         gnu/java/util/prefs/MemoryBasedPreferences.java,
11082         gnu/java/util/prefs/NodeReader.java,
11083         gnu/java/util/prefs/NodeWriter.java,
11084         (core_java_source_files): Added the following files:
11085         java/util/prefs/AbstractPreferences.java,
11086         java/util/prefs/BackingStoreException.java,
11087         java/util/prefs/InvalidPreferencesFormatException.java,
11088         java/util/prefs/NodeChangeEvent.java,
11089         java/util/prefs/NodeChangeListener.java,
11090         java/util/prefs/PreferenceChangeEvent.java,
11091         java/util/prefs/PreferenceChangeListener.java,
11092         java/util/prefs/Preferences.java,
11093         java/util/prefs/PreferencesFactory.java
11094         * Makefile.in: Regenerated.
11096 2003-02-13  Michael Koch  <konqueror@gmx.de>
11098         * java/net/NetPermission.java
11099         (NetPermission): Make doucmentation match the method declaration.
11100         * java/net/NetworkInterface.java
11101         (equals): Reformated for GNU coding style.
11102         * java/net/ServerSocket.java: Merged with classpath.
11103         * java/net/Socket.java: Partly merged with classpath (Added some @since).
11104         * java/net/SocketImpl.java
11105         (localPort): Merged with classpath (initialize with -1).
11106         * java/net/SocketPermission.java: Merged with classpath (reindented).
11107         * java/net/URLDecoder.java: Merged with classpath (reindented).
11109 2003-02-13  Michael Koch  <konqueror@gmx.de>
11111         * java/awt/GridBagConstraints.java
11112         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
11113         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
11114         * java/awt/KeyboardFocusManager.java
11115         (setGlobalCurrentFocusCycleRoot): Must be public.
11116         * java/awt/MenuComponent.java
11117         (MenuComponent): Must be public.
11118         * java/awt/Toolkit.java:
11119         Added some empty lines to make documentation more readable.
11120         (getFontPeer): Added @deprecated.
11121         (getColorModel): Added exception documentation.
11122         (getProperty): Fixed documentation.
11124 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
11126         * configure.host (alpha*-*): Default to -mieee.
11127         * configure.in (IEEESPEC): New.
11128         * libgcj.spec.in (jc1): Add IEEESPEC.
11129         * configure: Rebuild.
11131 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
11133         * include/win32.h: Include ws2tcpip.h instead of
11134         winsock.h to obtain definition of the socklen_t type.
11135         Remove IP_TOS definition - not needed with ws2tcpip.h
11136         (_Jv_connect): Correct slight formatting error.
11138 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
11140         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
11141         size of the arguments for a JNI function. For Win32,
11142         modify to search for all forms of possible exported
11143         names of an stdcall JNI function.
11144         (_Jv_JNIMethod::call): Modify to calculate the size
11145         of the arguments passed to a JNI function and pass
11146         it to _Jv_LookupJNIMethod.
11148 2003-02-12  Michael Koch  <konqueror@gmx.de>
11150         * java/nio/channels/Channels.java: New file.
11151         * Makefile.am
11152         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
11153         * Makefile.in: Regenerated.
11155 2003-02-12  Michael Koch  <konqueror@gmx.de>
11157         * java/nio/ByteBuffer.java
11158         (allocate): Implemented.
11159         (wrap): Implemented.
11160         * java/nio/CharBuffer.java:
11161         Some documentation added and reworked.
11162         (endian): Removed.
11163         (allocate): Implemented.
11164         (wrap): Implemented.
11165         (array): Throw exceptions.
11166         (arrayOffset): Throw exceptions.
11167         (toString): Implemented.
11168         (length): Implemented.
11169         (put): Implemented.
11170         (charAt): Implemented.
11172 2003-02-11  John Leuner  <jewel@debian.org>
11174         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
11175         reads from end of file.
11177 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
11179         * java/io/natFileDescriptorWin32.cc 
11180         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
11181         returns with Win32 error code ERROR_BROKEN_PIPE.
11183 2003-02-11  Michael Koch  <konqueror@gmx.de>
11185         * Makefile.in
11186         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
11188 2003-02-11  Michael Koch  <konqueror@gmx.de>
11190         * gnu/java/nio/ByteBufferImpl.java:
11191         Reformated and removed some code.
11192         (backing_buffer): Removed.      
11193         (array_offset): Removed.
11194         (ro): Renamed to readOnly.
11195         (ByteBufferImpl): Use parent constructor, initialize readOnly.
11196         * gnu/java/nio/CharBufferImpl.java:
11197         Reformated and removed some code.
11198         (array_offset): Removed.
11199         (ro): Renamed to readOnly.
11200         (CharBufferImpl): Use parent constructor, initialize readOnly.
11201         (inc_pos): Removed.
11202         (order): New method.
11203         * gnu/java/nio/DoubleBufferImpl.java:
11204         Reformated and removed some code.
11205         (array_offset): Removed.
11206         (ro): Renamed to readOnly.
11207         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
11208         (inc_pos): Removed.
11209         (order): New method.
11210         * gnu/java/nio/FloatBufferImpl.java:
11211         Reformated and removed some code.
11212         (array_offset): Removed.
11213         (ro): Renamed to readOnly.
11214         (FloatBufferImpl): Use parent constructor, initialize readOnly.
11215         (inc_pos): Removed.
11216         (order): New method.
11217         * gnu/java/nio/IntBufferImpl.java:
11218         Reformated and removed some code.
11219         (array_offset): Removed.
11220         (ro): Renamed to readOnly.
11221         (IntBufferImpl): Use parent constructor, initialize readOnly.
11222         (inc_pos): Removed.
11223         (order): New method.
11224         * gnu/java/nio/LongBufferImpl.java:
11225         Reformated and removed some code.
11226         (array_offset): Removed.
11227         (ro): Renamed to readOnly.
11228         (LongBufferImpl): Use parent constructor, initialize readOnly.
11229         (inc_pos): Removed.
11230         (order): New method.
11231         * gnu/java/nio/ShortBufferImpl.java:
11232         Reformated and removed some code.
11233         (array_offset): Removed.
11234         (ro): Renamed to readOnly.
11235         (ShortBufferImpl): Use parent constructor, initialize readOnly.
11236         (inc_pos): Removed.
11237         (order): New method.
11238         * Makefile.am
11239         (ordinary_java_source_files): Added the following files:
11240         gnu/java/nio/ByteBufferImpl.java
11241         gnu/java/nio/CharBufferImpl.java
11242         gnu/java/nio/DoubleBufferImpl.java
11243         gnu/java/nio/FloatBufferImpl.java
11244         gnu/java/nio/IntBufferImpl.java
11245         gnu/java/nio/LongBufferImpl.java
11246         gnu/java/nio/ShortBufferImpl.java
11247         java/nio/DoubleBuffer.java
11248         java/nio/FloatBuffer.java
11249         java/nio/IntBuffer.java
11250         java/nio/LongBuffer.java
11251         java/nio/ShortBuffer.java
11252         (nat_source_files): Added the following files:
11253         gnu/java/nio/natByteBufferImpl.cc
11254         gnu/java/nio/natCharBufferImpl.cc
11255         gnu/java/nio/natDoubleBufferImpl.cc
11256         gnu/java/nio/natFloatBufferImpl.cc
11257         gnu/java/nio/natIntBufferImpl.cc
11258         gnu/java/nio/natLongBufferImpl.cc
11259         gnu/java/nio/natShortBufferImpl.cc
11260         * Makefile.in: Regenerated.
11262 2003-02-11  Michael Koch  <konqueror@gmx.de>
11264         * gnu/java/nio/natCharBufferImpl.cc
11265         (nio_cast): Removed.
11266         (nio_put_*): Removed.
11267         (nio_get_*): Removed.
11268         * gnu/java/nio/natDoubleBufferImpl.cc
11269         (nio_cast): Removed.
11270         (nio_put_*): Removed.
11271         (nio_get_*): Removed.
11272         * gnu/java/nio/natFloatBufferImpl.cc
11273         (nio_cast): Removed.
11274         (nio_put_*): Removed.
11275         (nio_get_*): Removed.
11276         * gnu/java/nio/natIntBufferImpl.cc
11277         (nio_cast): Removed.
11278         (nio_put_*): Removed.
11279         (nio_get_*): Removed.
11280         * gnu/java/nio/natLongBufferImpl.cc
11281         (nio_cast): Removed.
11282         (nio_put_*): Removed.
11283         (nio_get_*): Removed.
11284         * gnu/java/nio/natShortBufferImpl.cc
11285         (nio_cast): Removed.
11286         (nio_put_*): Removed.
11287         (nio_get_*): Removed.
11288         * gnu/java/nio/SelectorProviderImpl.java
11289         (openDatagramChannel): Throws IOException.
11290         (openPipe): Throws IOException.
11291         (openSelector): Throws IOException.
11292         (openServerSocketChannel): Throws IOException.
11293         (openSocketChannel): Throws IOException.
11294         * gnu/java/nio/ServerSocketChannelImpl.java
11295         (ServerSocketChannelImpl): Throws IOException.
11296         (implCloseSelectableChannel): Throws IOException.
11297         (implConfigureBlocking): Throws IOException.
11298         * java/nio/ByteBuffer.java
11299         (readOnly): Removed.
11300         (hasArray): Use isReadOnly() instead of readOnly.
11301         (array): Use isReadOnly() instead of readOnly.
11302         (arrayOffset): Use isReadOnly() instead of readOnly.
11303         * java/nio/CharBuffer.java
11304         (CharBuffer): Implements Cloneable and CharSequence.
11306 2003-02-11  Michael Koch  <konqueror@gmx.de>
11308         * java/nio/DoubleBuffer.java
11309         (DoubleBuffer): Implements Comparable.
11310         (endian): Removed.
11311         (array_offset): New member variable.
11312         (DoubleBuffer): New constuctor.
11313         (get): May not be final.
11314         (put): May not be final.
11315         (arrayOffset): Implemented.
11316         (order): Made abstract.
11317         (order): Removed.
11318         (as*Buffer): Removed.
11319         (get*): Removed.
11320         (put*): Removed.
11321         * java/nio/FloatBuffer.java
11322         (FloatBuffer): Implements Comparable.
11323         (endian): Removed.
11324         (array_offset): New member variable.
11325         (FloatBuffer): New constuctor.
11326         (get): May not be final.
11327         (put): May not be final.
11328         (arrayOffset): Implemented.
11329         (order): Made abstract.
11330         (order): Removed.
11331         (as*Buffer): Removed.
11332         (get*): Removed.
11333         (put*): Removed.
11334         * java/nio/IntBuffer.java
11335         (IntBuffer): Implements Comparable.
11336         (endian): Removed.
11337         (array_offset): New member variable.
11338         (IntBuffer): New constuctor.
11339         (get): May not be final.
11340         (put): May not be final.
11341         (arrayOffset): Implemented.
11342         (order): Made abstract.
11343         (order): Removed.
11344         (as*Buffer): Removed.
11345         (get*): Removed.
11346         (put*): Removed.
11347         * java/nio/LongBuffer.java
11348         (LongBuffer): Implements Comparable.
11349         (endian): Removed.
11350         (array_offset): New member variable.
11351         (LongBuffer): New constuctor.
11352         (get): May not be final.
11353         (put): May not be final.
11354         (arrayOffset): Implemented.
11355         (order): Made abstract.
11356         (order): Removed.
11357         (as*Buffer): Removed.
11358         (get*): Removed.
11359         (put*): Removed.
11360         * java/nio/ShortBuffer.java
11361         (ShortBuffer): Implements Comparable.
11362         (endian): Removed.
11363         (array_offset): New member variable.
11364         (ShortBuffer): New constuctor.
11365         (get): May not be final.
11366         (put): May not be final.
11367         (arrayOffset): Implemented.
11368         (order): Made abstract.
11369         (order): Removed.
11370         (as*Buffer): Removed.
11371         (get*): Removed.
11372         (put*): Removed.
11374 2003-02-11   Michael Koch  <konqueror@gmx.de>
11376         * java/nio/channels/SelectionKey.java
11377         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
11378         values.
11380 2003-02-11  Michael Koch  <konqueror@gmx.de>
11382         * java/nio/channels/DatagramChannel.java
11383         (write): Throws IOException.
11384         (connect): Throws IOException.
11385         (disconnect): Throws IOException.
11386         (read): Throws IOException.
11387         (receive): Throws IOException.
11388         (send): Throws IOException.
11389         * java/nio/channels/Pipe.java
11390         (open): Throws IOException.
11391         * java/nio/channels/SelectableChannel.java
11392         (configureBlocking): Throws IOException.
11393         * java/nio/channels/ServerSocketChannel.java
11394         (accept): Throws IOException.
11395         * java/nio/channels/SocketChannel.java
11396         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
11397         GatheringByteChannel.
11398         (read): Throws IOException.
11399         (write): Throws IOException.
11400         (finishConnect): Throws IOException.
11401         * java/nio/channels/spi/AbstractInterruptibleChannel.java
11402         (end): Throws AsynchronousCloseException.
11403         * java/nio/channels/spi/AbstractSelectableChannel.java
11404         (configureBlocking): Throws IOException.
11405         (implCloseChannel): Throws IOException.
11406         (implCloseSelectableChannel): Throws IOException.
11407         (implConfigureBlocking): Throws IOException.
11408         * java/nio/channels/spi/SelectorProvider.java
11409         (openDatagramChannel): Throws IOException.
11410         (openPipe): Throws IOException.
11411         (openSelector): Throws IOException.
11412         (openServerSocketChannel): Throws IOException.
11413         (openSocketChannel): Throws IOException.
11415 2003-02-11  Michael Koch  <konqueror@gmx.de>
11417         * gnu/java/nio/FileLockImpl.java,
11418         java/nio/channels/FileLock.java: New files.
11420 2003-02-11  Michael Koch  <konqueror@gmx.de>
11422         * java/nio/charset/IllegalCharsetNameException.java
11423         (serialVersionUID): New member variable.
11424         (charsetName): New member variable.
11425         (IllegalCharsetException): New implementation.
11426         (getCharsetName): New implementation.
11427         * java/nio/charset/UnsupportedCharsetException.java
11428         (serialVersionUID): New member variable.
11429         (charsetName): New member variable.
11430         (UnsupportedCharsetException): New implementation.
11431         (getCharsetName): New implementation.
11433 2003-02-10  Tom Tromey  <tromey@redhat.com>
11435         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
11436         (ex): Renamed from sqlException.
11438 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
11440         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
11441         method used to ensure seeding has occurred and that a specific 
11442         seed can be set and used.
11444 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
11446         * java/lang/Win32Process.java (destroy): Declare as native.
11447         (hasExited): New native method.
11448         (exitValue): Define.
11449         (getErrorStream): Likewise.
11450         (getInputStream): Likewise.
11451         (getOutputStream): Likewise.
11452         (waitFor): Declare as native.
11453         (startProcess): New native method.
11454         (cleanup): Likewise.
11455         (ConcreteProcess): Define.
11456         (outputStream, inputStream, errorStream): New members.
11457         (procHandle, exitCode): Likewise.
11459         * java/lang/natWin32Process.cc
11460         (java::lang::ConcreteProcess::cleanup): Define.
11461         (java::lang::ConcreteProcess::destroy): Likewise.
11462         (java::lang::ConcreteProcess::hasExited): Likewise.
11463         (java::lang::ConcreteProcess::waitFor): Likewise.
11464         (new_string): Likewise.
11465         (java::lang::ConcreteProcess::startProcess): Likewise.
11467 2003-02-10  Raif S. Naffah <raif@fl.net.au>
11469         * java/math/BigInteger.java:
11470         Updated notice to include years 2002 and 3.
11471         Added 2 private (int) arrays with values from the HAC (Handbook of
11472         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
11473         and t[] that contains nbr. of tests --used in isProbablePrime().
11475         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
11477         * java/math/BigInteger.java (make(int[],int), add(int,int),
11478         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
11479         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
11480         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
11481         make(long).
11483         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
11484         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
11485         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
11486         BIs and returns void.
11487         (modInverse(BI)): Use new signatures of euclidInv().
11489         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
11490         static small primes instead of remainder().
11491         Use pre-computed max nbr of trials based on bitlength of BI to test.
11492         Use pre-computed small primes for the trial tests instead of random
11493         numbers.
11495         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
11496         not used.
11498         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
11499         invoacation of MPN.chars_per_word().  not used.
11501         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
11502         local var and used where needed.
11504         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
11505         Combined declaration with initialisation of locals.
11506         Removed unused var.
11508         * java/math/BigInteger.java: Style changes
11509         (pow(int)): Removed 'else' keyword.
11510         (toString(int)): idem.
11511         (doubleValue()): idem.
11512         (bitLength()): idem.
11513         (equals(Object)): Use static methods name in same class w/o prepending
11514         class name.
11515         (doubleValue()): idem.
11516         (setNegative(BI)): idem.
11517         (negate()): idem.
11518         (and(BI,int)): idem.
11519         (and(BI)): idem.
11520         (gcd(BI)): idem.
11521         (byteArrayToIntArray()): Removed casting to (int). this is
11522         std. behaviour.
11523         (canonicalize()): idem.
11524         (alloc(int)): Always instantiate a new BI.
11526 2003-02-10  Tom Tromey  <tromey@redhat.com>
11528         * java/sql/Timestamp.java (compareTo(Object)): New method.
11529         (compareTo(Timestamp)): Likewise.
11530         (serialVersionUID): Updated.
11532 2003-02-07  Mark Wielaard  <mark@klomp.org>
11534         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
11535         when verify is true.
11536         (JarFile(File, boolean)): Likewise.
11537         (manifestRead): Set manifestRead field correctly.
11539 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
11541         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
11542         tests; see patch #1016 on Savannah.
11544 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
11546         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
11547         (toString): do not return Strings starting with . and - erroneously.
11548         Improves Mauve results to 12 of 600 instead of 16 of 338 on
11549         DiagBigDecimal.
11551 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
11553         * java/beans/PropertyDescriptor.java
11554         (PropertyDescriptor(String, Class)): Sanity check getter and setter
11555         methods.
11556         (PropertyDescriptor(String, Class, String, String)): Likewise.
11557         (PropertyDescriptor(String, Method, Method): Factor out getter and
11558         setter method sanity checks into new method.
11559         (findMethods): Don't do parameter sanity checking of get method here.
11560         (checkMethods): New method.
11562 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
11564         * java/beans/PropertyDescriptor.java: Reformat.
11566 2003-02-04  Tom Tromey  <tromey@redhat.com>
11568         * java/io/PipedOutputStream.java (flush): Declare as throwing
11569         IOException.
11570         (close): Likewise.
11571         * java/io/PipedWriter.java (close): Declare as throwing
11572         IOException.
11573         * java/io/StringWriter.java (close): Declare as throwing
11574         IOException.
11576 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
11578         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
11579         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
11580         could also have been exported as "JNI_OnLoad@8" (MinGW) or
11581         "_JNI_OnLoad@8" (MSVC).
11583 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
11585         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
11586         convention on Win32 to invoke native JNI methods.
11588 2003-02-03  Andrew Haley  <aph@redhat.com>
11590         * configure.host (x86_64): Enable interpreter.
11592 2003-02-03  Andrew Haley  <aph@redhat.com>
11594         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
11595         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
11596         * configure.in (BACKTRACESPEC): New.
11597         * configure: Regenerate.
11599 2003-02-02  Tom Tromey  <tromey@redhat.com>
11601         * configure: Rebuilt.
11602         * configure.in (TOOLKIT) [xlib]: Set correctly.
11604         * Makefile.in: Rebuilt.
11605         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
11606         libstdc++.
11608 2003-01-31  Mark WIelaard  <mark@klomp.org>
11610         * Makefile.in: Rebuilt.
11611         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
11613 2003-01-31  Tom Tromey  <tromey@redhat.com>
11615         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
11616         cast to element type.
11617         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
11618         (_Jv_JNI_GetObjectArrayElement): Likewise.
11620         * Makefile.in: Rebuilt.
11621         * Makefile.am (cond_x_ltlibrary): Renamed library to
11622         lib-gnu-awt-xlib.la.
11623         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
11624         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
11625         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
11626         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
11627         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
11628         (lib_gnu_awt_xlib_la_LINK): Likewise.
11629         (install-exec-hook): Removed.
11630         (lib-gnu-awt-xlib.la): Renamed.
11632 2003-01-31  Tom Tromey  <tromey@redhat.com>
11634         * aclocal.m4, configure, include/config.h.in: Rebuilt.
11635         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
11636         aclocal.m4 and lost in some merge.
11638         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
11639         Don't try to find graphics configuration.
11640         * java/awt/Toolkit.java (default_toolkit_name): Use new
11641         Configuration entry.
11642         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
11643         New global.
11644         * configure: Rebuilt.
11645         * configure.in (TOOLKIT): New subst.
11646         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
11647         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
11648         directory.  Make output directories for .c files.
11649         * Makefile.in: Rebuilt.
11650         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
11651         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
11652         (all_java_source_files): Added new sources.
11653         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
11654         (gtk_c_files): New macro.
11655         (gtk_c_source_files): New macro.
11656         (cond_gtk_ltlibrary): New macro.
11657         ($(gtk_c_files)): New target.
11658         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
11659         (gtk_awt_peer_sources): New macro.
11660         (gtk_c_headers): New macro.
11661         ($(gtk_c_headers)): New target.
11662         (ACLOCAL_AMFLAGS): New macro.
11663         * gtk.m4, glib.m4, libart.m4: New files.
11664         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
11665         gnu/java/awt/peer/gtk/GdkGraphics.java,
11666         gnu/java/awt/peer/gtk/GtkArg.java,
11667         gnu/java/awt/peer/gtk/GtkArgList.java,
11668         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
11669         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
11670         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
11671         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
11672         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
11673         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
11674         gnu/java/awt/peer/gtk/GtkClipboard.java,
11675         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11676         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
11677         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
11678         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
11679         gnu/java/awt/peer/gtk/GtkFontPeer.java,
11680         gnu/java/awt/peer/gtk/GtkFramePeer.java,
11681         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
11682         gnu/java/awt/peer/gtk/GtkImage.java,
11683         gnu/java/awt/peer/gtk/GtkImagePainter.java,
11684         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
11685         gnu/java/awt/peer/gtk/GtkListPeer.java,
11686         gnu/java/awt/peer/gtk/GtkMainThread.java,
11687         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
11688         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
11689         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
11690         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
11691         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
11692         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
11693         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
11694         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
11695         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
11696         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11697         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
11698         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
11699         gnu/java/awt/peer/gtk/GtkToolkit.java,
11700         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11701         gnu/java/awt/peer/gtk/TestAWT.java,
11702         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
11703         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
11704         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
11705         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
11706         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
11707         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
11708         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
11709         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
11710         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
11711         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
11712         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
11713         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
11714         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
11715         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
11716         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
11717         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
11718         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
11719         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
11720         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
11721         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
11722         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
11723         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
11724         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
11725         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
11726         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
11727         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
11728         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
11729         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
11730         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
11731         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
11732         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
11733         jni/classpath/native_state.c, jni/classpath/native_state.h,
11734         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
11736 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
11738         * java/util/Properties.java (load): Ignore backslash before EOF.
11740 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
11742         * java/lang/natClass.cc (initializeClass): Check tables when
11743         (state == JV_STATE_IN_PROGRESS).
11744         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
11745         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
11746         interpreted classes.
11747         (linkClass0): Use _Jv_WaitForState.
11749 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
11751         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
11752         object when finished.
11754 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
11756         * libjava/configure.host: Disable can_unwind_signal on darwin.
11758 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
11760         Fixes PR java/9254:
11761         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
11762         additionally containing id of the owner thread as well as
11763         the number of nested times the thread has acquired the mutex.
11764         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
11765         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
11766         (_Jv_MutexUnlock): Check if really the owner thread, reset
11767         owner thread id to 0 before leaving, if leaving for the last
11768         time.
11769         (_Jv_MutexLock): Set owner thread id in the mutex and increment
11770         refcount.
11771         (_Jv_ThreadYield): Yield using a call to Sleep(0).
11772         * win32-threads.cc (_Jv_CondWait): Check if really owner of
11773         the passed mutex.
11774         Pass handle of the broadcast event, instead of a pointer to it
11775         in Win32 ResetEvent( ) call.
11776         Remove incorrect return values.
11777         (_Jv_CondDestroy): Close both event handles and delete
11778         critical section.
11779         (_Jv_CondNotify): Check if really the owner thread.
11780         (_Jv_CondNotifyAll): Check if really the owner thread.
11781         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
11782         (really_start): Use SetEvent( ) to signal daemon_cond.
11783         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
11784         WaitForSingleObject( ) instead to wait for daemon_cond to be
11785         signalled.
11787 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
11789         * configure.in: Specifically define HAVE_BACKTRACE if building
11790         for MinGW.
11791         * include/win32.h: Remove HAVE_BACKTRACE definition.
11792         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
11793         * configure: Rebuilt.
11795 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
11797         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
11798         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
11799         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
11800         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
11801         * Makefile.in, configure: Rebuilt.
11803 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
11805         Fixes PR java/9253:
11806         * java/io/natFileWin32.cc (performList): Append only "*.*"
11807         if the canonical file path already has a "\" at the end.
11809 2003-01-24  Tom Tromey  <tromey@redhat.com>
11811         * defineclass.cc (handleMethodsEnd): Precompute code for static
11812         method.
11813         (handleCodeAttribute): Likewise.
11814         * resolve.cc (ncode): Use run_class for unsynchronized static
11815         methods.
11816         * include/java-interp.h (class _Jv_InterpMethod): Declare
11817         run_class.
11818         * interpret.cc (run_synch_class): Initialize class.
11819         (run) [insn_invokestatic]: Don't initialize class.
11820         [insn_anewarray]: Likewise.
11821         [insn_multianewarray]: Likewise.
11822         (run_class): New function.
11824 2003-01-24  Tom Tromey  <tromey@redhat.com>
11826         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
11827         comment.
11829 2003-01-22  Andrew Haley  <aph@redhat.com>
11831         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
11832         * configure.host (CHECKREFSPEC): Define for x86_64.
11834 2003-01-21  Tom Tromey  <tromey@redhat.com>
11836         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
11837         search at 2, not 3.
11839 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
11841         * java/io/natFileWin32.cc (isAbsolute): Check path length before
11842         looking at any characters.
11843         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
11844         be used.
11845         (isAbsolute): Check path's length as well.
11847 2003-01-17  Mark Wielaard  <mark@klomp.org>
11849         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
11850         (nat_source_files): Add natVMObjectStreamClass.cc.
11851         * Makefile.in: Regenerated.
11852         * gcj/javaprims.h (namespace java): Regenerated.
11853         * java/io/ObjectStreamClass.java (getClassUID): Call
11854         VMObjectStreamClass.hasClassInitializer().
11855         (hasClassInitializer): Removed.
11856         * java/io/VMObjectStreamClass.java: New class.
11857         * java/io/natVMObjectStreamClass.cc: New file.
11858         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
11860 2003-01-16  Mark Wielaard  <mark@klomp.org>
11862         * java/net/SocketImpl.java (toString): Don't explicitly call
11863         toString() on possible null address.
11865 2003-01-16  Michael Koch  <konqueror@gmx.de>
11867         * java/net/MulticastSocket.java
11868         (setInterface): Reindented.
11870 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
11872         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
11873         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
11874         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
11875         translateY arguments.  Implement.
11876         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
11877         down translation arguments.
11878         (drawPolyline, drawPolygon): Fix incorrect tests.
11879         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
11880         translateX and translateY arguments.
11882 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
11884         * Makefile.in: Rebuilt.
11885         * Makefile.am (xlib_includes): New macro.
11886         (INCLUDES): Use it.
11888 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
11890         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
11891         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
11892         16-bit display mode.
11894 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
11896         * java/awt/CardLayout.java (show): Rewrote.
11897         (gotoComponent): Removed `target' argument.  Simplified code.
11898         Don't pre-compute `choice' unless `what' is FIRST or LAST.
11899         Changed all callers.
11900         (NONE): Removed.
11901         
11902 2003-01-14  Michael Koch  <konqueror@gmx.de>
11904         * java/net/InetSocketAddress.java
11905         (serialVersionUID): New member variable.
11906         * java/net/NetPermission.java
11907         (NetPermission): Dont implement java.io.Serialization directly.
11908         * java/net/SocketAddress.java:
11909         (serialVersionUID): Documentation added.
11910         
11911 2003-01-14  Michael Koch  <konqueror@gmx.de>
11913         * java/awt/Label.java
11914         (Label): Implements javax.accessibility.Accessible;
11915         * java/awt/List.java
11916         (List): Implements javax.accessibility.Accessible;
11917         * java/awt/ScrollPane.java
11918         (ScrollPane): Implements javax.accessibility.Accessible;
11919         * java/awt/Scrollbar.java
11920         (Scrollbar): Implements javax.accessibility.Accessible;
11921         * java/awt/TextComponent.java
11922         (setCaretPosition): Throw exception, documentation added.
11923         * java/awt/Toolkit.java:
11924         Added some newlines in method documentations.
11925         (createButton): Exception documentation added.
11926         (createTextField): Exception documentation added.
11927         (createLabel): Exception documentation added.
11928         (createList): Exception documentation added.
11929         (createCheckbox): Exception documentation added.
11930         (createScrollbar): Exception documentation added.
11931         (createScrollPane): Exception documentation added.
11932         (createTextArea): Exception documentation added.
11933         (createChoice): Exception documentation added.
11934         (createFrame): Exception documentation added.
11935         (createWindow): Exception documentation added.
11936         (createDialog): Exception documentation added.
11937         (createMenuBar): Exception documentation added.
11938         (createMenu): Exception documentation added.
11939         (createMenuItem): Exception documentation added.
11940         (createFileDialog): Exception documentation added.
11941         (createCheckboxMenuItem): Exception documentation added.
11942         (loadSystemColors): Exception documentation added.
11943         (setDynamicLayout): Exception documentation added.
11944         (isDynamicLayoutSet): Exception documentation added.
11945         (isDynamicLayoutActive): Exception documentation added.
11946         (getScreenSize): Exception documentation added.
11947         (getScreenResolution): Exception documentation added.
11948         (getScreenInsets): Exception documentation added.
11949         (getColorModel): Exception documentation added.
11950         (getSystemClipboard): Exception documentation added.
11951         (getSystemSelection): Exception documentation added.
11952         (getMenuShortcutKeyMask): Exception documentation added.
11953         (getSystemEventQueue): Exception documentation added.
11954         * java/awt/Window.java:
11955         Reindented some code.
11956         (Window): Centralized implementation, documentation added.
11957         (finalize): Documentation added.
11958         (hide): Fixed typo in comment.
11959         (getWindowListeners): Documentation added.
11960         * java/awt/color/ColorSpace.java
11961         (toRGB): Documentation added.
11962         * java/awt/color/ICC_ColorSpace.java
11963         (ICC_ColorSpace): Documentation added.
11964         (toRGB): Throw exception, documentation added.
11965         (fromRGB): Throw exception, documentation added.
11966         (toCIEXYZ): Documentation added.
11967         (fromCIEXYZ): Documentation added.
11968         (getMinValue): Documentation added.
11969         (getMaxValue): Documentation added.
11970         * java/awt/geom/Dimension2D.java
11971         (clone): Documentation added.
11972         * java/awt/geom/GeneralPath.java
11973         (clone): Documentation added.
11974         * java/awt/geom/Line2D.java
11975         (clone): Documentation added.
11976         * java/awt/geom/QuadCurve2D.java
11977         (clone): Documentation added.
11978         * java/awt/image/ColorModel.java
11979         (ColorModel): Throw exception, documentation added.
11980         * java/awt/image/ImageFilter.java
11981         (clone): Doesnt throw CloneNotSupportedException.
11983 2003-01-14  Andrew Haley  <aph@redhat.com>
11985         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
11986         in a try block.
11988 2003-01-10  Andrew Haley  <aph@redhat.com>
11990         * include/dwarf2-signal.h: Remove x86_64.
11991         * configure.host (x86_64 DIVIDESPEC): Remove.
11992         * include/x86_64-signal.h: New file.
11993         * configure.in: Regenerate.
11995 2003-01-10  Michael Koch  <konqueror@gmx.de>
11997         * java/net/DatagramSocket.java
11998         (ch): Description added.
11999         (remotePort): Initialize with -1.
12000         (connect): Doesnt throws SocketException.
12001         * java/net/MulticastSocket.java
12002         (setInterface): Merge with Classpath.
12003         * java/net/ServerSocket.java
12004         (closed): New member variable.
12005         (bind): Check if socket is closed.
12006         (close): Close an associated channel too, set new value to closed.
12007         (isBound): Reindented.
12008         (isClosed): Implemented.
12009         * java/net/Socket.java
12010         (closed): New member variable.
12011         (bind): Check if socket is closed.
12012         (connect): Check if socket is closed.
12013         (close): Close an associated channel too, set new value to closed.
12014         (isClosed): Implemented.
12016 2003-01-10  Michael Koch  <konqueror@gmx.de>
12018         * java/awt/DisplayMode.java
12019         (equals): Fixed argument type and implementation.
12021 2003-01-07  Tom Tromey  <tromey@redhat.com>
12023         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
12024         JV_HASH_SYNCHRONIZATION.
12025         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
12026         JV_HASH_SYNCHRONIZATION.
12028 2003-01-07  Michael Koch  <konqueror@gmx.de>
12030         * java/net/DatagramSocket.java:
12031         Added classpath license info.
12032         (DatagramSocket): Merged description with classpath.
12033         (close): Merged description with classpath.
12034         (getChannel): Merged description with classpath.
12035         (getInetAddress): Merged description with classpath.
12036         (getPort): Merged description with classpath.
12037         (getLocalAddress): Merged description with classpath.
12038         (getLocalPort): Merged description with classpath.
12039         (getSoTimeout): Merged description with classpath.
12040         (setSoTimeout): Merged description with classpath.
12041         (getSendBufferSize): Merged description with classpath.
12042         (setSendBufferSize): Merged description with classpath.
12043         (getReceiveBufferSize): Merged description with classpath.
12044         (setReceiveBufferSize): Merged description with classpath.
12045         
12046 2003-01-04  Tom Tromey  <tromey@redhat.com>
12048         * java/awt/List.java: Merged with Classpath.
12050 2003-01-03  Mark Wielaard  <mark@klomp.org>
12052         * java/io/FileDescriptor.java (position): New private field.
12053         * java/io/natFileDescriptorPosix.cc (write): Up position.
12054         (setLength): Use and set position.
12055         (seek): Set position.
12056         (getFilePointer): Return position.
12057         (read): Up position.
12059 2003-01-03  Mark Wielaard  <mark@klomp.org>
12061         Merge with Classpath:
12062         * java/io/ObjectStreamClass.java (lookup): Split method and call
12063         lookupForClassObject().
12064         (lookupForClassObject): New method.
12065         (isProxyClass): New field.
12066         (setClass): Set isProxyClass, add object to classLookupTable, set
12067         superClass and calculateOffsets.
12068         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
12069         and not a proxy class.
12070         (setFields): Set accessible true for serialPersistentFields.
12071         (getClassUID): Same for suid. And check if suid is of type long.
12072         (hasClassInitializer): Don't throw NoSuchMethodError.
12074 2003-01-03  Mark Wielaard  <mark@klomp.org>
12076         * java/io/FileInputStream.java (finalize): Don't explicitly
12077         finalize FileDescriptor.
12079 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
12081         * configure.host (sparc*-*): Enable bytecode interpreter.
12083 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
12085         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
12086         Don't throw RemoteException.
12087         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
12088         throw RemoteException.
12090 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
12092         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
12093         proxyHost): New static fields.
12094         (<clinit>): Initialize new fields.
12095         (connect): Use proxy if necessary.
12096         (usingProxy): Implement.
12098 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
12100         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
12101         (TreeIterator.remove): Prefer IllegalStateException over
12102         ConcurrentModificationException, to match Sun.
12104 2002-12-22  Anthony Green  <green@redhat.com>
12106         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
12108 2003-01-02  Mark Wielaard  <mark@klomp.org>
12110         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
12111         public.
12112         (HTTP_USE_PROXY): Add field.
12113         (getResponseVals): Only set responseCode when not yet explicitly
12114         set by subclass.
12116 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
12117             Mark Wielaard  <mark@klomp.org>
12119         * java/util/zip/ZipFile.java (entries): Now HashMap.
12120         (readLeShort(DataInput, byte[])): Read from given byte array.
12121         (readLeInt(DataInput, byte[]): Likewise.
12122         (readLeShort(byte[] b, int off)): New method.
12123         (readLeInt(byte[] b, int off)): Likewise.
12124         (readEntries): Use byte arrays to read info in bigger chunks.
12125         (getEntries): Return HashMap.
12126         (getEntry): Use HashMap.
12127         (locBuf): New private field.
12128         (checkLocalHeader): Use locBuf to read info in one chunk.
12129         (getInputStream): Use entries HashMap, wrap PartialInputStream
12130         in BufferedInputStream.
12131         (ZipEntryEnumeration): Use HashMap and Interator.
12133 2003-01-02  Mark Wielaard  <mark@klomp.org>
12134             Jeroen Frijters  <jeroen@sumatra.nl>
12136         * java/net/URLClassLoader.java (Resource.getCodeSource):
12137         Fix check certs == null.
12138         (getCanonicalFileURL): Removed method.
12139         (JarURLLoader): Don't call removed method.
12140         (FileURLLoader): Likewise.
12141         (FileURLLoader.getResource): Don't canonicalize file name.
12143 2003-01-01  Tom Tromey  <tromey@redhat.com>
12145         * Makefile.in: Rebuilt.
12146         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
12147         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
12148         java/awt/BufferCapabilities.java, java/awt/Button.java,
12149         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
12150         java/awt/Container.java, java/awt/Cursor.java,
12151         java/awt/EventQueue.java, java/awt/FileDialog.java,
12152         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
12153         java/awt/MenuBar.java, java/awt/MenuComponent.java,
12154         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
12155         java/awt/Scrollbar.java, java/awt/TextArea.java,
12156         java/awt/TextField.java, java/awt/color/CMMException.java,
12157         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
12158         java/awt/color/ProfileDataException.java,
12159         java/awt/datatransfer/Clipboard.java,
12160         java/awt/datatransfer/DataFlavor.java,
12161         java/awt/datatransfer/FlavorMap.java,
12162         java/awt/datatransfer/SystemFlavorMap.java,
12163         java/awt/dnd/DragGestureEvent.java,
12164         java/awt/dnd/DragGestureRecognizer.java,
12165         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
12166         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
12167         java/awt/im/InputMethodHighlight.java,
12168         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
12169         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
12171         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
12172         `op' to BufferedImageOp.
12174 2002-12-31  Tom Tromey  <tromey@redhat.com>
12176         Fix for PR libgcj/7416:
12177         * javax/naming/InitialContext.java (init): Use
12178         gnu.classpath.home.url.
12179         * java/security/Security.java: Use new properties.
12180         (loadProviders): Accept base url; use it.
12181         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
12182         gnu.classpath.home.url.
12183         (gnu.classpath.home.url): Define.
12184         (gnu.classpath.vm.shortname): Likewise.
12186 2002-12-31  Tom Tromey  <tromey@redhat.com>
12187             Ranjit Mathew  <rmathew@hotmail.com>
12189         Fix for PR libgcj/8997:
12190         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
12191         Include platform.h.
12192         * include/posix.h (_Jv_platform_usleep): New function.
12193         * include/win32.h (_Jv_platform_usleep): New function.
12195 2002-12-29  Tom Tromey  <tromey@redhat.com>
12197         * gcj/javaprims.h: Updated.
12198         * scripts/classes.pl (scan): Removed stray semicolon.
12200 2002-12-30  Mark Wielaard  <mark@klomp.org>
12202         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
12203         if zero or smaller.
12205 2002-12-30  Mark Wielaard  <mark@klomp.org>
12207         * java/util/Properties (formatForOutput): Don't fall through to
12208         default case after escaping character.
12210 2002-12-30  Mark Wielaard  <mark@klomp.org>
12212         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
12213         against count.
12215 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
12217         * boehm.cc: Remove stray semicolon.
12218         * interpret.cc: Likewise.
12219         * prims.cc: Likewise.
12220         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
12221         earlier to ensure default arguments are processed.
12222         * gcj/array.h (JArray): Add forward declaration.
12223         (elements): Likewise.
12224         * gcj/javaprim.h: Remove stray semicolons.
12225         * include/bohm-gc.h: Likewise.
12226         * include/jni.h: Likewise.
12227         * include/jvm.h: Likewise.
12228         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
12229         
12230 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
12232         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
12233         of catch_type.
12234         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
12235         idt tables after initializing superclass.
12236         * java/lang/natClassLoader.cc (uaddr): New typedef.
12237         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
12238         if they are constant pool indicies.  Don't link vtable, otable yet.
12240 2002-12-21  Anthony Green  <green@redhat.com>
12242         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
12243         libraries.
12244         * Makefile.in: Rebuilt.
12246 2002-12-19  Anthony Green  <green@redhat.com>
12248         * Makefile.am (ordinary_java_source_files): Add
12249         org/xml/sax/helpers/NewInstance.java.
12250         * Makefile.in: Rebuilt.
12251         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
12252         org/xml/sax/helpers/package.html: New files.
12253         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
12254         http://www.saxproject.org.
12256 2002-12-19  Andrew Haley  <aph@redhat.com>
12258         * java/util/natResourceBundle.cc: Include
12259         ArrayIndexOutOfBoundsException.h.
12260         (getCallingClassLoader): Don't put upper bound on stack search.
12261         Catch ArrayIndexOutOfBoundsException.
12263 2002-12-19  Tom Tromey  <tromey@redhat.com>
12265         * libtool-version: Increased `current'.
12267 2002-12-19  Tom Tromey  <tromey@redhat.com>
12269         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
12270         comment.
12271         * java/lang/ClassLoader.java (defineClass): Use chained
12272         exception when rethrowing.
12273         * defineclass.cc (handleClassBegin): Mark class as interpreted.
12274         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
12275         constants.
12276         * resolve.cc (_Jv_PrepareMissingMethods): New function.
12277         (_Jv_PrepareClass): Use it.
12278         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
12279         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
12280         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
12281         (Class): _Jv_PrepareMissingMethods now friend.
12282         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
12283         Record `NULL' for system class loader.
12284         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
12285         system class loader.
12286         (_Jv_FindClassInCache): Likewise.
12287         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
12288         (_Jv_FindClass): Special case system class loader.
12289         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
12290         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
12291         vtable slots.
12292         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
12293         in a final class.
12294         (_getDeclaredMethod): Don't return synthetic methods.
12295         (getDeclaredMethods): Likewise.
12296         (_getMethod): Likewise.
12297         (_getMethods): Likewise.
12299 2002-12-18  Raif Naffah  <raif@fl.net.au>
12301         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
12302         canonical form after divide().
12303         (modInverse): Likewise.
12305 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
12306             Mark Wielaard  <mark@klomp.org>
12308         * java/security/SecurityRandom (digest): Removed field.
12309         (SecureRandom): Check all providers for case-insensitive SecureRandom
12310         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
12311         if necessary.
12312         (getInstance(String,Provider,boolean): New method.
12313         (getInstance(String)): Use new method.
12314         (getInstance(String,String)): Likewise.
12315         (getInstance(String,Provider)): Likewise.
12317 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
12319         * java/security/Security.java (loadProviders): Increment i only once.
12321 2002-12-12  Mark Wielaard  <mark@klomp.org>
12323         * java/lang/ClassLoader.java (resolveClass0): Transform
12324         ClassNotFoundException to NoClassDefFoundError. Transform all other
12325         throwables to LinkageError.
12327 2002-12-11  Tom Tromey  <tromey@redhat.com>
12329         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
12331         * java/lang/ClassLoader.java (loadedClasses): New field.
12332         (defineClass): Fixed indentation.  Put new class in
12333         loadedClasses.
12334         (findLoadedClass): Implement here.
12335         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
12337 2002-12-10  Tom Tromey  <tromey@redhat.com>
12339         * Makefile.in: Rebuilt.
12340         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
12341         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
12342         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
12343         * java/lang/natClassLoader.cc
12344         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
12346 2002-12-10  Mark Wielaard  <mark@klomp.org>
12347             Tom Tromey  <tromey@redhat.com>
12349         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
12350         (JarURLLoader): Use it.
12351         (FileURLLoader): Likewise.
12352         (JarURLResource.getURL): Use chained exception.
12353         (FileResource.getURL): Likewise.
12354         (FileURLLoader.getResource): Use canonical file name.
12355         (addURL): Indentation fix.
12357 2002-12-10  Tom Tromey  <tromey@redhat.com>
12359         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
12360         From Laurent Bardet <l.bardet@magic.fr>.
12362 2002-12-09  Tom Tromey  <tromey@redhat.com>
12364         * include/win32.h (_Jv_platform_solib_prefix): New define.
12365         (_Jv_platform_solib_suffix): Likewise.
12366         * include/posix.h (_Jv_platform_solib_prefix): New define.
12367         (_Jv_platform_solib_suffix): Likewise.
12368         * java/lang/natRuntime.cc: Include StackTrace.h.
12369         (_load): Use findLibrary and new platform defines.
12370         (nativeGetLibname): Use new platform defines.
12372         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
12373         `t' won't be null.
12375 2002-12-08  Mark Wielaard  <mark@klomp.org>
12377         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
12378         cache remote jar files.
12379         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
12380         add File.separator to URL when it is a directory.
12381         * java/lang/ClassLoader.java: Add Classpath javadoc.
12382         (parent): final.
12383         (getParent): Add (disabled) security check.
12384         (findLibrary): New default method.
12385         * java/net/JarURLConnection.java (getManifest): Implement.
12386         (getInputStream): Only create InputStream when entry exists.
12387         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
12388         when they exist.
12389         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
12391 2002-12-08  Mark Wielaard  <mark@klomp.org>
12393         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
12394         (lastDefaultLocale): New field.
12395         (getBundle): When Locale.getDefault != lastDefaultLocale reset
12396         resourceBundleCache.
12398 2002-12-06  Mark Wielaard  <mark@klomp.org>
12400         * java/net/InetAddress.java (toString): Use hostname when not null,
12401         don't do an explicit reverse getHostName() lookup.
12402         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
12403         NullPointerException.
12405 2002-12-06  Tom Tromey  <tromey@redhat.com>
12407         * include/java-interp.h (class _Jv_InterpMethod): Added
12408         JV_MARKOBJ_DECL.
12409         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
12410         mark `prepared' field of interpreted method.
12411         * interpret.cc (compile): Use _Jv_AllocBytes.
12413 2002-12-05  Andrew Haley  <aph@redhat.com>
12415         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
12416         #ifdef (HAVE_BACKTRACE) around the whole function body.
12418 2002-12-05  Tom Tromey  <tromey@redhat.com>
12420         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
12421         * resolve.cc: Don't include AbstractMethodError.h.
12422         (_Jv_abstractMethodError): Removed.
12423         * defineclass.cc (handleMethodsBegin): Initialize method index to
12424         -1.
12425         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
12426         method index for "new" final method.
12427         (_Jv_SetVTableEntries): Compare index against -1 instead of using
12428         isVirtualMethod.  Added `flags' argument.
12429         (_Jv_MakeVTable): Throw exception for abstract method in concrete
12430         class.
12432 2002-12-04  Tom Tromey  <tromey@redhat.com>
12434         * java/net/SocketPermission.java (hashCode): Rewrote.
12436 2002-12-04  Tom Tromey  <tromey@redhat.com>
12438         * Makefile.in: Rebuilt.
12439         * Makefile.am (nat_source_files): Added natVMSecurityManager,
12440         natResourceBundle.
12441         * java/util/ResourceBundle.java (Security): Removed.
12442         (getCallingClassLoader): Now native.
12443         * java/util/natResourceBundle.cc: New file.
12444         * java/lang/natVMSecurityManager.cc: New file.
12445         * java/lang/VMSecurityManager.java (getClassContext): Now native.
12447 2002-12-03  Mark Wielaard  <mark@klomp.org>
12449         * java/util/jar/JarFile.java (manifest): Not final.
12450         (manifestRead): New field.
12451         (JarFile): Don't read Manifest in constructor.
12452         (getManifest): New method.
12453         (JarEnumeration.nextElement): Use new method.
12454         (getEntry): Likewise.
12455         * java/util/zip/ZipFile.java (name): Final.
12456         (raf): Likewsie.
12457         (entries): Change type to Hashtable.
12458         (closed): New field.
12459         (ZipFile): Don't read enties in constructor.
12460         (readEntries): Use Hashtable.
12461         (close): Set new close flag and set entries to null inside
12462         synchronized block.
12463         (entries): Contruct enumeration using new getEntries() method and
12464         entries Hashtable.
12465         (getEntryIndex): Removed.
12466         (getEntries): New method.
12467         (getEntry): Use new getEntries() method and entries Hastable.
12468         (getInputStream): Likewise.
12469         (size): Return getEntries().size().
12470         (ZipEntryEnumeration): Wrap entries Hashtable elements.
12471         * java/util/zip/ZipEntry.java (cal): Don't initialize.
12472         (time): Removed
12473         (dostime): New field.
12474         (zipFileIndex): Removed.
12475         (ZipEntry(ZipEntry)): Copy dostime.
12476         (setDOSTime): Now final and doesn't convert dos time.
12477         (getDOSTime): Likewise.
12478         (setTime): Convert dos time.
12479         (getTime): Likewise.
12480         (getCalendar): New method.
12481         (setExtra): Use setTime().
12482         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
12484 2002-12-03  Tom Tromey  <tromey@redhat.com>
12486         * java/lang/Character.java (forDigit): Formatting fix.
12488 2002-12-03  Raif Naffah  <raif@fl.net.au>
12490         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
12491         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
12492         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
12494 2002-12-03  Andrew Haley  <aph@redhat.com>
12496         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
12497         _Jv_PushClass.
12498         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
12499         (_Jv_PopClass): New.
12500         (_Jv_PushClass): New.
12501         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
12502         discover the ClassLoader of our caller.
12503         (_Jv_CheckArrayStore): Don't check that a class is assignment
12504         compatible with Object.
12505         * java/lang/natVMTHrowable.cc: Delete.
12506         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
12507         java.lang.VMThrowable.
12508         (StackTrace(), StackTrace(int)): New constructors.
12509         (classAt, methodAt, update, methodAtAddress): New methods.
12510         (map): New field.
12511         * java/lang/VMThrowable.java: Use StackTrace instead of
12512         natVMTHrowable.
12513         * java/lang/Class.h (getClassLoaderInternal): New.
12514         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
12515         Be friendly with gnu::gcj::runtime::StackTrace.
12516         (Object.chain): New field.
12517         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
12518         gnu::gcj::runtime::StackTrace.
12519         * gnu/gcj/runtime/natStackTrace.cc: New file.
12520         * gnu/gcj/runtime/MethodRef.java: New file.
12521         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
12522         instead of getClassLoader().
12523         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
12524         java::lang::VMThrowable.
12525         * Makefile.am (core_java_source_files): Add MethodRef.java,
12526         StackTrace.java.
12527         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
12528         * Makefile.in: Rebuild.
12530 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
12532         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
12533         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
12534         yes also for sh-linux* and sh[34]*-linux*.
12535         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
12536         set SIGNAL_HANDLER to use DWARF2 exception for them.
12537         * configure: Regenerate.
12539 2002-12-02  Tom Tromey  <tromey@redhat.com>
12541         * jni.cc: Added `name' argument.
12542         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
12543         `const char *' argument.
12544         (class _Jv_JNIEnv) [DefineClass]: Likewise.
12546 2002-12-01  Tom Tromey  <tromey@redhat.com>
12548         Bug compatibility, for PR libgcj/8738:
12549         * java/io/CharArrayWriter.java (close): Do nothing.
12550         (flush): Likewise.
12551         (reset): Don't touch `closed'.
12552         (write(int)): Don't throw IOException.
12553         (write(char[],int,int)): Likewise.
12554         (write(String,int,int)): Likewise.
12555         (closed): Removed.
12557 2002-12-01  Mark Wielaard  <mark@klomp.org>
12559         * java/lang/SecurityManager.java: Remerge comments, indenting and
12560         checkXXX methods with Classpath.
12562 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
12564         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
12565         getNormalizedComponents): Fix calculation which was using one too
12566         many bits in the unnormalized format.
12568 2002-11-29  Gary Benson  <gbenson@redhat.com>
12570         For PR libgcj/8759:
12571         * java/beans/Introspector.java (flushCaches): New method.
12572         (flushFromCaches): Likewise.
12574 2002-11-29  Michael Koch <konqueror@gmx.de>
12576         * java/nio/channels/DatagramChannel.java
12577         (open): Added exception documentation.
12578         (write): Added exception documentation.
12579         (connect): Added exception documentation.
12580         (disconnect): Added exception documentation.
12581         (isConnected): Added exception documentation.
12582         (read): Added exception documentation.
12583         (receive): Added exception documentation.
12584         (send): Added exception documentation.
12585         (validOps): Added exception documentation.
12586         * java/nio/channels/SocketChannel.java
12587         (open): Added exception documentation.
12588         (read): Added exception documentation.
12589         (write): Added exception documentation.
12590         (connect): Added exception documentation.
12591         (finishConnect): Added exception documentation.
12593 2002-11-29  Michael Koch <konqueror@gmx.de>
12595         * gnu/java/nio/DatagramChannelImpl:
12596         (fd): New member variable to store file descriptor of socket.
12597         * gnu/java/nio/SelectionKeyImpl.java:
12598         (ops): Removed.
12599         (readyOps): New member variable.
12600         (interestOps): New member variable.
12601         (readyOps): Implemented.
12602         (readyOps): New method to set member variable readyOps.
12603         (interestOps): Replaced ops by interestOps.
12604         * gnu/java/nio/SelectorImpl.java:
12605         (SelectorImpl): Initialize key sets.
12606         (select): Call select with -1 instead of Long.MAX_VALUE).
12607         (java_do_select): Make it a native method.
12608         (getFDsAsArray): New helper method.
12609         (select): Remove canceled keys, give only interested file discriptors
12610         to java_do_select, set ready ops.
12611         (add): No need to initialize keys set here.
12612         (add_selected): No need to initialize selected set here.
12613         (deregisterCanceledKeys): New helper method.
12614         (register): Set interest ops, set attachments, added handling of datagram
12615         channels.
12616         * gnu/java/nio/ServerSocketChannelImpl:
12617         (SocketAccept): Renamed from NioSocketAccept.
12618         (implConfigureBlocking): Implemented.
12619         (accept): Use SocketAccept instead of NioSocketAccept.
12620         * gnu/java/nio/SocketChannelImpl:
12621         Reactivate native methods.
12623 2002-11-29  Michael Koch <konqueror@gmx.de>
12625         * gnu/java/nio/natByteBufferImpl.cc,
12626         gnu/java/nio/natCharBufferImpl.cc,
12627         gnu/java/nio/natDoubleBufferImpl.cc,
12628         gnu/java/nio/natFloatBufferImpl.cc,
12629         gnu/java/nio/natIntBufferImpl.cc,
12630         gnu/java/nio/natLongBufferImpl.cc,
12631         gnu/java/nio/natSelectorImpl.cc,
12632         gnu/java/nio/natServerSocketChannelImpl.cc,
12633         gnu/java/nio/natShortBufferImpl.cc,
12634         gnu/java/nio/natSocketChannelImpl.cc:
12635         New files that implement native functionalities.
12637 2002-11-29  Michael Koch <konqueror@gmx.de>
12639         * gnu/java/nio/ByteBufferImpl.java
12640         (ByteBufferImpl): Moved position() after limit.
12641         (nio_*): Use native implementation.
12642         * gnu/java/nio/CharBufferImpl.java:
12643         Reformated.
12644         (endian): New member variable string endianess of buffer.
12645         (CharBufferImpl): Moved position() after limit.
12646         (nio_*): Use native implementation.
12647         (subSequence): Implemented.
12648         * gnu/java/nio/DoubleBufferImpl.java
12649         (DoubleBufferImpl): Moved position() after limit.
12650         (nio_*): Use native implementation.
12651         * gnu/java/nio/FloatBufferImpl.java
12652         Reformated.
12653         (FloatBufferImpl): Moved position() after limit.
12654         (nio_*): Use native implementation.
12655         * gnu/java/nio/IntBufferImpl.java
12656         Added needed imports, Reformated.
12657         (IntBufferImpl): Moved position() after limit.
12658         (nio_*): Use native implementation.
12659         * gnu/java/nio/LongBufferImpl.java
12660         Reformated.
12661         (LongBufferImpl): Moved position() after limit.
12662         (nio_*): Use native implementation.
12663         * gnu/java/nio/ShortBufferImpl.java
12664         Reformated.
12665         (ShortBufferImpl): Moved position() after limit.
12666         (nio_*): Use native implementation.
12668 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
12670         * java/util/Locale.java (toString): Improve efficiency if country
12671         and variant are both empty.
12673 2002-11-26  Tom Tromey  <tromey@redhat.com>
12675         * verify.cc (pop_init_ref): New method.
12676         (verify_instructions_0) [op_iaload, op_laload, op_faload,
12677         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
12678         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
12679         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
12680         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
12681         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
12682         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
12683         let `this' argument be uninitialized.  Don't let `null' be passed
12684         as `this' to construtor.
12686 2002-11-26  Mark Wielaard  <mark@klomp.org>
12688         * javax/transaction/HeuristicCommitException.java: Classpath merge.
12689         * javax/transaction/HeuristicMixedException.java: Likewise.
12690         * javax/transaction/HeuristicRollbackException.java: Likewise.
12691         * javax/transaction/InvalidTransactionException.java: Likewise.
12692         * javax/transaction/NotSupportedException.java: Likewise.
12693         * javax/transaction/RollbackException.java: Likewise.
12694         * javax/transaction/Status.java: Likewise.
12695         * javax/transaction/Synchronization.java: Likewise.
12696         * javax/transaction/SystemException.java: Likewise.
12697         * javax/transaction/Transaction.java: Likewise.
12698         * javax/transaction/TransactionManager.java: Likewise.
12699         * javax/transaction/TransactionRequiredException.java: Likewise.
12700         * javax/transaction/TransactionRolledbackException.java: Likewise.
12701         * javax/transaction/UserTransaction.java: Likewise.
12702         * javax/transaction/xa/XAException.java: Likewise.
12703         * javax/transaction/xa/XAResource.java: Likewise.
12704         * javax/transaction/xa/Xid.java: Likewise.
12706 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
12708         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
12709         define.
12710         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
12711         * include/posix.h (socklen_t): Define if not already defined.
12713 2002-11-25  Tom Tromey  <tromey@redhat.com>
12715         * verify.cc (type::compatible): Backed out broken change.
12717         * verify.cc (type::compatible): Check initialization status
12718         first.
12719         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
12720         Don't use NULLCHECK.
12722 2002-11-23  H.J. Lu <hjl@gnu.org>
12724         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
12725         Include ../config/accross.m4.
12726         * aclocal.m4; Rebuild.
12727         * configure: Likewise.
12729 2002-11-23  Mark Wielaard  <mark@klomp.org>
12731         * javax/naming/AuthenticationException.java: Update copyright header.
12732         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
12733         * javax/naming/Binding.java: Likewise.
12734         * javax/naming/CannotProceedException.java: Likewise.
12735         * javax/naming/CommunicationException.java: Likewise.
12736         * javax/naming/CompositeName.java: Likewise.
12737         * javax/naming/CompoundName.java: Likewise.
12738         * javax/naming/ConfigurationException.java: Likewise.
12739         * javax/naming/Context.java: Likewise.
12740         * javax/naming/ContextNotEmptyException.java: Likewise.
12741         * javax/naming/InitialContext.java: Likewise.
12742         * javax/naming/InsufficientResourcesException.java: Likewise.
12743         * javax/naming/InterruptedNamingException.java: Likewise.
12744         * javax/naming/LimitExceededException.java: Likewise.
12745         * javax/naming/LinkException.java: Likewise.
12746         * javax/naming/LinkLoopException.java: Likewise.
12747         * javax/naming/LinkRef.java: Likewise.
12748         * javax/naming/MalformedLinkException.java: Likewise.
12749         * javax/naming/NameAlreadyBoundException.java: Likewise.
12750         * javax/naming/NameClassPair.java: Likewise.
12751         * javax/naming/NameNotFoundException.java: Likewise.
12752         * javax/naming/NameParser.java: Likewise.
12753         * javax/naming/NamingEnumeration.java: Likewise.
12754         * javax/naming/NamingSecurityException.java: Likewise.
12755         * javax/naming/NoInitialContextException.java: Likewise.
12756         * javax/naming/NoPermissionException.java: Likewise.
12757         * javax/naming/NotContextException.java: Likewise.
12758         * javax/naming/OperationNotSupportedException.java: Likewise.
12759         * javax/naming/PartialResultException.java: Likewise.
12760         * javax/naming/Reference.java: Likewise.
12761         * javax/naming/Referenceable.java: Likewise.
12762         * javax/naming/ReferralException.java: Likewise.
12763         * javax/naming/ServiceUnavailableException.java: Likewise.
12764         * javax/naming/SizeLimitExceededException.java: Likewise.
12765         * javax/naming/TimeLimitExceededException.java: Likewise.
12766         * javax/naming/directory/Attribute.java: Likewise.
12767         * javax/naming/directory/AttributeInUseException.java: Likewise.
12768         * javax/naming/directory/AttributeModificationException.java: Likewise.
12769         * javax/naming/directory/Attributes.java: Likewise.
12770         * javax/naming/directory/BasicAttribute.java: Likewise.
12771         * javax/naming/directory/BasicAttributes.java: Likewise.
12772         * javax/naming/directory/DirContext.java: Likewise.
12773         * javax/naming/directory/InitialDirContext.java: Likewise.
12774         * javax/naming/directory/InvalidAttributeIdentifierException.java:
12775         Likewise.
12776         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
12777         * javax/naming/directory/InvalidAttributesException.java: Likewise.
12778         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
12779         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
12780         * javax/naming/directory/ModificationItem.java: Likewise.
12781         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
12782         * javax/naming/directory/SchemaViolationException.java: Likewise.
12783         * javax/naming/directory/SearchControls.java: Likewise.
12784         * javax/naming/directory/SearchResult.java: Likewise.
12785         * javax/naming/event/EventContext.java: Likewise.
12786         * javax/naming/event/EventDirContext.java: Likewise.
12787         * javax/naming/event/NamespaceChangeListener.java: Likewise.
12788         * javax/naming/event/NamingEvent.java: Likewise.
12789         * javax/naming/event/NamingExceptionEvent.java: Likewise.
12790         * javax/naming/event/NamingListener.java: Likewise.
12791         * javax/naming/event/ObjectChangeListener.java: Likewise.
12792         * javax/naming/ldap/Control.java: Likewise.
12793         * javax/naming/ldap/ControlFactory.java: Likewise.
12794         * javax/naming/ldap/ExtendedRequest.java: Likewise.
12795         * javax/naming/ldap/ExtendedResponse.java: Likewise.
12796         * javax/naming/ldap/HasControls.java: Likewise.
12797         * javax/naming/ldap/InitialLdapContext.java: Likewise.
12798         * javax/naming/ldap/LdapContext.java: Likewise.
12799         * javax/naming/ldap/LdapReferralException.java: Likewise.
12800         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
12801         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
12802         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
12803         * javax/naming/spi/DirObjectFactory.java: Likewise.
12804         * javax/naming/spi/DirStateFactory.java: Likewise.
12805         * javax/naming/spi/DirectoryManager.java: Likewise.
12806         * javax/naming/spi/InitialContextFactory.java: Likewise.
12807         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
12808         * javax/naming/spi/NamingManager.java: Likewise.
12809         * javax/naming/spi/ObjectFactory.java: Likewise.
12810         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
12811         * javax/naming/spi/ResolveResult.java: Likewise.
12812         * javax/naming/spi/Resolver.java: Likewise.
12813         * javax/naming/spi/StateFactory.java: Likewise.
12815         * javax/naming/spi/NamingManager.java (ofb): Package private.
12817 2002-11-21  Mark Wielaard  <mark@klomp.org>
12819         * java/net/URL.java: Merge with Classpath (partly).
12820         * java/net/URLStreamHandler: Merge with Classpath.
12822 2002-11-22  Michael Koch <konqueror@gmx.de>
12824         * include/posix.h:
12825         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
12826         * include/win32.h:
12827         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
12828         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
12830 2002-11-21  Michael Koch <konqueror@gmx.de>
12832         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
12833         Only the new network functions should be in it.
12835 2002-11-21  Michael Koch <konqueror@gmx.de>
12837         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
12838         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
12840 2002-11-21  Michael Koch <konqueror@gmx.de>
12842         * java/nio/channels/AsynchronousCloseException.java,
12843         java/nio/channels/CancelledKeyException.java,
12844         java/nio/channels/ClosedByInterruptException.java,
12845         java/nio/channels/ConnectionPendingException.java,
12846         java/nio/channels/FileLockInterruptionException.java,
12847         java/nio/channels/IllegalSelectorException.java,
12848         java/nio/channels/NoConnectionPendingException.java,
12849         java/nio/channels/NonReadableChannelException.java,
12850         java/nio/channels/NonWritableChannelException.java,
12851         java/nio/channels/NotYetBoundException.java,
12852         java/nio/channels/NotYetConnectedException.java,
12853         java/nio/channels/OverlappingFileLockException.java,
12854         java/nio/channels/UnresolvedAddressException.java,
12855         java/nio/channels/UnsupportedAddressTypeException.java:
12856         New files.
12857         * Makefile.am (ordinary_java_source_files): Added new files.
12858         * Makefile.in: Regenerated.
12860 2002-11-21  Michael Koch <konqueror@gmx.de>
12862         * include/posix.h
12863         (_Jv_socket): New method.
12864         (_Jv_connect): New method.
12865         (_Jv_close): New method.
12866         (_Jv_platform_close_on_exec): Prefixed system function with "::".
12867         (_Jv_bind): New method.
12868         (_Jv_listen): New method.
12869         (_Jv_write): New method.
12870         (_Jv_read): New method.
12871         * include/win32.h
12872         (_Jv_socket): New method.
12873         (_Jv_connect): New method.
12874         (_Jv_close): New method.
12875         (_Jv_bind): New method.
12876         (_Jv_listen): New method.
12877         (_Jv_write): New method.
12878         (_Jv_read): New method.
12879         * java/net/natNetworkInterface.cc:
12880         Include platform.h, removed inclusion of socket.h
12881         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
12882         ::close() by _Jv_close().
12883         * java/net/natPlainDatagramSocketImpl.cc:
12884         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
12885         added some new lines to make code more readable.
12886         (create): Replaced ::socket() by _Jv_socket().
12887         (close): Replaced NATIVE_CLOSE() by _Jv_close().
12888         * java/net/natPlainSocketImpl.cc:
12889         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
12890         removed include of socket.h, removed some windows defines
12891         (now in include/win32.h).
12892         (create): Replaced ::socket() by _Jv_socket().
12893         (close): Replaced NATIVE_CLOSE() by _Jv_close().
12894         (write): Replaced ::read by _Jv_write().
12895         (read): Replaced ::read by _Jv_read().
12897 2002-11-20  Michael Koch <konqueror@gmx.de>
12899         * Makefile.am (ordinary_java_source_files):
12900         Added java/nio/channels/FileChannel.java.
12901         * Makefile.in: Regenerated.
12903 2002-11-20  Michael Koch <konqueror@gmx.de>
12905         * java/io/FileInputStream.java
12906         (getChannel): New method.
12907         * java/io/FileOutputStream.java
12908         (getChannel): New method.
12909         * java/net/ServerSocket.java
12910         (bind): Removed duplicate code and called another bind method instead.
12911         * java/nio/channels/SelectionKey.java
12912         (isValid): Removed wrong exception documentation.
12913         * java/nio/channels/ServerSocketChannel.java
12914         (accept): Added exception documentation.
12915         (open): Fixed typo, added exception documentation.
12916         * java/nio/channels/spi/AbstractSelectableChannel.java
12917         (implCloseChannel): Added exception documentation.
12918         (add): Reformated.
12919         (register): Added exception documentation.
12921 2002-11-20  Andreas Jaeger  <aj@suse.de>
12923         * configure: Regenerated with new libtool.m4.
12925 2002-11-19  Tom Tromey  <tromey@redhat.com>
12927         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
12928         `referent'.
12929         (finalize_referred_to_object): Don't modify `referent' or `copy'
12930         fields.
12931         (add_to_hash): Correctly set `n->next' when updating list.
12932         * java/lang/ref/Reference.java (enqueue): Return false if already
12933         enqueued.
12935 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
12937         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
12938         to function and function pointer declarations in accordance with
12939         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
12940         based on whether __GCJ_JNI_IMPL__ has been defined or not.
12941         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
12942         JNI function definitions.
12944 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
12946         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
12947         that was causing CoderResults to be cached, not WeakReferences
12948         to CoderResults.
12950 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
12952         * java/security/KeyStore.java (getInstance): Fix
12953         comment and throw IllegalArgumentException if
12954         given provider is null.
12955         (getInstance): New method for jdk1.4 compatibility.
12957 2002-11-18  Michael Koch <konqueror@gmx.de>
12959         * java/net/PlainSocketImpl.java: Fix imports.
12961 2002-11-18  Michael Koch <konqueror@gmx.de>
12963         * java/nio/channels/SelectionKey.java
12964         (isValid): Added exception documentation.
12965         * java/nio/channels/Selector.java
12966         (open): Declare "throws IOException".
12968 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
12970         * java/nio/charset/Charset.java
12971         (<clinit>): New method.
12972         (encode): Synchronize use of cached encoder object.
12973         (decode): Synchronize use of cached encoder object.
12975 2002-11-18  Michael Koch <konqueror@gmx.de>
12977         * gnu/java/nio/ByteBufferImpl.java,
12978         gnu/java/nio/CharBufferImpl.java,
12979         gnu/java/nio/DatagramChannelImpl.java,
12980         gnu/java/nio/DoubleBufferImpl.java,
12981         gnu/java/nio/FileChannelImpl.java,
12982         gnu/java/nio/FloatBufferImpl.java,
12983         gnu/java/nio/IntBufferImpl.java,
12984         gnu/java/nio/LongBufferImpl.java,
12985         gnu/java/nio/PipeImpl.java,
12986         gnu/java/nio/SelectionKeyImpl.java,
12987         gnu/java/nio/SelectorImpl.java,
12988         gnu/java/nio/SelectorProviderImpl.java,
12989         gnu/java/nio/ServerSocketChannelImpl.java,
12990         gnu/java/nio/ShortBufferImpl.java,
12991         gnu/java/nio/SocketChannelImpl.java,
12992         java/nio/DoubleBuffer.java,
12993         java/nio/FloatBuffer.java,
12994         java/nio/IntBuffer.java,
12995         java/nio/LongBuffer.java,
12996         java/nio/ShortBuffer.java,
12997         java/nio/channels/FileChannel.java: New files.
12999 2002-11-18  Michael Koch <konqueror@gmx.de>
13001         * Makefile.am (ordinary_java_source_files):
13002         Added java/nio/ReadOnlyBufferException.java and
13003         java/nio/channels/ClosedSelectorException.java.
13004         * Makefile.in: Regenerated.
13006 2002-11-18  Michael Koch <konqueror@gmx.de>
13008         * java/net/PlainSocketImpl.java: Reworked imports.
13009         * java/net/ServerSocket.java
13010         (ServerSocket): Create socket.
13011         * java/net/SocketAddress.java: Documentation added.
13012         * java/net/natPlainSocketImpl.cc: Reindented.
13013         * java/nio/ReadOnlyBufferException.java: New file
13014         * java/nio/channels/ClosedChannelException.java: Documentation added.
13015         * java/nio/channels/ClosedSelectorException.java: New file.
13017 2002-11-17  Mark Wielaard  <mark@klomp.org>
13019         * java/net/HttpURLConnection.java ((getPermission): Take port
13020         into consideration.
13021         (getErrorStream): Implement.
13023 2002-11-17  Mark Wielaard  <mark@klomp.org>
13025         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
13027 2002-11-16  Mark Wielaard  <mark@klomp.org>
13029         Integrate work by Raif S. Naffah (raif@fl.net.au)
13030         * java/security/DummyKeyPairGenerator.java (clone): New method.
13031         * java/security/DummyMessageDigest.java (clone): New method.
13032         (engineUpdate): Now public.
13033         (engineReset): Likewise.
13034         (engineDigest): Likewise.
13035         (engineGetDigestLength): New method.
13036         * java/security/DummySignature.java (clone): New method.
13037         * java/security/KeyPairGenerator.java (provider): Now package private.
13038         (getInstance(String)): Use getInstance(String,Provider).
13039         (getInstance(String,String): Use getInstance(String,Provider)
13040         (getInstance(String,Provider): New method.
13041         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
13042         * java/security/KeyPairGeneratorSpi.java (clone): New method.
13043         * java/security/MessageDigest.java (provider): Now package private.
13044         (getInstance(String): Use getInstance(String,Provider).
13045         (getInstance(String,String): Use getInstance(String,Provider)
13046         (getInstance(String,Provider): New method.
13047         * java/security/Provider.java (toCanonicalKey): New method.
13048         (get): New method that uses toCanonicalKey().
13049         (put): Use toCanonicalKey().
13050         (remove): Likewise.
13051         * java/security/Security.java (insertProviderAt): Provider index is one
13052         based, not zero based.
13053         (addProvider): Likewise.
13054         (removeProvider): Likewise.
13055         * java/security/Signature.java (provider): Now package private.
13056         (getInstance(String)): Use getInstance(String,Provider).
13057         (getInstance(String,String): Use getInstance(String,Provider)
13058         (getInstance(String,Provider): New method.
13059         (getInstance(String,String,Provider): Don't cast DummySignature.
13061 2002-11-15  Tom Tromey  <tromey@redhat.com>
13063         For PR libgcj/8593:
13064         * java/util/zip/GZIPInputStream.java (read): Check file size.
13065         Look in inflater for remaining input bytes.
13066         (read4): Added buf and offset arguments.
13068 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
13070         * java/applet/AppletContext.java: Fix typo and remove redundant
13071         modifiers.
13073 2002-11-14  Tom Tromey  <tromey@redhat.com>
13075         * java/lang/natRuntime.cc (insertSystemProperties): Set
13076         gnu.classpath.home.
13078 2002-11-13  Michael Koch <konqueror@gmx.de>
13080         * java/nio/ByteBuffer.java
13081         (allocate): New method.
13082         (wrap): New method.
13083         (put): New method.
13084         (get): New method.
13086 2002-11-13  Michael Koch <konqueror@gmx.de>
13088         * java/nio/channels/AlreadyConnectedException.java:
13089         Removed unneeded import.
13090         (AlreadyConnectedException): Documentation added.
13091         * java/nio/channels/Pipe.java
13092         (SinkChannel.SinkChannel): Documentation added.
13093         (SinkChannel.validOps): New method.
13094         (SourceChannel.SourceChannel): Documentation added.
13095         (SourceChannel.validOps): New method.
13096         (Pipe): Documentation added.
13097         (open): Documentation added.
13098         (SinkChannel.channel): Documentation added.
13099         (SourceChannel.channel): Documentation added.
13100         * java/nio/channel/SelectableChannel.java
13101         (SelectableChannel): Documentation added.
13102         (blockingLock): Documentation added.
13103         (configureBlocking):Documentation added.
13104         (isBlocking):Documentation added.
13105         (isRegistered):Documentation added.
13106         (keyFor):Documentation added.
13107         (provider):Documentation added.
13108         (register): Documentation added.
13109         (validOps): Documentation added.
13110         * jaba/nio/channels/SelectionKey.java
13111         (SelectionKey): Documentation added.
13112         (attach): Documentation added.
13113         (attachment): Documentation added.
13114         (isAcceptable): Documentation added.
13115         (isConnetable): Documentation added.
13116         (isReadable): Documentation added.
13117         (isWritable): Documentation added.
13118         (cancel): Documentation added.
13119         (channel): Documentation added.
13120         (interestOps): Documentation added.
13121         (isValid): Documentation added.
13122         (readyOps): Documentation added.
13123         (selector): Documentation added.
13124         * jaba/nio/channels/Selector.java
13125         (Selector): Documentation added.
13126         (open): Documentation added.
13127         (close): Documentation added.
13128         (isOpen): Documentation added.
13129         (keys): Documentation added.
13130         (provider): Documentation added.
13131         (select): Documentation added.
13132         (selectedKeys): Documentation added.
13133         (selectNow): Documentation added.
13134         (wakeup): Documentation added.
13135         * java/nio/channels/spi/AbstractInterruptibleChannel.java
13136         (AbstractInterruptibleChannel): Documentation added.
13137         (opened): Default to true;
13138         (begin): Documentation added.
13139         (close): Set opened to false, documentation added.
13140         (isOpen): Documentation added.
13141         * java/nio/channels/spi/AbstractSelectionKey.java
13142         (AbstractSelectionKey): Documentation added.
13143         (cancel): Documentation added.
13144         (isValid): Documentation added.
13145         * java/nio/channels/spi/AbstractSelector.java
13146         (AbstractSelector): Documentation added.
13147         (begin): Documentation added.
13148         (close): Documentation added.
13149         (isOpen): Documentation added.
13150         (deregister): Documentation added.
13151         (end): Documentation added.
13152         (provider): Documentation added.
13153         (implCloseSelector): Documentation added.
13154         (register): Documentation added.
13155         * java/nio/channels/spi/SelectorProvider.java
13156         (SelectorProvider): Documentation added.
13157         (openDatagramChannel): Documentation added.
13158         (openPipe): Documentation added.
13159         (openSelector): Documentation added.
13160         (openServerSocketChannel): Documentation added.
13161         (openSocketChannel): Documentation added.
13162         (provider): Documentation added.
13164 2002-11-12  Michael Koch <konqueror@gmx.de>
13166         * java/nio/Buffer.java: Implemented.
13167         * java/nio/CharBuffer.java: New file.
13168         * java/nio/InvalidMarkException.java: New file.
13169         * java/nio/channels/DatagramChannel.java: Implemented.
13170         * java/nio/channels/ServerSocketChannel.java: Implemented.
13171         * java/nio/channels/SocketChannel.java: Implemented.
13172         * java/nio/channels/spi/AbstractChannel.java: Removed.
13173         * java/nio/channels/spi/AbstractSelectableChannel.java:
13174         Implemented.
13175         * java/nio/charset/Charset.java:
13176         Merge from Classpath.
13177         * java/nio/charset/CharsetDecoder.java: New file.
13178         * java/nio/charset/CharsetEncoder.java: New file.
13179         * java/nio/charset/CoderResult.java: New file.
13180         * Makefile.am (ordinary_java_source_files): Added new files.
13181         * Makefile.in: Regenerated.
13183 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13185         * gnu/java/nio/charset/ISO_8859_1.java,
13186         gnu/java/nio/charset/Provider.java,
13187         gnu/java/nio/charset/US_ASCII.java,
13188         gnu/java/nio/charset/UTF_16.java,
13189         gnu/java/nio/charset/UTF_16BE.java,
13190         gnu/java/nio/charset/UTF_16Decoder.java,
13191         gnu/java/nio/charset/UTF_16Encoder.java,
13192         gnu/java/nio/charset/UTF_16LE.java,
13193         gnu/java/nio/charset/UTF_8.java: New files.
13195 2002-11-11  Michael Koch <konqueror@gmx.de>
13197         * java/nio/charset/CharacterCodingException.java:
13198         This class must be public.
13199         * java/nio/charset/CoderMalfunctionError.java:
13200         This class must be public.
13201         * java/nio/charset/CodingErrorAction.java:
13202         This class must be public.
13203         * java/nio/charset/IllegalCharsetNameException.java:
13204         This class must be public, better implementation.
13205         * java/nio/charset/MalformedInputException.java:
13206         This class must be public, better implementation.
13207         * java/nio/charset/UnmappableCharacterException.java:
13208         This class must be public, better implementation.
13209         * java/nio/charset/UnsupportedCharsetException.java:
13210         This class must be public, better implementation.
13212 2002-11-11  Michael Koch <konqueror@gmx.de>
13214         * java/nio/BufferOverflowException.java,
13215         java/nio/BufferUnderflowException.java: New file.
13216         * Makefile.am (ordinary_java_source_files):
13217         Added new files.
13218         * Makefile.in: Regenerated.
13220 2002-11-10  Tom Tromey  <tromey@redhat.com>
13222         * java/awt/Container.java (validate): Use tree lock.
13223         (getComponent): Likewise.
13224         (getComponents): Likewise.
13225         (addImpl): Likewise.
13226         (remove): Likewise.
13227         (removeAll): Likewise.
13228         (processEvent): Fixed indentation.
13229         (getComponentAt): Use tree lock.
13230         (findComponentAt): Likewise.
13231         (removeNotify): Likewise.
13232         (isAncestorOf): Likewise.
13233         (list): Likewise.
13234         (visitChildren): Likewise.
13235         (findNextFocusComponent): Likewise.
13236         (addNotifyContainerChildren): Likewise.
13237         (getAccessibleChildrenCount): Likewise.
13238         (getAccessibleChild): Likewise.
13240         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
13241         (getSize): Likewise.
13242         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
13243         (getSize): Likewise.
13244         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
13245         (calcSize): Likewise.
13246         * java/awt/CardLayout.java (getSize): Use tree lock.
13247         (gotoComponent): Likewise.
13248         (layoutContainer): Likewise.
13250         * java/io/natFileDescriptorWin32.cc (read): Handle case where
13251         count is 0.
13252         * java/io/natFileDescriptorPosix.cc (read): Handle case where
13253         count is 0.
13255         * java/io/Externalizable.java, java/io/FilePermission.java,
13256         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
13257         java/io/SerializablePermission.java, java/text/Format.java,
13258         java/util/AbstractMap.java, java/util/HashMap.java,
13259         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
13260         versions from Classpath.
13262 2002-11-10  Anthony Green  <green@redhat.com>
13264         * java/util/jar/Attributes.java (Name): Fix name check.
13266 2002-11-10  Mark Wielaard  <mark@klomp.org>
13268         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
13269         with getName() as message.
13270         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
13271         type as message.
13273         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
13274         unused.
13276 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
13278         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
13279         for Win32. JNICALL has been defined to __stdcall to be compatible
13280         with Sun's JDKs.
13282 2002-11-10  Tom Tromey  <tromey@redhat.com>
13284         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
13285         (setRows): Check newRows, not rows.
13287         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
13289 2002-11-09  Tom Tromey  <tromey@redhat.com>
13291         * java/applet/Applet.java, java/applet/AppletContext.java,
13292         java/applet/AppletStub.java, java/applet/AudioClip.java,
13293         java/awt/CardLayout.java,
13294         java/awt/ContainerOrderFocusTraversalPolicy.java,
13295         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
13296         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
13297         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
13298         java/awt/color/ICC_ColorSpace.java,
13299         java/awt/color/ICC_Profile.java,
13300         java/awt/color/ICC_ProfileGray.java,
13301         java/awt/color/ICC_ProfileRGB.java,
13302         java/awt/datatransfer/DataFlavor.java,
13303         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
13304         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
13305         New versions from Classpath.
13306         * Makefile.in: Rebuilt.
13307         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
13308         ICC_ProfileRGB.
13310         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
13311         display policy.
13313         * java/awt/List.java (processEvent): Added missing `else's.
13315         * java/awt/Window.java (show): validate() before showing.  Make
13316         parent displayable.
13317         (isDisplayable): New method.
13319 2002-11-07  Mark Wielaard  <mark@klomp.org>
13321         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
13322         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
13324         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
13325         annotation.
13326         (loadClass): Take String as codebases.
13327         (getClassAnnotation): Use MyClassLoader annotations.
13328         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
13329         call exportObject(this).
13331         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
13332         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
13333         (setAnnotation): Don't set locBytesStream and locStream.
13334         (replaceObject): Removed.
13335         (flush): Don't test locStream.
13336         (getLocBytes): LikeWise.
13337         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
13338         (leaseCache): New field.
13339         (dirty): Use leaseCache.
13340         (LeaseRecord): New inner class.
13341         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
13342         explicitly call exportObject().
13343         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
13344         false to communicate with Sun JDK130.
13345         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
13346         * gnu/java/rmi/server/RMIObjectInputStream.java
13347         (UnicastConnectionManager): Removed field.
13348         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
13349         Use UnicastServer.getExportedRef().
13350         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
13351         (expireTime): Likewise.
13352         (CONNECTION_TIMEOUT): Likewise.
13353         (disconnect): Call sock.close().
13354         (isExpired): New method.
13355         (resetTime): Likewise.
13356         (run): Use do while loop and catch Exception for discardConnection().
13357         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
13358         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
13359         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
13360         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
13361         (exportObject): Use refcache.
13362         (unexportObject): Likewise.
13363         (getExportedRef): New method.
13364         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
13365         constructor.
13366         (exportObject): Save manager.serverobj.
13367         (getStub): New method.
13369 2002-11-07  Mark Wielaard  <mark@klomp.org>
13371         * java/lang/reflect/natField.cc (getBoolean): Use getType().
13372         (getByte): Likewise.
13373         (getShort): Likewise.
13374         (getInt): Likewise.
13375         (getLong): Likewise.
13376         (getFloat): Likewise.
13377         (getDouble): Likewise.
13378         (get): Likewise.
13379         (setChar): Likewise.
13380         (setByte): Likewise.
13381         (setShort): Likewise.
13382         (setInt): Likewise.
13383         (setLong): Likewise.
13384         (setFloat): Likewise.
13385         (setDouble): Likewise.
13387 2002-11-07  Michael Koch <konqueror@gmx.de>
13389         * java/awt/Choice.java,
13390         java/awt/Container.java,
13391         java/awt/GridBagLayout.java:
13392         Fixed documentation.
13393         * java/awt/peer/ContainerPeer.java:
13394         Reindented.
13396 2002-11-07  Michael Koch <konqueror@gmx.de>
13398         * java/awt/color/ICC_Profile.java:
13399         Added missing constants.
13400         * java/awt/color/ICC_ColorSpace.java
13401         (getMinValue): Added dummy implementation.
13402         (getMaxValue): Added dummy implementation.
13403         * java/awt/datatransfer/DataFlavor.java
13404         (imageFlavor): Added.
13405         (isMimeTypeEqual): Must be final.
13406         (getDefaultRepresentationClass): Must be non-static.
13407         (getDefaultRepresentationClassAsString): Must be non-static.
13408         * java/awt/dnd/DragSourceContext.java
13409         (dragExit): Corrected argument.
13410         (dragDropEnd): Corrected argument.
13411         * java/awt/dnd/DragSourceListener.java.java
13412         (dragExit): Corrected argument.
13413         (dragDropEnd): Corrected argument.
13414         * java/awt/font/TextHitInfo.java
13415         (toString): Added stubbed implementation.
13416         * java/awt/geom/PathIterator.java:
13417         The constants must be static.
13418         * java/awt/image/VolatileImage.java
13419         (IMAGE_INCOMPATIBLE): Fixed typo.
13420         * java/awt/image/renderable/RenderableImage.java
13421         (HINTS_OBSERVED): Must be static.
13422         * java/beans/BeanInfo.java:
13423         Constants must be final.
13425 2002-11-06  Tom Tromey  <tromey@redhat.com>
13427         From svens@it.uu.se.  For PR libgcj/8481.
13428         * java/util/Random.java (nextInt(int)): Only use 31 bits.
13430 2002-11-06  Tom Tromey  <tromey@redhat.com>
13432         * jni.cc (array_from_valist): Assume that jlong won't be
13433         promoted.
13435 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
13437         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
13438         Return 20.
13439         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
13440         Return 16.
13442 2002-11-03  Tom Tromey  <tromey@redhat.com>
13444         * java/lang/ClassLoader.java (loadClass): Call loadClass on
13445         VMClassLoader, not findClass.
13447 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
13449         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
13450         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
13451         _Jv_DetermineVTableIndex, to determine vtable offset.
13452         (_Jv_DetermineVTableIndex): Remove.
13453         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
13455         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
13457 2002-11-03  Tom Tromey  <tromey@redhat.com>
13459         * java/nio/channels/AlreadyConnectedException.java: Extend
13460         IllegalStateException, per spec.
13462 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
13464         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
13466 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
13468         * java/util/ArrayList.java (readObject, writeObject): Only read/write
13469         size items.
13471 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
13473         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
13474         initial estimated size to avoid enlarge buffer frequently.
13476 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
13478         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
13479         ClassLoader when null.
13480         (ProxyType.hashCode): Loader null check no longer needed.
13481         (ProxyType.sameTypes): New method.
13482         (ProxyType.equals): Use new method.
13484 2002-10-31  Mark Wielaard  <mark@klomp.org>
13486         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
13487         length of String.
13488         * java/net/URLEncoder.java (encode): Likewise.
13490 2002-10-31  Mark Wielaard  <mark@klomp.org>
13492         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
13493         when stream is closed.
13494         (closeEntry): Likewise.
13495         (read): Likewise.
13496         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
13497         ZipException when no entry active.
13498         (closeEntry): Likewise.
13499         (write): Likewise.
13501 2002-11-02  Tom Tromey  <tromey@redhat.com>
13503         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
13504         * java/lang/natClass.cc (initializeClass): Don't return just
13505         because self==thread.
13507         For PR java/8415:
13508         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
13509         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
13511 2002-11-02  Andreas Schwab  <schwab@suse.de>
13513         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
13514         pass GCJFLAGS.
13515         (FLAGS_TO_PASS): Define.
13516         * Makefile.in: Regenerated.
13518 2002-11-01  Michael Koch  <konqueror@gmx.de>
13520         * java/nio/ByteOrder.java: New file.
13521         * java/nio/channels/DatagramChannel.java:
13522         (DatagramChannel): New constructor.
13523         * java/nio/channels/Pipe.java: New file.
13524         * java/nio/channels/SelectableChannel.java: New file.
13525         * java/nio/channels/SelectionKey.java: New file.
13526         * java/nio/channels/Selector.java: New file.
13527         * java/nio/channels/ServerSocketChannel.java
13528         (ServerSocketChannel): New constructor.
13529         * java/nio/channels/SocketChannel.java
13530         (SocketChannel): New constructor.
13531         * java/nio/channels/Pipe.java: New file.
13532         * java/nio/channels/spi/AbstractChannel.java: New file.
13533         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
13534         * java/nio/channels/spi/AbstractSelectableChannel.java:
13535         License added
13536         (AbstractSelectableChannel): New stubbed method.
13537         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
13538         * java/nio/channels/spi/AbstractSelector.java: New file.
13539         * java/nio/channels/spi/SelectorProvider.java: New file.
13540         * java/nio/charset/Charset.java: New file.
13541         * java/nio/charset/CoderMalfunctionError.java: New file.
13542         * java/nio/charset/CodingErrorAction.java: New file.
13543         * java/nio/charset/spi/CharsetProvider.java
13544         (charsetForName): Uncommented.
13545         * Makefile.am (java_native_source_files): Added new files.
13546         * Makefile.in: Regenerated.
13548 2002-11-01  Michael Koch  <konqueror@gmx.de>
13550         * java/net/InetAddress.java:
13551         (isAnyLocalAddress): Implemented.
13552         (isLoopbackAddress): Implemented, comment added.
13553         (isLinkLocalAddress): Implemented, documentation added.
13554         (isSiteLocalAddress): Implemented, documentation added.
13555         (isMCGlobal): Implemented, documentation added.
13556         (isMCNodeLocal): Implemented, documentation added.
13557         (isMCLinkLocal): Implemented, documentation added.
13558         (isMCSiteLocal): Implemented, documentation added.
13559         (isMCOrgLocal): Implemented, documentation added.
13560         (getHostName): Documentation added.
13561         (getCanonicalHostName): Implemented, documentation added.
13562         (getAddress): Documentation added.
13563         (hashCode): Documentation added.
13564         (equals): Documentation added.
13565         (toString): Fixed implementation.
13566         (getByAddress): Use Inet4Address and Inet6Address.
13567         (lookup): New linewrap.
13568         (getByName): SecurityManager check added, support Inet4Address and
13569         Inet6address, comments added.
13570         (getAllByName): SecurityManager check added, comments added.
13571         * java/net/Inet6Address.java:
13572         (Inet6Address): Initialize parent class with addr instead of null.
13573         * java/net/URL.java
13574         (equals): Documentation added.
13575         (getFile): Documentation added.
13576         (hashCode): Documentation added.
13577         * java/net/natInetAddress.cc:
13578         (aton): Fix IPv6 support.
13579         * java/net/natPlainDatagramSocketImpl.cc:
13580         (peek): Throw PortUnreachableException when suitable.
13581         (peekData): Throw PortUnreachableException when suitable.
13582         (send): Throw PortUnreachableException when suitable.
13583         (receive): Throw PortUnreachableException when suitable.
13585 2002-10-27  Mark Wielaard  <mark@klomp.org>
13587         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
13588         argument.
13589         (readLeShort): Likewise and use byte[].
13590         (readLeInt): Likewise.
13591         (readEntries): Use new versions of methods and use byte[] for reading
13592         a complete zip entry. Add ZipFile name to exceptions.
13593         (entries): Add ZipFile name to exceptions.
13594         (getEntry): Likewise.
13595         (checkLocalHeader): Use new versions of methods and add ZipFile name
13596         to exceptions.
13598 2002-10-31  Mark Anderson  <mark@panonet.net>
13600         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
13601         added
13603 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
13605         * configure.in: Disable hash sync when not using threads.
13606         * configure: Regenerated.
13608 2002-10-24  Tom Tromey  <tromey@redhat.com>
13610         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
13611         (_Jv_FindSymbolInExecutable): Removed argument name.
13612         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
13613         java.library.path is set.
13615         * gij.cc (help): Document --showversion.
13616         (version): Don't exit.
13617         (main): Handle --showversion.  Exit if --version given.
13619 2002-10-23  Tom Tromey  <tromey@redhat.com>
13621         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
13622         (array_from_valist): Correctly handle promotion for jint, jlong,
13623         jfloat, and jdouble.
13625 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
13627         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
13628         GetFileAttributesEx( ) to find file length and modification times,
13629         as the latter is not present on Windows 95.
13631 2002-10-21  Michael Koch  <konqueror@gmx.de>
13633         * java/net/URL.java
13634         (URL): Activate SecurityManager checks.
13635         (equals): Use URLStreamHandler implementation instead of doing it
13636         alone. This allows special protocol stream handlers to change default
13637         behaviour.
13638         (hashCode): Use URLStreamHandler implementation instead of doing it
13639         alone. This allows special protocol stream handlers to change default
13640         behaviour.
13641         * java/net/URLStreamHandler.java
13642         (equals): Implemented default URL equality check.
13643         (hostsEqual): Implemented default URL equality check.
13644         (hashCode): Implemented default URL hashCode algorithm.
13645         * java/net/natPlainDatagramSocketImpl.cc:
13646         No lines longer then 80 characters.
13648 2002-10-20  Adam Megacz <adam@xwt.org>
13650         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
13651         * configure.in: enabled hash sync on Win32
13652         * include/win32-threads.h (_Jv_ThreadId_t): added.
13653         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
13654         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
13655         removed some posix-isms, use Thread::sleep() instead of usleep,
13656         added code to clear bottom three bits if platform has a broken
13657         linker.
13658         * include/win32-threads.h (_Jv_ThreadId_t): added.
13660 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
13662         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
13663         runtime property "gnu.gcj.progname" containing the name used to
13664         invoke the current Java program (similar to argv[0] for C
13665         programs).
13667 2002-10-15  Tom Tromey  <tromey@redhat.com>
13669         Fix for PR libgcj/8234:
13670         * java/util/zip/natInflater.cc (reset): Reset avail_in.
13671         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
13673 2002-10-13  Mark Wielaard  <mark@klomp.org>
13675         * mauve-libgcj: Enable Mauve tests that compile now.
13677 2002-10-11  Mark Wielaard  <mark@klomp.org>
13679         Fix for PR libgcj/8142
13680         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
13681         loading native modules.
13683 2002-10-10  Michael Koch  <konqueror@gmx.de>
13685         * javax/swing/AbstractListModel.java
13686         (getListDataListeners): New stubbed method.
13687         javax/swing/DefaultBoundedRangeModel.java
13688         (getChangeListeners): New stubbed method.
13689         javax/swing/DefaultSingleSelectionModel.java
13690         (getChangeListeners): New stubbed method.
13692 2002-10-10  Michael Koch  <konqueror@gmx.de>
13694         * gcj/.cvsignore: New file to ignore files generated during build.
13695         * include/.cvsignore: New file to ignore files generated during build.
13697 2002-10-10  Michael Koch  <konqueror@gmx.de>
13699         * java/net/HttpURLConnection.java
13700         (getPermission): New method.
13701         (getErrorStream): New stub method.
13702         (getHeaderFieldDate): New stub method.
13703         * java/net/Inet4Address.java:
13704         (isLinkLocalAddress): Typo fixed.
13705         * java/net/InetAddress.java:
13706         (readResolve): New stubbed method (for serialization).
13707         (isAnyLocalAddress): New stubbed method.
13708         (isLoopbackAddress): New stubbed method.
13709         (isLinkLocalAddress): New stubbed method.
13710         (isSiteLocalAddress): New stubbed method.
13711         (isMCGlobal): New stubbed method.
13712         (isMCNodeGlobal): New stubbed method.
13713         (isMCLinkLocal): New stubbed method.
13714         (isMCSiteLocal): New stubbed method.
13715         (isMCOrgLocal): New stubbed method.
13716         (getCanonicalHostName): New stubbed method.
13717         (getByAddress): Create instances of Inet4Address/Inet6Address,
13718         instead of InetAddress, documentation added.
13719         * java/net/MulticastSocket.java
13720         (getInterface): Removed FIXME.
13721         (getNetworkInterface): New method.
13722         (setNetworkInterface): New method.
13723         * java/net/NetworkInterface.java:
13724         (toString): Use property "line.separator" instead of "\n".
13725         * java/net/URLConnection.java
13726         (getContent): New stubbed method.
13727         * java/net/URLStreamHandler.java:
13728         (equals): New stubbed method.
13729         (hostsEqual): New stubbed method.
13730         (hashCode): New stubbed method.
13731         * java/net/natNetworkInterface.cc:
13732         (getRealNetworkInterfaces): Create Inet4Address object
13733         instead of InetAddress.
13735 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
13737         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
13738         unsigned long temporary to implement insn_iushr shifts.
13740 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
13742         * configure.host [s390*-*]: Enable Java interpreter.
13743         Enable hash synchronization.  Add sysdeps dir.
13744         * sysdep/s390/locks.h: New file.
13746 2002-10-06  Mark Wielaard  <mark@klomp.org>
13748         * java/lang/Thread.java (setDaemon): Check startable_flag,
13749         not isAlive().
13751 2002-10-07  Michael Koch  <konqueror@gmx.de>
13753         * java/nio/Buffer.java: New stub file.
13754         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
13755         of class Charset.
13756         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
13757         * Makefile.in: Regenerated.
13759 2002-10-07  Michael Koch  <konqueror@gmx.de>
13761         * java/nio/ByteBuffer.java:
13762         removed import of not commited class.
13764 2002-10-07  Michael Koch  <konqueror@gmx.de>
13766         * java/nio/ByteBuffer.java,
13767         java/nio/MappedByteBuffer.java:
13768         New files, forgot to add these dummies.
13769         * Makefile.am (java_native_source_files): Added new files.
13770         * Makefile.in: Regenerated.
13772 2002-10-07  Michael Koch  <konqueror@gmx.de>
13774         * java/nio/channels/AlreadyConnectedException.java,
13775         java/nio/channels/ClosedChannelException.java,
13776         java/nio/channels/ReadableByteChannel.java,
13777         java/nio/channels/InterruptibleChannel.java,
13778         java/nio/channels/Channel.java,
13779         java/nio/channels/ByteChannel.java,
13780         java/nio/channels/GatheringByteChannel.java,
13781         java/nio/channels/ScatteringByteChannel.java,
13782         java/nio/channels/WritableByteChannel.java,
13783         java/nio/charset/CharacterCodingException.java,
13784         java/nio/charset/IllegalCharsetNameException.java,
13785         java/nio/charset/MalformedInputException.java,
13786         java/nio/charset/UnmappableCharacterException.java,
13787         java/nio/charset/UnsupportedCharsetException.java,
13788         java/nio/charset/spi/CharsetProvider.java: New file.
13789         These files are exceptions or interfaces,
13790         no real or abstract classes.
13791         * Makefile.am (java_native_source_files): Added new files.
13792         * Makefile.in: Regenerated.
13794 2002-10-05  Michael Koch  <konqueror@gmx.de>
13796         * java/net/InetAddress.java
13797         (getByAddress): Fixed documentation.
13798         (getByAddress): New method.
13799         * java/net/Inet4Address.java: New file.
13800         * java/net/URL.java
13801         (URL): Documentation added.
13802         (getContent): Documentation added.
13803         (getContent): New stubbed method.
13804         (getQuery): New method.
13805         (openConnection): Documentation added.
13806         (openStream): Documentation added.
13807         (setURLStreamHandlerFactory): Documentation added.
13808         * java/net/URI.java: New stub file.
13809         * Makefile.am
13810         (java_native_source_files): Added java/net/Inet4Address.java,
13811         java/net/Inet6Address.java and java/net/URI.java.
13812         * Makefile.in: Regenerated.
13814 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
13816         * java/lang/ProtectionDomain.java (linesep): Remove field.
13817         (toString): Use System.getProperty("line.separator").
13819 2002-10-04  Michael Koch  <konqueror@gmx.de>
13821         * java/security/Identity.java: Added serialVersionUID.
13822         * java/security/KeyPair.java: Added serialVersionUID.
13823         * java/security/Provider.java: Added serialVersionUID.
13824         * java/security/SecureRandom.java: Added serialVersionUID.
13825         * java/security/SecureRandomSpi.java: Added serialVersionUID.
13826         * java/security/SignedObject.java: Added serialVersionUID.
13827         * java/security/cert/Certificate.java: Added serialVersionUID.
13829 2002-10-04  Mark Wielaard <mark@klomp.org>
13831         * java/security/Security.java: Use java.home or gnu.classpath.home
13832         to load providers.
13833         (loadProviders): Extra dir argument.
13834         (getProvider): Return null when not found.
13836 2002-10-04  Mark Wielaard  <mark@klomp.org>
13838         * java/lang/Throwable.java: Remerge with Classpath.
13840 2002-10-04  Michael Koch  <konqueror@gmx.de>
13842         * java/net/InetAddress.java:
13843         (isMulticastAddress): Added documentation.
13844         (getHostAddress): Added documentation.
13845         (toString): Added documentation.
13846         (getByAddress): Fixed documentation.
13847         (getByName): Added documentation.
13848         (getAllByName): Added documentation.
13849         (getLocalHost): Added documentation.
13851 2002-10-04  Michael Koch  <konqueror@gmx.de>
13853         * java/beans/beancontext/BeanContextChildSupport.java:
13854         Added serialVersionUID.
13855         * java/text/Collator.java: (compare): Made documentation HTML-aware.
13856         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
13857         * javax/naming/Name.java: Added serialVersionUID.
13859 2002-10-03  Adam Megacz <adam@xwt.org>
13861         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
13862         some functionality that isn't supported yet on WIN32.
13864 2002-10-03  Tom Tromey  <tromey@redhat.com>
13866         * Makefile.in: Rebuilt.
13867         * Makefile.am (awt_java_source_files): Added new files.
13869 2002-10-03  Michael Koch  <konqueror@gmx.de>
13871         * java/net/InetAddress.java
13872         (class InetAddress): Removed final keyword.
13873         (equals): Fixed typo.
13874         (getByAddress): New method.
13876 2002-10-03  Michael Koch  <konqueror@gmx.de>
13878         * java/awt/dnd/Autoscroll.java:
13879         New file, merge from Classpath.
13880         * java/awt/dnd/DragSourceAdapter.java:
13881         (dragExit): Fixed typos in argument type.
13882         (dragDropEnd): Fixed typos in argument type.
13883         * java/awt/dnd/DragSourceDropEvent.java:
13884         New file, merge from Classpath.
13885         * java/awt/dnd/DropTarget.java:
13886         Added stubs, merge from Classpath.
13887         * java/awt/dnd/DropTargetAdapter.java:
13888         New file, merge from Classpath.
13889         * java/awt/dnd/DropTargetContext.java:
13890         New file, merge from Classpath.
13891         * java/awt/dnd/DropTargetDragEvent.java:
13892         New file, merge from Classpath.
13893         * java/awt/dnd/DropTargetDropEvent.java:
13894         New file, merge from Classpath.
13895         * java/awt/dnd/DropTargetEvent.java:
13896         New file, merge from Classpath.
13897         * java/awt/dnd/DropTargetListener.java:
13898         New file, merge from Classpath.
13899         * java/awt/dnd/MouseDragGestureRecognizer.java:
13900         New file, merge from Classpath.
13901         * java/awt/dnd/peer/DropTargetContextPeer.java:
13902         New file, merge from Classpath.
13904 2002-10-03  Michael Koch  <konqueror@gmx.de>
13906         * java/net/DatagramPacket.java
13907         (setLength): Fixed typo and be HTML-aware.
13908         * java/net/InetSocketAddress.java
13909         (InetSocketAddress): Correct initialization of hostname, fixed typo.
13910         (equals): Added comment about equality of InetSocketAddress objects.
13911         * java/net/ServerSocket.java
13912         (accept): Added checks.
13913         (isClosed): New stubbed method.
13914         * java/net/SocketOptions.java: Reindention.
13915         * java/net/SocketPermission
13916         (SocketPermission): Documentation fixed.
13918 2002-10-03  Michael Koch  <konqueror@gmx.de>
13920         * java/net/DatagramSocket.java
13921         (receive): Check with SecurityManager AFTER the packet is received,
13922         check if connected to multicast address, documentation added.
13923         (send): Only check SecurityManager if connected, check address of
13924         packet to send.
13925         (connect): Implemented, documentation added.
13926         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
13927         * java/net/InetSocketAddress.java
13928         (whole file): Reindented.
13929         (hostname): New attribute.
13930         (InetSocketAddress): Initialize new attribute.
13931         (getAddress): Documentation added.
13932         (getHostName): Documentation added.
13933         (getPort): Documentation added.
13934         (hashCode): Documentation added.
13935         (isUnresolved): Documentation added.
13936         (toString): Conform to output of JDK 1.4.1, documentation added.
13937         * java/net/MulticastSocket.java
13938         (joinGroup): Removed FIXME, documentation added.
13939         (leaveGroup): Removed FIXME, documentation added.
13940         (send): Documentation added.
13941         * java/net/Socket.java
13942         (inputShutdown): New variable.
13943         (outputShutdown): New variable.
13944         (Socket): Initialize new variables.
13945         (getRemoteSocketAddress): Check if connected.
13946         (shutdownInput): Set new variable.
13947         (shutdownOutput): Set new variable.
13948         (isConnected): New method.
13949         (isClosed): New method.
13950         (isInputShutdown): New method.
13951         (isOutputShutdown): New method.
13952         * java/net/URLStreamHandler.java
13953         (URLStreamHandler): New method.
13954         (openConnection): Added documentation.
13955         (parseURL): Added documentation.
13956         (getHostAddress): New method.
13957         (getDefaultPort): New method.
13959 2002-10-02  Tom Tromey  <tromey@redhat.com>
13961         * java/rmi/activation/ActivationDesc.java,
13962         java/rmi/activation/ActivationGroupDesc.java,
13963         java/rmi/activation/ActivationGroupID.java,
13964         java/rmi/activation/ActivationID.java: New versions from
13965         Classpath.
13967 2002-09-30  Bo Thorsen  <bo@suse.de>
13969         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
13971 2002-09-30  Tom Tromey  <tromey@redhat.com>
13973         * java/io/ObjectInputStream.java (resolveProxyClass): New method
13974         from Classpath.
13975         * Makefile.in: Rebuilt.
13976         * Makefile.am (rmi_java_source_files): Added new files.
13977         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
13978         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
13979         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
13980         Classpath.
13981         * gnu/java/rmi/dgc/DGCImpl.java,
13982         gnu/java/rmi/dgc/DGCImpl_Skel.java,
13983         gnu/java/rmi/dgc/DGCImpl_Stub.java,
13984         gnu/java/rmi/registry/RegistryImpl_Skel.java,
13985         gnu/java/rmi/registry/RegistryImpl_Stub.java,
13986         gnu/java/rmi/server/RMIHashes.java,
13987         gnu/java/rmi/server/RMIObjectInputStream.java,
13988         gnu/java/rmi/server/RMIObjectOutputStream.java,
13989         gnu/java/rmi/server/UnicastConnection.java,
13990         gnu/java/rmi/server/UnicastConnectionManager.java,
13991         gnu/java/rmi/server/UnicastRef.java,
13992         gnu/java/rmi/server/UnicastServer.java,
13993         gnu/java/rmi/server/UnicastServerRef.java,
13994         java/rmi/MarshalledObject.java,
13995         java/rmi/server/RMIClassLoader.java,
13996         java/rmi/server/RemoteObject.java,
13997         java/rmi/server/UnicastRemoteObject.java,
13998         java/security/SecureClassLoader.java: Merged from Classpath.
14000 2002-09-29  Anthony Green  <green@redhat.com>
14002         * java/lang/reflect/UndeclaredThrowableException.java: New file.
14003         Imported from GNU Classpath.
14004         * java/lang/reflect/natProxy.cc: New file.
14005         * java/lang/reflect/InvocationHandler.java: New file.  Imported
14006         from GNU Classpath.
14007         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
14008         Classpath.
14009         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
14010         Classpath.
14011         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
14012         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
14013         New statics.
14014         * gcj/javaprims.h ("Java"): Add new classes.
14015         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
14016         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
14017         java/lang/reflect/Proxy$$ProxyType.h): And this.
14018         (inner_nat_headers): Add these new headers.
14019         (ordinary_java_source_files): Add new files.
14020         (nat_source_files): Add new file.
14021         * Makefile.in: Rebuilt.
14023 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
14025         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
14026         a single configuration.
14028 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
14030         * java/util/TimeZone.java (getDSTSavings): New method.
14031         Fixes PR libgcj/7786.
14033 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
14035         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
14036         to see if `the_method == 0' before looking up vtable index.
14037         Fixes PR libgcj/7709.
14039 2002-09-25  Tom Tromey  <tromey@redhat.com>
14041         * java/lang/natClassLoader.cc:
14042         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
14043         * resolve.cc: Include NoClassDefFoundError.h, not
14044         ClassNotFoundException.h.
14045         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
14047         * defineclass.cc: Don't include ClassNotFoundException.h.
14049         * resolve.cc: Include StringBuffer.
14050         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
14052         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
14053         allocated but not initialized.
14055 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
14057         Fix for PR libgcj/7766:
14058         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
14059         (getNextEntry): Set it.
14060         (closeEntry): Likewise.
14061         (read): Likewise.
14062         (close): Likewise.
14063         (available): Use it.
14065 2002-09-25  Michael Koch  <konqueror@gmx.de>
14067         * java/net/DatagramSocket.java
14068         (DatagramSocket): Initialize new instance variables.
14069         (close): Reset new instance variables.
14070         (getLocalAddress): Remove unneeded SecurityManager usage.
14071         (getLocalPort): Check if socket is already bound.
14072         (isConnected): New method.
14073         (getInetAddress): Implemented.
14074         (getPort): Better Implementation, documentation fixed.
14075         (getRemoteSocketAddress): New method.
14076         * java/net/JarURLConnection.java
14077         (element): Typo fixed.
14078         (getMainAttributes): New method.
14079         (getAttributes): New method (stub only).
14080         (getManifest): New method (stub only).
14081         * java/net/NetPermission.java: Added serialVersionsUID.
14082         * java/net/Socket.java
14083         (connect): Check blocking mode of associated channel,
14084         documentation added.
14085         (getLocalSocketAddress): Better implementation.
14086         (getRemoteSocketAddress): Implemented.
14087         (isBound): New method.
14088         (setSendBufferSize): Documentation added.
14089         * java/net/SocketAddress.java: Added serialVersionsUID.
14090         * java/net/SocketPermission.java: Added serialVersionsUID.
14091         * java/net/URL.java
14092         (URL): Wrap for shorter lines, initialize new instance variables,
14093         documentation added.
14094         (equals): Check new instance variables too.
14095         (getContent): Documentation added.
14096         (getPath): Documentation added.
14097         (getAuthority): New method.
14098         (getHost): Documentation added.
14099         (getPort): Documentation added.
14100         (getDefaultPort): New method.
14101         (getProtocol): Documentation added.
14102         (getUserInfo): Documentation added.
14103         (set): Initialize new instance variables, documentation added.
14104         * java/net/URLStreamHandler.java
14105         (setURL): New method.
14106         * java/net/natPlainDatagramSocketImpl.cc
14107         (connect): Fix exception name.
14108         (disconnect): Fix exception name.
14110 2002-09-25  Michael Koch  <konqueror@gmx.de>
14112         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
14113         * java/nio/channels/DatagramChannel.java:
14114         extends AbstractSelectableChannel
14115         * java/nio/channels/ServerSocketChannel.java:
14116         extends AbstractSelectableChannel
14117         * java/nio/channels/SocketChannel.java:
14118         extends AbstractSelectableChannel
14119         * Makefile.am (ordinary_java_source_files):
14120         java/nio/channels/spi/AbstractSelectableChannel.java added.
14121         * Makefile.in: Regenerated.
14123 2002-09-25  Michael Koch  <konqueror@gmx.de>
14125         * java/net/DatagramSocket.java
14126         (DatagramSocket): Exception documentation added.
14127         (bind): Exception documentation added, addded SecurityManager check,
14128         added SocketAddress type check.
14129         (getSoTimeout): Check impl.
14130         (receive): Fix SecurityManager check, check impl, documentation added.
14131         (send): Check channel mode, documentation added.
14132         (connect): New method.
14133         (disconnect): Implemented.
14134         (getLocalSocketAddress): New method.
14135         (getReceiveBufferSize): Check impl.
14136         (setReuseAddress): Check impl.
14137         (getReuseAddress): Check impl.
14138         (setBroadcast): Check impl.
14139         (getBroadcast): Check impl.
14140         (setTrafficClass): Check impl, Documentation cleared.
14141         (getTrafficClass): Check impl.
14142         (getSendBufferSize): Check impl.
14143         (setReceiveBufferSize): Check impl, documentation added.
14144         (setSendBufferSize): Documentation added.
14145         (setDatagramSocketImplFactory): New method.
14146         * java/net/HttpURLConnection.java
14147         (HTTP_INTERNAL_ERROR): The correct code is 500.
14148         (HTTP_NOT_IMPLEMENTED): Added new constant.
14149         (setFollowRedirects): Documentation added.
14150         (getInstanceFollowRedirects): New method.
14151         (setInstanceFollowRedirects): New method.
14152         (setRequestMethod): Documentation added.
14153         (getResponseCode): Documentation added.
14154         (getResponseMessage): Documentation added.
14155         * java/net/JarURLConnection.java
14156         (JarURLConnection): protected since JDK 1.4.
14157         (getJarEntry): java.io.IOException to IOException, documentation added.
14158         (getJarFile): Documentation added.
14159         * java/net/ServerSocket.java
14160         (ServerSocket): Private to public, exception added.
14161         (ServerSocket): java.io.IOException to IOException, documentation added.
14162         (bind): Check socket address type, documentation added.
14163         (bind): java.io.IOException to IOException, documentation added.
14164         (accept): Documentation added.
14165         (implAccept): Check ch is not non-blocking, documentation added.
14166         (setSoTimeout): Documentation fixed.
14167         (setReceiveBufferSize): Documentation added.
14168         * java/net/Socket.java
14169         (Socket): Documentation added.
14170         (bind): Documentation added.
14171         (connect): Check socket address type, documentation added.
14172         (getRemoteSocketAddress): New method.
14173         (getLocalSocketAddress): New method.
14174         (setSoLinger): Documentation added.
14175         (getReuseAddress): New method.
14176         (setReuseAddress): New method.
14177         (getTrafficClass): New method.
14178         (setTrafficClass): New method.
14179         * java/net/URLStreamHandler.java
14180         (openConnection): java.io.IOException to IOException.
14181         (parseURL): Documentation added.
14182         (sameFile): public to protected, documentation added.
14183         (setURL): Documentation added.
14184         * java/nio/IllegalBlockingModeException.java: New file.
14185         * Makefile.am (ordinary_java_source_files):
14186         added java/nio/IllegalBlockingModeException.java
14187         * Makefile.in: Regenerated.
14189 2002-09-25  Michael Koch  <konqueror@gmx.de>
14191         * java/net/DatagramPacket
14192         (DatagramPacket): Exception documentation added.
14193         (setData): Likewise.
14194         (setSocketAddress): Likewise.
14195         * java/net/DatagramSocketImpl.java
14196         (peek): Documentation addded.
14197         (peekData): Documentation addded.
14198         (send): Documentation addded.
14199         (receive): Documentation addded.
14200         (connect): New method.
14201         (disconnect): New method.
14202         (joinGroup): New abstract method.
14203         (leaveGroup): New abstract method.
14204         * java/net/InetSocketAddress.java
14205         (InetSocketAddress): Documentation added.
14206         (equals): final keyword added.
14207         (getAddress): final keyword added.
14208         (getHostName): final keyword added.
14209         (getPort): final keyword added.
14210         (hashCode): final keyword added.
14211         (isUnresolved): final keyword added.
14212         * java/net/MulticastSocket.java
14213         (MulticastSocket): Documentation added.
14214         (MulticastSocket): New method.
14215         (joinGroup): Documentation added.
14216         (joinGroup): New method.
14217         (leaveGroup): Documentation added.
14218         (leaveGroup): New method.
14219         (send): Documentation added.
14220         * java/net/NetworkInterface.java
14221         (getByName): Documentation added.
14222         (getByInetAddress): Documentation added.
14223         (getNetworkInterfaces): Documentation added.
14224         * java/net/PlainDatagramSocketImpl.java
14225         (connect): New method.
14226         (disconnect): New method.
14227         * java/net/SocketImpl.java
14228         (create): Documentation added.
14229         (shutdownInput): Convert public to protected, as it always was.
14230         (shutdownOutput): Convert public to protected, as it always was.
14231         * java/net/SocketOptions.java
14232         (whole file): Reintented.
14233         * java/net/URLClassLoader.java
14234         (URLClassLoader): SecurityManager check added, documentation added.
14235         (findResources): Documentation added.
14236         (findClass): Documentation added.
14237         (newInstance): More correct method arguments.
14238         * java/net/URLConnection.java
14239         (connect): Documentation added.
14240         (getContent): Documentation added.
14241         (getPermission): Documentation added.
14242         (getInputStream): Documentation added.
14243         (getOutputStream): Documentation added.
14244         (setDoInput): Throw correct exception, documentation added.
14245         (setDoOutput): Throw correct exception, documentation added.
14246         (setAllowUserInteraction): Throw correct exception, documentation added.
14247         (setUseCaches): Throw correct exception, documentation added.
14248         (setIfModifiedSince): Throw correct exception, documentation added.
14249         (setRequestProperty): Throw exception, documentation added.
14250         (addRequestProperty): Throw exception, documentation added.
14251         (getRequestProperty): Throw exception, documentation added.
14252         (getRequestProperties): Documentation added.
14253         (setContentHandlerFactory): Documentation added.
14254         (guessContentTypeFromName): protected to public.
14255         (setFileNameMap): Documentation added.
14256         * java/net/URLDecoder.java
14257         (URLDecoder): New method.
14258         (decode): Documentation added.
14259         (whole file): Reindented.
14260         * java/net/URLEncoder.java
14261         (encode): Documentation added.
14262         * java/net/natPlainDatagramSocketImpl.cc
14263         (connect): New method.
14264         (disconnect): New method.
14265         * javax/naming/RefAddr:
14266         (addrType): addrType was never final.
14267         (equals): Fix typo in method name.
14268         * javax/naming/BinaryRefAddr:
14269         (equals): Fix typo in method name.
14271 2002-09-22  Tom Tromey  <tromey@redhat.com>
14273         Fix for PR libgcj/6576:
14274         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
14275         didn't find a given bundle.
14276         (getBundle): Don't require base bundle.
14277         (setParent): Removed old comment.
14278         (tryLocalBundle): Try components even if preceding components were
14279         empty.
14281 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14283         * Makefile.am (all-multi): Fix multilib parallel build.
14285 2002-09-21  Michael Koch  <konqueror@gmx.de>
14287         * java/net/Socket.java
14288         (sendUrgentData): New method.
14289         (getChannel): New method.
14290         * java/net/ServerSocket.java
14291         (getChannel): New method.
14292         (isBound): New method.
14293         * java/net/DatagramSocket.java
14294         (DatagramSocket): Two new methods.
14295         (bind): New method.
14296         (getChannel): New method.
14297         (isBound): New method.
14298         (send): Added newline to to make shorter lines.
14299         * java/net/PlainDatagramSocketImpl.java
14300         (mcastGrp): Added argument.
14301         (join): Use new mcastGrp.
14302         (leave): Use new mcastGrp.
14303         (joinGroup): New method.
14304         (leaveGroup): New method.
14305         * java/net/natPlainDatagramSocketImpl.cc
14306         (mcastGrp): Added argument, no yet really implemented.
14307         (getOption): Added newline for shorter lines.
14308         * java/net/natPlainSocketImpl.cc
14309         (read, setOption, getOption): Added newline for shorter lines.
14311 2002-09-19  Tom Tromey  <tromey@redhat.com>
14313        * java/lang/ClassLoader.java (resolveClass0): Set cause for
14314        newly-created exception.
14316 2002-09-18  Michael Koch  <konqueror@gmx.de>
14318         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
14319         java/util/regex/PatternSyntaxException.java:
14320         Merge with classpath, new files.
14321         * Makefile.am (core_java_source_files):
14322         Added java/util/regex/Matcher.java,
14323         java/util/regex/Pattern.java,
14324         java/util/regex/PatternSyntaxException.java
14325         * Makefile.in: Regenerated.
14326         * include/config.h.in: Added HAVE_NET_IF_H.
14327         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
14328         Removed #if 0 ... #endif.
14330 2002-09-17  Michael Koch  <konqueror@gmx.de>
14332         * java/net/natNetworkInterface.cc:
14333         Removed unneed and yet wrong includes.
14335 2002-09-17  Michael Koch  <konqueror@gmx.de>
14337         * java/net/NetworkInterface.java: New file.
14338         * java/net/natNetworkInterface.java: New file.
14339         * configure.in: Added check for net/if.h.
14340         * configure: Regenerated.
14341         * Makefile.am
14342         (ordinary_java_source_files): Added NetworkInterface.java.
14343         (nat_source_files): Added natNetworkInterface.cc.
14344         * Makefile.in: Regenerated.
14346 2002-09-16  Tom Tromey  <tromey@redhat.com>
14348         * java/net/URLClassLoader.java (findClass): Code source for a
14349         class from a jar is not necessarily a jar: URL.
14351 2002-09-16  Michael Koch  <konqueror@gmx.de>
14353         * java/lang/AssertionError.java:
14354         Merge with classpath, fixes HTML.
14355         * java/rmi/server/LogStream.java:
14356         Merge with classpath, fixes some constants.
14357         * java/net/server/RemoteServer.java:
14358         Merge with classpath, adds serialVersionUID.
14359         * javax/naming/BinaryRefAddr.java:
14360         Merge with classpath, s/equal/equals/.
14361         * javax/naming/NamingException.java:
14362         Merge with classpath, fixed typo.
14363         * javax/naming/RefAddr.java:
14364         Merge with classpath, s/equal/equals/.
14365         * java/awt/Toolkit.java:
14366         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
14367         and typo fixed.
14369 2002-09-15  Adam Megacz <adam@xwt.org>
14371         * java/net/natPlainSocketImpl.cc: fixed typo.
14373 2002-09-15  Adam Megacz <adam@xwt.org>
14375         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
14376         which don't work on Win32 (yet).
14378 2002-09-14  Adam Megacz <adam@xwt.org>
14380         * java/net/natPlainDatagramSocket.cc: removed #include
14381         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
14382         * include/win32.h: included definition for IP_TOS to satisfy
14383         natPlainDatagramSocket.cc
14385 2002-09-13  Michael Koch  <konqueror@gmx.de>
14387         * java/net/DatagramPacket.java (DatagramPacket):
14388         Added linebreak for 80 chars per line.
14389         * java/net/JarURLConection.java
14390         (getInputStreami, getJarEntry): Likewise.
14391         * java/net/SocketPErmission.java
14392         (SocketPermission class docu, implies): Likewise.
14393         * java/net/URLClassLoader.java (findResources): Likewise.
14394         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
14396 2002-09-13  Michael Koch  <konqueror@gmx.de>
14398         * java/nio/channels/DatagramChannel.java,
14399         java/nio/channels/ServerSocketChannel.java
14400         java/nio/channels/SocketChannel.java:
14401         New dummy files to make java.net fully JDK 1.4 compatible
14402         * Makefile.am (ordinary_java_source_files): Added
14403         java/net/DatagramSocketImplFactory.java (long forgotten),
14404         java/nio/SocketChannel.java,
14405         java/nio/ServerSocketChannel.java,
14406         java/nio/DatagramChannel.java
14407         * Makefile.in: Regenrated.
14409 2002-09-12  Michael Koch  <konqueror@gmx.de>
14411         * java/net/DatagramSocketImpl.java
14412         (peekData): New method.
14413         * java/net/PlainDatagramSocketImpl.java
14414         (peekData): New method.
14415         * java/net/natPlainDatagramSocketImpl.cc
14416         (peekData): New method.
14417         * java/net/URLConnection
14418         (getPermission): New method.
14419         (addRequestProperty): New method.
14420         (getRequestProperties): New method.
14421         (guessContentTypeFromStream): New method, not really implemented.
14422         (URLConnection): Added/updated documentation.
14423         (connect): Added/updated documentation.
14424         (getURL): Added/updated documentation.
14425         (getContentLength): Added/updated documentation.
14426         (getContentType: Added/updated documentation.
14427         (getContentEncoding): Added/updated documentation.
14428         (getExpiration): Added/updated documentation.
14429         (getDate): Added/updated documentation.
14430         (getLastModified): Added/updated documentation.
14431         (getHeaderField): Added/updated documentation.
14432         (getHeaderFields): Added/updated documentation.
14433         (getHeaderFieldInt): Added/updated documentation.
14434         (getHeaderFieldDate): Added/updated documentation.
14435         (getHeaderFieldKey): Added/updated documentation.
14436         (getContent): Added/updated documentation.
14437         (getInputStream): Added/updated documentation.
14438         (getOutputStream): Added/updated documentation.
14439         (toString): Added/updated documentation.
14440         (setDoInput): Added/updated documentation.
14441         (getDoInput): Added/updated documentation.
14442         (setDoOutput): Added/updated documentation.
14443         (getDoOutput): Added/updated documentation.
14444         (setAllowUserInteraction): Added/updated documentation.
14445         (getAllowUserInteraction): Added/updated documentation.
14446         (setDefaultAllowUserInteraction): Added/updated documentation.
14447         (getDefaultAllowUserInteraction): Added/updated documentation.
14448         (setUseCaches): Added/updated documentation.
14449         (getUseCaches): Added/updated documentation.
14450         (setIfModifiedSince): Added/updated documentation.
14451         (getIfModifiedSince): Added/updated documentation.
14452         (getDefaultUseCaches): Added/updated documentation.
14453         (setDefaultUseCaches): Added/updated documentation.
14454         (setRequestProperty): Added/updated documentation.
14455         (getRequestProperty): Added/updated documentation.
14456         (setDefaultRequestProperty): Added/updated documentation.
14457         (getDefaultRequestProperty): Added/updated documentation.
14458         (setContentHandlerFactory): Added/updated documentation.
14459         (guessContentTypeFromName): Added/updated documentation.
14460         (getFileNameMap): Added/updated documentation.
14461         (setFileNameMap): Added/updated documentation.
14463 2002-09-11  Michael Koch  <konqueror@gmx.de>
14465         * java/net/Socket.java
14466         (Socket): protected to public (since JDK 1.4). Added @specnote.
14467         (bind): New method.
14468         (connect): Two new methods.
14469         (getKeepalive): Get correct socket option.
14470         (setKeepalive): Set correct socket option.
14471         (getOOBInline): New method.
14472         (setOOBInline): New method.
14473         * java/net/ServerSocket.java
14474         (bind): Two new methods.
14475         (getInetAddress): Reimplemented, catch exception.
14476         (getLocalSocketAddress): New method.
14477         (setReuseAddress): New method.
14478         (getReuseAdress): New method.
14479         (setReceiveBufferSize): New method.
14480         (getReceiveBufferSize): New method.
14481         (toString): Made string JDK 1.4 compliant.
14483 2002-09-10  Michael Koch  <konqueror@gmx.de>
14485         * java/net/SocketImpl.java
14486         (connect): New method.
14487         (supportsUrgentData): New method.
14488         (sendUrgentData): New method.
14489         * java/net/PlainSocketImpl.java
14490         (connect): One new method and two new implementation.
14491         (sendUrgentData): New method.
14492         * java/natPlainSocketImpl.cc
14493         (connect): Arguments changed, added support for timeouts.
14494         (getOption): Another __java_boolean to jboolean.
14496 2002-09-07  Adam Megacz <adam@xwt.org>
14498         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
14499         definition of IP_TOS.
14501 2002-09-04  Michael Koch  <konqueror@gmx.de>
14503         * java/net/DatagramSocket.java
14504         (DatagramSocket): Added documentation.
14505         (close): Likewise.
14506         (getLocalAddress): Likewise.
14507         (getLocalPort): Likewise.
14508         (receive): Likewise.
14509         (send): Likewise.
14510         (setSoTimeout): Likewise.
14511         (connect): New method.
14512         (disconnect): New method.
14513         (getInetAddress): New method (FIXME)
14514         (getPort): New method.
14515         (setReuseAddress): New method.
14516         (getReuseAddress): New method.
14517         (setBroadcast): New method.
14518         (getBroadcast): New method.
14519         (setTrafficClass): New method.
14520         (getTrafficClass): New method.
14521         * java/net/MulticastSocket.java):
14522         (getTTL): Added @see in documentation.
14523         (setTTL): Added @see in documentation.
14524         (setLoopbackMode): New method.
14525         (getLoopbackMode): New method.
14526         * java/net/PlainSocketImpl.java:
14527         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
14528         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14529         * java/net/PlainDatagramSocketImpl.java
14530         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
14531         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14532         * java/net/natPlainSocketImpl.cc
14533         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
14534         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14535         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
14536         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14537         This should also fix SO_KEEPALIVE
14538         * java/net/natPlainDatagramSocketImpl.cc
14539         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
14540         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14541         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
14542         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14544 2002-09-04  Michael Koch  <konqueror@gmx.de>
14546         * java/net/SocketOptions.java: added static variables to be JDK 1.4
14547         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
14548         IP_MULTICAST_LOOP, IP_TOS
14550 2002-09-03  Tom Tromey  <tromey@redhat.com>
14552         * java/lang/Class.h (_getDeclaredMethod): Declare.
14553         (_getMethod): Now private.
14554         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
14555         getDeclaredMethod.  Now returns NULL on failure.
14556         * java/lang/Class.java (_getDeclaredMethod): Declare.
14557         (getDeclaredMethod): No longer native; implements access checks.
14559 2002-09-01  Mark Wielaard  <mark@klomp.org>
14561         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
14562         (sanitizeStack): Correctly reset unknown and interpreter counters,
14563         detect interpreter runtime frames.
14564         (demangleInterpreterMethod): New method.
14565         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
14566         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
14567         filling in addrs[].
14569 2002-09-02  Michael Koch  <konqueror@gmx.de>
14571         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
14572         re-indented documentation.
14574 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
14576         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
14577         public, per 1.4 spec.  Fixes PR libgcj/7785.
14579 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
14581         * Makefile.in: Rebuilt.
14582         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
14584 2002-08-29  Tom Tromey  <tromey@redhat.com>
14586         * java/net/JarURLConnection.java (getCertificates): New method
14587         from Classpath.
14588         * java/net/URLClassLoader.java (URLClassLoader): Extends
14589         SecureClassLoader.
14590         (definePackage): New method from Classpath.
14591         (getPermissions): Likewise.
14592         (newInstance): Likewise.
14593         (findClass): Construct CodeSource for new class (from Classpath).
14594         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
14595         methods.
14596         * java/net/URL.java (getUserInfo): New method.
14597         (set(String,String,int,String,String,String,String,String)): New
14598         method.
14599         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
14600         (shutdownInput, shutdownOutput): Declare.
14601         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
14602         Define.
14603         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
14604         (getOption): Likewise.
14605         (shutdownInput): New method.
14606         (shutdownOutput): Likewise.
14607         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
14608         keepalive.
14609         (getOption): Likewise.
14610         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
14611         * java/net/Socket.java (setKeepAlive): New method.
14612         (getKeepAlive): Likewise.
14613         (shutdownInput, shutdownOutput): New methods.
14615 2002-08-29  Michael Koch  <konqueror@gmx.de>
14617         * java/net/DatagramPacket.java: updated to JDK 1.4 API
14618         new methods are:
14619         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
14620           address),
14621         DatagramPacket(byte[] buf, int length, SocketAddress address),
14622         void setSocketAddress(SocketAddress address)
14623         public SocketAddress getSocketAddress()
14625 2002-08-29  Tom Tromey  <tromey@redhat.com>
14627         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
14628         ftruncate is missing.
14629         * configure, include/config.h.in: Rebuilt.
14630         * acconfig.h (HAVE_FTRUNCATE): Mention.
14631         * configure.in: Check for ftruncate.
14633 2002-08-29  Tom Tromey  <tromey@redhat.com>
14635         * include/jvm.h (struct _Jv_frame_info): New structure.
14636         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
14637         java-interp.h.
14638         (lookupInterp): New method.
14639         (getAddrAsString): Use _Jv_frame_info.
14640         (dladdrLookup): Likewise.
14641         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
14642         interpreted frame.
14643         (lookupInterp): Declare.
14644         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
14645         (fillInStackTrace): Collect information on interpreted frames.
14646         Use _Jv_frame_info.
14647         * interpret.cc: Include Thread.h.
14648         (run): Create and push _Jv_MethodChain object.
14649         (_Jv_EndOfInterpreter): New global.
14650         * java/lang/Thread.java (interp_frame): New field.
14651         * include/java-interp.h (struct _Jv_MethodChain): New structure.
14652         Include NameFinder.h.
14654 2002-08-28  Tom Tromey  <tromey@redhat.com>
14656         * java/lang/Class.h: Include Package.h.
14657         (Class::getProtectionDomain): Declare.
14658         (Class::getPackage): Declare.
14660 2002-08-28  Michael Koch <konqueror@gmx.de>
14662         * java/net/InetSocketAddress.java: Added some documentation and argument
14663         checks for the port numbers.
14664         * java/net/DatagramSocketImplFactory.java: New file.
14666 2002-08-28  Michael Koch <konqueror@gmx.de>
14668         * java/net/Authenticator.java: added some documentation.
14670 2002-08-27  Tom Tromey  <tromey@redhat.com>
14672         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
14673         class.
14674         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
14676 2002-08-27  Michael Koch <konqueror@gmx.de>
14678         * java/net/BindException.java,
14679         java/net/JarURLConnection.java,
14680         java/net/FileNameMap.java,
14681         java/net/HttpURLConnection.java,
14682         java/net/InetSocketAddress.java,
14683         java/net/DatagramPacket.java,
14684         java/net/DatagramSocket.java,
14685         java/net/DatagramSocketImpl.java,
14686         java/net/MulticastSocket.java,
14687         java/net/PasswordAuthentication.java,
14688         java/net/ServerSocket.java,
14689         java/net/Socket.java,
14690         java/net/URLClassLoader.java,
14691         java/net/URLConnection.java: add/update of some @since/@deprecated
14693 2002-08-27  Tony Kimball <alk@pobox.com>
14694             Tom Tromey  <tromey@redhat.com>
14696         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
14697         define.
14698         (::close): Removed.
14699         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
14700         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
14701         (::close): Removed.
14702         (PlainSocketImpl::close): Use NATIVE_CLOSE.
14703         * include/win32.h (getcwd): Removed declaration.  Include io.h.
14705 2002-08-25  Adam Megacz <adam@xwt.org>
14707         * include/win32.h (getcwd): copied function declaration as
14708         temporary fix for header confusion.
14710 2002-08-24  Mark Wielaard <mark@klomp.org>
14712         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
14713         (core_java_source_files): Add VMThrowable.java and NameFinder.java
14714         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
14715         and natNameFinder.cc.
14716         * Makefile.in: Regenerate.
14717         * prims.cc: Use trace_enabled from VMThrowable.
14718         * name-finder.cc: Removed.
14719         * gcj/javaprims.h: Add class VMThrowable.
14720         * gnu/gcj/runtime/NameFinder.java: New file.
14721         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
14722         * include/name-finder.h: Removed.
14723         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
14724         method stackTraceString().
14725         (printStackTrace (PrintWriter)): Likewise.
14726         (stackTraceString): Complete rewrite of old printStackTrace using
14727         StringBuffer.
14728         (stackTraceStringBuffer): New helper method for stackTraceString().
14729         (fillInStackTrace): Delegate to VMTrowable.
14730         (getStackTrace): Likewise.
14731         (getStackTrace0): Removed.
14732         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
14733         (setStackTrace): Copy given array.
14734         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
14735         * java/lang/VMThrowable.java: New class.
14736         * java/lang/natVMThrowable.cc: New file.
14738 2003-08-23  Michael Koch  <konqueror@gmx.de>
14740         * java/net/URLConnection.java,
14741         java/netJarURLConnection.java,
14742         gnu/gcj/protocol/core/Connection.java,
14743         gnu/gcj/protocol/file/Connection.java,
14744         gnu/gcj/protocol/http/Connection.java: Added implementation of
14745         getHeaderFields().
14747 2002-08-22  Tom Tromey  <tromey@redhat.com>
14749         * gij.cc (help): Document -cp and -classpath.
14750         (main): Handle -classpath.
14752 2002-08-21  Tom Tromey  <tromey@redhat.com>
14754         * Makefile.in: Rebuilt.
14755         * Makefile.am (ordinary_java_source_files): Added
14756         SocketAddress.java, InetSocketAddress.java.
14757         * java/net/PortUnreachableException.java: Merged with Classpath.
14758         * java/net/SocketTimeoutException.java: Likewise.
14759         * java/net/URISyntaxException.java: Likewise.
14760         * java/net/SocketAddress.java: New class from Classpath.
14761         * java/net/InetSocketAddress.java: Likewise.
14763 2003-08-21  Michael Koch  <konqueror@gmx.de>
14765         * java/net/Authenticator.java: updated JDK 1.4
14766         * java/net/ContentHandler.java: updated JDK 1.4
14768 2002-08-20  Michael Koch  <konqueror@gmx.de>
14770         * java/net/URISyntaxException.java: New file.
14771         * java/net/SocketTimeoutException.java: New file.
14772         * java/net/PortUnreachableException.java: New file.
14773         * Makefile.am: Updated.
14774         * Makefile.in: Rebuilt.
14776 2002-08-18  Mark Wielaard  <mark@klomp.org>
14778         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
14779         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
14780         MessageDigestSpi (fixes Classpath bug #783).
14782 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
14784         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
14785         (startProcess): Allocate path for chdir in async-signal-safe way.
14787 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
14789         Fix for PR libgcj/7570 and PR libgcj/7578:
14790         * java/lang/natPosixProcess.cc: Include java/io/File.h.
14791         (startProcess): Handle new `dir' argument.
14792         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
14793         argument.
14794         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
14795         argument.
14796         (startProcess): Likewise.
14797         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
14798         argument.
14799         * java/lang/Runtime.java (execInternal): Added `dir' argument.
14800         (exec): Don't create new environment if ENV==null.  Pass DIR to
14801         execInternal.
14802         * java/lang/natRuntime.cc: Include java/io/File.h.
14803         (execInternal): Added `dir' argument.
14805 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
14807         * java/io/RandomAccessFile.java (skipBytes): Return number of
14808         bytes skipped.
14810 2002-08-01  Mark Wielaard  <mark@klomp.org>
14812         Reenable patch since shared library troubles on powerpc are solved:
14813         * gnu/java/security/provider/Gnu.java: Reference all implementation
14814         classes by using Class.getName().
14815         * gnu/java/security/der/DEREncodingException.java,
14816         gnu/java/security/provider/DERReader.java,
14817         gnu/java/security/provider/DERWriter.java,
14818         gnu/java/security/provider/DSAKeyPairGenerator.java,
14819         gnu/java/security/provider/DSAParameterGenerator.java,
14820         gnu/java/security/provider/DSAParameters.java,
14821         gnu/java/security/provider/DSASignature.java,
14822         gnu/java/security/provider/GnuDSAPrivateKey.java,
14823         gnu/java/security/provider/GnuDSAPublicKey.java,
14824         gnu/java/security/provider/MD5.java,
14825         gnu/java/security/util/Prime.java: New classes
14826         * Makefile.am (ordinary_java_source_files): Add above files.
14827         * Makefile.in: Regenerate.
14828         * gnu/java/security/provider/DefaultPolicy.java
14829         (getPermissions): Don't maintain static class variable of Permissions.
14830         * gnu/java/security/provider/SHA.java
14831         (engineUpdate): algorithm change.
14832         (engineDigest): algorithm change.
14834 2002-08-09  Mark Wielaard  <mark@klomp.org>
14836         * java/awt/image/MemoryImageSource.java: Change constructor to take
14837         int[] not byte[].
14838         * java/awt/Graphics2D.java: Uncomment methods that can now be
14839         compiled.
14840         * java/awt/GridBagLayout.java: New stub implementation.
14841         * javax/swing/text/html/HTML.java: Stub implementation.
14842         * javax/swing/text/html/parser/ParserDelegator.java: New stub
14843         implementation.
14845         * Makefile.am: Add new files.
14846         * Makefile.in: Rebuilt.
14848 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14850         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
14851         methods in Graphics2D.
14853 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14855         AWT/Swing merge from GNU Classpath.
14857         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
14858         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
14859         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
14860         java/awt/color/ProfileDataException.java,
14861         java/awt/CompositeContext.java, java/awt/Composite.java,
14862         java/awt/ContainerOrderFocusTraversalPolicy.java,
14863         java/awt/datatransfer/FlavorTable.java,
14864         java/awt/DefaultFocusTraversalPolicy.java,
14865         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
14866         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
14867         java/awt/dnd/DragGestureListener.java,
14868         java/awt/dnd/DragGestureRecognizer.java,
14869         java/awt/dnd/DragSourceAdapter.java,
14870         java/awt/dnd/DragSourceContext.java,
14871         java/awt/dnd/DragSourceDragEvent.java,
14872         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
14873         java/awt/dnd/DragSourceListener.java,
14874         java/awt/dnd/DragSourceMotionListener.java,
14875         java/awt/dnd/DropTarget.java,
14876         java/awt/dnd/InvalidDnDOperationException.java,
14877         java/awt/dnd/peer/DragSourceContextPeer.java,
14878         java/awt/event/AWTEventListenerProxy.java,
14879         java/awt/event/MouseWheelEvent.java,
14880         java/awt/event/MouseWheelListener.java,
14881         java/awt/event/WindowFocusListener.java,
14882         java/awt/event/WindowStateListener.java,
14883         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
14884         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
14885         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
14886         java/awt/geom/FlatteningPathIterator.java,
14887         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
14888         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
14889         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
14890         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
14891         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
14892         java/awt/image/ImagingOpException.java,
14893         java/awt/image/RasterFormatException.java,
14894         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
14895         java/awt/image/VolatileImage.java,
14896         java/awt/image/WritableRenderedImage.java,
14897         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
14898         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
14899         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
14900         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
14901         java/awt/PageAttributes.java, java/awt/print/Book.java,
14902         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
14903         java/awt/print/Paper.java, java/awt/print/Printable.java,
14904         java/awt/print/PrinterAbortException.java,
14905         java/awt/print/PrinterException.java,
14906         java/awt/print/PrinterGraphics.java,
14907         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
14908         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
14909         java/awt/Stroke.java, java/awt/TexturePaint.java,
14910         javax/accessibility/AccessibleAction.java,
14911         javax/accessibility/AccessibleBundle.java,
14912         javax/accessibility/AccessibleComponent.java,
14913         javax/accessibility/AccessibleContext.java,
14914         javax/accessibility/AccessibleEditableText.java,
14915         javax/accessibility/AccessibleExtendedComponent.java,
14916         javax/accessibility/AccessibleExtendedTable.java,
14917         javax/accessibility/AccessibleHyperlink.java,
14918         javax/accessibility/AccessibleHypertext.java,
14919         javax/accessibility/AccessibleIcon.java,
14920         javax/accessibility/Accessible.java,
14921         javax/accessibility/AccessibleKeyBinding.java,
14922         javax/accessibility/AccessibleRelation.java,
14923         javax/accessibility/AccessibleRelationSet.java,
14924         javax/accessibility/AccessibleResourceBundle.java,
14925         javax/accessibility/AccessibleRole.java,
14926         javax/accessibility/AccessibleSelection.java,
14927         javax/accessibility/AccessibleState.java,
14928         javax/accessibility/AccessibleStateSet.java,
14929         javax/accessibility/AccessibleTable.java,
14930         javax/accessibility/AccessibleTableModelChange.java,
14931         javax/accessibility/AccessibleText.java,
14932         javax/accessibility/AccessibleValue.java,
14933         javax/swing/AbstractAction.java,
14934         javax/swing/AbstractButton.java,
14935         javax/swing/AbstractCellEditor.java,
14936         javax/swing/AbstractListModel.java,
14937         javax/swing/AbstractSet.java, javax/swing/Action.java,
14938         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
14939         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
14940         javax/swing/border/CompoundBorder.java,
14941         javax/swing/border/EmptyBorder.java,
14942         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
14943         javax/swing/border/LineBorder.java,
14944         javax/swing/border/MatteBorder.java,
14945         javax/swing/border/TitledBorder.java,
14946         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
14947         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
14948         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
14949         javax/swing/CellRendererPane.java,
14950         javax/swing/colorchooser/AbstractColorChooserPanel.java,
14951         javax/swing/colorchooser/ColorChooserComponentFactory.java,
14952         javax/swing/colorchooser/ColorSelectionModel.java,
14953         javax/swing/colorchooser/DefaultColorSelectionModel.java,
14954         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
14955         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
14956         javax/swing/DefaultBoundedRangeModel.java,
14957         javax/swing/DefaultButtonModel.java,
14958         javax/swing/DefaultCellEditor.java,
14959         javax/swing/DefaultCellRenderer.java,
14960         javax/swing/DefaultComboBoxModel.java,
14961         javax/swing/DefaultDesktopManager.java,
14962         javax/swing/DefaultFocusManager.java,
14963         javax/swing/DefaultListCellRenderer.java,
14964         javax/swing/DefaultListModel.java,
14965         javax/swing/DefaultListSelectionModel.java,
14966         javax/swing/DefaultSingleSelectionModel.java,
14967         javax/swing/DesktopManager.java,
14968         javax/swing/event/AncestorEvent.java,
14969         javax/swing/event/AncestorListener.java,
14970         javax/swing/event/CaretEvent.java,
14971         javax/swing/event/CaretListener.java,
14972         javax/swing/event/CellEditorListener.java,
14973         javax/swing/event/ChangeEvent.java,
14974         javax/swing/event/ChangeListener.java,
14975         javax/swing/event/DocumentEvent.java,
14976         javax/swing/event/DocumentListener.java,
14977         javax/swing/event/EventListenerList.java,
14978         javax/swing/event/HyperlinkEvent.java,
14979         javax/swing/event/HyperlinkListener.java,
14980         javax/swing/event/InternalFrameAdapter.java,
14981         javax/swing/event/InternalFrameEvent.java,
14982         javax/swing/event/InternalFrameListener.java,
14983         javax/swing/event/ListDataEvent.java,
14984         javax/swing/event/ListDataListener.java,
14985         javax/swing/event/ListSelectionEvent.java,
14986         javax/swing/event/ListSelectionListener.java,
14987         javax/swing/event/MenuDragMouseEvent.java,
14988         javax/swing/event/MenuDragMouseListener.java,
14989         javax/swing/event/MenuEvent.java,
14990         javax/swing/event/MenuKeyEvent.java,
14991         javax/swing/event/MenuKeyListener.java,
14992         javax/swing/event/MenuListener.java,
14993         javax/swing/event/MouseInputAdapter.java,
14994         javax/swing/event/MouseInputListener.java,
14995         javax/swing/event/PopupMenuEvent.java,
14996         javax/swing/event/PopupMenuListener.java,
14997         javax/swing/event/SwingPropertyChangeSupport.java,
14998         javax/swing/event/TableColumnModelEvent.java,
14999         javax/swing/event/TableColumnModelListener.java,
15000         javax/swing/event/TableModelEvent.java,
15001         javax/swing/event/TableModelListener.java,
15002         javax/swing/event/TreeExpansionEvent.java,
15003         javax/swing/event/TreeExpansionListener.java,
15004         javax/swing/event/TreeModelEvent.java,
15005         javax/swing/event/TreeModelListener.java,
15006         javax/swing/event/TreeSelectionEvent.java,
15007         javax/swing/event/TreeSelectionListener.java,
15008         javax/swing/event/TreeWillExpandListener.java,
15009         javax/swing/event/UndoableEditEvent.java,
15010         javax/swing/event/UndoableEditListener.java,
15011         javax/swing/filechooser/FileFilter.java,
15012         javax/swing/filechooser/FileSystemView.java,
15013         javax/swing/filechooser/FileView.java,
15014         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
15015         javax/swing/Icon.java, javax/swing/ImageIcon.java,
15016         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
15017         javax/swing/JApplet.java, javax/swing/JButton.java,
15018         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
15019         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
15020         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
15021         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
15022         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
15023         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
15024         javax/swing/JLayeredPane.java, javax/swing/JList.java,
15025         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
15026         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
15027         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
15028         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
15029         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
15030         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
15031         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
15032         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
15033         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
15034         javax/swing/JTextField.java, javax/swing/JTextPane.java,
15035         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
15036         javax/swing/JToolTip.java, javax/swing/JTree.java,
15037         javax/swing/JViewport.java, javax/swing/JWindow.java,
15038         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
15039         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
15040         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
15041         javax/swing/MenuSelectionManager.java,
15042         javax/swing/MutableComboBoxModel.java,
15043         javax/swing/OverlayLayout.java,
15044         javax/swing/plaf/ActionMapUIResource.java,
15045         javax/swing/plaf/basic/BasicBorders.java,
15046         javax/swing/plaf/basic/BasicButtonUI.java,
15047         javax/swing/plaf/basic/BasicCheckBoxUI.java,
15048         javax/swing/plaf/basic/BasicDefaults.java,
15049         javax/swing/plaf/basic/BasicGraphicsUtils.java,
15050         javax/swing/plaf/basic/BasicIconFactory.java,
15051         javax/swing/plaf/basic/BasicLabelUI.java,
15052         javax/swing/plaf/basic/BasicListUI.java,
15053         javax/swing/plaf/basic/BasicLookAndFeel.java,
15054         javax/swing/plaf/basic/BasicOptionPaneUI.java,
15055         javax/swing/plaf/basic/BasicPanelUI.java,
15056         javax/swing/plaf/basic/BasicRadioButtonUI.java,
15057         javax/swing/plaf/basic/BasicScrollPaneUI.java,
15058         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
15059         javax/swing/plaf/basic/BasicTextUI.java,
15060         javax/swing/plaf/basic/BasicToggleButtonUI.java,
15061         javax/swing/plaf/basic/BasicTreeUI.java,
15062         javax/swing/plaf/basic/BasicViewportUI.java,
15063         javax/swing/plaf/BorderUIResource.java,
15064         javax/swing/plaf/ButtonUI.java,
15065         javax/swing/plaf/ColorChooserUI.java,
15066         javax/swing/plaf/ColorUIResource.java,
15067         javax/swing/plaf/ComboBoxUI.java,
15068         javax/swing/plaf/ComponentInputMapUIResource.java,
15069         javax/swing/plaf/ComponentUI.java,
15070         javax/swing/plaf/DesktopIconUI.java,
15071         javax/swing/plaf/DesktopPaneUI.java,
15072         javax/swing/plaf/DimensionUIResource.java,
15073         javax/swing/plaf/FileChooserUI.java,
15074         javax/swing/plaf/FontUIResource.java,
15075         javax/swing/plaf/IconUIResource.java,
15076         javax/swing/plaf/InputMapUIResource.java,
15077         javax/swing/plaf/InsetsUIResource.java,
15078         javax/swing/plaf/InternalFrameUI.java,
15079         javax/swing/plaf/LabelUI.java,
15080         javax/swing/plaf/ListUI.java,
15081         javax/swing/plaf/MenuBarUI.java,
15082         javax/swing/plaf/MenuItemUI.java,
15083         javax/swing/plaf/OptionPaneUI.java,
15084         javax/swing/plaf/PanelUI.java,
15085         javax/swing/plaf/PopupMenuUI.java,
15086         javax/swing/plaf/ProgressBarUI.java,
15087         javax/swing/plaf/RootPaneUI.java,
15088         javax/swing/plaf/ScrollBarUI.java,
15089         javax/swing/plaf/ScrollPaneUI.java,
15090         javax/swing/plaf/SeparatorUI.java,
15091         javax/swing/plaf/SliderUI.java,
15092         javax/swing/plaf/SplitPaneUI.java,
15093         javax/swing/plaf/TabbedPaneUI.java,
15094         javax/swing/plaf/TableHeaderUI.java,
15095         javax/swing/plaf/TableUI.java,
15096         javax/swing/plaf/TextUI.java,
15097         javax/swing/plaf/ToolBarUI.java,
15098         javax/swing/plaf/ToolTipUI.java,
15099         javax/swing/plaf/TreeUI.java,
15100         javax/swing/plaf/UIResource.java,
15101         javax/swing/plaf/ViewportUI.java,
15102         javax/swing/ProgressMonitorInputStream.java,
15103         javax/swing/ProgressMonitor.java,
15104         javax/swing/Renderer.java,
15105         javax/swing/RepaintManager.java,
15106         javax/swing/RootPaneContainer.java,
15107         javax/swing/Scrollable.java,
15108         javax/swing/ScrollPaneConstants.java,
15109         javax/swing/ScrollPaneLayout.java,
15110         javax/swing/SingleSelectionModel.java,
15111         javax/swing/SizeRequirements.java,
15112         javax/swing/SizeSequence.java,
15113         javax/swing/SwingConstants.java,
15114         javax/swing/SwingUtilities.java,
15115         javax/swing/table/AbstractTableModel.java,
15116         javax/swing/table/DefaultTableCellRenderer.java,
15117         javax/swing/table/DefaultTableColumnModel.java,
15118         javax/swing/table/DefaultTableModel.java,
15119         javax/swing/table/TableCellEditor.java,
15120         javax/swing/table/TableCellRenderer.java,
15121         javax/swing/table/TableColumn.java,
15122         javax/swing/table/TableColumnModel.java,
15123         javax/swing/table/TableModel.java,
15124         javax/swing/text/AbstractDocument.java,
15125         javax/swing/text/AttributeSet.java,
15126         javax/swing/text/BadLocationException.java,
15127         javax/swing/text/Caret.java,
15128         javax/swing/text/CharacterIterator.java,
15129         javax/swing/text/ComponentView.java,
15130         javax/swing/text/DefaultCaret.java,
15131         javax/swing/text/DefaultEditorKit.java,
15132         javax/swing/text/Document.java,
15133         javax/swing/text/EditorKit.java,
15134         javax/swing/text/Element.java,
15135         javax/swing/text/GapContent.java,
15136         javax/swing/text/JTextComponent.java,
15137         javax/swing/text/Keymap.java,
15138         javax/swing/text/MutableAttributeSet.java,
15139         javax/swing/text/PlainDocument.java,
15140         javax/swing/text/PlainEditorKit.java,
15141         javax/swing/text/Position.java,
15142         javax/swing/text/Segment.java,
15143         javax/swing/text/StyledDocument.java,
15144         javax/swing/text/StyledEditorKit.java,
15145         javax/swing/text/Style.java,
15146         javax/swing/text/TextAction.java,
15147         javax/swing/text/ViewFactory.java,
15148         javax/swing/text/View.java,
15149         javax/swing/Timer.java,
15150         javax/swing/ToggleButtonModel.java,
15151         javax/swing/ToolTipManager.java,
15152         javax/swing/tree/AbstractLayoutCache.java,
15153         javax/swing/tree/DefaultMutableTreeNode.java,
15154         javax/swing/tree/DefaultTreeCellEditor.java,
15155         javax/swing/tree/DefaultTreeCellRenderer.java,
15156         javax/swing/tree/DefaultTreeModel.java,
15157         javax/swing/tree/DefaultTreeSelectionModel.java,
15158         javax/swing/tree/ExpandVetoException.java,
15159         javax/swing/tree/FixedHeightLayoutCache.java,
15160         javax/swing/tree/MutableTreeNode.java,
15161         javax/swing/tree/RowMapper.java,
15162         javax/swing/tree/TreeCellEditor.java,
15163         javax/swing/tree/TreeCellRenderer.java,
15164         javax/swing/tree/TreeModel.java,
15165         javax/swing/tree/TreeNode.java,
15166         javax/swing/tree/TreePath.java,
15167         javax/swing/tree/TreeSelectionModel.java,
15168         javax/swing/tree/VariableHeightLayoutCache.java,
15169         javax/swing/UIDefaults.java,
15170         javax/swing/UIManager.java,
15171         javax/swing/undo/AbstractUndoableEdit.java,
15172         javax/swing/undo/CannotRedoException.java,
15173         javax/swing/undo/CannotUndoException.java,
15174         javax/swing/undo/CompoundEdit.java,
15175         javax/swing/undo/StateEditable.java,
15176         javax/swing/undo/StateEdit.java,
15177         javax/swing/undo/UndoableEdit.java,
15178         javax/swing/undo/UndoableEditSupport.java,
15179         javax/swing/undo/UndoManager.java,
15180         javax/swing/UnsupportedLookAndFeelException.java,
15181         javax/swing/ViewportLayout.java,
15182         javax/swing/WindowConstants.java: New files, from GNU Classpath.
15184         * java/awt/ActiveEvent.java,
15185         java/awt/Adjustable.java, java/awt/AWTError.java,
15186         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
15187         java/awt/AWTException.java, java/awt/AWTPermission.java,
15188         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
15189         java/awt/Color.java, java/awt/Component.java,
15190         java/awt/ComponentOrientation.java, java/awt/Container.java,
15191         java/awt/datatransfer/MimeTypeParseException.java,
15192         java/awt/datatransfer/Transferable.java,
15193         java/awt/datatransfer/UnsupportedFlavorException.java,
15194         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
15195         java/awt/event/ActionListener.java,
15196         java/awt/event/AdjustmentEvent.java,
15197         java/awt/event/AdjustmentListener.java,
15198         java/awt/event/AWTEventListener.java,
15199         java/awt/event/ComponentAdapter.java,
15200         java/awt/event/ComponentEvent.java,
15201         java/awt/event/ComponentListener.java,
15202         java/awt/event/ContainerAdapter.java,
15203         java/awt/event/ContainerEvent.java,
15204         java/awt/event/ContainerListener.java,
15205         java/awt/event/FocusAdapter.java,
15206         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
15207         java/awt/event/HierarchyBoundsAdapter.java,
15208         java/awt/event/HierarchyBoundsListener.java,
15209         java/awt/event/HierarchyEvent.java,
15210         java/awt/event/HierarchyListener.java,
15211         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
15212         java/awt/event/InputMethodListener.java,
15213         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
15214         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
15215         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
15216         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
15217         java/awt/event/MouseListener.java,
15218         java/awt/event/MouseMotionAdapter.java,
15219         java/awt/event/MouseMotionListener.java,
15220         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
15221         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
15222         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
15223         java/awt/event/WindowListener.java, java/awt/Font.java,
15224         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
15225         java/awt/geom/Ellipse2D.java,
15226         java/awt/geom/IllegalPathStateException.java,
15227         java/awt/geom/Line2D.java,
15228         java/awt/geom/NoninvertibleTransformException.java,
15229         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
15230         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
15231         java/awt/geom/RoundRectangle2D.java,
15232         java/awt/GraphicsConfiguration.java,
15233         java/awt/IllegalComponentStateException.java,
15234         java/awt/image/IndexColorModel.java,
15235         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
15236         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
15237         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
15238         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
15239         java/awt/MenuItem.java, java/awt/PaintContext.java,
15240         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
15241         java/awt/Polygon.java, java/awt/PrintGraphics.java,
15242         java/awt/PrintJob.java, java/awt/Rectangle.java,
15243         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
15244         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
15245         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
15247         * java/awt/im/spi/InputMethod.java,
15248         java/awt/im/spi/InputMethodContext.java,
15249         java/awt/im/spi/InputMethodDescriptor.java,
15250         java/awt/image/renderable/ContextualRenderedImageFactory.java,
15251         java/awt/image/renderable/ParameterBlock.java,
15252         java/awt/image/renderable/RenderContext.java,
15253         java/awt/image/renderable/RenderableImage.java,
15254         java/awt/image/renderable/RenderableImageOp.java,
15255         java/awt/image/renderable/RenderableImageProducer.java,
15256         java/awt/image/renderable/RenderedImageFactory.java: New files from
15257         classpath.
15259         * gnu/java/awt/EventModifier.java,
15260         gnu/java/awt/image/ImageDecoder.java,
15261         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
15263         * gnu/awt/xlib/XGraphicsConfiguration.java,
15264         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
15265         API.
15267         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
15268         GNU Classpath.
15270         * Makefile.am: Add new files.
15271         * Makefile.in: Rebuilt.
15273 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15275         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
15276         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
15277         findResource, getResources, findResources): Add javadoc from classpath.
15278         (getSystemResources): Implemented.
15280 2002-08-01  Mark Wielaard  <mark@klomp.org>
15282         Revert patch that breaks libgcj shared library on powerpc:
15283         * gnu/java/security/provider/Gnu.java: Reverse referencing all
15284         implementation classes by using Class.getName(). Uses Strings again.
15285         * gnu/java/security/der/DEREncodingException.java,
15286         gnu/java/security/provider/DERReader.java,
15287         gnu/java/security/provider/DERWriter.java,
15288         gnu/java/security/provider/DSAKeyPairGenerator.java,
15289         gnu/java/security/provider/DSAParameterGenerator.java,
15290         gnu/java/security/provider/DSAParameters.java,
15291         gnu/java/security/provider/DSASignature.java,
15292         gnu/java/security/provider/GnuDSAPrivateKey.java,
15293         gnu/java/security/provider/GnuDSAPublicKey.java,
15294         gnu/java/security/provider/MD5.java,
15295         gnu/java/security/util/Prime.java: Removed.
15296         * Makefile.am (ordinary_java_source_files): Remove above files.
15297         * Makefile.in: Regenerate.
15298         * gnu/java/security/provider/DefaultPolicy.java
15299         (getPermissions): Revert to maintaining static class variable of
15300         Permissions.
15301         * gnu/java/security/provider/SHA.java
15302         (engineUpdate): Revert algorithm change.
15303         (engineDigest): Revert algorithm change.
15305 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
15307         * configure.host: Add SH support.
15308         * sysdep/sh/locks.h: New file.
15310 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15312         * java/awt/Frame.java (Frame): Remove println calls.
15314 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
15316         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
15317         * configure: Rebuilt.
15319 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
15321         * sysdep/powerpc/locks.h: Formatting.
15322         (_LARX): Define.
15323         (_STCX): Define.
15324         (compare_and_swap): Use _LARX and _STCX.
15325         (compare_and_swap_release): Likewise.
15327 2002-07-26  Tom Tromey  <tromey@redhat.com>
15329         * java/net/Authenticator.java: New version from Classpath.
15330         * java/net/DatagramSocketImpl.java: New version from Classpath.
15332 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
15334         * configure.host: Add powerpc64*-* entry.
15336 2002-07-26  Tom Tromey  <tromey@redhat.com>
15338         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
15339         fcntl.h.
15341 2002-07-24  Tom Tromey  <tromey@redhat.com>
15343         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
15344         argument to _load.
15346 2002-07-24  Tom Tromey  <tromey@redhat.com>
15347             Tony Kimball <alk@pobox.com>
15349         * java/io/natFileDescriptorWin32.cc (setLength): New method.
15350         * java/io/natFileDescriptorPosix.cc (setLength): New method.
15351         * java/io/RandomAccessFile.java (setLength): New method.
15352         * java/io/natFileDescriptorEcos.cc (setLength): New method.
15353         * java/io/FileDescriptor.java (setLength): New method.
15355 2002-07-24  Mark Wielaard  <mark@klomp.org>
15357         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
15358         * java/io/ObjectInputStream.java (setBooleanField): Before setting
15359         field call setAccessible(true).
15360         (setByteField): Likewise.
15361         (setCharField): Likewise.
15362         (setDoubleField): Likewise.
15363         (setFloatField): Likewise.
15364         (setIntField): Likewise.
15365         (setLongField): Likewise.
15366         (setShortField): Likewise.
15367         (setObjectField): Likewise.
15369 2002-07-24  Tom Tromey  <tromey@redhat.com>
15371         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
15372         use toString() to format array element.
15374 2002-07-23  Mark Wielaard  <mark@klomp.org>
15376         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
15377         MessageDigestSpi (fixes Classpath bug #783).
15379 2002-07-21  Mark Wielaard  <mark@klomp.org>
15381         * gnu/java/security/provider/Gnu.java: Reference all implementation
15382         classes by using Class.getName().
15384 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
15386         * java/lang/ieeefp.h: Add x86-64 support.
15387         * configure.in: Likewise.
15388         * configure.host: Likewise.
15389         * configure: Regenerated.
15390         * sysdep/x86-64/locks.h: New file with x86-64 locks.
15392 2002-07-16  Mark Wielaard  <mark@klomp.org>
15394         * java/io/StreamTokenizer.java (pushBack): Update documentation.
15395         (whitespaceChars): call resetChar().
15397 2002-07-15  Tom Tromey  <tromey@redhat.com>
15399         * Makefile.in: Rebuilt.
15400         * Makefile.am (awt_java_source_files): Added new files.
15401         * java/beans/ExceptionListener.java: Merged with Classpath.
15402         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
15403         * java/beans/PropertyChangeListener.java: Merged with Classpath.
15404         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
15405         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
15406         * java/beans/VetoableChangeListener.java: Merged with Classpath.
15407         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
15408         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
15410 2002-07-14  Mark Wielaard  <mark@klomp.org>
15412         * gnu/java/security/der/DEREncodingException.java,
15413         gnu/java/security/provider/DERReader.java,
15414         gnu/java/security/provider/DERWriter.java,
15415         gnu/java/security/provider/DSAKeyPairGenerator.java,
15416         gnu/java/security/provider/DSAParameterGenerator.java,
15417         gnu/java/security/provider/DSAParameters.java,
15418         gnu/java/security/provider/DSASignature.java,
15419         gnu/java/security/provider/GnuDSAPrivateKey.java,
15420         gnu/java/security/provider/GnuDSAPublicKey.java,
15421         gnu/java/security/provider/MD5.java,
15422         gnu/java/security/util/Prime.java: New files from Classpath.
15423         * Makefile.am (ordinary_java_source_files): Add new files.
15424         * Makefile.in: Regenerate.
15426 2002-07-14  C. Brian Jones <cbj@gnu.org>
15428         * gnu/java/security/provider/DefaultPolicy.java
15429         (getPermissions): do not maintain static class variable of
15430         Permissions
15431         * gnu/java/security/provider/SHA.java
15432         (engineUpdate): algorithm change
15433         (engineDigest): algorithm change
15435 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
15437         For PR libgcj/7292:
15438         * java/lang/Character.java (toString(char)): Now static.
15440 2002-07-12  Mark Wielaard  <mark@klomp.org>
15442         * java/lang/natThrowable.cc (printRawStackTrace): removed.
15443         (getStackTrace0): new method.
15444         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
15445         (printStackTrace(PrintWriter)): replace with pure java implementation.
15446         (printRawStackTrace): removed.
15447         (getStackTrace0): new method.
15448         * java/lang/StackTraceElement.java (toString): add extra whitespace.
15449         * gcj/javaprims.h: regenerate class list.
15450         * include/name-finder.h (lookup): new returns StackTraceElement*.
15451         (method_name, file_name): fields removed.
15452         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
15453         (~_Jv_name_finder): close new descriptors.
15454         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
15455         (createStackTraceElement): new method.
15456         (lookup): returns StackTraceElement*, uses createStackTraceElement().
15458 2002-07-10  Tom Tromey  <tromey@redhat.com>
15460         * configure: Rebuilt.
15461         * configure.in: Use `test' after `&&'.  From Chris Faylor.
15463 2002-07-08  Mark Wielaard  <mark@klomp.org>
15465         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
15466         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
15467         java.sql.DatabaseMetaData.TestJdbc20
15469 2002-07-05  Tony Kimball  <alk@pobox.com>
15471         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
15473 2002-07-04  Tom Tromey  <tromey@redhat.com>
15474             Jeff Sturm  <jsturm@one-point.com>
15476         Fix for PR libgcj/7060:
15477         * java/lang/Class.h (_getMethod): Renamed from getMethod.
15478         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
15479         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
15480         * java/lang/Class.java (getMethod): New Java implementation;
15481         complies with spec.
15482         (_getMethod): New native method.
15484 2002-07-02  Tom Tromey  <tromey@redhat.com>
15485             David Hovemeyer  <daveho@cs.umd.edu>
15487         * java/text/ChoiceFormat.java
15488         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
15489         in check loop.
15490         * java/text/MessageFormat.java
15491         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
15492         to MessageFormat.
15494 2002-07-01  Tom Tromey  <tromey@redhat.com>
15496         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
15497         StringTokenizer on null string.  For PR libgcj/7180.
15498         From daveho@cs.umd.edu.
15500 2002-06-24  Tom Tromey  <tromey@redhat.com>
15502         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
15503         (IntegerClass): Likewise.
15504         * java/lang/natClass.cc (CloneableClass): Removed.
15505         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
15506         ConstructorClass): Likewise.
15507         * java/lang/natClassLoader.cc (CloneableClass): Removed.
15508         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
15509         SerializableClass): Likewise.
15510         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
15511         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
15512         LongClass, FloatClass, DoubleClass): Likewise.
15514         * verify.cc (branch_prepass): Updated for change to exception
15515         handler type.
15516         (verify_instructions_0): Likewise.
15517         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
15518         (handleExceptionTableEntry): Updated for change to exception
15519         handler type.
15520         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
15521         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
15522         (union _Jv_InterpPC): New.
15523         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
15524         (class _Jv_InterpMethod): Added new `prepared' field.
15525         (class _Jv_InterpMethod): Added `compile' method.  Removed
15526         `continue1' and `find_exception'.  Changed arguments to `run'.
15527         * interpret.cc (union insn_slot): New.
15528         (find_exception): Removed.
15529         (run_normal): Removed most logic.
15530         (run_synch_object): Likewise; also, use JvSynchronize.
15531         (run_synch_class): Likewise.
15532         (run): Removed.
15533         (continue1): Renamed as `run'.  Compile bytecode if required.
15534         Add new code to allow refinement of direct-threaded code at
15535         runtime.  Handle exceptions.
15536         (SAVE_PC): Removed.
15537         (compile): New method.
15538         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
15539         (NULLARRAYCHECK): Don't use SAVE_PC.
15540         (pc_t): New typedef.
15541         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
15542         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
15544 2002-06-23  Tom Tromey  <tromey@redhat.com>
15546         * configure: Rebuilt.
15547         * configure.in (INTERPRETER): New subst.
15548         (AM_RUNTESTFLAGS): Don't subst.
15550         * Makefile.in: Rebuilt.
15551         * Makefile.am ($(srcdir)/java/lang/Object.h,
15552         $(srcdir)/java/lang/Class.h): Added dummy targets.
15554 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15556         Reformat JDBC classes and add new JDK 1.4 classes and methods.
15558         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
15559         java/sql/Savepoint.java: New files.
15560         * java/sql/Array.java, java/sql/BatchUpdateException.java,
15561         java/sql/Blob.java, java/sql/CallableStatement.java,
15562         java/sql/Clob.java, java/sql/Connection.java,
15563         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
15564         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
15565         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
15566         java/sql/Ref.java, java/sql/ResultSet.java,
15567         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
15568         java/sql/SQLException.java, java/sql/SQLInput.java,
15569         java/sql/SQLOutput.java, java/sql/SQLWarning.java
15570         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
15571         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
15572         (JDK 1.4) specification.
15573         * javax/sql/ConnectionEvent.java,
15574         javax/sql/ConnectionEventListener.java,
15575         javax/sql/ConnectionPoolDataSource.java,
15576         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
15577         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
15578         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
15579         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
15580         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
15581         javax/sql/XADataSource.java: New files.
15582         * Makefile.am: Add new files.
15583         * Makefile.in: Rebuilt.
15585 2002-06-20  Tom Tromey  <tromey@redhat.com>
15587         For PR libgcj/7073:
15588         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
15589         exists.
15590         * defineclass.cc (handleClassBegin): Superclass for interface is
15591         `null'.
15593 2002-06-18  Tom Tromey  <tromey@redhat.com>
15595         * gcj/javaprims.h: Updated class declaration list.
15596         * Makefile.in: Rebuilt.
15597         * Makefile.am (core_java_source_files): Removed
15598         BasicMapEntry.java.
15599         * java/util/BasicMapEntry.java: Removed.
15601 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
15603         * java/net/natPlainDatagramSocketImpl.cc (receive):
15604         Check bounds of argument to FD_SET.
15605         (setOption): Throw exception if socket is closed.
15607         * java/net/natPlainSocketImpl.cc (accept, read):
15608         Check bounds of argument to FD_SET.
15609         (setOption): Throw exception if socket is closed.
15611 2002-06-18  Tom Tromey  <tromey@redhat.com>
15613         * gcj/javaprims.h: Updated class declaration list.
15614         * Makefile.in: Rebuilt.
15615         * Makefile.am (core_java_source_files): Added
15616         PropertyPermissionCollection.java.
15617         * java/lang/Thread.java (group, name): Now package-private.
15618         * java/lang/ThreadGroup.java: Re-merge with Classpath.
15619         * java/util/AbstractList.java: Likewise.
15620         * java/util/AbstractMap.java: Likewise.
15621         * java/util/Calendar.java: Likewise.
15622         * java/util/Collections.java: Likewise.
15623         * java/util/HashMap.java: Likewise.
15624         * java/util/Hashtable.java: Likewise.
15625         * java/util/LinkedHashMap.java: Likewise.
15626         * java/util/LinkedList.java: Likewise.
15627         * java/util/List.java: Likewise.
15628         * java/util/ListResourceBundle.java: Likewise.
15629         * java/util/Map.java: Likewise.
15630         * java/util/Observable.java: Likewise.
15631         * java/util/Properties.java: Likewise.
15632         * java/util/PropertyPermission.java: Likewise.
15633         * java/util/PropertyPermissionCollection.java: Likewise.
15634         * java/util/PropertyResourceBundle.java: Likewise.
15635         * java/util/Random.java: Likewise.
15636         * java/util/SimpleTimeZone.java: Likewise.
15637         * java/util/StringTokenizer.java: Likewise.
15638         * java/util/TimerTask.java: Likewise.
15639         * java/util/TreeMap.java: Likewise.
15640         * java/util/WeakHashMap.java: Likewise.
15641         * java/util/jar/Attributes.java: Likewise.
15642         * java/util/jar/JarException.java: Likewise.
15643         * java/util/jar/Manifest.java: Likewise.
15645 2002-06-17  Tom Tromey  <tromey@redhat.com>
15647         * gcj/javaprims.h: Updated class declaration list.
15648         * Makefile.in: Rebuilt.
15649         * Makefile.am (core_java_source_files): Added new file.
15650         * java/util/EventListenerProxy.java: New file.
15651         * java/util/EventListener.java: Re-merge with Classpath.
15652         * java/util/EventObject.java: Re-merge with Classpath.
15654 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
15656         * java/lang/ClassNotFoundException.java: New Classpath version.
15658 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
15660         * java/rmi/activation/ActivateFailedException.java: Remerge from
15661         Classpath version.
15662         * java/rmi/activation/ActivationException.java: Ditto.
15663         * java/rmi/activation/UnknownGroupException.java: Ditto.
15664         * java/rmi/activation/UnknownObjectException.java: Ditto.
15665         * java/rmi/server/ExportException: Ditto.
15666         * java/rmi/server/ServerCloneException: Ditto.
15667         * java/rmi/server/ServerNotActiveException: Ditto.
15668         * java/rmi/server/SkeletonMismatchException: Ditto.
15669         * java/rmi/server/SkeletonNotFoundException: Ditto.
15670         * java/rmi/server/SocketSecurityException: Ditto.
15672 2002-06-16  Tom Tromey  <tromey@redhat.com>
15674         * gcj/javaprims.h: Updated class declaration list.
15676         * java/io/LineNumberInputStream.java: Merged with Classpath.
15678         * java/lang/RuntimeException.java: Re-merge with Classpath.
15679         * java/util/ArrayList.java: Likewise.
15680         * java/util/Arrays.java: Likewise.
15681         * java/util/BitSet.java: Likewise.
15682         * java/util/Dictionary.java: Likewise.
15683         * java/util/IdentityHashMap.java: Likewise.
15684         * java/util/MissingResourceException.java: Likewise.
15685         * java/util/Observer.java: Likewise.
15686         * java/util/TooManyListenersException.java: Likewise.
15687         * java/util/zip/DataFormatException.java: Likewise.
15688         * java/util/zip/ZipException.java: Likewise.
15690 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
15692         * java/rmi/AccessException.java: Remerge from Classpath.
15693         * java/rmi/AlreadyBoundException.java: Ditto.
15694         * java/rmi/ConnectException.java: Ditto.
15695         * java/rmi/ConnectIOException.java: Ditto.
15696         * java/rmi/MarshalException.java: Ditto.
15697         * java/rmi/NoSuchObjectException.java: Ditto.
15698         * java/rmi/NotBoundException.java: Ditto.
15699         * java/rmi/RemoteException.java: Ditto.
15700         * java/rmi/RMISecurityException.java: Ditto.
15701         * java/rmi/ServerError.java: Ditto.
15702         * java/rmi/ServerException.java: Ditto.
15703         * java/rmi/ServerRuntimeException.java: Ditto.
15704         * java/rmi/StubNotFoundException.java: Ditto.
15705         * java/rmi/UnexpectedExcpetion.java: Ditto.
15706         * java/rmi/UnknownHostException.java: Ditto.
15707         * java/rmi/UnmarshalException.java: Ditto.
15709 2002-06-15  Tom Tromey  <tromey@redhat.com>
15711         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
15712         * java/lang/ArithmeticException.java: Likewise.
15713         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
15714         * java/lang/ArrayStoreException.java: Likewise.
15715         * java/lang/Byte.java: Likewise.
15716         * java/lang/CharSequence.java: Likewise.
15717         * java/lang/ClassCastException.java: Likewise.
15718         * java/lang/ClassCircularityError.java: Likewise.
15719         * java/lang/ClassFormatError.java: Likewise.
15720         * java/lang/CloneNotSupportedException.java: Likewise.
15721         * java/lang/Cloneable.java: Likewise.
15722         * java/lang/Comparable.java: Likewise.
15723         * java/lang/Compiler.java: Likewise.
15724         * java/lang/Error.java: Likewise.
15725         * java/lang/ExceptionInInitializerError.java: Likewise.
15726         * java/lang/IllegalAccessError.java: Likewise.
15727         * java/lang/IllegalAccessException.java: Likewise.
15728         * java/lang/IllegalArgumentException.java: Likewise.
15729         * java/lang/IllegalMonitorStateException.java: Likewise.
15730         * java/lang/IllegalStateException.java: Likewise.
15731         * java/lang/IllegalThreadStateException.java: Likewise.
15732         * java/lang/IncompatibleClassChangeError.java: Likewise.
15733         * java/lang/IndexOutOfBoundsException.java: Likewise.
15734         * java/lang/InheritableThreadLocal.java: Likewise.
15735         * java/lang/InstantiationError.java: Likewise.
15736         * java/lang/InstantiationException.java: Likewise.
15737         * java/lang/InternalError.java: Likewise.
15738         * java/lang/InterruptedException.java: Likewise.
15739         * java/lang/LinkageError.java: Likewise.
15740         * java/lang/NegativeArraySizeException.java: Likewise.
15741         * java/lang/NoClassDefFoundError.java: Likewise.
15742         * java/lang/NoSuchFieldError.java: Likewise.
15743         * java/lang/NoSuchFieldException.java: Likewise.
15744         * java/lang/NoSuchMethodError.java: Likewise.
15745         * java/lang/NoSuchMethodException.java: Likewise.
15746         * java/lang/NullPointerException.java: Likewise.
15747         * java/lang/NumberFormatException.java: Likewise.
15748         * java/lang/OutOfMemoryError.java: Likewise.
15749         * java/lang/Process.java: Likewise.
15750         * java/lang/Runnable.java: Likewise.
15751         * java/lang/RuntimePermission.java: Likewise.
15752         * java/lang/SecurityException.java: Likewise.
15753         * java/lang/Short.java: Likewise.
15754         * java/lang/StackOverflowError.java: Likewise.
15755         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
15756         * java/lang/ThreadDeath.java: Likewise.
15757         * java/lang/ThreadLocal.java: Likewise.
15758         * java/lang/UnknownError.java: Likewise.
15759         * java/lang/UnsatisfiedLinkError.java: Likewise.
15760         * java/lang/UnsupportedClassVersionError.java: Likewise.
15761         * java/lang/UnsupportedOperationException.java: Likewise.
15762         * java/lang/VerifyError.java: Likewise.
15763         * java/lang/VirtualMachineError.java: Likewise.
15764         * java/lang/reflect/InvocationTargetException.java: Likewise.
15765         * java/net/BindException.java: Likewise.
15766         * java/net/ConnectException.java: Likewise.
15767         * java/net/MalformedURLException.java: Likewise.
15768         * java/net/NoRouteToHostException.java: Likewise.
15769         * java/net/ProtocolException.java: Likewise.
15770         * java/net/SocketException.java: Likewise.
15771         * java/net/UnknownHostException.java: Likewise.
15772         * java/net/UnknownServiceException.java: Likewise.
15774         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
15775         * java/io/CharConversionException.java: Likewise.
15776         * java/io/EOFException.java: Likewise.
15777         * java/io/FileNotFoundException.java: Likewise.
15778         * java/io/IOException.java: Likewise.
15779         * java/io/InterruptedIOException.java: Likewise.
15780         * java/io/InvalidClassException.java: Likewise.
15781         * java/io/InvalidObjectException.java: Likewise.
15782         * java/io/NotActiveException.java: Likewise.
15783         * java/io/NotSerializableException.java: Likewise.
15784         * java/io/ObjectStreamException.java: Likewise.
15785         * java/io/ObjectStreamConstants.java: Likewise.
15786         * java/io/OptionalDataException.java: Likewise.
15787         * java/io/PipedInputStream.java: Likewise.
15788         * java/io/PushbackInputStream.java: Likewise.
15789         * java/io/StreamCorruptedException.java: Likewise.
15790         * java/io/SyncFailedException.java: Likewise.
15791         * java/io/UTFDataFormatException.java: Likewise.
15792         * java/io/UnsupportedEncodingException.java: Likewise.
15793         * java/io/WriteAbortedException.java: Likewise.
15795 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
15797         * java/text/ChoiceFormat.java: Update comments from Classpath.
15798         * java/text/ParseException.java (serialVersionUID): New
15799         field from Classpath.
15800         * java/text/ParseException.java: Update formatting & comments
15801         from Classpath.
15803 2002-06-15  Tom Tromey  <tromey@redhat.com>
15805         * java/util/zip/InflaterInputStream.java (read): Loop if data has
15806         been read but none output by inflater.
15807         * java/util/zip/natDeflater.cc (reset): Set is_finished.
15808         * java/util/zip/natInflater.cc (reset): Set dist_needed and
15809         is_finished.
15810         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
15811         version.
15812         * java/util/zip/ZipFile.java: Replaced with Classpath version.
15813         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
15814         * java/util/zip/ZipInputStream.java: Replaced with Classpath
15815         version.
15816         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
15818 2002-06-13  Tom Tromey  <tromey@redhat.com>
15820         * java/lang/natString.cc (init): Handle case where DONT_COPY is
15821         true and OFFSET!=0.
15822         * java/lang/String.java (String(char[],int,int,boolean): New
15823         constructor.
15824         * java/lang/Long.java: Imported new version from Classpath.
15825         * java/lang/Number.java: Likewise.
15826         * java/lang/Integer.java: Likewise.
15827         * java/lang/Long.java: Likewise.
15828         * java/lang/Float.java: Likewise.
15829         * java/lang/Boolean.java: Likewise.
15830         * java/lang/Double.java: Likewise.
15831         * java/lang/Void.java: Likewise.
15833 2002-06-12  Tom Tromey  <tromey@redhat.com>
15835         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
15836         Fixes PR libgcj/6652.
15838 2002-06-10  Tom Tromey  <tromey@redhat.com>
15840         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
15841         (Class::getPackagePortion): Likewise.
15842         * java/lang/Class.java (desiredAssertionStatus): New method from
15843         Classpath.
15844         (getPackagePortion): Likewise.
15845         * java/lang/VMClassLoader.java (defaultAssertionStatus,
15846         packageAssertionStatus, classAssertionStatus): New methods from
15847         Classpath.
15848         * java/lang/ClassLoader.java (defaultAssertionStatus,
15849         systemPackageAssertionStatus, packageAssertionStatus,
15850         systemClassAssertionStatus, classAssertionStatus): New fields from
15851         Classpath.
15852         (setDefaultAssertionStatus, setPackageAssertionStatus,
15853         setClassAssertionStatus, clearAssertionStatus): New methods from
15854         Classpath.
15855         * Makefile.in: Rebuilt.
15856         * Makefile.am (core_java_source_files): Added AssertionError.java.
15857         * java/lang/AssertionError.java: New from Classpath.
15859 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15861         * configure.host: Disable hash synchronization and slow_pthread_self
15862         for cygwin.
15864 2002-06-06  Adam Megacz <adam@xwt.org>
15866         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
15867         locking, just like the Sun JVM does.
15869 2002-06-05  H.J. Lu  (hjl@gnu.org)
15871         * Makefile.am (libgcj_convenience.la): Revert the last change.
15872         (libgcj.la): Likewise.
15873         * Makefile.in: Regenerated.
15875 2002-06-04  H.J. Lu  (hjl@gnu.org)
15877         * Makefile.am (libgcj_convenience.la): New target.
15878         (libgcj.la): Depend on libgcj_convenience.la.
15879         * Makefile.in: Regenerated.
15881 2002-06-04  H.J. Lu  (hjl@gnu.org)
15883         * configure.in (--with-newlib): New option:
15884         Check ${with_newlib} instead of ${with_cross_host} for newlib.
15885         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
15886         Linux.
15887         * configure: Regenerated.
15889 2002-06-04  Tom Tromey  <tromey@redhat.com>
15891         * java/util/natTimeZone.cc: Include <stdio.h>.
15893 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
15895         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
15896         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
15897         Set SIGNAL_HANDLER=include/s390-linux.h.
15898         * configure: Regenerate.
15899         * include/s390-linux.h: New file.
15901 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15903         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
15904         not "stackTrace".
15906 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15908         Merge JDK 1.4 java.security changes from classpath.
15910         * java/security/AccessControlException.java: Merge from Classpath.
15911         * java/security/AccessController.java: Likewise.
15912         * java/security/AllPermission.java: Likewise.
15913         * java/security/BasicPermission.java: Likewise.
15914         * java/security/Certificate.java: Likewise.
15915         * java/security/CodeSource.java: Likewise.
15916         * java/security/DigestException.java: Likewise.
15917         * java/security/DigestOutputStream.java: Likewise.
15918         * java/security/DomainCombiner.java: Likewise.
15919         * java/security/GeneralSecurityException.java: Likewise.
15920         * java/security/Guard.java: Likewise.
15921         * java/security/GuardedObject.java: Likewise.
15922         * java/security/InvalidAlgorithmParameterException.java: Likewise.
15923         * java/security/InvalidKeyException.java: Likewise.
15924         * java/security/InvalidParameterException.java: Likewise.
15925         * java/security/Key.java: Likewise.
15926         * java/security/KeyException.java: Likewise.
15927         * java/security/KeyManagementException.java: Likewise.
15928         * java/security/KeyStoreException.java: Likewise.
15929         * java/security/MessageDigest.java: Likewise.
15930         * java/security/NoSuchAlgorithmException.java: Likewise.
15931         * java/security/NoSuchProviderException.java: Likewise.
15932         * java/security/Permission.java: Likewise.
15933         * java/security/PermissionCollection.java: Likewise.
15934         * java/security/Permissions.java: Likewise.
15935         * java/security/Policy.java: Likewise.
15936         * java/security/Principal.java: Likewise.
15937         * java/security/PrivateKey.java: Likewise.
15938         * java/security/PrivilegedAction.java: Likewise.
15939         * java/security/PrivilegedActionException.java: Likewise.
15940         * java/security/PrivilegedExceptionAction.java: Likewise.
15941         * java/security/ProtectionDomain.java: Likewise.
15942         * java/security/ProviderException.java: Likewise.
15943         * java/security/PublicKey.java: Likewise.
15944         * java/security/SecureClassLoader.java: Likewise.
15945         * java/security/SecurityPermission.java: Likewise.
15946         * java/security/SignatureException.java: Likewise.
15947         * java/security/UnrecoverableKeyException.java: Likewise.
15948         * java/security/UnresolvedPermission.java: Likewise.
15949         * java/security/acl/AclNotFoundException.java: Likewise.
15950         * java/security/acl/LastOwnerException.java: Likewise.
15951         * java/security/acl/NotOwnerException.java: Likewise.
15952         * java/security/cert/CRLException.java: Likewise.
15953         * java/security/cert/CertificateEncodingException.java: Likewise.
15954         * java/security/cert/CertificateException.java: Likewise.
15955         * java/security/cert/CertificateExpiredException.java: Likewise.
15956         * java/security/cert/CertificateFactory.java: Likewise.
15957         * java/security/cert/CertificateNotYetValidException.java: Likewise.
15958         * java/security/cert/CertificateParsingException.java: Likewise.
15959         * java/security/spec/InvalidKeySpecException.java: Likewise.
15960         * java/security/spec/InvalidParameterSpecException.java: Likewise.
15962         * java/security/cert/CertPath.java: New file.
15963         * java/security/cert/CertPathBuilderException.java: New file.
15964         * java/security/cert/CertPathValidatorException.java: New file.
15965         * java/security/cert/CertStoreException.java: New file.
15967         * Makefile.am: Add new CertPath classes.
15968         * Makefile.in: Rebuilt.
15970         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
15972 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15974         Merge JDK 1.4 exception chaining support from classpath.
15976         * java/lang/Throwable.java: Merge 1.4 support from classpath.
15977         (stackTraceBytes): Rename from stackTrace.
15978         * java/lang/Exception.java: Merge from classpath.
15979         * java/lang/StackTraceElement: New file from classpath.
15980         * gcj/javaprims.h: Rebuild CNI namespace declarations.
15981         * Makefile.am: Add StackTraceElement.
15982         * Makefile.in: Rebuilt.
15984 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15986         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
15987         they build first.
15988         * Makefile.in: Rebuilt.
15990 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
15992         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
15993         * configure.in: Likewise.
15994         * aclocal.m4: Regenerate.
15995         * configure: Regenerate.
15997 2002-05-13  Tom Tromey  <tromey@redhat.com>
15999         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
16000         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
16001         Include platform.h.
16003         Fixes PR libgcj/6389:
16004         * Makefile.in: Rebuilt.
16005         * Makefile.am (nat_source_files): Added natTimeZone.cc.
16006         * java/util/natTimeZone.cc: New file.
16007         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
16008         * java/lang/System.java: Merged with Classpath.
16009         * java/lang/Runtime.java: Merged with Classpath.
16010         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
16011         security check.
16012         (setIn0): Renamed from setIn; don't run security check.
16013         (setOut0): Renamed from setOut; don't run security check.
16014         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
16015         init_properties): Moved to natRuntime.cc.
16016         Moved many includes to natRuntime.cc.
16017         (isWordsBigEndian): New method.
16018         * java/lang/natRuntime.cc: Include Long.h, also other includes
16019         previously in natSystem.cc.
16020         (maxMemory): New function.
16021         (exitInternal): Renamed from `_exit'.
16022         (exit): Removed.
16023         (init): Don't set finalize_on_exit.
16024         (exitInternal): Use `finalizeOnExit'.
16025         (file_encoding, getpwuid_adaptor): New functions from
16026         natSystem.cc.
16027         (insertSystemProperties): New method, renamed from
16028         System::init_properties.  Don't set user.timezone.
16029         (_load): Don't call checkLink.
16030         (execInternal): New method.
16031         (availableProcessors): Likewise.
16032         (nativeGetLibname): Likewise.
16034 2002-05-11  Mark Wielaard  <mark@klomp.org>
16036         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
16037         space characters.
16038         (previous_internal): Likewise.
16040 2002-05-09  Tom Tromey  <tromey@redhat.com>
16042         * jni.cc (_Jv_JNIFunctions): Fixed typo.
16044         * java/util/ResourceBundle.java: New version from Classpath.
16045         * java/util/Locale.java: Likewise.
16047 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
16049         * testsuite/lib/libjava.exp (libjava_arguments): Append all
16050         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
16051         LD_LIBRARY_PATH.
16053 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
16055         * libjava/Makefile.am (all_java_source_files): New variable.
16056         (all_java_class_files): Likewise.
16057         .java.class: New rule.
16058         (CLEANFILES): Remove tmp-list.
16059         * libjava/Makefile.in: Regenerated.
16061 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
16063         * testsuite/lib/libjava.exp (test_libjava_from_javac):
16064         Append .exe to executable names.  Fix for cygwin.
16066 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
16068         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
16069         script entry, and set LD to it when configuring multilibs.
16070         * configure: Rebuilt.
16072 2002-05-07  Tom Tromey  <tromey@redhat.com>
16074         * java/lang/natString.cc (unintern): Fixed typo.
16076 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
16078         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
16079         with -no-install on *-*-cygwin*.
16081 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
16083         * testsuite/lib/libjava.exp (test_libjava_from_source):
16084         Add comment explaining last patch
16086 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
16088         * testsuite/lib/libjava.exp (test_libjava_from_source):
16089         Append .exe to executable names.  If no suffix is present,
16090         then ".exe" is added by default on win32.  Harmless
16091         elsewhere so always do it.
16093 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
16094             Tom Tromey  <tromey@redhat.com>
16096         * java/lang/natSystem.cc (getSystemTimeZone): Use
16097         HAVE_UNDERSCORE_TIMEZONE.
16098         * include/config.h.in: Rebuilt.
16099         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
16100         * aclocal.m4, configure: Rebuilt.
16101         * acinclude.m4: Run AC_EXEEXT.
16102         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
16103         Add test for `_timezone'.
16105 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
16107         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16108         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
16109         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
16110         * Makefile.in: Rebuilt.
16112 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
16114         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
16115         use sigaction instead of __libc_sigaction.
16117 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
16119         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
16120         (libjava_init): Use it to find libgcj.spec.
16121         (libjava_arguments): Likewise.
16123 2002-05-02  David S. Miller  <davem@redhat.com>
16125         PR bootstrap/6525
16126         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
16127         __libc_sigaction on Sparc.
16129 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
16131         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
16132         sys/filio.h, if present.
16134 2002-04-30  Tom Tromey  <tromey@redhat.com>
16136         * java/io/BufferedReader.java (fill): Handle case where markPos
16137         point to ignored \n.  Fixes PR libgcj/6301.
16139 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
16141         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
16143 2002-04-29  Adam King <aking@dreammechanics.com>
16145         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
16146         of file in APPEND mode.
16148 2002-04-25  David S. Miller  <davem@redhat.com>
16150         PR target/6422
16151         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
16152         program counter to next program counter minus 8.  Update
16153         comments in this macro to explain why.
16155 2002-04-26  Tom Tromey  <tromey@redhat.com>
16157         * verify.cc (construct_primitive_array_type) [void_type]: New
16158         case.
16159         (branch_prepass): Added dummy entries for unused instruction
16160         values.
16161         (verify_instructions_0): Likewise.
16162         * interpret.cc (continue1): Comment fix.
16163         * include/java-insns.h (op_xxxunusedxxx1): Removed.
16164         * Makefile.in: Rebuilt.
16165         * Makefile.am: Added -Wswitch-enum.
16167 2002-04-24  Tom Tromey  <tromey@redhat.com>
16169         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
16170         correct length of UTF-8 encoded name.  Strip leading `/'.
16171         (_Jv_RegisterResource): Use _Jv_Malloc.
16173 2002-04-23  Adam Megacz <adam@xwt.org>
16175         * win32.cc, include/win32.cc (backtrace): Added this function
16176         because Win32 does not supply it.
16178 2002-04-21  David S. Miller  <davem@redhat.com>
16180         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
16181         magic instruction reading sequence.
16183 2002-04-21  Mark Wielaard  <mark@klomp.org>
16185         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
16187 2002-04-19  David S. Miller  <davem@redhat.com>
16189         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
16190         arg.
16191         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
16192         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
16193         on Sparc too.
16194         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
16195         for 64-bit sparc.
16196         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
16197         * sysdeps/sparc/locks.h: New file.
16198         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
16199         on all sparc Solaris configurations.  Set to
16200         include/dwarf2-signal.h on sparc Linux.
16201         * configure: Regenerate
16202         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
16204 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
16206         * configure: Rebuilt.
16207         * configure.in (backtrace): Function doesn't work on IA-64.
16209 2002-04-17  Adam King <aking@dreammechanics.com>
16211         * java/io/File.java (normalizePath): Add Win32 support for auto
16212         conversion of a '/' path separator to Win32's '\' separator.
16214 2002-04-16  Tom Tromey  <tromey@redhat.com>
16216         Fix for PR libgcj/6081:
16217         * Makefile.in: Rebuilt.
16218         * Makefile.am (install-data-local): Use GNU make trick to avoid
16219         shell limit.
16221 2002-04-16  Adam King <aking@dreammechanics.com>
16222             Tom Tromey  <tromey@redhat.com>
16224         * java/io/natFileWin32.cc (performList): Return the correct array
16225         type.  Don't duplicate the creation of a File since it's already
16226         done earlier in the method and the existing code would cause a
16227         ArrayStoreException.  Don't use fixed-size array.
16228         (_access, _stat, attr, getCanonicalPath, performMkdir,
16229         performRenameTo): Don't use fixed-size array.
16230         (getCanonicalPath): Use throw, not _Jv_Throw.
16232 2002-04-15  DJ Delorie  <dj@redhat.com>
16234         * configure.in: Allow building in $srcdir.
16235         * configure: Regenerated.
16237 2002-04-14  Mark Wielaard <mark@klomp.org>
16239         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
16240         * java/net/natSocketImpl.cc (close): Likewise.
16242 2002-04-14  Mark Wielaard <mark@klomp.org>
16244         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
16246 2002-04-13  Adam King <aking@dreammechanics.com>
16248         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
16249         the f/F/d/D modifiers.
16251 2002-04-12  Anthony Green  <green@redhat.com>
16253         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
16254         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
16255         * Makefile.in: Rebuilt.
16256         * configure.in: Substitute gcc_version.
16257         * configure: Rebuilt.
16259 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16261         * configure.host: Set can_unwind_signal on hosts which support it.
16262         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
16263         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
16264         exceptions and can_unwind_signal isn't set.
16265         * configure: Rebuilt.
16267 2002-04-11  Tom Tromey  <tromey@redhat.com>
16269         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
16271 2002-04-11  Adam King <aking@dreammechanics.com>
16272             Tom Tromey  <tromey@redhat.com>
16274         * include/jvm.h (_Jv_ThrowBadArrayIndex,
16275         _Jv_ThrowNullPointerException): Mark as noreturn.
16276         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
16277         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
16278         fixes.
16280 2002-04-10  Tom Tromey  <tromey@redhat.com>
16282         * Makefile.in: Rebuilt.
16283         * Makefile.am (java/lang/Thread.h): Mark
16284         _Jv_AttachCurrentThreadAsDaemon as friend.
16285         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
16286         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
16287         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
16288         function.
16289         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
16290         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
16291         (_Jv_JNI_InvokeFunctions): Added
16292         _Jv_JNI_AttachCurrentThreadAsDaemon.
16293         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
16294         (JNI_GetDefaultJavaVMInitArgs): Likewise.
16295         (JNI_CreateJavaVM): Likewise.
16296         (_Jv_JNI_AttachCurrentThread): Likewise.
16297         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
16298         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
16299         (_Jv_JNIFunctions): Initialize new fields.
16300         (_Jv_JNI_NewDirectByteBuffer): New function.
16301         (_Jv_JNI_GetDirectBufferAddress): Likewise.
16302         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
16303         * include/jni.h (JNI_VERSION_1_4): New macro.
16304         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
16305         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
16306         (JNINativeInterface::NewDirectByteBuffer): New field.
16307         (JNINativeInterface::GetDirectBufferAddress): New field.
16308         (JNINativeInterface::GetDirectBufferCapacity): New field.
16309         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
16310         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
16311         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
16313 2002-04-09  Tom Tromey  <tromey@redhat.com>
16315         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
16317 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
16319         Fix for PR libgcj/6187:
16320         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
16321         distance.
16323 2002-04-07  Mark Wielaard <mark@klomp.org>
16325         * java/util/AbstractMap.java (putAll): Use entrySet size.
16326         (toString): Explicitly use getKey() and getValue().
16328 2002-04-07  Mark Wielaard <mark@klomp.org>
16330         * java/util/Hashtable.java (contains): Remove NullPointer check.
16331         (containsValue): Add NullPointer check.
16332         (remove): Always throw NullPointerException when key
16333         is null.
16335 2002-04-07  Adam King <aking@dreammechanics.com>
16337         * java/lang/natSystem.cc (init_properties): Call new function
16338         _Jv_platform_initProperties.
16339         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
16340         support for the System properties os.name, os.arch, os.version,
16341         user.name, user.home, and user.dir.
16342         * include/posix.h, include/win32.h, posix.cc: New function
16343         _Jv_platform_initProperties.
16345 2002-04-06  Mark Wielaard <mark@klomp.org>
16347         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
16349 2002-04-06  Mark Wielaard <mark@klomp.org>
16351         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
16352         all of the remaining elements.
16353         * java/util/Vector.java (addAll(int,Collection)): Likewise.
16354         (removeRange): If toIndex == fromIndex do
16355         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
16356         (removeAll): Always throw NullPointerException when collection is
16357         null.
16358         (retrainAll): Likewise.
16360 2002-04-05  Mark Wielaard <mark@klomp.org>
16362         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
16363         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
16365 2002-04-05  Adam Megacz <adam@xwt.org>
16367         * exception.cc (abort): added static modifier
16369 2002-04-04  Adam Megacz <adam@xwt.org>
16371         * include/win32.h (_Jv_platform_close_on_exec): added inline
16372         modifier.
16374 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
16376         * configure.host: Add case statement to support generic port
16377         properties.  Add *-*-freebsd* section.
16379 2002-04-04  Mark Wielaard  <mark@klomp.org>
16381         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
16382         test.
16383         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
16384         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
16385         that depend on awt code and BufferedByteOutputStream.interrupt.
16387 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16389         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
16390         incorrect "hi" value when count > 40.
16392 2002-04-03  Mark Wielaard  <mark@klomp.org>
16394         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
16395         ordering.
16397 2002-04-02  Tom Tromey  <tromey@redhat.com>
16399         * java/lang/natClassLoader.cc (findClass): Compare against `3',
16400         not `0'.
16402 2002-04-02  Mark Wielaard  <mark@klomp.org>
16404         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
16405         list of testsuite crashers.
16407 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16409         * java/util/IdentityHashMap.java (put): Set new threshold correctly
16410         when resizing table.
16412 2002-04-01  Mark Wielaard  <mark@klomp.org>
16414         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
16415         NegativeArraySizeException
16416         (clear(int)): Use sign extended shift.
16417         (flip(int)): Likewise.
16418         (get(int)): Likewise.
16419         (nextClearBit(int)): Likewise.
16420         (nextSetBit(int)): Likewise.
16421         (set(int)): Likewise.
16423 2002-04-01  Mark Wielaard  <mark@klomp.org>
16425         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
16426         that can be compiled now and add testsuite crashers to ignore list.
16428 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
16430         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
16432         * libgcj.spec.in: Override libgcc, not lib.
16433         * libgcj-test.spec.in: Likewise.
16435 2002-03-29  Tom Tromey  <tromey@redhat.com>
16437         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
16438         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
16440 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
16442         * java/net/PlainDatagramSocketImpl.java
16443         (close): Use native implementation.
16444         (finalize): New method.
16446         * java/net/PlainSocketImpl.java (finalize): New method.
16448         * java/net/natPlainDatagramSocketImpl.cc
16449         (java/io/FileDescriptor.h): Don't include.
16450         (close): Implement method here.
16451         (create): Don't assign fd.
16453         * java/net/natPlainSocketImpl.cc
16454         (java/io/FileDescriptor.h): Don't include.
16455         (create): Don't assign fd.
16456         (accept): Likewise.
16457         (close): Synchronize.
16459 2002-03-27  Richard Henderson  <rth@redhat.com>
16461         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
16463 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
16465         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
16466         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
16467         instead of syscall on IA-64.
16468         Add FIXME comment.
16470 2002-03-27  Anthony Green  <green@redhat.com>
16472         * libgcj.spec.in: Add CHECKREFSPEC.
16473         * configure.in: Ditto.
16474         * configure.host: Ditto.  Check references for xscale-elf.
16475         * configure: Rebuilt.
16477 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
16479         * include/dwarf2-signal.h: Temporarily back out last change.
16481 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
16483         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
16485 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
16487         * configure.in, configure: enable dwarf2-exception-style
16488         exception handling on IA-64.
16489         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
16490         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
16491         Add FIXME comment.
16493 2002-03-25  Tom Tromey  <tromey@redhat.com>
16495         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
16496         (jv_convert_LDFLAGS): Likewise.
16497         (gij_LDFLAGS): Likewise.
16498         (rmic_LDFLAGS): Likewise.
16499         (rmiregistry_LDFLAGS): Likewise.
16500         * configure.in (THREADLDFLAGS): New subst; set correctly for
16501         *BSD.
16503 2002-03-25  Tom Tromey  <tromey@redhat.com>
16505         For PR libgcj/5303:
16506         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
16507         and --version.
16508         (help): New method.
16509         (version): Likewise.
16510         * gnu/gcj/convert/Convert.java (version): Removed extraneous
16511         "GNU".
16512         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
16513         "GNU".
16515 2002-03-25  Tom Tromey  <tromey@redhat.com>
16517         * java/awt/Component.java (processEvent): Check ComponentEvent
16518         after KeyEvent.
16520 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16522         * java/io/PushbackReader.java: Reformat.
16524         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
16525         calculate correct number of bytes skipped.
16527         Based on patch from Intel's ORP team:
16528         * java/io/PushbackInputStream.java (available): Calculate correct
16529         number of bytes in buffer.
16530         (read): Remove redundant bound check. Return bytes from both the
16531         buffer and the stream.
16533 2002-03-24  Tom Tromey  <tromey@redhat.com>
16535         * java/awt/TextComponent.java (TextComponent): Editable by
16536         default.
16538         * java/awt/MenuItem.java (eventMask): No longer private.
16539         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
16540         superclass if we didn't handle event.
16541         * java/awt/Checkbox.java (dispatchEventImpl): New method.
16542         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
16543         * java/awt/Choice.java (dispatchEventImpl): New method.
16544         * java/awt/List.java (dispatchEventImpl): New method.
16545         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
16546         * java/awt/TextComponent.java (dispatchEventImpl): New method.
16547         * java/awt/TextField.java (dispatchEventImpl): New method.
16549 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
16551         * java/beans/IntrospectionException.java: Update to 1.4.
16552         * java/beans/PropertyVetoException.java: Ditto.
16554 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
16556         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
16557         Arrays.equals instead of ArrayHelper.equalsArray.
16559 2002-03-24  C. Brian Jones <cbj@gnu.org>
16561         * java/beans/Introspector.java: added new static final fields
16562         introduced in 1.2, lots of other updates remain to be done
16564 2002-03-24  C. Brian Jones <cbj@gnu.org>
16566         * java/beans/Introspector.java: reformatting
16568 2002-03-24  C. Brian Jones <cbj@gnu.org>
16570         * java/beans/Introspector.java: default beanInfoSearchPath will
16571         not include sun.beans.infos given we provide no such package and
16572         the API doesn't really require it; gnu.java.beans.info is the
16573         default.
16575 2002-03-24  Mark Wielaard  <mark@klomp.org>
16577         Thanks to Orp developers
16578         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
16579         switch TRUE and FALSE return values.
16581 2002-03-23  Tom Tromey  <tromey@redhat.com>
16583         * include/name-finder.h (_Jv_name_finder::myclose): New method.
16584         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
16586 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
16588         * java/util/GregorianCalendar.java (minimums, maximums): Correct
16589         MONTH entry.  Fixes PR libgcj/6045.
16591 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
16593         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
16595 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16597         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
16598         not release_set.
16599         * sysdep/powerpc/locks.h (write_barrier): New function.
16600         * sysdep/i386/locks.h (write_barrier): New function.
16602 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
16604         * include/jni.h Use correct C comments.
16606 2002-03-18  Tom Tromey  <tromey@redhat.com>
16608         * include/jni.h (JNIIMPORT): New macro.
16609         (JNIEXPORT): Likewise.
16610         (JNICALL): Likewise.
16612 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
16614         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
16615         systems.
16617 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
16619         * include/i386-signal.h (old_i386_kernel_sigaction): New.
16620         INIT_SEGV: Use old_i386_kernel_sigaction.
16621         INIT_FP: Likewise.
16623 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16625         * java/lang/natSystem.cc (init_properties): Update VM version
16626         properties.
16627         * configure.in: Set GCJVERSION.
16628         * acconfig.h: Add GCJVERSION.
16629         * configure: Rebuilt.
16630         * include/config.h.in: Rebuilt.
16632 2002-03-17  Anthony Green  <green@redhat.com>
16634         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
16636 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16638         Build a single libgcj.so, without separate gc and zlib libraries.
16639         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
16640         SYS_ZLIBS if system zlib is used.
16641         * configure: Rebuilt.
16642         * Makefile.am: Use boehm-gc and zlib convenience libraries.
16643         * Makefile.in: Rebuilt.
16644         * libtool-version: Increment .so version number.
16646         * Makefile.am: Escape quotes in echo.
16647         * Makefile.in: Rebuilt.
16649 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16651         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
16652         * Makefile.in: Rebuilt.
16654 2002-03-15  Anthony Green  <green@redhat.com>
16656         * configure.host (FILE): New macro for specifing File
16657         implementation.
16658         * configure: Rebuilt.
16659         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
16661 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
16663         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
16664         already implicitly brought in from libgcj.la.
16665         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
16666         * Makefile.in: Rebuilt.
16668 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
16670         * THANKS: Fix punctuation, alphabetization.
16672 2002-03-15  Tom Tromey  <tromey@redhat.com>
16673             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16675         Fix for PR libgcj/5944.
16676         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
16678 2002-03-15  Anthony Green  <green@redhat.com>
16680         * configure.in (tool_include_dir): Define.
16681         * configure: Rebuilt.
16682         * gcj/Makefile.am: Install libgcj-config.h relative to
16683         tool_include_dir.
16684         * gcj/Makefile: Rebuilt.
16685         * gcj/libgcj-config.h: Add warning comment.
16687 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
16689         * configure.host (powerpc*-darwin*): Enable interpreter.
16691 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16693         * include/posix.h: Add multiple include header protection.
16694         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
16696 2002-03-10  Adam Megacz <adam@xwt.org>
16698         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
16700 2002-03-10  Tom Tromey  <tromey@redhat.com>
16702         * java/awt/GridLayout.java (layoutContainer): Handle case where
16703         there are no items in container.
16705         * java/lang/Win32Process.java: Added comment.
16706         * include/posix.h (_Jv_platform_close_on_exec): New function.
16707         Include fcntl.h.
16708         * include/win32.h (_Jv_platform_close_on_exec): New function.
16709         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
16710         flag.
16711         (accept): Likewise.
16712         * java/net/natPlainDatagramSocketImpl.cc (create): Set
16713         close-on-exec flag.
16714         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
16715         flag.
16717 2002-03-09  Tom Tromey  <tromey@redhat.com>
16719         * verify.cc (state::NO_STACK): New constant.
16720         (state::is_unmerged_ret_state): Handle case where stacktop is
16721         NO_STACK.
16722         (state::merge): Handle NO_STACK merges.
16723         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
16724         for instruction following jsr.
16725         (stacktop, stackdepth): Removed unused variables.
16726         (pop_jump): Ignore case where all remaining states are skipped.
16728 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16730         * java/awt/ImageMediaEntry: Removed.
16731         * java/awt/MediaEntry: Removed.
16733 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16735         Hashtable synchronization for PowerPC.
16736         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
16737         slow_pthread_self. Set up symlink for sysdeps directory.
16738         * configure: Rebuild.
16739         * configure.host: Document more shell variables. Set sysdeps_dir
16740         for most platforms. Set slow_pthread_self for i686. Set
16741         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
16742         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
16743         that memory barrier is emitted where required.
16744         * prims.cc: 64-bit align static primitive class instances.
16745         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
16746         read_barrier() to enforce ordering of reads.
16747         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
16748         primitives for PowerPC.
16749         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
16750         moved from natObject.cc.
16751         * sysdep/alpha/locks.h: Likewise.
16752         * sysdep/ia64/locks.h: Likewise.
16753         * sysdep/generic/locks.h: Likewise.
16754         * java/lang/natObject.cc: Move thread synchronization primitives to
16755         system-dependent headers.
16757 2002-03-09  Adam Megacz  <adam@xwt.org>
16759         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
16760         bytes read and no failure code returned.
16762 2002-03-09  Adam Megacz  <adam@xwt.org>
16764         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
16765         definitions to simulate -mthreads.
16767 2002-03-09  Adam Megacz  <adam@xwt.org>
16769         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
16770         avoid precision loss.
16772 2002-03-09  Per Bothner  <per@bothner.com>
16774         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
16775         * gnu/gcj/xlib/XImage.java:  Likewise.
16776         * gnu/gcj/xlib/XColor.java:  Likewise.
16778 2002-03-09  Adam Megacz  <adam@xwt.org>
16780         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
16781         IOException so that Throwable.printStackTrace fails correctly.
16783 2002-03-08  Adam Megacz  <adam@xwt.org>
16785         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
16786         fixed.
16788 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16790         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
16791         truncated to int.
16793 2002-03-08  Tom Tromey  <tromey@redhat.com>
16795         * include/jni.h: Include stdio.h.
16797 2002-03-08  Tom Tromey  <tromey@redhat.com>
16799         * posix.cc (internal_gettimeofday): New function.
16800         (_Jv_select): Use it.
16802 2002-03-07  Adam Megacz  <adam@xwt.org>
16804         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
16805         WIN32, and added thunks for read(), write(), and close().
16806         * java/net/natPlainSocketImpl.cc (accept, read, read):
16807         Disabled timeouts on WIN32 pending discussion.
16809 2002-03-07  Adam Megacz  <adam@xwt.org>
16811         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
16812         returns jlong. Added implementation
16813         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
16814         returns jlong.
16815         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
16816         returns jlong.
16817         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
16818         returns jlong.
16819         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
16820         _Jv_platform_gettimeofday signature.
16822 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16824         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
16825         (read): Call recv() directly, not _Jv_recv().
16827 2002-03-06  Tom Tromey  <tromey@redhat.com>
16829         * java/io/natFileDescriptorEcos.cc (init): Don't use
16830         GetStdHandle.
16831         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
16832         is negative.
16833         (init): Don't use GetStdHandle.
16835         * include/config.h.in: Rebuilt.
16836         * configure: Rebuilt.
16837         * Makefile.in: Rebuilt.
16839 2002-03-06  Adam Megacz  <adam@xwt.org>
16841         * java/io/FileDescriptor.java: Initialize in/out/err in init().
16842         * java/io/natFileDescriptorWin32.cc (init()): Added function.
16843         * java/io/natFileDescriptorPosix.cc (init()): Added function.
16844         * java/io/natFileDescriptorEcos.cc (init()): Added function.
16846 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
16848         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
16849         the code for generating include/java-chartables.h.
16850         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
16851         merge with Classpath.
16852         * scripts/unicode-muncher.pl: Copy from Classpath.
16853         * scritps/MakeCharTables.java: New file.
16854         * gnu/gcj/convert/Blocks-3.txt: New file.
16855         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
16856         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
16857         * gnu/java/lang/CharData.java: Copy from Classpath.
16858         * Makefile.am (ordinary_java_source_files): Add
16859         gnu/java/lang/CharData.java.
16860         * configure.in: Remove --enable-fast-character option.
16861         * java/lang/Character.java: Merge algorithms and Javadoc with
16862         Classpath.
16863         * java/lang/natCharacter.cc: Implement Unicode lookup table more
16864         efficiently.
16865         * include/java-chardecomp.h: Regenerate.
16866         * include/java-chartables.h: Regenerate.
16868 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16870         * java/awt/MediaTracker.java: Implemented.
16871         * Makefile.am: Add MediaTracker.
16872         * Makefile.in: Rebuilt.
16874 2002-03-05  Tom Tromey  <tromey@redhat.com>
16876         * java/lang/natPosixProcess.cc (fail): Removed.
16877         (startProcess): Simplified error-handling.  Preserve
16878         LD_LIBRARY_PATH across exec.
16880         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
16881         AbstractMethodError.
16883 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16885         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
16886         * Makefile.in: Rebuilt.
16888 2002-03-03 Mark Wielaard <mark@klomp.org>
16890         * java/util/Timer (TaskQueue.stop): set elements to zero.
16892 2002-02-28  Anthony Green  <green@redhat.com>
16894         * java/lang/reflect/natMethod.cc (result): Add void* element.
16895         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
16896         constructor test.
16898 2002-02-27  Adam Megacz <adam@xwt.org>
16900         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
16901         '#undef STRICT'.
16903 2002-02-26  Tom Tromey  <tromey@redhat.com>
16905         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
16906         * gij.cc (version): Use __VERSION__.
16907         * include/config.h.in: Rebuilt.
16908         * acconfig.h (GCJVERSION): Removed.
16909         * configure: Rebuilt.
16910         * configure.in (GCJVERSION): Removed.
16912 2002-02-26  Andreas Schwab  <schwab@suse.de>
16914         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
16915         glibcpp_CXX, since libjava uses even another CXX.
16916         * aclocal.m4, configure: Regenerated.
16918 2002-02-26  Tom Tromey  <tromey@redhat.com>
16920         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
16921         `1'.
16923 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16925         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
16926         dependency tracking for .java files.
16927         * Makefile.in: Rebuilt.
16929 2002-02-24  Adam Megacz  <adam@xwt.org>
16931         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
16932         typo. Sorry.
16934 2002-02-24  Adam Megacz  <adam@xwt.org>
16936         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
16937         for Win32, changed #ifdefs to check WIN32 instead of the
16938         (now-obsolete) USE_WINSOCK, and removed support for socket
16939         timeouts on Win32 pending further discussion.
16941 2002-02-24  Adam Megacz  <adam@xwt.org>
16943         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
16944         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
16945         delete
16947 2002-02-24  Adam Megacz  <adam@xwt.org>
16949         * java/lang/Win32Process.java: Created a dummy class to allow
16950         build process to run to completion.
16952 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
16954         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
16955         Define ffi_result union for ffi_call result.  Cast
16956         ffi_result members to jvalue.
16958 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
16960         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
16961         * testsuite/Makefile.in: Likewise.
16963 2002-02-20  Per Bothner  <per@bothner.com>
16965         * java/net/URL.java (getPath):  New JDK 1.3 method.
16967         * java/net/URLStreamHandler.java (parseURL):
16968         It is wrong to prepend '/' to the file part of a relative url.
16970         * java/net/URLStreamHandler.java (parseURL):
16971         Minor optizations - append '/' rather than "/".
16973         * java/net/URLStreamHandler.java (parseURL):
16974         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
16975         We probably should canonicalize for a context-relative url, though.
16976         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
16977         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
16978         (sameFile):  New method.  Uses canonicalizeFilename.
16980 2002-02-22  Tom Tromey  <tromey@redhat.com>
16982         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
16983         java.vendor and java.vm.vendor.
16984         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
16985         recent copyright date.
16986         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
16987         * gij.cc (version): Print `Inc'.
16989 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
16991         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
16992         * aclocal.m4, configure: Rebuilt.
16994 2002-02-20  Per Bothner  <per@bothner.com>
16996         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
16997         and/or output streams immediately here, instead of using File.exists.
16998         (inputStream, outputStream):  New fields to save open streams.
16999         (getInputStream, getOutputStream):  Use already-opened streams.
17001 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
17003         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
17004         Use it.
17005         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
17006         * aclocal.m4, configure, Makefile.in: Rebuilt.
17008 2002-02-19  Tom Tromey  <tromey@redhat.com>
17010         Fix for PR libgcj/5696:
17011         * verify.cc (is_assignable_from_slow): Never call
17012         _Jv_IsAssignableFrom.
17013         (verify_instructions_0): Added new debug statement.
17014         (state::print): Print information about whether local has
17015         changed.
17016         (state::merge): Don't call note_variable when merging locals.
17017         (state::set_exception): Removed old FIXME comment.
17019 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
17021         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
17022         enable SO_BROADCAST.
17024 2002-02-18  Jason Merrill  <jason@redhat.com>
17026         * name-finder.cc (toHex): Use word mode, not long long.
17028         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
17030 2002-02-15  Tom Tromey  <tromey@redhat.com>
17032         Fix for PR libgcj/5695:
17033         * verify.cc (is_assignable_from_slow): Check to see if target is
17034         an Object before checking to see if source is an interface.
17035         (verify_instructions_0) [op_invokeinterface]: Handle case where
17036         we're making an interface call on Object.
17038 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
17040         * Makefile.in: Rebuilt with Eric's change below.
17042         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
17043         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
17044         Removed functions which are now implemented in Math.java.
17046 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
17048         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
17049         * Makefile.am (core_java_source_files): Add
17050         java/lang/StrictMath.java.
17051         * java/lang/Math.java: Merge with Classpath.
17052         * java/lang/StrictMath.java: New file - merge with Classpath.
17054 2002-02-14  Mark Wielaard  <mark@klomp.org>
17056         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
17057         package as a workaround for gcj 3.0.x
17059 2002-02-14  Mark Wielaard <mark@klomp.org>
17061         * java/security/BasicPermission.java: extends with fully qualified
17062         classname as workaround for gcj 3.0.4.
17064 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
17066         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
17067         around gcj bug of wrong emitted qualifier for inherited method.
17068         * java/net/SocketImpl.java (setOption, getOption): Ditto.
17069         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
17070         constructor to reduce amount of emitted bytecode. While this
17071         happens to work around a jikes 1.15 bug, it is still a useful
17072         patch even for correct compilers.
17073         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
17074         * gnu/java/rmi/server/UnicastRemoteCall.java
17075         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
17077 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
17079         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
17080         * java/net/SocketImpl.java: Ditto.
17081         * java/rmi/server/RMIClassLoader.java: Ditto.
17082         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
17084 2002-02-14  Mark Wielaard <mark@klomp.org>
17086         Thanks to Takashi Okamoto
17087         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
17088         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
17089         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
17091 2002-02-13  Todd Stock  <toddastock@yahoo.com>
17093         Fix for PR libgcj/5670:
17094         * verify.cc (is_assignable_from_slow): If `source' is interface,
17095         recursively look for merge with `target'.
17097 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
17099         * include/jni.h: Fix typo.
17101 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
17103         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
17104         correctly.
17106 2002-02-13  Todd Stock  <toddastock@yahoo.com>
17108         Fix for PR libgcj/5671:
17109         * verify.cc (state::merge): Handle case where we're merging
17110         against an interface.
17112 2002-02-12  Tom Tromey  <tromey@redhat.com>
17114         * exception.cc (std::abort): Mark as noreturn.
17116 2002-02-12  Adam Megacz <adam@xwt.org>
17118         * java/lang/Win32Process.java: Filled in a placeholder
17119         implementation so Win32 will build.
17121 2002-02-12  Adam Megacz <adam@xwt.org>
17123         * java/io/natFilePosix.cc: Copied this from natFile.cc.
17124         * java/io/natFile.cc: Removed from repository.
17125         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
17127 2002-02-12  Adam Megacz <adam@xwt.org>
17129         * win32.cc: Added two #includes to make win32.cc compile.
17131 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
17133         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
17134         declarations.
17135         (_Jv_InitGC): Don't bother locking, as this is always called from a
17136         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
17138 2002-02-11  Adam Megacz <adam@xwt.org>
17140         * include/win32.h: Added _Jv_platform_gettimeofday.
17141         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
17143 2002-02-11  Adam Megacz <adam@xwt.org>
17145         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
17146         Added #undef STRICT to make windows.h and
17147         java/lang/reflect/Modifier.h cooperate.
17149 2002-02-11  Adam Megacz <adam@xwt.org>
17151         * java/io/natFileWin32.cc: Created a placeholder class with lots
17152         of FIXMEs.
17154 2002-02-11  Adam Megacz <adam@xwt.org>
17156         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
17157         std::abort() to simply abort(). Also added "fake" std::abort() so
17158         we can #include unwind-pe.h without having to link against
17159         libstdc++-v3.
17161 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
17163         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
17165 2002-02-08  Tom Tromey  <tromey@redhat.com>
17167         * interpret.cc (convert): New function.
17168         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
17169         convert.
17170         Include Long.h.
17172 2002-02-08  Anthony Green  <green@redhat.com>
17174         * configure.host: Add support for xscale-elf embedded target.
17176 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
17178         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
17179         dereferenced.
17180         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
17181         frame.
17183 2002-02-07  Tom Tromey  <tromey@redhat.com>
17185         * java/io/natFile.cc (_access): Use __builtin_alloca.
17186         (_stat): Likewise.
17187         (attr): Likewise.
17188         (getCanonicalPath): Likewise.
17189         (performList): Likewise.
17190         (performMkdir): Likewise.
17191         (performSetReadOnly): Likewise.
17192         (performRenameTo): Likewise.
17193         (performSetLastModified): Likewise.
17194         (performCreate): Likewise.
17195         (performDelete): Likewise.
17197 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
17199         * HACKING: Fix URL for the automake-gcj.
17201 2002-02-07  Tom Tromey  <tromey@redhat.com>
17203         * java/lang/natThrowable.cc: Updated copyright.
17204         * java/io/natFileWin32.cc: Updated copyright.
17205         * java/io/natFileDescriptorWin32.cc: Updated copyright.
17206         * win32-threads.cc: Updated copyright.
17207         * name-finder.cc: Updated copyright.
17208         * include/name-finder.h: Updated copyright.
17210         * include/name-finder.h: Conditionally include sys/wait.h.
17211         * include/config.h.in: Rebuilt.
17213         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
17214         Size buffer based on real size of string.
17215         (_stat): Likewise.
17216         (attr): Likewise.
17217         (getCanonicalPath): Likewise.
17218         (performList): Likewise.
17219         (performMkdir): Likewise.
17220         (performSetReadOnly): Likewise.
17221         (unixroot): Removed.
17222         (performRenameTo): Likewise.
17223         (performSetLastModified): Likewise.
17224         (performCreate): Likewise.
17225         (performDelete): Likewise.
17226         (performListRoots): Always return new array.
17228         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
17229         * win32.cc (win32_exception_handler): Now static.
17230         * include/win32.h (_Jv_platform_initialize): Declare.
17231         (win32_exception_handler): Don't declare.
17232         * java/lang/natSystem.cc (currentTimeMillis): Use
17233         _Jv_platform_gettimeofday.
17234         * posix.cc (_Jv_platform_gettimeofday): Renamed.
17235         (_Jv_select): Use new name.
17236         (_Jv_platform_initialize): New function.
17237         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
17238         _Jv_gettimeofday.
17239         (_Jv_platform_initialize): Declare.
17241         * configure: Rebuilt.
17242         * configure.in: Removed unnecessary parens.
17244 2002-02-06  Adam Megacz <adam@xwt.org>
17246        * configure.in: Changed mingw) to *mingw*).
17247        * win32.cc: Created this file.
17248        * win32.h: Created this file.
17249        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
17250        win32_exception_handler from prims.cc to win32.cc, added
17251        header in win32.h.
17252        * prims.cc: removed some #ifdef-WIN32'd headers which are no
17253        longer needed now that we have platform.h
17255 2002-02-06  Adam Megacz <adam@xwt.org>
17257         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
17258         use uint<n>_t instead of LONG and BYTE
17260 2002-02-06  Adam Megacz <adam@xwt.org>
17262         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
17264 2002-02-06  Anthony Green  <green@redhat.com>
17266         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
17267         Implement missing method stubs.
17268         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
17269         targets.
17270         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
17271         concept of timezones.
17272         (init_properties): Don't refer to _Jv_Environment_Properties
17273         when this feature is not available.
17274         * include/config.h.in: Rebuilt.
17275         * acconfig.h: Add DISABLE_MAIN_ARGS.
17276         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
17277         * configure: Rebuilt.
17278         * configure.in: Add --disable-main-args option.  Test for
17279           opendir function.  Replace AC_CHECK_SIZEOF with
17280           AC_COMPILE_CHECK_SIZEOF.
17281         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
17282         * aclocal.m4: Rebuilt.
17283         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
17285 2002-02-06  Tom Tromey  <tromey@redhat.com>
17287         * verify.cc (require_array_type): If argument is a null array of
17288         references, return null as the element type.
17290 2002-02-06  Mark Wielaard  <mark@klomp.org>
17292         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
17293         duplicate of a wide type.
17295 2002-02-06  Tom Tromey  <tromey@redhat.com>
17297         * verify.cc (type::isnull): New method.
17298         (require_array_type): Handle case where array is null.
17299         (verify_instructions_0) [op_arraylength]: Likewise.
17301 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
17303         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
17304         Symlink PLATFORMH to platform.h.
17305         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
17306         PLATFORMOBJS.
17307         * java/lang/natSystem.cc: #include platform.h not posix.h.
17308         * Makefile.in: Rebuilt with libgcj automake.
17309         * configure: Rebuilt.
17311 2002-02-05  Richard Henderson  <rth@redhat.com>
17313         * Makefile.in: Undo munging last change.
17315 2002-02-04  Adam Megacz <adam@xwt.org>
17317         * win32.cc: Created it.
17318         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
17319         which is set to posix.cc or win32.cc.
17320         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
17322 2002-02-04  Adam Megacz <adam@xwt.org>
17324         * configure.in: Corrected mingw case branches; added * before
17325         and after.
17327 2002-02-04  Adam Megacz <adam@xwt.org>
17329         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
17330         if compiling for win32
17332 2002-02-04  Adam Megacz <adam@xwt.org>
17334         * win32-threads.cc: #undef STRICT after gc.h inclusion
17336 2002-02-02  Tom Tromey  <tromey@redhat.com>
17338         * Makefile.in: Rebuilt.
17340 2002-02-02  Jason Merrill  <jason@redhat.com>
17342         * Makefile.am (clean-nat): New target.
17344 2002-02-02  Tom Tromey  <tromey@redhat.com>
17346         * java/io/natFile.cc: Removed old "FIXME" comments.
17348 2002-02-01  Tom Tromey  <tromey@redhat.com>
17350         * java/lang/natPosixProcess.cc (myclose): New function.
17351         (fail): Use it.
17352         (startProcess): Likewise.
17354 2002-02-01  Adam Megacz <adam@xwt.org>
17356         * prims.cc: Added #undef STRICT after #include<windows.h>.
17358 2002-02-01  Adam Megacz <adam@xwt.org>
17360         * prims.cc
17361         (_Jv_CreateJavaVM): We now use WIN32 instead of
17362         USE_WIN32_SIGNALLING and USE_WINSOCK.
17363         (win32_exception_handler): Now throws an exception out of
17364         the signal handler; assumes SJLJ.
17366 2002-02-01  Adam Megacz <adam@xwt.org>
17368         * win32-threads.cc:
17369         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
17370         wait() algorithm to make it safe.
17371         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
17372         Added lazy creation of Win32 Events for better performance
17373         (really_start): This now uses GC_CreateThread so boehm-gc
17374         knows about new threads even when statically linked.
17376 2002-02-01  Adam Megacz <adam@xwt.org>
17378         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
17379         enable safer wait() algorithm.
17380         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
17381         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
17382         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
17383         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
17384         instead of mutex.
17385         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
17387 2002-02-01  Adam Megacz <adam@xwt.org>
17389         * configure.in: Added support for mingw.
17390         * java/lang/Win32Process.java: Created as empty file.
17391         * java/lang/natWin32Process.cc: Created as empty file.
17393 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
17395         PR java/4972
17396         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
17397         for libiconv in LIBICONV variable.
17398         * configure: Regenerated.
17400 2002-01-31  Tom Tromey  <tromey@redhat.com>
17402         * verify.cc (state::enter_subroutine): New method.
17403         (handle_jsr_insn): Use it.
17404         (state::merge): When processing a `ret', correctly use
17405         subroutine's state to determine which local variables have
17406         changed.
17407         (push_exception_jump): Don't let stack overflow.
17409 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
17411         * gnu/gcj/convert/Convert.java: Only include one copyright year in
17412         --version output.
17414 2002-01-30  Tom Tromey  <tromey@redhat.com>
17416         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
17417         parameter for `recv' return type.
17419         * verify.cc (handle_ret_insn): Check for subroutine merge here...
17420         (state::merge): ... not here.
17421         (subr_entry_info): New structure.
17422         (entry_points): New field.
17423         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
17424         entry_points.
17426 2002-01-29  Tom Tromey  <tromey@redhat.com>
17428         * java/awt/List.java (addNotify): Correctly check to see if peer
17429         does not exist.
17431         * java/awt/GridLayout.java (layoutContainer): Use number of rows
17432         to compute height of each cell, and number of columns to compute
17433         width of each cell.
17434         * java/awt/Window.java (getOwnedWindows): Don't return null.
17435         * java/awt/FlowLayout.java (layoutContainer): Set width and height
17436         of component.  Increment x using horizontal gap, not vertical
17437         gap.
17439 2002-01-28  Tom Tromey  <tromey@redhat.com>
17441         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
17442         `nargs' byte is number of words, not number of arguments.
17444 2002-01-27  Tom Tromey  <tromey@redhat.com>
17446         * java/awt/event/MouseEvent.java (modifiers): Removed field.
17447         (when): Likewise.
17448         * java/awt/event/InputEvent.java (modifiers, when): Now
17449         package-private.
17451         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
17452         and to-do list.
17453         (state::merge): Use current class' class loader.
17454         (state::print): Print subroutine.
17455         (state::merge): Don't look at subroutine of unmerged `ret'.
17457 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
17459         * nogc.cc: Remove warnings.
17460         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
17461         New functions.
17463 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
17465         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
17466         int, int):  Remove empty "if" statement to work around compiler bug.
17467         (newPixels(int[], ColorModel, int, int): Likewise.
17469 2002-01-25  Per Bothner  <per@bothner.com>
17471         * verify.cc (verify_fail):  Change from being a top-level function
17472         to e method of _Jv_BytecodeVerifier.  Emit current method name.
17473         Pass the current verifier to type: and state: methods as needed,
17474         for better error messages, and for resolve.
17475         (resolve):  Pass current class's loader for Class.forName and
17476         _Jv_FindClassFromSignature, rather than using the default loader.
17477         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
17478         (get_type_val_for_signature):  Make non-static.
17479         (various methods):  Pass start_PC implicitly, not explicitly.
17481 2002-01-25  Tom Tromey  <tromey@redhat.com>
17483         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
17484         loop termination condition.
17485         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
17486         width.
17488 2002-01-24  Tom Tromey  <tromey@redhat.com>
17490         * java/awt/Shape.java: Merged with Classpath.
17491         * java/awt/Scrollbar.java: Merged with Classpath.
17493         * java/awt/Container.java (addNotify): Unconditionally call
17494         addNotifyContainerChildren and superclass addNotify.
17496         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
17497         getAlpha, not getBlue.
17499 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
17501         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
17503         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
17504         (grabPixels(long)): Wait to be notified that the ImageProducer has
17505         completed.
17507 2002-01-24  Per Bothner  <per@bothner.com>
17509         * verify.cc (is_assignable_from_slow): If target is an interface,
17510         we must still check the source's superclass before giving up.
17512 2002-01-24  Tom Tromey  <tromey@redhat.com>
17514         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
17516 2002-01-23  Tom Tromey  <tromey@redhat.com>
17518         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
17519         `else'.
17521         * Makefile.in: Rebuilt.
17522         * Makefile.am (awt_java_source_files): Added new files.
17523         * java/awt/Toolkit.java: Merged with Classpath.
17524         * java/awt/PrintGraphics.java: New file from Classpath.
17525         * java/awt/PrintJob.java: New file from Classpath.
17526         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
17527         * java/awt/datatransfer/ClipboardOwner.java: New file from
17528         Classpath.
17529         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
17530         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
17531         * java/awt/datatransfer/MimeTypeParseException.java: New file from
17532         Classpath.
17533         * java/awt/datatransfer/StringSelection.java: New file from
17534         Classpath.
17535         * java/awt/datatransfer/SystemFlavorMap.java: New file from
17536         Classpath.
17537         * java/awt/datatransfer/Transferable.java: New file from
17538         Classpath.
17539         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
17540         from Classpath.
17542         * Makefile.in: Rebuilt.
17543         * Makefile.am (awt_java_source_files): Added new files.
17544         * java/awt/image/AreaAveragingScaleFilter.java: New file from
17545         Classpath.
17546         * java/awt/image/CropImageFilter.java: New file from Classpath.
17547         * java/awt/image/FilteredImageSource.java: New file from
17548         Classpath.
17549         * java/awt/image/ImageFilter.java: New file from Classpath.
17550         * java/awt/image/MemoryImageSource.java: New file from Classpath.
17551         * java/awt/image/PixelGrabber.java: New file from Classpath.
17552         * java/awt/image/RGBImageFilter.java: New file from Classpath.
17553         * java/awt/image/ReplicateScaleFilter.java: New file from
17554         Classpath.
17555         * java/awt/image/ImageProducer.java: Replaced with Classpath
17556         version.
17557         * java/awt/image/ImageObserver.java: Replaced with Classpath
17558         version.
17559         * java/awt/image/ImageConsumer.java: Replaced with Classpath
17560         version.
17561         * java/awt/GridBagConstraints.java (clone): Catch
17562         CloneNotSupportedException.
17564 2002-01-23  Per Bothner  <per@bothner.com>
17566         * java/lang/reflect/natField.cc (setAddr):  New function.
17567         Calls getAddr and then checks that the field isn't final.
17568         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
17569         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
17570         (set):  Call setAddr before check that new value has right type,
17571         to better match specified semantics.
17573 2002-01-22  Tom Tromey  <tromey@redhat.com>
17575         * java/awt/TextField.java: Replaced with Classpath version.
17576         * java/awt/TextArea.java: Replaced with Classpath version.
17577         * java/awt/TextComponent.java: Replaced with Classpath version.
17579         * java/awt/GridBagConstraints.java: Updated copyright.
17581 2002-01-22  Mark Wielaard <mark@klomp.org>
17583         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
17584         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
17585         java/awt/Dialog.java java/awt/FileDialog.java
17586         java/awt/Font.java java/awt/FontMetrics.java
17587         java/awt/Image.java java/awt/ImageMediaEntry.java
17588         java/awt/Insets.java java/awt/List.java
17589         java/awt/MediaEntry.java java/awt/MediaTracker.java
17590         java/awt/Menu.java java/awt/MenuBar.java
17591         java/awt/MenuContainer.java java/awt/MenuShortcut.java
17592         java/awt/PaintContext.java java/awt/Panel.java
17593         java/awt/PopupMenu.java java/awt/SystemColor.java
17594         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
17595         java/awt/peer/CheckboxMenuItemPeer.java
17596         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
17597         java/awt/peer/ComponentPeer.java
17598         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
17599         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
17600         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
17601         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
17602         java/awt/peer/MenuBarPeer.java
17603         java/awt/peer/MenuComponentPeer.java
17604         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
17605         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
17606         java/awt/peer/ScrollPanePeer.java
17607         java/awt/peer/ScrollbarPeer.java
17608         java/awt/peer/TextAreaPeer.java
17609         java/awt/peer/TextComponentPeer.java
17610         java/awt/peer/TextFieldPeer.java
17611         java/awt/peer/WindowPeer.java: Add license clarification.
17613 2002-01-22  Mark Wielaard <mark@klomp.org>
17615         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
17616         gnu/gcj/runtime/StringBuffer.java
17617         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
17618         gnu/java/awt/ComponentDataBlitOp.java
17619         gnu/java/awt/GLightweightPeer.java
17620         gnu/java/beans/BeanInfoEmbryo.java
17621         gnu/java/beans/EmptyBeanInfo.java
17622         gnu/java/beans/ExplicitBeanInfo.java
17623         gnu/java/beans/IntrospectionIncubator.java
17624         gnu/java/beans/editors/ColorEditor.java
17625         gnu/java/beans/editors/FontEditor.java
17626         gnu/java/beans/editors/NativeBooleanEditor.java
17627         gnu/java/beans/editors/NativeByteEditor.java
17628         gnu/java/beans/editors/NativeDoubleEditor.java
17629         gnu/java/beans/editors/NativeFloatEditor.java
17630         gnu/java/beans/editors/NativeIntEditor.java
17631         gnu/java/beans/editors/NativeLongEditor.java
17632         gnu/java/beans/editors/NativeShortEditor.java
17633         gnu/java/beans/editors/StringEditor.java
17634         gnu/java/beans/info/ComponentBeanInfo.java
17635         gnu/java/io/ClassLoaderObjectInputStream.java
17636         gnu/java/io/NullOutputStream.java
17637         gnu/java/io/ObjectIdentityWrapper.java
17638         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
17639         gnu/java/lang/reflect/TypeSignature.java
17640         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
17641         gnu/java/locale/Calendar_en.java
17642         gnu/java/locale/Calendar_nl.java
17643         gnu/java/locale/LocaleInformation.java
17644         gnu/java/locale/LocaleInformation_de.java
17645         gnu/java/locale/LocaleInformation_en.java
17646         gnu/java/locale/LocaleInformation_nl.java
17647         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
17648         gnu/java/rmi/registry/RegistryImpl.java
17649         gnu/java/rmi/rmic/Compile_gcj.java
17650         gnu/java/rmi/rmic/Compiler.java
17651         gnu/java/rmi/rmic/CompilerProcess.java
17652         gnu/java/rmi/rmic/RMIC.java
17653         gnu/java/rmi/rmic/TabbedWriter.java
17654         gnu/java/rmi/server/ProtocolConstants.java
17655         gnu/java/rmi/server/RMIDefaultSocketFactory.java
17656         gnu/java/rmi/server/RMIHashes.java
17657         gnu/java/rmi/server/RMIObjectInputStream.java
17658         gnu/java/rmi/server/RMIObjectOutputStream.java
17659         gnu/java/rmi/server/UnicastConnection.java
17660         gnu/java/rmi/server/UnicastConnectionManager.java
17661         gnu/java/rmi/server/UnicastRef.java
17662         gnu/java/rmi/server/UnicastRemoteCall.java
17663         gnu/java/rmi/server/UnicastRemoteStub.java
17664         gnu/java/rmi/server/UnicastServer.java
17665         gnu/java/rmi/server/UnicastServerRef.java
17666         gnu/java/security/provider/DefaultPolicy.java
17667         gnu/java/security/provider/Gnu.java
17668         gnu/java/security/provider/SHA.java
17669         gnu/java/security/provider/SHA1PRNG.java
17670         gnu/java/text/BaseBreakIterator.java
17671         gnu/java/text/CharacterBreakIterator.java
17672         gnu/java/text/LineBreakIterator.java
17673         gnu/java/text/SentenceBreakIterator.java
17674         gnu/java/text/WordBreakIterator.java
17675         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
17676         java/applet/AppletContext.java java/applet/AppletStub.java
17677         java/applet/AudioClip.java java/awt/AWTError.java
17678         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
17679         java/awt/AWTException.java java/awt/AWTPermission.java
17680         java/awt/ActiveEvent.java java/awt/BorderLayout.java
17681         java/awt/Button.java java/awt/Canvas.java
17682         java/awt/CardLayout.java java/awt/Checkbox.java
17683         java/awt/CheckboxGroup.java java/awt/Component.java
17684         java/awt/ComponentOrientation.java java/awt/Container.java
17685         java/awt/Dimension.java java/awt/Event.java
17686         java/awt/EventDispatchThread.java java/awt/EventQueue.java
17687         java/awt/FlowLayout.java java/awt/Frame.java
17688         java/awt/Graphics.java java/awt/Graphics2D.java
17689         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
17690         java/awt/IllegalComponentStateException.java
17691         java/awt/ItemSelectable.java java/awt/Label.java
17692         java/awt/LayoutManager.java java/awt/LayoutManager2.java
17693         java/awt/MenuComponent.java java/awt/MenuItem.java
17694         java/awt/Paint.java java/awt/Point.java
17695         java/awt/Rectangle.java java/awt/RenderingHints.java
17696         java/awt/Transparency.java java/awt/Window.java
17697         java/awt/color/ColorSpace.java
17698         java/awt/color/ICC_ColorSpace.java
17699         java/awt/color/ICC_Profile.java
17700         java/awt/event/HierarchyBoundsAdapter.java
17701         java/awt/event/HierarchyBoundsListener.java
17702         java/awt/event/HierarchyEvent.java
17703         java/awt/event/HierarchyListener.java
17704         java/awt/geom/AffineTransform.java
17705         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
17706         java/awt/geom/IllegalPathStateException.java
17707         java/awt/geom/Line2D.java
17708         java/awt/geom/NoninvertibleTransformException.java
17709         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
17710         java/awt/geom/Rectangle2D.java
17711         java/awt/geom/RectangularShape.java
17712         java/awt/geom/RoundRectangle2D.java
17713         java/awt/image/BufferedImage.java
17714         java/awt/image/ColorModel.java
17715         java/awt/image/ComponentColorModel.java
17716         java/awt/image/ComponentSampleModel.java
17717         java/awt/image/DataBuffer.java
17718         java/awt/image/DataBufferByte.java
17719         java/awt/image/DataBufferInt.java
17720         java/awt/image/DataBufferUShort.java
17721         java/awt/image/DirectColorModel.java
17722         java/awt/image/PackedColorModel.java
17723         java/awt/image/Raster.java java/awt/image/RasterOp.java
17724         java/awt/image/SampleModel.java
17725         java/awt/image/SinglePixelPackedSampleModel.java
17726         java/awt/image/WritableRaster.java
17727         java/beans/AppletInitializer.java
17728         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
17729         java/beans/Beans.java java/beans/Customizer.java
17730         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
17731         java/beans/FeatureDescriptor.java
17732         java/beans/IndexedPropertyDescriptor.java
17733         java/beans/IntrospectionException.java
17734         java/beans/Introspector.java java/beans/MethodDescriptor.java
17735         java/beans/ParameterDescriptor.java
17736         java/beans/PropertyChangeEvent.java
17737         java/beans/PropertyChangeListener.java
17738         java/beans/PropertyChangeSupport.java
17739         java/beans/PropertyDescriptor.java
17740         java/beans/PropertyEditor.java
17741         java/beans/PropertyEditorManager.java
17742         java/beans/PropertyEditorSupport.java
17743         java/beans/PropertyVetoException.java
17744         java/beans/SimpleBeanInfo.java
17745         java/beans/VetoableChangeListener.java
17746         java/beans/VetoableChangeSupport.java
17747         java/beans/Visibility.java
17748         java/beans/beancontext/BeanContext.java
17749         java/beans/beancontext/BeanContextChild.java
17750         java/beans/beancontext/BeanContextChildComponentProxy.java
17751         java/beans/beancontext/BeanContextChildSupport.java
17752         java/beans/beancontext/BeanContextContainerProxy.java
17753         java/beans/beancontext/BeanContextEvent.java
17754         java/beans/beancontext/BeanContextMembershipEvent.java
17755         java/beans/beancontext/BeanContextMembershipListener.java
17756         java/beans/beancontext/BeanContextProxy.java
17757         java/beans/beancontext/BeanContextServiceAvailableEvent.java
17758         java/beans/beancontext/BeanContextServiceProvider.java
17759         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
17760         java/beans/beancontext/BeanContextServiceRevokedEvent.java
17761         java/beans/beancontext/BeanContextServiceRevokedListener.java
17762         java/beans/beancontext/BeanContextServices.java
17763         java/beans/beancontext/BeanContextServicesListener.java
17764         java/io/BufferedInputStream.java
17765         java/io/BufferedOutputStream.java java/io/BufferedReader.java
17766         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
17767         java/io/ByteArrayOutputStream.java
17768         java/io/CharArrayReader.java java/io/CharArrayWriter.java
17769         java/io/CharConversionException.java java/io/DataInput.java
17770         java/io/DataInputStream.java java/io/DataOutput.java
17771         java/io/EOFException.java java/io/Externalizable.java
17772         java/io/FileFilter.java java/io/FileNotFoundException.java
17773         java/io/FilePermission.java java/io/FileReader.java
17774         java/io/FileWriter.java java/io/FilenameFilter.java
17775         java/io/FilterInputStream.java java/io/FilterOutputStream.java
17776         java/io/FilterReader.java java/io/FilterWriter.java
17777         java/io/IOException.java java/io/InputStream.java
17778         java/io/InterruptedIOException.java
17779         java/io/InvalidClassException.java
17780         java/io/InvalidObjectException.java
17781         java/io/NotActiveException.java
17782         java/io/NotSerializableException.java java/io/ObjectInput.java
17783         java/io/ObjectInputStream.java
17784         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
17785         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
17786         java/io/ObjectStreamConstants.java
17787         java/io/ObjectStreamException.java
17788         java/io/ObjectStreamField.java
17789         java/io/OptionalDataException.java java/io/OutputStream.java
17790         java/io/PipedInputStream.java java/io/PipedOutputStream.java
17791         java/io/PipedReader.java java/io/PipedWriter.java
17792         java/io/PrintWriter.java java/io/PushbackInputStream.java
17793         java/io/PushbackReader.java java/io/Reader.java
17794         java/io/SequenceInputStream.java java/io/Serializable.java
17795         java/io/SerializablePermission.java
17796         java/io/StreamCorruptedException.java
17797         java/io/StreamTokenizer.java
17798         java/io/StringBufferInputStream.java java/io/StringReader.java
17799         java/io/StringWriter.java java/io/SyncFailedException.java
17800         java/io/UTFDataFormatException.java
17801         java/io/UnsupportedEncodingException.java
17802         java/io/WriteAbortedException.java java/io/Writer.java
17803         java/lang/AbstractMethodError.java
17804         java/lang/ArithmeticException.java
17805         java/lang/ArrayIndexOutOfBoundsException.java
17806         java/lang/ArrayStoreException.java java/lang/Boolean.java
17807         java/lang/Byte.java java/lang/CharSequence.java
17808         java/lang/ClassCastException.java
17809         java/lang/ClassCircularityError.java
17810         java/lang/ClassFormatError.java
17811         java/lang/ClassNotFoundException.java
17812         java/lang/CloneNotSupportedException.java
17813         java/lang/Cloneable.java java/lang/Comparable.java
17814         java/lang/Compiler.java java/lang/Double.java
17815         java/lang/Error.java java/lang/Exception.java
17816         java/lang/ExceptionInInitializerError.java
17817         java/lang/Float.java java/lang/IllegalAccessError.java
17818         java/lang/IllegalAccessException.java
17819         java/lang/IllegalArgumentException.java
17820         java/lang/IllegalMonitorStateException.java
17821         java/lang/IllegalStateException.java
17822         java/lang/IllegalThreadStateException.java
17823         java/lang/IncompatibleClassChangeError.java
17824         java/lang/IndexOutOfBoundsException.java
17825         java/lang/InheritableThreadLocal.java
17826         java/lang/InstantiationError.java
17827         java/lang/InstantiationException.java java/lang/Integer.java
17828         java/lang/InternalError.java
17829         java/lang/InterruptedException.java
17830         java/lang/LinkageError.java java/lang/Long.java
17831         java/lang/NegativeArraySizeException.java
17832         java/lang/NoClassDefFoundError.java
17833         java/lang/NoSuchFieldError.java
17834         java/lang/NoSuchFieldException.java
17835         java/lang/NoSuchMethodError.java
17836         java/lang/NoSuchMethodException.java
17837         java/lang/NullPointerException.java java/lang/Number.java
17838         java/lang/NumberFormatException.java
17839         java/lang/OutOfMemoryError.java java/lang/Package.java
17840         java/lang/Process.java java/lang/Runnable.java
17841         java/lang/RuntimeException.java
17842         java/lang/RuntimePermission.java
17843         java/lang/SecurityException.java
17844         java/lang/SecurityManager.java java/lang/Short.java
17845         java/lang/StackOverflowError.java java/lang/StringBuffer.java
17846         java/lang/StringIndexOutOfBoundsException.java
17847         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
17848         java/lang/ThreadLocal.java java/lang/UnknownError.java
17849         java/lang/UnsatisfiedLinkError.java
17850         java/lang/UnsupportedClassVersionError.java
17851         java/lang/UnsupportedOperationException.java
17852         java/lang/VerifyError.java java/lang/VirtualMachineError.java
17853         java/lang/Void.java java/lang/ref/PhantomReference.java
17854         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
17855         java/lang/ref/SoftReference.java
17856         java/lang/ref/WeakReference.java
17857         java/lang/reflect/AccessibleObject.java
17858         java/lang/reflect/InvocationTargetException.java
17859         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
17860         java/lang/reflect/ReflectPermission.java
17861         java/math/BigDecimal.java java/math/BigInteger.java
17862         java/net/Authenticator.java java/net/BindException.java
17863         java/net/ConnectException.java java/net/ContentHandler.java
17864         java/net/ContentHandlerFactory.java
17865         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
17866         java/net/FileNameMap.java java/net/MalformedURLException.java
17867         java/net/MulticastSocket.java java/net/NetPermission.java
17868         java/net/NoRouteToHostException.java
17869         java/net/PasswordAuthentication.java
17870         java/net/ProtocolException.java java/net/ServerSocket.java
17871         java/net/Socket.java java/net/SocketException.java
17872         java/net/SocketImpl.java java/net/SocketImplFactory.java
17873         java/net/SocketOptions.java java/net/SocketPermission.java
17874         java/net/URLDecoder.java java/net/URLEncoder.java
17875         java/net/URLStreamHandlerFactory.java
17876         java/net/UnknownHostException.java
17877         java/net/UnknownServiceException.java
17878         java/rmi/AccessException.java
17879         java/rmi/AlreadyBoundException.java
17880         java/rmi/ConnectException.java
17881         java/rmi/ConnectIOException.java
17882         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
17883         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
17884         java/rmi/NotBoundException.java
17885         java/rmi/RMISecurityException.java
17886         java/rmi/RMISecurityManager.java java/rmi/Remote.java
17887         java/rmi/RemoteException.java java/rmi/ServerError.java
17888         java/rmi/ServerException.java
17889         java/rmi/ServerRuntimeException.java
17890         java/rmi/StubNotFoundException.java
17891         java/rmi/UnexpectedException.java
17892         java/rmi/UnknownHostException.java
17893         java/rmi/UnmarshalException.java
17894         java/rmi/activation/Activatable.java
17895         java/rmi/activation/ActivateFailedException.java
17896         java/rmi/activation/ActivationDesc.java
17897         java/rmi/activation/ActivationException.java
17898         java/rmi/activation/ActivationGroup.java
17899         java/rmi/activation/ActivationGroupDesc.java
17900         java/rmi/activation/ActivationGroupID.java
17901         java/rmi/activation/ActivationID.java
17902         java/rmi/activation/ActivationInstantiator.java
17903         java/rmi/activation/ActivationMonitor.java
17904         java/rmi/activation/ActivationSystem.java
17905         java/rmi/activation/Activator.java
17906         java/rmi/activation/UnknownGroupException.java
17907         java/rmi/activation/UnknownObjectException.java
17908         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
17909         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
17910         java/rmi/registry/Registry.java
17911         java/rmi/registry/RegistryHandler.java
17912         java/rmi/server/ExportException.java
17913         java/rmi/server/LoaderHandler.java
17914         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
17915         java/rmi/server/Operation.java
17916         java/rmi/server/RMIClassLoader.java
17917         java/rmi/server/RMIClientSocketFactory.java
17918         java/rmi/server/RMIFailureHandler.java
17919         java/rmi/server/RMIServerSocketFactory.java
17920         java/rmi/server/RMISocketFactory.java
17921         java/rmi/server/RemoteCall.java
17922         java/rmi/server/RemoteObject.java
17923         java/rmi/server/RemoteRef.java
17924         java/rmi/server/RemoteServer.java
17925         java/rmi/server/RemoteStub.java
17926         java/rmi/server/ServerCloneException.java
17927         java/rmi/server/ServerNotActiveException.java
17928         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
17929         java/rmi/server/SkeletonMismatchException.java
17930         java/rmi/server/SkeletonNotFoundException.java
17931         java/rmi/server/SocketSecurityException.java
17932         java/rmi/server/UID.java
17933         java/rmi/server/UnicastRemoteObject.java
17934         java/rmi/server/Unreferenced.java
17935         java/security/AccessControlContext.java
17936         java/security/AccessControlException.java
17937         java/security/AccessController.java
17938         java/security/AlgorithmParameterGenerator.java
17939         java/security/AlgorithmParameterGeneratorSpi.java
17940         java/security/AlgorithmParameters.java
17941         java/security/AlgorithmParametersSpi.java
17942         java/security/AllPermission.java
17943         java/security/BasicPermission.java
17944         java/security/Certificate.java java/security/CodeSource.java
17945         java/security/DigestException.java
17946         java/security/DigestInputStream.java
17947         java/security/DigestOutputStream.java
17948         java/security/DomainCombiner.java
17949         java/security/DummyKeyPairGenerator.java
17950         java/security/DummyMessageDigest.java
17951         java/security/DummySignature.java
17952         java/security/GeneralSecurityException.java
17953         java/security/Guard.java java/security/GuardedObject.java
17954         java/security/Identity.java java/security/IdentityScope.java
17955         java/security/InvalidAlgorithmParameterException.java
17956         java/security/InvalidKeyException.java
17957         java/security/InvalidParameterException.java
17958         java/security/Key.java java/security/KeyException.java
17959         java/security/KeyFactory.java java/security/KeyFactorySpi.java
17960         java/security/KeyManagementException.java
17961         java/security/KeyPair.java java/security/KeyPairGenerator.java
17962         java/security/KeyPairGeneratorSpi.java
17963         java/security/KeyStore.java
17964         java/security/KeyStoreException.java
17965         java/security/KeyStoreSpi.java
17966         java/security/MessageDigest.java
17967         java/security/MessageDigestSpi.java
17968         java/security/NoSuchAlgorithmException.java
17969         java/security/NoSuchProviderException.java
17970         java/security/Permission.java
17971         java/security/PermissionCollection.java
17972         java/security/Permissions.java java/security/Policy.java
17973         java/security/Principal.java java/security/PrivateKey.java
17974         java/security/PrivilegedAction.java
17975         java/security/PrivilegedActionException.java
17976         java/security/PrivilegedExceptionAction.java
17977         java/security/ProtectionDomain.java
17978         java/security/Provider.java
17979         java/security/ProviderException.java
17980         java/security/PublicKey.java
17981         java/security/SecureClassLoader.java
17982         java/security/SecureRandom.java
17983         java/security/SecureRandomSpi.java java/security/Security.java
17984         java/security/SecurityPermission.java
17985         java/security/Signature.java
17986         java/security/SignatureException.java
17987         java/security/SignatureSpi.java
17988         java/security/SignedObject.java java/security/Signer.java
17989         java/security/UnrecoverableKeyException.java
17990         java/security/UnresolvedPermission.java
17991         java/security/acl/Acl.java java/security/acl/AclEntry.java
17992         java/security/acl/AclNotFoundException.java
17993         java/security/acl/Group.java
17994         java/security/acl/LastOwnerException.java
17995         java/security/acl/NotOwnerException.java
17996         java/security/acl/Owner.java java/security/acl/Permission.java
17997         java/security/cert/CRL.java
17998         java/security/cert/CRLException.java
17999         java/security/cert/Certificate.java
18000         java/security/cert/CertificateEncodingException.java
18001         java/security/cert/CertificateException.java
18002         java/security/cert/CertificateExpiredException.java
18003         java/security/cert/CertificateFactory.java
18004         java/security/cert/CertificateFactorySpi.java
18005         java/security/cert/CertificateNotYetValidException.java
18006         java/security/cert/CertificateParsingException.java
18007         java/security/cert/X509CRL.java
18008         java/security/cert/X509CRLEntry.java
18009         java/security/cert/X509Certificate.java
18010         java/security/cert/X509Extension.java
18011         java/security/interfaces/DSAKey.java
18012         java/security/interfaces/DSAKeyPairGenerator.java
18013         java/security/interfaces/DSAParams.java
18014         java/security/interfaces/DSAPrivateKey.java
18015         java/security/interfaces/DSAPublicKey.java
18016         java/security/interfaces/RSAKey.java
18017         java/security/interfaces/RSAPrivateCrtKey.java
18018         java/security/interfaces/RSAPrivateKey.java
18019         java/security/interfaces/RSAPublicKey.java
18020         java/security/spec/AlgorithmParameterSpec.java
18021         java/security/spec/DSAParameterSpec.java
18022         java/security/spec/DSAPrivateKeySpec.java
18023         java/security/spec/DSAPublicKeySpec.java
18024         java/security/spec/EncodedKeySpec.java
18025         java/security/spec/InvalidKeySpecException.java
18026         java/security/spec/InvalidParameterSpecException.java
18027         java/security/spec/KeySpec.java
18028         java/security/spec/PKCS8EncodedKeySpec.java
18029         java/security/spec/RSAKeyGenParameterSpec.java
18030         java/security/spec/RSAPrivateCrtKeySpec.java
18031         java/security/spec/RSAPrivateKeySpec.java
18032         java/security/spec/RSAPublicKeySpec.java
18033         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
18034         java/sql/BatchUpdateException.java java/sql/Blob.java
18035         java/sql/CallableStatement.java java/sql/Clob.java
18036         java/sql/Connection.java java/sql/DataTruncation.java
18037         java/sql/DatabaseMetaData.java java/sql/Date.java
18038         java/sql/Driver.java java/sql/DriverManager.java
18039         java/sql/DriverPropertyInfo.java
18040         java/sql/PreparedStatement.java java/sql/Ref.java
18041         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
18042         java/sql/SQLData.java java/sql/SQLException.java
18043         java/sql/SQLInput.java java/sql/SQLOutput.java
18044         java/sql/SQLWarning.java java/sql/Statement.java
18045         java/sql/Struct.java java/sql/Time.java
18046         java/sql/Timestamp.java java/sql/Types.java
18047         java/text/Annotation.java
18048         java/text/AttributedCharacterIterator.java
18049         java/text/AttributedString.java
18050         java/text/AttributedStringIterator.java
18051         java/text/BreakIterator.java java/text/CharacterIterator.java
18052         java/text/ChoiceFormat.java java/text/Collator.java
18053         java/text/DateFormat.java java/text/DateFormatSymbols.java
18054         java/text/DecimalFormat.java
18055         java/text/DecimalFormatSymbols.java
18056         java/text/FieldPosition.java java/text/Format.java
18057         java/text/MessageFormat.java java/text/NumberFormat.java
18058         java/text/ParseException.java java/text/ParsePosition.java
18059         java/text/SimpleDateFormat.java
18060         java/text/StringCharacterIterator.java
18061         java/util/AbstractCollection.java java/util/AbstractList.java
18062         java/util/AbstractMap.java
18063         java/util/AbstractSequentialList.java
18064         java/util/AbstractSet.java java/util/ArrayList.java
18065         java/util/Arrays.java java/util/BasicMapEntry.java
18066         java/util/BitSet.java java/util/Calendar.java
18067         java/util/Collection.java java/util/Collections.java
18068         java/util/Comparator.java
18069         java/util/ConcurrentModificationException.java
18070         java/util/Date.java java/util/Dictionary.java
18071         java/util/EmptyStackException.java java/util/Enumeration.java
18072         java/util/EventListener.java java/util/EventObject.java
18073         java/util/GregorianCalendar.java java/util/HashMap.java
18074         java/util/HashSet.java java/util/Hashtable.java
18075         java/util/IdentityHashMap.java java/util/Iterator.java
18076         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
18077         java/util/LinkedList.java java/util/List.java
18078         java/util/ListIterator.java java/util/ListResourceBundle.java
18079         java/util/Locale.java java/util/Map.java
18080         java/util/MissingResourceException.java
18081         java/util/NoSuchElementException.java
18082         java/util/Observable.java java/util/Observer.java
18083         java/util/Properties.java java/util/PropertyPermission.java
18084         java/util/PropertyResourceBundle.java java/util/Random.java
18085         java/util/RandomAccess.java java/util/ResourceBundle.java
18086         java/util/Set.java java/util/SimpleTimeZone.java
18087         java/util/SortedMap.java java/util/SortedSet.java
18088         java/util/Stack.java java/util/StringTokenizer.java
18089         java/util/TimeZone.java java/util/Timer.java
18090         java/util/TimerTask.java
18091         java/util/TooManyListenersException.java
18092         java/util/TreeMap.java java/util/TreeSet.java
18093         java/util/Vector.java java/util/WeakHashMap.java
18094         java/util/jar/Attributes.java java/util/jar/JarEntry.java
18095         java/util/jar/JarException.java java/util/jar/JarFile.java
18096         java/util/jar/JarInputStream.java
18097         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
18098         java/util/zip/Adler32.java java/util/zip/CRC32.java
18099         java/util/zip/CheckedInputStream.java
18100         java/util/zip/CheckedOutputStream.java
18101         java/util/zip/Checksum.java
18102         java/util/zip/DataFormatException.java
18103         java/util/zip/Deflater.java
18104         java/util/zip/DeflaterOutputStream.java
18105         java/util/zip/GZIPInputStream.java
18106         java/util/zip/GZIPOutputStream.java
18107         java/util/zip/Inflater.java
18108         java/util/zip/InflaterInputStream.java
18109         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
18110         java/util/zip/ZipException.java java/util/zip/ZipFile.java
18111         java/util/zip/ZipInputStream.java
18112         java/util/zip/ZipOutputStream.java
18113         javax/naming/BinaryRefAddr.java
18114         javax/naming/InvalidNameException.java javax/naming/Name.java
18115         javax/naming/NamingException.java javax/naming/RefAddr.java
18116         javax/naming/StringRefAddr.java: Add license clarification.
18118 2002-01-22  Tom Tromey  <tromey@redhat.com>
18120         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
18121         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
18122         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
18123         version.
18124         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
18125         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
18126         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
18127         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
18128         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
18129         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
18130         * java/awt/peer/FontPeer.java: Replace with Classpath version.
18131         * java/awt/peer/FramePeer.java: Replace with Classpath version.
18132         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
18133         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
18134         * java/awt/peer/ListPeer.java: Replace with Classpath version.
18135         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
18136         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
18137         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
18138         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
18139         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
18140         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
18141         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
18142         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
18143         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
18144         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
18145         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
18146         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
18147         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
18148         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
18149         (minimumSize, preferredSize, reshape): Likewise.
18150         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
18151         getColorModel): New methods.
18152         * java/awt/PopupMenu.java: Merged with Classpath.
18153         * java/awt/MenuBar.java: Merged with Classpath.
18154         * java/awt/SystemColor.java: Replace with Classpath version.
18155         * java/awt/Panel.java: Merged with Classpath.
18156         * java/awt/PaintContext.java: Updated copyright.
18157         * java/awt/MenuShortcut.java: Merged with Classpath.
18158         * java/awt/MenuContainer.java: Merged with Classpath.
18159         * java/awt/Menu.java: Merged with Classpath.
18160         * java/awt/MediaEntry.java: New file from Classpath.
18161         * java/awt/MediaTracker.java: New file from Classpath.
18162         * java/awt/List.java: Merged with Classpath version.
18163         * java/awt/Insets.java: Merged with Classpath version.
18164         * java/awt/ImageMediaEntry.java: New file from Classpath.
18165         * java/awt/Image.java: Replaced with Classpath version.
18166         * java/awt/FontMetrics.java: Merged with Classpath version.
18167         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
18168         constant.
18169         * java/awt/Font.java: Merged with Classpath version.
18170         * java/awt/Dialog.java: Merged with Classpath version.
18171         * java/awt/Color.java: Merged with Classpath version.
18172         * java/awt/Choice.java: Merged with Classpath version.
18173         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
18174         * java/awt/Adjustable.java: Replace with Classpath version.
18175         * java/awt/MenuItem.java (paramString): Don't include class name
18176         or brackets.  Call superclass paramString.
18177         * java/awt/MenuComponent.java (toString): Call paramString.
18178         (paramString): Compute string; don't call toString.
18179         * java/awt/Label.java (paramString): Don't include class name
18180         or brackets.  Call superclass paramString.
18181         * java/awt/Checkbox.java (paramString): Don't include class name
18182         or brackets.  Call superclass paramString.
18183         * java/awt/Button.java (paramString): Don't include class name or
18184         brackets.  Call superclass paramString.
18185         * java/awt/MenuComponent.java (getTreeLock): Now protected.
18187 2002-01-20  Andreas Schwab  <schwab@suse.de>
18189         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
18190         function and of parameter recv_func to ssize_t, as specified by
18191         POSIX.
18193 2002-01-19  Per Bothner  <per@bothner.com>
18195         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
18196         uncompressed_size in readiness for next entry.
18198 2002-01-18  Tom Tromey  <tromey@redhat.com>
18200         * java/net/natPlainSocketImpl.cc: Include
18201         IllegalArgumentException.h.
18202         (_Jv_recv): New template function.
18203         (BooleanClass): Removed.
18204         (read): Use _Jv_recv.
18205         (setOption): Use Boolean::class$.  Throw exception if object is
18206         not Boolean or Integer.
18208 2002-01-17  Tom Tromey  <tromey@redhat.com>
18210         * java/awt/MenuComponent.java: Merged with Classpath.
18211         * java/awt/MenuItem.java: Merged with Classpath.
18212         * java/awt/Button.java: Merged with Classpath.
18214         * java/awt/ActiveEvent.java: Updated copyright.
18216         * java/awt/AWTError.java: Replaced with Classpath version.
18217         * java/awt/AWTException.java: Replaced with Classpath version.
18218         * java/awt/IllegalComponentStateException.java: Replaced with
18219         Classpath version.
18221 2002-01-16  Tom Tromey  <tromey@redhat.com>
18223         * java/awt/Canvas.java (serialVersionUID): New constant.
18224         Updated copyright.  Added javadoc from Classpath.
18225         * java/awt/ItemSelectable.java: Replaced with Classpath version.
18227         * java/awt/CheckboxGroup.java: Merged with Classpath.
18228         * java/awt/Checkbox.java: Merged with Classpath.
18230         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
18231         Classpath.
18232         * java/awt/Point.java: Updated copyright.
18234         * java/awt/Point.java (toString): Use getClass().getName().
18235         Added javadoc.
18237         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
18238         commented code.
18239         (hash): Correctly compute initial value for `h'.
18241         * java/awt/Label.java: Merged with Classpath.
18243 2002-01-15  Tom Tromey  <tromey@redhat.com>
18245         * java/awt/AWTPermission.java: Updated copyright.
18247         * java/awt/LayoutManager2.java: Merged with Classpath.
18248         * java/awt/LayoutManager.java: Merged with Classpath.
18249         * java/awt/GridLayout.java: Updated copyright and javadoc.
18250         (getSize): Use `parent.ncomponents'.  Handle insets.
18251         (layoutContainer): Use `parent.ncomponents'.  Handle case where
18252         there are fewer children than columns.  Correctly compute size of
18253         each cell in the grid.  Handle case where there isn't enough
18254         space.
18255         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
18256         all users.
18257         (gotoComponent): Use parent.ncomponents.  Ensure child exists
18258         before calling setVisible() on it.  Last item is `num - 1', not
18259         `num'.
18260         (layoutContainer): Hoist invariants out of loop.
18262         Start of AWT merge with Classpath:
18263         * Makefile.in: Rebuilt.
18264         * Makefile.am (awt_java_source_files): Reference files in
18265         gnu/java/awt, not gnu/gcj/awt.
18266         * java/awt/image/BufferedImage.java: Updated copyright.
18267         * java/awt/image/ComponentColorModel.java: Updated copyright.
18268         * java/awt/image/ComponentSampleModel.java: Updated copyright.
18269         * java/awt/image/DataBuffer.java: Updated copyright.
18270         * java/awt/image/DataBufferByte.java: Updated copyright.
18271         * java/awt/image/DataBufferInt.java: Updated copyright.
18272         * java/awt/image/DataBufferUShort.java: Updated copyright.
18273         * java/awt/image/IndexColorModel.java: Updated copyright.
18274         * java/awt/image/PackedColorModel.java: Updated copyright.
18275         * java/awt/image/Raster.java: Updated copyright.
18276         * java/awt/image/RasterOp.java: Updated copyright.
18277         * java/awt/image/SampleModel.java: Updated copyright.
18278         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
18279         * java/awt/image/WritableRaster.java: Updated copyright.
18280         * java/awt/color/ColorSpace.java: Updated copyright.
18281         * java/awt/color/ICC_ColorSpace.java: Updated copyright
18282         * java/awt/color/ICC_Profile.java: Updated copyright.
18283         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
18284         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
18285         * java/awt/event/HierarchyEvent.java: Updated copyright.
18286         * java/awt/event/HierarchyListener.java: Updated copyright.
18287         * java/awt/geom/AffineTransform.java: Updated copyright.
18288         * java/awt/geom/Dimension2D.java: Updated copyright.
18289         * java/awt/geom/Ellipse2D.java: Updated copyright.
18290         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
18291         * java/awt/geom/Line2D.java: Updated copyright.
18292         * java/awt/geom/NoninvertibleTransformException.java: Updated
18293         copyright.
18294         * java/awt/geom/PathIterator.java: Updated copyright.
18295         * java/awt/geom/Point2D.java: Updated copyright.
18296         * java/awt/geom/Rectangle2D.java: Updated copyright.
18297         * java/awt/geom/RectangularShape.java: Updated copyright.
18298         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
18299         * java/awt/Toolkit.java: Updated import for file moves.
18300         * java/awt/Rectangle.java: Updated copyright; added javadoc from
18301         Classpath.
18302         (hashCode): New method from Classpath.
18303         * java/awt/Graphics2D.java: Updated copyright.
18304         * java/awt/Transparency.java: Updated copyright.
18305         * java/awt/Paint.java: Updated copyright.
18306         * java/awt/Graphics.java: New version from Classpath.
18307         * java/awt/EventDispatchThread.java: Updated copyright.
18308         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
18309         children.
18310         (gotoComponent): Wrap around on next/previous.
18311         * gnu/gcj/awt/BitMaskExtent.java: Removed.
18312         * gnu/gcj/awt/Buffers.java: Removed.
18313         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
18314         * gnu/gcj/awt/GLightweightPeer.java: Removed.
18315         * gnu/java/awt/BitMaskExtent.java: Added.
18316         * gnu/java/awt/Buffers.java: Added.
18317         * gnu/java/awt/ComponentDataBlitOp.java: Added.
18318         * gnu/java/awt/GLightweightPeer.java: Added.
18319         * java/awt/geom/Line2D.java (clone): Ignore
18320         CloneNotSupportedException.
18321         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
18322         * java/awt/Frame.java: Merged with Classpath.
18323         * java/awt/RenderingHints.java: Copyright update.
18324         * java/awt/Paint.java: Copyright update.
18325         * java/awt/image/DirectColorModel.java: Merged with Classpath.
18326         * java/awt/image/ColorModel.java: Merged with Classpath.
18327         * java/awt/Window.java (show): New Implementation from Classpath.
18328         (isShowing): Use super.isShowing().
18329         * java/awt/EventQueue.java: Merged with Classpath.
18330         * java/awt/AWTEventMulticaster.java (save): Throw
18331         RuntimeException.
18332         (saveInternal): Likewise.
18333         * java/awt/AWTEvent.java: Now implements Serializable.
18334         * java/awt/Event.java: Copyright update.
18335         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
18336         * java/awt/image/BufferedImage.java: Copyright update.
18337         * java/awt/GraphicsConfiguration.java: Copyright update.
18338         * java/awt/Component.java: (addNotify): Don't call
18339         addNotifyContainerChildren().
18340         (addNotifyContainerChildren): Removed.
18341         (setPeer): New method from Classpath.
18342         (setTreeLock): Likewise.
18343         (setVisible): Rewrote.
18344         (show): Use it.
18345         (hide): Likewise.
18346         (validate): Set `valid'.
18347         (checkImage(Image,ImageObserver)): Implementation from Classpath.
18348         (createImage(ImageProducer)): Likewise.
18349         (prepareImage): Likewise.
18350         * java/awt/Container.java (addImpl): Handle case where constraint
18351         is not a String.  Post event via system event queue.
18352         (remove): Post event via system event queue.
18353         (validateTree): Only validate child if it is invalid.
18354         (getAlignmentX): Call super method as default.
18355         (getAlignmentY): Likewise.
18356         (addContainerListener): Now synchronized.
18357         (removeContainerListener): Likewise.
18358         (addNotifyContainerChildren): Now private.
18359         * java/awt/ComponentOrientation.java: Updated copyright.  Added
18360         @author.
18361         * java/awt/FlowLayout.java (serialVersionUID): New field.
18362         (setAlignment): Better exception message.
18363         (layoutContainer): Don't compute component's preferred size unless
18364         we're going to use it.
18365         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
18366         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
18367         (firstLine, lastLine, firstItem, lastItem): New fields.
18368         (addLayoutComponent): Handle case where constraints is null.
18369         Also, handle relative locations.
18370         (removeLayoutComponent): Handle relative locations.
18371         (MIN, MAX, PREF): New constants.
18372         (calcCompSize): New method.
18373         (calcSize): New method.
18374         (minimumLayoutSize): Use it.
18375         (preferredLayoutSize): Likewise.
18376         (maximumLayoutSize): Likewise.
18377         (toString): Include more information.
18378         (setBounds): New method.
18379         (layoutContainer): Use libgcj implementation; extended to handle
18380         relative locations.
18382 2002-01-15  Tom Tromey  <tromey@redhat.com>
18384         * java/lang/Float.java (equals): Preserve old code.
18385         * java/lang/Double.java (equals): Preserve old code.
18387 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
18389         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
18390         * java/lang/Float.java (equals, compare): Ditto.
18392 2002-01-13  Mark Wielaard  <mark@klomp.org>
18394         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
18395         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
18396         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
18397         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
18399 2002-01-11  Mark Wielaard  <mark@klomp.org>
18401         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
18402         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
18403         InetAddress.
18404         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
18405         * java/net/Socket.java: Merge with Classpath.
18406         * java/net/ServerSocket.java: Likewise.
18408 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
18410         * interpret.cc (NULLARRAYCHECK): New macro.
18411         (SAVE_PC): Just store `pc'.
18412         (find_exception): Subtract one from `pc' here.
18413         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
18414         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
18415         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
18416         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
18417         don't call SAVE_PC.
18418         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
18419         call SAVE_PC.
18421 2002-01-11  Tom Tromey  <tromey@redhat.com>
18423         * java/lang/natSystem.cc (init_properties): Only look for default
18424         locale if LC_MESSAGES is defined.
18425         * aclocal.m4, configure, include/config.h.in: Rebuilt.
18426         * configure.in: Call AM_LC_MESSAGES.
18427         * acinclude.m4 (AM_LC_MESSAGES): New macro.
18429 2002-01-10  Tom Tromey  <tromey@redhat.com>
18431         For PR libgcj/5303:
18432         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
18433         --version.  Recognize GNU-style long options.  Print GNU-style
18434         error messages.
18435         (usage): Print GNU-style help.  Exit with status 0.
18436         (error): New method.
18437         (run): Print error message if no class names found.
18438         (main): Don't print usage on error.
18440 2002-01-09  Tom Tromey  <tromey@redhat.com>
18442         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
18443         property.
18444         (help, version): Use println(), not println("").
18446         For PR libgcj/5303:
18447         * gnu/gcj/convert/Convert.java (error): Program is called
18448         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
18449         -1.
18450         (main): Handle --help and --version.
18451         (help): New method.
18452         (version): Likewise.
18454 2002-01-08  Tom Tromey  <tromey@redhat.com>
18456         * Makefile.in: Rebuilt.
18457         * Makefile.am (ordinary_java_source_files): Added new files.
18458         * gnu/java/locale/LocaleInformation.java: Extend
18459         LocaleInformation_en.
18460         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
18461         and time/date formats.
18462         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
18463         generated.
18464         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
18465         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
18466         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
18467         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
18468         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
18469         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
18470         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
18471         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
18472         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
18473         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
18474         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
18475         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
18476         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
18477         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
18478         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
18479         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
18480         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
18481         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
18482         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
18483         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
18484         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
18485         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
18486         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
18487         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
18488         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
18489         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
18490         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
18491         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
18492         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
18493         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
18494         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
18495         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
18496         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
18497         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
18498         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
18499         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
18500         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
18501         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
18502         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
18503         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
18504         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
18505         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
18506         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
18507         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
18508         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
18509         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
18510         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
18511         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
18512         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
18513         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
18514         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
18515         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
18516         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
18517         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
18518         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
18519         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
18520         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
18521         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
18522         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
18523         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
18524         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
18525         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
18526         * gnu/java/locale/LocaleInformation_es_US.java: New file.
18527         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
18528         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
18529         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
18530         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
18531         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
18532         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
18533         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
18534         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
18535         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
18536         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
18537         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
18538         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
18539         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
18540         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
18541         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
18542         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
18543         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
18544         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
18545         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
18546         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
18547         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
18548         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
18549         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
18550         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
18551         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
18552         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
18553         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
18554         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
18555         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
18556         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
18557         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
18558         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
18559         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
18560         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
18561         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
18562         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
18563         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
18564         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
18565         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
18566         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
18567         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
18568         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
18569         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
18570         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
18571         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
18572         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
18573         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
18574         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
18575         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
18576         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
18577         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
18578         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
18579         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
18580         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
18581         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
18582         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
18583         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
18584         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
18585         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
18586         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
18587         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
18588         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
18589         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
18590         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
18591         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
18592         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
18593         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
18595         For PR libgcj/5031:
18596         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
18597         choose default locale.
18599         * Makefile.in: Rebuilt.
18600         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
18602 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
18604         * java/net/natPlainSocketImpl.cc: Added timeout handling for
18605         sockets.
18606         (close): New function closes the socket.
18607         (write): New functions for output to socket.
18608         (read): New functions for reading from socket.
18609         * java/net/PlainSocketImpl.java: Glue for new timeout
18610         implementation.
18611         (write): Call the native impl.
18612         (read): Likewise.
18613         (getInputStream): Get a stream to read from the socket.
18614         (getOutputStream): Get a stream to write to the socket.
18616 2002-01-08  Tom Tromey  <tromey@redhat.com>
18618         * resolve.cc (_Jv_PrepareClass): Enable verifier.
18620 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
18622         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
18623         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
18625 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
18627         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
18628         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
18629         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
18630         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
18631         insn_bastore, insn_castore, insn_sastore]: Use it.
18632         (continue1) [insn_arraylength]: Check for null array.
18634 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
18636         * configure, include/config.h.in: Rebuilt.
18637         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
18638         * configure.in: Call AC_STRUCT_TIMEZONE.
18640 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
18642         * configure.host: Disable the interpreter for Darwin.
18644 2002-01-04  Tom Tromey  <tromey@redhat.com>
18646         * java/lang/Thread.java (stop): No longer synchronized.
18647         (start): Likewise.
18649 2002-01-02  Tom Tromey  <tromey@redhat.com>
18651         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
18652         patch.
18654 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
18656         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
18657         PPC Darwin, not for all of Darwin.