OSDN Git Service

2004-01-14 Michael Koch <konqueror@gmx.de>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2004-01-14  Michael Koch  <konqueror@gmx.de>
2
3         * java/text/MessageFormat.java:
4         Added descriptions to exceptions.
5         This fixes PR libgcj/2429.
6
7 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
8
9         * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
10         (push): Make sure push is performed at the top of the thread stack.
11  
12 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
13
14         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
15         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
16         (native create): Add width and height parameters.  Set text
17         view's size request according to new parameters.
18         (create): Calculate text view size based on current font's
19         metrics and number of rows and columns.  Set TextArea's font if
20         not already set.  Call native create.
21         (getMinimumSize): Call minimumSize.
22         (getPreferredSize): Call preferredSize.
23         (getHScrollbarHeight): New method.
24         (getVScrollbarWidth): New method.
25         (minimumSize): Calculate minimum size based on scrollbar
26         visibility, scrollbar sizes, font metrics and number of rows and
27         columns.
28         (preferredSize): Likewise for preferred size.
29         (gtkTextGetSize): Remove method.
30
31 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
32
33         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
34         (initializeInsets): Remove method.
35         (GtkComponentPeer): Initialize insets field.  Remove call to
36         initializeInsets.
37         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
38         Remove method.
39         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
40         Remove method.
41         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
42         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
43         (latestInsets): Remove field.
44         (native create): Add insets parameter.  Call
45         window_get_frame_extents.  Set the window's default size and
46         size request based on its frame extents.
47         (create): Initialize insets.
48         (postInsetsChangedEvent): New method.
49         (postConfigureEvent): Remove parameters top, left, bottom,
50         right.  Remove insets-related logic.
51         (connectJObject): Handle property-notify-event.
52         (window_get_frame_extents, request_frame_extents,
53         property_notify_predicate, window_property_changed_cb): New
54         static functions.
55         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
56         (pre_event_handler): Remove insets-related logic for configure
57         events.
58         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
59         Update postConfigureEvent signature.
60
61 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
62  
63         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
64         to handle Window "Closing" events.
65  
66 2004-01-13  David Jee  <djee@redhat.com>
67
68         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
69         (setBackground): New method. Children with no explicitly-set
70         background will be repainted with the parent container's new
71         background color.
72
73 2004-01-13  David Jee  <djee@redhat.com>
74
75         * Makefile.am: Add BitwiseXORComposite.java.
76         * Makefile.in: Regenerated.
77         * gcj/Makefile.in: Regenerated.
78         * include/Makefile.in: Regenerated.
79         * testsuite/Makefile.in: Regenerated.
80
81 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
82
83         * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
84         not show modal dialogs twice and so that it allows showing a modal
85         dialog from another modal dialog.
86
87 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
88
89         * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
90         and run secondary dispatch thread to process event queue while this
91         thread is blocked.
92
93 2004-01-12  Graydon Hoare  <graydon@redhat.com>
94
95         * gnu/java/awt/gtk/GdkGraphics2D.java
96         (static): Check GtkToolkit before initializing static state.
97         (Graphics2D): Don't construct transform with 0.5 unit offset.
98
99 2003-11-06  Sascha Brawer  <brawer@dandelis.ch>
100
101         * gnu/java/awt/BitwiseXORComposite.java: Add.
102         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
103         (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
104         (BitwiseXORComposite): Remove inner class.
105
106 2004-01-11  Michael Koch  <konqueror@gmx.de>
107
108         * gnu/java/lang/reflect/TypeSignature.java
109         (getEncodingOfClass): Documentation fixed.
110         (getClassForEncoding): Give class loader to Class.forName().
111         Documentation fixed.
112
113 2004-01-11  Sascha Brawer  <brawer@dandelis.ch>
114
115         * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
116
117 2004-01-11  Michael Koch  <konqueror@gmx.de>
118
119         * javax/swing/undo/StateEditable.java
120         (RCSID): Removed redundant modifiers.
121
122 2004-01-10  Michael Koch  <konqueror@gmx.de>
123
124         * javax/print/attribute/EnumSyntax.java
125         (getStringTable): Made protected.
126         (getEnumValueTable): Likewise.
127         * javax/print/attribute/standard/JobKOctetsProcessed.java
128         (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
129         * javax/print/attribute/standard/JobMediaSheetsCompleted.java
130         (JobMediaSheetsCompleted): Made class final.
131         * javax/print/attribute/standard/OutputDeviceAssigned.java
132         (getName): Fixed typo.
133         * javax/print/attribute/standard/RequestingUserName.java
134         (serialVersionUID): Fixed value.
135
136 2004-01-10  Michael Koch  <konqueror@gmx.de>
137
138         * javax/swing/plaf/basic/BasicButtonUI.java,
139         javax/swing/plaf/basic/BasicCheckBoxUI.java,
140         javax/swing/plaf/basic/BasicListUI.java,
141         javax/swing/plaf/basic/BasicOptionPaneUI.java,
142         javax/swing/plaf/basic/BasicPanelUI.java,
143         javax/swing/plaf/basic/BasicRadioButtonUI.java,
144         javax/swing/plaf/basic/BasicScrollPaneUI.java,
145         javax/swing/plaf/basic/BasicToggleButtonUI.java,
146         javax/swing/plaf/basic/BasicViewportUI.java:
147         Fixed import statements.
148
149 2004-01-10  Michael Koch  <konqueror@gmx.de>
150
151         * gnu/java/awt/image/ImageDecoder.java
152         (produce): Made public.
153         * gnu/java/awt/peer/GLightweightPeer.java,
154         gnu/java/awt/peer/gtk/GtkToolkit.java:
155         Reformated.
156
157 2004-01-10  Michael Koch  <konqueror@gmx.de>
158
159         * javax/swing/JRadioButtonMenuItem.java,
160         javax/swing/JSeparator.java,
161         javax/swing/JSplitPane.java,
162         javax/swing/JTextPane.java,
163         javax/swing/JToolBar.java,
164         javax/swing/ListCellRenderer.java,
165         javax/swing/ListModel.java,
166         javax/swing/MenuElement.java,
167         javax/swing/OverlayLayout.java,
168         javax/swing/ProgressMonitor.java,
169         javax/swing/ProgressMonitorInputStream.java,
170         javax/swing/Renderer.java,
171         javax/swing/RootPaneContainer.java,
172         javax/swing/Scrollable.java,
173         javax/swing/SingleSelectionModel.java,
174         javax/swing/ToolTipManager.java,
175         javax/swing/ViewportLayout.java,
176         javax/swing/event/DocumentEvent.java,
177         javax/swing/event/SwingPropertyChangeSupport.java,
178         javax/swing/event/TreeSelectionEvent.java,
179         javax/swing/event/UndoableEditEvent.java,
180         javax/swing/text/AbstractDocument.java,
181         javax/swing/text/AttributeSet.java,
182         javax/swing/text/Caret.java,
183         javax/swing/text/ComponentView.java,
184         javax/swing/text/DefaultCaret.java,
185         javax/swing/text/DefaultEditorKit.java,
186         javax/swing/text/Document.java,
187         javax/swing/text/EditorKit.java,
188         javax/swing/text/GapContent.java,
189         javax/swing/text/Keymap.java,
190         javax/swing/text/MutableAttributeSet.java,
191         javax/swing/text/PlainEditorKit.java,
192         javax/swing/text/Segment.java,
193         javax/swing/text/Style.java,
194         javax/swing/text/StyledDocument.java,
195         javax/swing/text/StyledEditorKit.java,
196         javax/swing/text/TextAction.java,
197         javax/swing/text/View.java: Fixed import statements.
198
199 2004-01-08  Graydon Hoare  <graydon@redhat.com>
200
201         * javax/swing/JLayeredPane.java: Rewrite to accomodate
202         djee@redhat.com's recent inverse ordering of Container elements.
203
204 2004-01-09  Michael Koch  <konqueror@gmx.de>
205
206         * gnu/java/lang/ArrayHelper.java
207         (equalsArray): Removed.
208
209 2004-01-09  Andrew Haley  <aph@redhat.com>
210
211         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
212         a Utf8Const field before looking at its class.
213
214 2004-01-09  Michael Koch  <konqueror@gmx.de>
215
216         * javax/print/attribute/standard/DocumentName.java,
217         javax/print/attribute/standard/JobHoldUntil.java,
218         javax/print/attribute/standard/JobMessageFromOperator.java,
219         javax/print/attribute/standard/JobName.java,
220         javax/print/attribute/standard/JobOriginatingUserName.java,
221         javax/print/attribute/standard/OutputDeviceAssigned.java,
222         javax/print/attribute/standard/PrinterInfo.java,
223         javax/print/attribute/standard/PrinterLocation.java,
224         javax/print/attribute/standard/PrinterMakeAndModel.java,
225         javax/print/attribute/standard/PrinterMessageFromOperator.java,
226         javax/print/attribute/standard/PrinterName.java,
227         javax/print/attribute/standard/RequestingUserName.java: New files.
228         * Makefile.am (javax_source_files): Added new files.
229         * Makefile.in: Regenerated.
230
231 2004-01-09  Michael Koch  <konqueror@gmx.de>
232
233         * javax/swing/AbstractAction.java,
234         javax/swing/AbstractSet.java,
235         javax/swing/Action.java,
236         javax/swing/ActionMap.java,
237         javax/swing/BoundedRangeModel.java,
238         javax/swing/ButtonModel.java,
239         javax/swing/CellEditor.java,
240         javax/swing/CellRendererPane.java,
241         javax/swing/ComboBoxEditor.java,
242         javax/swing/DebugGraphics.java,
243         javax/swing/DefaultCellEditor.java,
244         javax/swing/DefaultCellRenderer.java,
245         javax/swing/DefaultComboBoxModel.java,
246         javax/swing/DefaultDesktopManager.java,
247         javax/swing/DefaultFocusManager.java,
248         javax/swing/DefaultListCellRenderer.java,
249         javax/swing/Icon.java,
250         javax/swing/JButton.java,
251         javax/swing/JCheckBoxMenuItem.java,
252         javax/swing/JDesktopPane.java,
253         javax/swing/JEditorPane.java,
254         javax/swing/JMenu.java,
255         javax/swing/JPanel.java,
256         javax/swing/JPasswordField.java,
257         javax/swing/JPopupMenu.java,
258         javax/swing/JProgressBar.java: Reworked imports.
259
260 2004-01-09  Michael Koch  <konqueror@gmx.de>
261
262         * java/awt/geom/PathIterator.java
263         (WIND_EVEN_ODD): Removed redundant modifiers.
264         (WIND_NON_ZERO): Likewise.
265         (SEG_MOVETO): Likewise.
266         (SEG_LINETO): Likewise.
267         (SEG_QUADTO): Likewise.
268         (SEG_CUBICTO): Likewise.
269         (SEG_CLOSE): Likewise.
270         * java/awt/image/SinglePixelPackedSampleModel.java:
271         Removed redundant semicolon.
272         * java/io/ObjectInputStream.java
273         (inputGetObjectStreamClasses): Removed unused variable "ret_val".
274         * java/util/logging/Filter.java
275         (isLoggable): Removed redundant modifier.
276         * java/util/logging/LogManager.java:
277         Removed redundant semicolon.
278         * java/util/logging/XMLFormatter.java
279         (format): Removed unused variable "key".
280
281 2004-01-08  Fernando Nasser  <fnasser@redhat.com>
282
283         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
284         New name for the former setFile native method.
285         (setFile): New method.
286         (setDirectory): Implemented.
287         (connectSignals): New native method.
288         (setFilenameFilter): Improve comment.
289         (getGraphics): Comment.
290         (gtkHideFileDialog): New method.
291         (gtkDisposeFileDialog): New method.
292         (gtkSetFilename): New method.
293         * java/awt/Dialog.java (show): Block on modal dialogs, but only
294         for FileDialog for now.
295         (hide): New method.
296         (dispose): New method.
297         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
298         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
299         deprecated creation functions.  Make dialog modal.  Add it to the
300         window group.
301         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
302         function.
303         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
304         Rename to...
305         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
306         name.
307         (window_closed): New function.
308         (ok_clicked): New function.
309         (cancel_clicked): New function.
310
311 2004-01-08  Michael Koch  <konqueror@gmx.de>
312
313         * javax/swing/JLayeredPane.java: Revert changes to standard
314         boilerplate, reworked imports.
315
316 2004-01-07  Tom Tromey  <tromey@redhat.com>
317
318         PR libgcj/13439:
319         * verify.cc (state::merge): Copy changed locals out of subroutine
320         in NO_STACK case.
321         (state::FLAG_CHANGED): New const.
322         (state::FLAG_UNUSED): Likewise.
323         (state::local_changed): Removed.  Updated all users.
324         (state::flags): New field.
325         (state::merge): Added jsr_semantics argument, more logic.
326         (push_jump_merge): Added jsr_semantics argument.
327         (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
328         merging through the jsr instruction.
329
330 2004-01-07  Tom Tromey  <tromey@redhat.com>
331
332         * scripts/MakeDefaultMimeTypes.java: Use \n, not
333         backslash-newline.
334
335 2004-01-07  Graydon Hoare  <graydon@redhat.com>
336
337         * java/awt/Container.java (LightweightDispatcher): Implement.
338         (visitChild): Reuse graphics object.
339         (dispatchEventImpl): Optionally dispatch to lightweight.
340         (addNotifyContainerChildren): Build LightweightDispatcher.
341
342 2004-01-07  David Jee  <djee@redhat.com>
343
344         * java/awt/Container.java
345         (update): Clear only the clipped region, instead of clearing the
346         entire Container.
347         (visitChildren): Visit children in descending order.
348
349 2004-01-07  Michael Koch  <konqueror@gmx.de>
350
351         * java/lang/reflect/Array.java: Merged documentation with classpath.
352
353 2004-01-07  Michael Koch  <konqueror@gmx.de>
354
355         * java/text/CollationElementIterator.java
356         (textIndex): Renamed from index.
357         * java/text/CollationKey.java
358         (collator): New member.
359         (CollationKey): New argument for parent collator.
360         (equals): Check for same collator, source string and key array.
361         * java/text/RuleBasedCollator.java:
362         Reformated.
363         (RuleBasedCollator): Don't re-initialize frenchAccents with default
364         value.
365         (getCollationElementIterator): Rewritten.
366         (getCollationKey): Added new argument to CollationKey constructor.
367
368 2004-01-07  Michael Koch  <konqueror@gmx.de>
369
370         * gnu/java/nio/DatagramChannelImpl.java
371         (blocking): Removed.
372         (DatagramChannelImpl): Call configureBlocking().
373         (implConfigureBlocking): Dont initialize blocking.
374         * gnu/java/nio/ServerSocketChannelImpl.java
375         (blocking): Removed.
376         (ServerSocketChannelImpl): Call configureBlocking().
377         (implConfigureBlocking): Dont initialize blocking.
378         * gnu/java/nio/SocketChannelImpl.java
379         (blocking): Removed.
380         (SocketChannelImpl): Call configureBlocking().
381         (implConfigureBlocking): Dont initialize blocking.
382         (connect): Use isBlocking().
383         * java/nio/channels/spi/AbstractSelectableChannel.java
384         (configureBlocking): Use blockingLock() instead of LOCK.
385         Set blocking after successfully called implConfigureBlocking().
386         (register): Use blockingLock() instead of LOCK.
387
388 2004-01-07  Michael Koch  <konqueror@gmx.de>
389
390         * java/net/ServerSocket.java (isBound): Fixed documentation.
391
392 2004-01-07  Sascha Brawer  <brawer@dandelis.ch>
393
394         * javax/swing/DefaultBoundedRangeModel.java: Documented API.
395         (changeEvent): Create event object on demand.
396         (DefaultBoundedRangeModel, toString, setValue, setExtent,
397         setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
398         fireStateChanged): Re-written.
399         * javax/swing/event/EventListenerList.java: Reformatted, document
400         typical usage.
401         (toString): Implemented.
402         (getListeners): Re-written.
403         (remove): Re-written.
404         (add): Re-written.
405         (NO_LISTENERS): New singleton field.
406         (listenerList): Declare as transient; document.
407         (serialVersionUID): Document.
408         (getListenerCount(Class)): More efficient implementation,
409         also accepts null argument.  Improve Javadoc.
410         (getListenerCount()): Remove unnecessary cast; docfix.
411         * javax/swing/undo/UndoableEditSupport.java:
412         Re-format, document.
413         (UndoableEditSupport): Set realSource field. Improve documentation.
414         (_postEdit): Iterate over cloned listener vector.
415         (toString): Don't emit realSource.
416         (beginUpdate, endUpdate): Support nested updates.
417         (postEdit): Use compound edit if present.
418
419 2004-01-06  Graydon Hoare  <graydon@redhat.com>
420
421         * java/awt/Container.java (swapComponents): Add forgotten
422         function, required for JLayeredPane change.
423
424 2004-01-06  Michael Koch  <konqueror@gmx.de>
425
426         * java/text/CollationElementIterator.java: Reformated.
427         (CollationElementIterator): Changed order of arguments.
428         * java/text/RuleBasedCollator.java
429         (RuleBasedCollator): Merged class documentation.
430         (CollationElement): Added documentation.
431         (compare): Reformated, renamed arguments.
432         (equals): Likewise.
433         (getCollationElementIterator): Likewise.
434         (getCollationKey): Likewise.
435
436 2004-01-06  Graydon Hoare  <graydon@redhat.com>
437
438         * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
439
440 2004-01-06  Michael Koch  <konqueror@gmx.de>
441
442         * gnu/java/net/protocol/file/Connection.java:
443         Reformated copyright.
444         (hdrHash): Removed.
445         (hdrVec): Removed.
446         (gotHeaders): Removed.
447         (getHeaderField): Removed.
448         (getHeaderField): Removed.
449         (getHeaderFieldKey): Removed.
450         (getKey): Removed.
451         (getField): Removed.
452         (getHeaders): Removed.
453
454 2004-01-06  Michael Koch  <konqueror@gmx.de>
455
456         * javax/print/attribute/standard/DateTimeAtCompleted.java,
457         javax/print/attribute/standard/DateTimeAtCreation.java,
458         javax/print/attribute/standard/DateTimeAtProcessing.java,
459         javax/print/attribute/standard/JobImpressionsCompleted.java,
460         javax/print/attribute/standard/JobKOctets.java,
461         javax/print/attribute/standard/JobKOctetsProcessed.java,
462         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
463         javax/print/attribute/standard/JobPrioritySupported.java: New files.
464         * Makefile.am (javax_source_files): Added new files.
465         * Makefile.in: Regenerated.
466
467 2004-01-06  Michael Koch  <konqueror@gmx.de>
468
469         * java/net/URLConnection.java
470         (contentHandler): Removed.
471         (locale): Removed.
472         (getHeaderFields): Return an empty map instead of null.
473         (getContent): Connect if needed, renamed "cType" to "type" and
474         "contentHandler" to "ch" and made it a local variable.
475         (getPermission): Don't use package in class name.
476         (setDefaultRequestProperty): Fixed typo in documentation.
477         (initializeDateFormats): Made locale a local variable.
478
479 2004-01-06  Michael Koch  <konqueror@gmx.de>
480
481         * java/lang/Package.java
482         (getPackage): Get the current class loader directly.
483         * java/lang/SecurityManager.java
484         (currentLoadedClass): Dont iterate over class contexts.
485         (classLoaderDepth): Don't check class loaders if everything is allowed.
486
487 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
488
489         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
490         (pre_event_handler): Set all insets to 0 when a Configure event
491         is received for a GtkPlug.
492         * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
493         Make handle long, not int.
494         (EmbeddedWindow()): New constructor.
495         (EmbeddedWindow(int)): Rename window_id to handle.  Make handle
496         long, not int.
497         (setHandle): New method.
498         (getHandle): Return long, not int.
499         * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
500         declaration.
501         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
502         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
503         (create(long)): Take long parameter, not int.  Cast gtk_plug_new
504         argument to GdkNativeWindow.
505         (construct): New method.
506         (embed): New method.
507
508         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
509         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
510         (create(int, int)): New method.
511         (create): Call new create method.
512         (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
513         methods.
514         (childResized): Remove native implementation.  Implement in
515         Java.
516         (getHScrollbarHeight, getVScrollbarWidth): Call
517         gtk_widget_size_request to get scrollbar dimensions.
518         * java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
519         call getVScrollbarWidth and getHScrollbarHeight when vertical
520         and horizontal scrollbars respectively are needed.
521         (doLayout): Enlarge child if it is smaller than the viewport.
522
523 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
524
525         * java/awt/Dialog.java (constructor): Accept null title as per spec.
526         * java/awt/FileDialog.java (constructor): Throw exception on invalid
527         argument as per spec.
528
529 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
530
531         * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
532         (insert): Ditto.
533         (remove): Ditto.  Also, Check for valid argument.
534         (removeAll): Use peer interface method.
535         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
536         native add function.
537         (nativeRemove): New name for native remove function.
538         (getHistory): New native function.
539         (constructor): Generate ItemEvent.
540         (add): Ditto, if selection is changed.
541         (remove): Ditto, ditto.
542         (removeAll): Add implementation.
543         (handleEvent): Remove.  Dead code.
544         (choicePostItemEvent): Add comment.
545         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
546         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
547         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
548         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
549         comments and fix condition to change selection.
550         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
551         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
552         remove all capability.
553         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
554         (item_activate): Add cast to remove compiler warning.
555
556 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
557
558         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
559         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
560         (getPreferredSize): Call preferredSize.
561         (preferredSize): Call gtkWidgetGetPreferredDimensions.
562         (getMinimumSize): Call minimumSize.
563         (minimumSize): Call gtkWidgetGetPreferredDimensions.
564         (gtkWidgetGetDimensions): Return the peer widget's current size
565         request.
566         (gtkWidgetGetPreferredDimensions): Return the peer widget's
567         natural size request.
568
569 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
570
571         Thanks to Brian Gough <bjg@network-theory.com>
572         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
573         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
574
575 2004-01-04  Matthias Klose  <doko@debian.org>
576
577         * aclocal.m4: Rebuilt using "aclocal -I .".
578         * configure: Rebuilt.
579
580 2004-01-03  Per Bothner  <per@bothner.com>
581
582         * java/util/Date.java (parse):  Fix a number of problems.
583         (skipParens):  Remove no-longer-needed method.
584
585 2003-12-31  Michael Koch  <konqueror@gmx.de>
586
587         * gnu/java/net/protocol/http/Connection.java
588         (sendRequest): Dont encode output in default character encoding,
589         add correct version number to HTTP user agent string.
590
591 2003-12-31  Graydon Hoare  <graydon@redhat.com>
592
593         * configure.in: Add --enable-gtk-cairo check.
594         * configure: Regenerate.
595         * Makefile.am: Conditionally link against cairo.
596         * Makefile.in: Regenerate.
597         * acinclude.m4: Include PKG_CHECK_MODULES.
598         * aclocal.m4: Regenerate.
599         * gnu/java/awt/peer/gtk/GtkToolkit.java (useGraphics2D): New method.
600         (getFontMetrics, getClasspathFontPeer):
601         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics):
602         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (createImage):
603         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (getGraphics):
604         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics):
605         Switch behavior depending on GtkToolkit.useGraphics2D().   
606         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Extend ClasspathFontPeer.
607         * java/awt/Font.java: Switch to peer model.
608         * jni/gtk-peer/gtkcairopeer.h: Definitions of cairo stuff.
609         * jni/gtk-peer/gdkfont.h: Include gtkcairopeer.h.
610         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Include gtkcairopeer.h.
611         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: Un-include gtkpeer.h. 
612
613 2003-12-31  Guilhem Lavaux  <guilhem@kaffe.org>
614
615         * java/io/ObjectOutputStream.java
616         (putFields): Reindented. Fixed behaviour: currentPutField should be
617         null
618         before calling this method.
619         (writeFields): Likewise.
620         (markFieldsWritten): Fixed the exception message.
621         (callWriteMethod): Ensure currentPutField is null.
622         (getBooleanField): Translate IllegalArgumentException into
623         InvalidClassException.
624         (getByteField): Likewise.
625         (getCharField): Likewise.
626         (getDoubleField): Likewise.
627         (getFloatField): Likewise.
628         (getIntField): Likewise.
629         (getLongField): Likewise.
630         (getShortField): Likewise.
631         (getObjectField): Check the type code before returning the object.
632         (getField): Translate NoSuchFieldException into InvalidClassException
633         directly.
634
635 2003-12-31 Guilhem Lavaux <guilhem@kaffe.org>
636
637         * java/net/URL.java
638         (URL): Change context path to "/" if it is empty.
639
640 2003-12-31  Michael Koch  <konqueror@gmx.de>
641
642         * testsuite/libjava.mauve/xfails: Removed tests that pass now:
643         XPASS: gnu.testlet.java.net.URL.URLTest: new URL(string) (number 16)
644         XPASS: gnu.testlet.java.net.URL.URLTest: new URL(string) (number 18)
645         XPASS: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file)
646         (number 26)
647         XPASS: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file)
648         (number 54)
649         
650
651 2003-12-30 Guilhem Lavaux <guilhem@kaffe.org>
652
653         * java/util/GregorianCalendar.java
654         (computeFields): Reported by Ito Kazumitsu <kaz@maczuka.gcd.org>.
655         Fixed the computation of DAY_OF_WEEK_IN_MONTH.
656         (computeTime): 12:00 midnight is AM and 12:00 noon is PM.
657
658 2003-12-30  Michael Koch  <konqueror@gmx.de>
659
660         * testsuite/libjava.mauve/xfails: Removed the following testcase
661         because it passes now:
662         FAIL: gnu.testlet.java.text.SimpleDateFormat.Test: parse() strict
663         (number 1)
664
665 2003-12-30  Michael Koch  <konqueror@gmx.de>
666
667         * java/io/ObjectInputStream.java,
668         java/io/ObjectOutputStream.java,
669         java/io/ObjectStreamClass.java:
670         Reformated, no functional code changes.
671
672 2003-12-30  Michael Koch  <konqueror@gmx.de>
673
674         * gnu/java/net/protocol/http/Connection.java
675         (outputStream): New field.
676         (bufferedOutputStream): New field.
677         (connect): Initialize outputStream and bufferedOutputStream.
678         (sendRequest): Create PrintWriter object from outputStream,
679         support HTTP 1.1, send missing HTTP headers and buffered output data
680         for POST method.
681         (getOutputStream): Set request method to POST if output stream is
682         used, return bufferedOutputStream.
683         (setRequestMethod): Allow HEAD and POST methods.
684         This fixes libgcj PR/6302 and libgcj PR/7752.
685
686 2003-12-30  Guilhem Lavaux <guilhem@kaffe.org>
687
688         * java/io/LineNumberReader.java
689         (countLines): Removed.
690         (fill): New private method.
691         (mark): Changed logic to use and matchedNewLine.
692         (reset): Likewise.
693         (read): Likewise.
694         (skipRedundantLF): Likewise.
695
696 2003-12-30  Michael Koch  <konqueror@gmx.de>
697
698         * gnu/java/net/protocol/http/Connection.java
699         (requestProperties): New field.
700         (addRequestProperty): New method.
701         (getRequestProperty): New method.
702         (setRequestProperty): New method.
703         (getRequestProperties): New method.
704
705 2003-12-28  Michael Koch  <konqueror@gmx.de>
706
707         * gnu/java/net/protocol/http/Connection.java
708         (inputStream): Made it a DataInputStream.
709         (requestProperties): Removed.
710         (hdrHash): Removed.
711         (hdrVec): Removed.
712         (headers): New field to store headers.
713         (connect): Initialize inputStream.
714         (receiveReply): Merged from classpath. The new algorithm is line based
715         instead of character based.
716         (getHeaderField): Use headers.
717         (getHeaderFields): Use headers.
718         (getKey): Removed.
719         (getField): Removed.
720         * gnu/java/net/HeaderFieldHelper.java: New file.
721         * Makefile.am (ordinary_java_source_files):
722         Added gnu/java/net/HeaderFieldHelper.java.
723         * Makefile.in: Regenerated.
724
725 2003-12-28  Guilhem Lavaux <guilhem@kaffe.org>
726
727         * java/io/LineNumberReader.java
728         (mark): Improved error checking.
729         (read): Likewise.
730         (skip): Likewise. Skip is now really eating the specified number of
731         characters.
732         * java/io/CharArrayReader.java (read): It should throw
733         IndexOutOfBoundsException and not ArrayIndexOutOfBoundsException (see
734         mauve).
735         * java/io/BufferedReader.java (readLine): Make readLine() really block
736         until either EOF is reached or a true error happens.
737
738 2003-12-27  Michael Koch  <konqueror@gmx.de>
739
740         * gnu/java/net/protocol/http/Connection.java
741         (getRequestProperty): Removed.
742         (setRequestProperty): Removed.
743
744 2003-12-27  Michael Koch  <konqueror@gmx.de>
745
746         * gnu/java/net/protocol/http/Connection.java
747         (connect): Call receiveReply().
748         (receiveReply): Renamed from getHttpHeaders().
749         (getOutputStream): Moved check on doOutput before check for connection
750         state.
751
752 2003-12-27  Michael Koch  <konqueror@gmx.de>
753
754         * javax/print/attribute/ResolutionSyntax.java,
755         javax/print/attribute/SetOfIntegerSyntax.java,
756         javax/print/attribute/Size2DSyntax.java,
757         javax/print/attribute/standard/Copies.java,
758         javax/print/attribute/standard/JobImpressions.java,
759         javax/print/attribute/standard/JobMediaSheets.java,
760         javax/print/attribute/standard/NumberOfDocuments.java,
761         javax/print/attribute/standard/NumberOfInterveningJobs.java,
762         javax/print/attribute/standard/PagesPerMinute.java,
763         javax/print/attribute/standard/PagesPerMinuteColor.java,
764         javax/print/attribute/standard/QueuedJobCount.java:
765         Fixed typo (s/then/than/).
766
767 2003-12-27  Guilhem Lavaux  <guilhem@kaffe.org>
768
769         * java/rmi/Naming.java (lookup): Check if the first character of the
770         filename returned by URL.getFile() is a '/', only if it is the case
771         we cut this first character and call the registry with the good name.
772         (bind): Likewise.
773         (rebind): Likewise.
774
775 2003-12-26  Guilhem Lavaux  <guilhem@kaffe.org>
776             Mark Wielaard  <mark@klomp.org>
777
778         * java/io/BufferedReader.java (BufferedReader):
779         Throw IllegalArgumentException when size <= 0.
780         (mark): Document and better exception message for negative
781         readLimit IllegalArgumentException.
782         (read(char[],int,int)): Throw IndexOutOfBoundsException
783         if offset and count are not valid regarding buf.
784         (skip): Throw IllegalArgumentException when count is negative.
785
786 2003-12-26  Guilhem Lavaux  <guilhem@kaffe.org>
787
788         * java/io/FileInputStream.java
789         (FileInputStream(String)): Call FileInputStream(File).
790         (FileInputStream(File)): Check whether the argument is a directory.
791
792 2003-12-26  Michael Koch  <konqueror@gmx.de>
793
794         * Makefile.am (rmi_java_source_files):
795         Added gnu/java/rmi/server/RMIVoidValue.java.
796         * Makefile.in: Regenerated.
797
798 2003-12-26  Guilhem Lavaux  <guilhem@kaffe.org>
799             Mark Wielaard  <mark@klomp.org>
800
801         * gnu/java/rmi/server/UnicastConnectionManager.java
802         (startScavenger): Set the client connection manager to daemon
803         state because it may block clients until TIMEOUT is reached
804         when they are exiting.
805
806         * gnu/java/rmi/RMIVoidValue.java: New file for a class representing
807         a void return.
808
809         * gnu/java/rmi/server/UnicastRemoteCall.java
810         (DummyOutputStream): Add a boolean before each written field to
811         know whether it is a primitive.
812         (releaseOutputStream): Flush parameters at write time.
813
814         * gnu/java/rmi/server/UnicastServerRef.java
815         (incomingMessageCall): Return a RMIVoidValue if no value is to be
816         returned.
817
818         * gnu/java/rmi/server/UnicastServer.java
819         (incomingMessageCall): Do not write a returned object if it is
820         a RMIVoidValue.
821
822 2003-12-25  Andreas Tobler  <a.tobler@schweiz.ch>
823
824         * libltdl/ltdl.c (HAVE_DYLD): Remove ifdef conditional for 
825         darwin. Fixed by fixinclude now.
826
827 2003-12-25  Michael Koch  <konqueror@gmx.de>
828
829         * java/net/ServerSocket.java bind():
830         If InetSocketAddress.getAddress() returns "null" use "0.0.0.0" as
831         address to bind to.
832
833 2003-12-23  Guilhem Lavaux <guilhem@kaffe.org>
834
835         * java/io/ObjectInputStream.java
836         (getField): Handle transient and non persistent fields.
837         (readClassDescriptor): Better error handling, use the right
838         class loader.
839         (readFields): Fields marked as not present in the stream
840         or not to be set are not read and set.
841         * java/io/ObjectInputStream.java
842         (readFields): Changed implementation of GetField.
843         (readClassDescriptor): Documented.
844         * java/io/ObjectOutputStream.java
845         (writeClassDescriptor): Added condition when to write class super
846         class information.
847
848 2003-12-22  Fernando Nasser  <fnasser@redhat.com>
849
850         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (postItemEvent): Rename to...
851         (choicePostItemEvent): Change signature to more specific String object.
852         * java/awt/Choice.java (add): Generate ItemEvent for the first item
853         added.
854         (insert): Generate ItemEvent if insertion caused
855         selection to change.
856         (remove): Generate ItemEvent if removal cause selection to change.
857         (removeAll): Change algorithm to prevent generation of ItemEvents.
858         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
859         (connect_choice_item_selectable_hook): Change argument type.
860         Fix argument value.
861         Make sure resources are feed by registering callback.
862         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Adjust call to the
863         above function.
864         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Ditto.
865         (item_activate): Ditto.
866         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Destroy removed
867         menuitem.
868         (item_removed): New function.  Free resources.
869         * jni/gtk-peer/gtkpeer.h (item_event_hook_info): Change member type and
870         name.
871         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
872         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Obtain MethodID for
873         choicePostItemEvent.
874
875 2003-12-23  Michael Koch  <konqueror@gmx.de>
876
877         * javax/print/attribute/standard/Copies.java,
878         javax/print/attribute/standard/JobImpressions.java,
879         javax/print/attribute/standard/JobMediaSheets.java,
880         javax/print/attribute/standard/JobPriority.java,
881         javax/print/attribute/standard/NumberOfDocuments.java,
882         javax/print/attribute/standard/NumberOfInterveningJobs.java,
883         javax/print/attribute/standard/NumberUp.java,
884         javax/print/attribute/standard/PagesPerMinuteColor.java,
885         javax/print/attribute/standard/PagesPerMinute.java,
886         javax/print/attribute/standard/QueuedJobCount.java: New files.
887         * Makefile.am (ordinary_java_source_files): Added new files.
888         * Makefile.in: Regenerated.
889
890 2003-12-23  Michael Koch  <konqueror@gmx.de>
891
892         * javax/print/attribute/AttributeSetUtilities.java
893         (verifyCategoryForValue): Renamed from verifyCategoryForAttribute.
894         * javax/print/attribute/HashAttributeSet.java
895         (HashAttributeSet): Call internal add methods, added missing
896         exceptions.
897         (add): Call addInternal, added exceptions to documentation.
898         (addInternal): New method.
899         (addAll): Call addAllInternal, added exception to documentation.
900         (addAllInternal): New method.
901         (clear): Added exception to documentation.
902         (remove): Likewise.
903         * javax/print/attribute/URISyntax.java
904         (serialVersionUID): Fixed value.
905
906 2003-12-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
907
908         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
909         (pre_event_handler): Don't dereference NULL focus_obj_ptr.
910
911 2003-12-21  Michael Koch  <konqueror@gmx.de>
912
913         * javax/print/attribute/AttributeSetUtilities.java,
914         javax/print/attribute/HashAttributeSet.java,
915         javax/print/attribute/HashDocAttributeSet.java,
916         javax/print/attribute/HashPrintJobAttributeSet.java,
917         javax/print/attribute/HashPrintRequestAttributeSet.java,
918         javax/print/attribute/HashPrintServiceAttributeSet.java: New files.
919         * Makefile.am (ordinary_java_source_files): Added new files.
920         * Makefile.in: Regenerated.
921
922 2003-12-21  Michael Koch  <konqueror@gmx.de>
923
924         * javax/print/attribute/EnumSyntax.java,
925         javax/print/attribute/SetOfIntegerSyntax.java: New files.
926         * Makefile.am (ordinary_java_source_files):
927         Added javax/print/attribute/EnumSyntax.java
928         and javax/print/attribute/SetOfIntegerSyntax.java.
929         * Makefile.in: Regenerated.
930
931 2003-12-21  Michael Koch  <konqueror@gmx.de>
932
933         * javax/print/attribute/PrintJobAttribute.java,
934         javax/print/attribute/PrintJobAttributeSet.java,
935         javax/print/attribute/PrintRequestAttribute.java,
936         javax/print/attribute/PrintServiceAttribute.java,
937         javax/print/attribute/PrintServiceAttributeSet.java,
938         javax/print/attribute/SupportedValuesAttribute.java: New files.
939         * Makefile.am (ordinary_java_source_files): Added new files.
940         * Makefile.in: Regenerated.
941
942 2003-12-21  Michael Koch  <konqueror@gmx.de>
943
944         * javax/print/attribute/DateTimeSyntax.java,
945         javax/print/attribute/DocAttribute.java,
946         javax/print/attribute/DocAttributeSet.java,
947         javax/print/attribute/IntegerSyntax.java,
948         javax/print/attribute/ResolutionSyntax.java,
949         javax/print/attribute/Size2DSyntax.java,
950         javax/print/attribute/TextSyntax.java,
951         javax/print/attribute/URISyntax.java,
952         javax/print/attribute/UnmodifiableSetException.java: New files.
953         * Makefile.am (ordinary_java_source_files): Added new files.
954         * Makefile.in: Regenerated.
955
956 2003-12-21  Michael Koch  <konqueror@gmx.de>
957
958         * gnu/java/net/PlainDatagramSocketImpl.java
959         (mcastGrp): Added documentation.
960
961 2003-12-20  Michael Koch  <konqueror@gmx.de>
962
963         * gnu/java/net/protocol/jar/Connection.java
964         (connectionCache): New field.
965         (connect): New method.
966         (getInputStream): New method.
967         (hdrHash): New field.
968         (hdrVec): New field.
969         (gotHeaders): New field.
970         (getHeaderField): New method.
971         (getHeaderFields): New method.
972         (getHeaderFieldKey): New method.
973         (getKey): New method.
974         (getField): New method.
975         (getHeaders): New method.
976         * java/net/JarURLConnection.java
977         (connectionCache): Removed.
978         (connect): Removed.
979         (getInputStream): Removed.
980         (hdrHash): Removed.
981         (hdrVec): Removed.
982         (gotHeaders): Removed.
983         (getHeaderField): Removed.
984         (getHeaderFields): Removed.
985         (getHeaderFieldKey): Removed.
986         (getKey): Removed.
987         (getField): Removed.
988         (getHeaders): Removed.
989
990 2003-12-20  Michael Koch  <konqueror@gmx.de>
991
992         * java/io/ObjectStreamField.java (isUnshared): Added documentation.
993
994 2003-12-20  Mohan Embar  <gnustuff@thisiscool.com>
995
996         * gnu/java/nio/SelectorImpl.java
997         (selectThreadMutex): New field.
998         (selectThread): New field.
999         (unhandledWakeup): New field.
1000         (implCloseSelector): Added skeleton code which
1001         synchronizes as per Sun JRE JavaDoc.
1002         (keys): Throw ClosedSelectorException if selector
1003         is closed.
1004         (selectNow): Added comment that we're faking out
1005         an immediate select with a one-microsecond-timeout one.
1006         (select): Use 0 instead of -1 for infinite timeout.
1007         (implSelect): Changed comment in declaration.
1008         (select): Added synchronized to method declaration.
1009         Added synchronization and wakeup support as per Sun
1010         JRE JavaDoc.
1011         (selectedKeys): Throw ClosedSelectorException if selector
1012         is closed.
1013         (wakeup): Implemented.
1014         (deregisterCancelledKeys): Synchronize on cancelled key
1015         set before deregistering.
1016         (register): Synchronize on key set before registering.
1017         * java/nio/channels/spi/AbstractSelector.java
1018         Added import for java.nio.channels.ClosedSelectorException.
1019         (close): Added synchronized to method declaration.
1020         (cancelledKeys): Throw ClosedSelectorException if selector
1021         is closed.
1022         (cancelKey): Synchronize on cancelled key set before key.
1023
1024 2003-12-20  Michael Koch  <konqueror@gmx.de>
1025
1026         * Makefile.am (ordinary_java_source_files):
1027         Added gnu.java.net.URLParseError.java.
1028         * Makefile.in: Regenerated.
1029
1030 2003-12-20  Guilhem Lavaux <guilhem@kaffe.org>
1031
1032         * gnu/java/net/URLParseError.java: New file.
1033         * gnu/java/net/protocol/jar/Handler.java
1034         (parseURL): Throw URLParseError if needed, fix '/' handling.
1035         * java/net/URL.java (URL): Catch URLParseError and
1036         transform it into a MalformedURLException.
1037
1038 2003-12-19  Michael Koch  <konqueror@gmx.de>
1039
1040         * gnu/java/nio/ChannelOutputStream.java: New file.
1041         * java/nio/channels/Channels.java
1042         (newOutputStream): Implemented.
1043         * Makefile.am (ordinary_java_source_files)
1044         Added gnu/java/nio/ChannelOutputStream.java.
1045         * Makefile.in: Regenerated.
1046
1047 2003-12-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
1048
1049         * java/awt/FlowLayout.java (layoutContainer): Let components
1050         assume their preferred height.  Centre components vertically.
1051
1052 2003-12-19  Michael Koch  <konqueror@gmx.de>
1053
1054         * gnu/java/nio/ChannelInputStream.java: New file.
1055         * java/nio/channels/Channels.java (newInputStream): Implemented.
1056         * java/nio/channels/FileChannelImpl.java
1057         (readImpl): Only put data into buffer if something was read.
1058         * Makefile.am (ordinary_java_source_files):
1059         Added gnu/java/nio/ChannelInputStream.java.
1060         * Makefile.in: Regenerated.
1061
1062 2003-12-19  Michael Koch  <konqueror@gmx.de>
1063
1064         * gnu/java/nio/OutputStreamChannel.java: New file.
1065         * java/nio/channels/Channels.java (newChannel): Implemented.
1066         * Makefile.am (ordinary_java_source_files):
1067         Added gnu/java/nio/OutputStreamChannel.java.
1068         * Makefile.in: Regenerated.
1069
1070 2003-12-19  Michael Koch  <konqueror@gmx.de>
1071
1072         * Makefile.am (ordinary_java_source_files):
1073         Added gnu.java.nio.InputStreamChannel. 
1074         * Makefile.in: Regenerated.
1075
1076 2003-12-19  Michael Koch  <konqueror@gmx.de>
1077
1078         * gnu/java/nio/InputStreamChannel.java: New file.
1079         * java/nio/channels/Channels.java (newChannel): Implemented.
1080
1081 2003-12-19  Michael Koch  <konqueror@gmx.de>
1082
1083         * java/util/SimpleTimeZone.java
1084         (setStartRule): Reformated documentation.
1085         (setEndRule): Reworked documentation.
1086         (getDSTSavings): Fixed @since tag.
1087         (setDSTSavings): New method.
1088
1089 2003-12-19  Michael Koch  <konqueror@gmx.de>
1090
1091         * java/text/NumberFormat.java: Sorted imports.
1092         (getCurrency): New method.
1093         (setCurrency): New method.
1094         
1095
1096 2003-12-19  Michael Koch  <konqueror@gmx.de>
1097
1098         * java/text/MessageFormat.java
1099         (MessageFormat): New constructor.
1100
1101 2003-12-19  Michael Koch  <konqueror@gmx.de>
1102
1103         * gnu/java/net/protocol/jar/Handler.java
1104         (parseURL): New method.
1105         (toExternalForm): New method.
1106
1107 2003-12-18  Fernando Nasser  <fnasser@redhat.com>
1108
1109         * java/awt/List.java (replaceItem): Prevent selection to move with
1110         replace and minimize flickering.
1111  
1112 2003-12-18  Michael Koch  <konqueror@gmx.de>
1113
1114         * libltdl/ltdl.c: Define __private_extern__ if needed.
1115
1116 2003-12-18  Michael Koch  <konqueror@gmx.de>
1117
1118         * libltdl/.cvsignore: Ignore autom4te.cache
1119         * libltdl/Makefile.in: Regenerated.
1120         * libltdl/aclocal.m4: Regenerated.
1121         * libltdl/acconfig.h: Removed (obsolete).
1122         * libltdl/config-h.in: Regenerated.
1123         * libltdl/configure.ac: Added AM_MAINTAINER_MODE.
1124         * libltdl/configure: Regenerated.
1125
1126 2003-12-18  Michael Koch  <konqueror@gmx.de>
1127
1128         * mauve-libgcj: Removed the disabling of java.text.ACIAttribute and
1129         java.text.CollationElementIterator tests as they compile again.
1130         * testsuite/libjava.mauve/xfails: Added failing
1131         java.text.CollationElementIterator tests.
1132
1133 2003-12-18  Michael Koch  <konqueror@gmx.de>
1134
1135         * java/util/prefs/AbstractPreferences.java
1136         (cachedChildren): New method.
1137
1138 2003-12-18  Michael Koch  <konqueror@gmx.de>
1139
1140         * java/util/TimeZone.java (getOffset): New method.
1141
1142 2003-12-17  Fernando Nasser  <fnasser@redhat.com>
1143  
1144         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
1145         of ActionEvents for mouse double-clicks.
1146
1147 2003-12-17  Fernando Nasser  <fnasser@redhat.com>
1148
1149         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (handleEvent): Check for
1150         null Graphics pointer returned by FileDialogPeer.
1151
1152 2003-12-17  Michael Koch  <konqueror@gmx.de>
1153
1154         * libltdl/stamp-h.in: Removed, not used anymore.
1155
1156 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
1157
1158         * gnu/java/net/natPlainDatagramSocketImplWin32.cc:
1159         Removed unused InterruptedIOException.h include.
1160         * gnu/java/net/natPlainSocketImplWin32.cc
1161         (connect): Reset and ignore our thread's interrupted
1162         flag instead of testing and throwing an InterruptedIOException
1163         if set.
1164         (accept): Likewise + changed case of SocketTimeoutException
1165         text.
1166         (write): Likewise (for both overloads).
1167         (doRead): Likewise.
1168
1169 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
1170
1171         * win32.cc (WSAEventWrapper): Implemented default
1172         constructor and init() methods.
1173         (_Jv_select): Removed.
1174         * gnu/java/nio/natSelectorImplWin32.cc
1175         (helper_put_filedescriptors): Removed.
1176         (helper_get_filedescriptors): Removed.
1177         (implSelect): Implemented in terms of WSAEventWrapper
1178         and WSAWaitForMultipleEvents instead of _Jv_select().
1179         Added support for thread interruption.
1180         * include/win32.h (WSAEventWrapper): Minor formatting
1181         changes; added default constructor declaration, init(),
1182         getFD() and getEventHandle() methods.
1183         (_Jv_select): Removed.
1184
1185 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
1186
1187         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
1188         (peekData): Throw SocketTimeoutException instead of
1189         InterruptedIOException on timeout.
1190         (receive): Likewise.
1191         * gnu/java/net/natPlainSocketImplPosix.cc
1192         (read): Made a minor exception text case change.
1193
1194 2003-12-16  Michael Koch  <konqueror@gmx.de>
1195
1196         Fix for PR libgcj/13056.
1197         * libltdl/configure.in,
1198         libltdl/config.h.in: Removed.
1199         * libltdl/configure.ac,
1200         libltdl/config-h.in,
1201         libltdl/install-sh,
1202         libltdl/config.guess,
1203         libltdl/config.sub,
1204         libltdl/missing,
1205         libltdl/mkinstalldirs,
1206         libltdl/ltmain.sh: New files.
1207         * libltdl/Makefile.am,
1208         libltdl/acinclude.m4,
1209         libltdl/aclocal.m4,
1210         libltdl/ltdl.c,
1211         libltdl/ltdl.h,
1212         libltdl/README: Update to versions from libtool 1.5.
1213         libltdl/configure,
1214         * libltdl/Makefile.in: Regenerated.
1215         * java/lang/natRuntime.cc (find_symbol):
1216         Use type 'lt_ptr' instead of 'lt_ptr_t'.
1217
1218 2003-12-16  Michael Koch  <konqueror@gmx.de>
1219
1220         * java/awt/MenuComponent.java
1221         (serialVersionUID): Fixed value.
1222
1223 2003-12-16  Fernando Nasser  <fnasser@redhat.com>
1224
1225         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1226         (pre_event_handler): Handle GtkButton widgets differently as events
1227         go to its event_window.
1228         (connect_awt_hook): Remove compiler warning.
1229
1230 i2003-12-16  Guilhem Lavaux <guilhem@kaffe.org>
1231
1232         * java/io/ObjectInputStream.java
1233         (lookupClass): New method.
1234         (currentLoader): New method.
1235         (inputGetObjectStreamClasses): New method.
1236         (assignNewHandle): Documented.
1237         (currentClassLoader): Documented.
1238         * java/io/ObjectStreamClass.java
1239         (setClass): Changed API. Better handling of the imported/exported
1240         fields.
1241         (getSerialPersistentFields): Make it throw previously caught exceptions
1242         so they can handled in setClass.
1243
1244 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
1245  
1246         * java/io/ObjectStreamField.java: A few methods were added in prevision
1247         of the upcoming upgrade of the serialization code. This also adds
1248         some missing documentation.
1249         (ObjectStreamField): We should throw a NullPointerException when 'name'
1250         is null.
1251
1252  2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
1253   
1254         * java/io/ObjectInputStream.java (setBooleanField):
1255         Throw an InvalidClassException if the field hasn't the required type,
1256         documentation added.
1257         (setByteField) Likewise.
1258         (setCharField) Likewise.
1259         (setDoubleField) Likewise.
1260         (setFloatField) Likewise.
1261         (setIntField) Likewise.
1262         (setShortField) Likewise.
1263         (setLongField) Likewise.
1264         (setObjectField) Likewise.
1265
1266 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
1267            Helmer Kraemer <hkraemer@freenet.de>
1268  
1269         * gnu/java/lang/reflect/TypeSignature.java (getClassForEncoding):
1270         Splitted the method so we can specify an explicit boot loader.
1271
1272 2003-12-15  Graydon Hoare  <graydon@redhat.com>
1273
1274         * jni/gtk-peer/gdkfont.h: New file.
1275         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
1276         include of cairo-xlib.h, add extra gdk_flush().
1277
1278 2003-12-12  Fernando Nasser  <fnasser@redhat.com>
1279
1280         * jni/gtk-peer/gtkpeer.h: Extend NSA set of macros to handle a second
1281         native state table -- native_global_ref_table.
1282         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Define
1283         native_global_ref_table pointer.
1284         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1285         (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose): Make sure JNI
1286         global reference is deleted and memory allocated for pointer freed.
1287         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): Use saved
1288         JNI global reference instead of JNI local reference.
1289         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1290         (pre_event_handler): Remove compilation warning.
1291         (connect_awt_hook): Use saved JNI global reference instead of creating
1292         a new one.
1293         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1294         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_create): Save JNI global
1295         reference to the Java object.
1296         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_connectSignals): Remove
1297         unused variable declaration and add comment.
1298         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
1299         (Java_gnu_java_awt_peer_gtk_GtkCanvasPeer_create): Save JNI global
1300         reference to the Java object.
1301         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c
1302         (Java_gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer_create): Ditto.
1303         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
1304         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeCreate): Ditto.
1305         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals): Use saved
1306         JNI global reference instead of JNI local reference.
1307         (item_toggled): Add debug statement.
1308         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1309         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_create): Save JNI global
1310         reference to the Java object.
1311         (connect_choice_item_selectable_hook): Use saved JNI global references
1312         instead of JNI local reference.
1313         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
1314         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create): Save JNI
1315         global reference to the Java object.
1316         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1317         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_create): Save JNI global
1318         reference to the Java object.
1319         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
1320         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_create): Ditto.
1321         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
1322         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_create): Ditto.
1323         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1324         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Ditto.
1325         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
1326         (Java_gnu_java_awt_peer_gtk_GtkScrollPanePeer_create): Ditto.
1327         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
1328         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Ditto.
1329         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
1330         (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_create): Ditto.
1331         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1332         (Java_gnu_java_awt_peer_gtk_GtkListPeer_create): Ditto.
1333         (Java_gnu_java_awt_peer_gtk_GtkListPeer_connectSignals): Use saved
1334         JNI global reference instead of JNI local reference.
1335         (item_selected): Add debug statement.
1336         (item_unselected): Add debug statement.
1337         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1338         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Save JNI global
1339         reference to the Java object.
1340         Connect "activate" signal handler using global JNI reference.
1341         (connect_activate_hook): Removed in favor of inline code.
1342         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
1343         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_create): Save JNI global
1344         reference to the Java object.
1345         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_connectSignals): Use saved
1346         JNI global reference instead of JNI local reference.  Add FIXME comment.
1347         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_gtkPanelNew): Save JNI global
1348         reference to the Java object.  Add FIXME comment.
1349         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
1350         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Save JNI global
1351         reference to the Java object.
1352         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_connectSignals): Use saved
1353         JNI global reference instead of JNI local reference.
1354         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
1355         (Java_gnu_java_awt_peer_gtk_GtkTextComponentPeer_connectSignals): Use
1356         saved JNI global reference instead of JNI local reference.
1357         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1358         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_create): Save JNI global
1359         reference to the Java object.
1360         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals): Use saved
1361         JNI global reference instead of JNI local reference.
1362
1363 2003-12-11  Michael Koch  <konqueror@gmx.de>
1364
1365         * java/text/Format.java (serialVersionUID): Fixed value.
1366
1367 2003-12-11  Michael Koch  <konqueror@gmx.de>
1368
1369         * javax/naming/event/EventDirContext.java: Jalopied.
1370         (addNamingListener): Fixed typo in method name.
1371         
1372
1373 2003-12-11  Mohan Embar  <gnustuff@thisiscool.com>
1374
1375         * gnu/java/nio/SocketChannelImpl.java
1376         (write): Removed diagnostic trace.
1377         * gnu/java/nio/natSelectorImplPosix.cc: Added
1378         includes for java.lang.Thread and java.io.InterruptedIOException.
1379         (helper_put_filedescriptors): Don't put invalid file descriptors
1380         in select set.
1381         (helper_get_filedescriptors): Clear invalid file descriptors
1382         from select set.
1383         (helper_reset): New method for clearing our file descriptor
1384         array.
1385         (implSelect): Correctly calculate timeout if specified and
1386         legal.
1387         Intercept and deal with any java.io.InterruptedIOException
1388         thrown by _Jv_select().
1389
1390 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
1391
1392         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
1393         Most coded moved to pre_event_handler, with the modifications
1394         mentioned below.
1395         (pre_event_handler): New function.  Called on the Gtk "event" signal.
1396         Do not retrieve the jobject from the window property as it is already
1397         available as user data in the signal.
1398         Do not try and find the grab widget as it is already done by Gtk at
1399         this point.
1400         Do not search for Window ancestor as Gtk already sends the signal to it.
1401         Do not meddle with the activation state of peer widgets on each
1402         key press or release.
1403         Add CList to the special handling when looking for the focused widget.
1404         * jni/gtk-peer/gtkpeer.h: Add declaration for pre_event_handler.
1405         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c (connectJObject):
1406         New function.
1407         (connectSignals): New function.
1408         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c (connectHooks):
1409         Rename to...
1410         (connectSignals): New name.  Get rid of NewGlobalRef call.
1411         Use g_signal_connect instead of deprecated gtk_signal_connect.
1412         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1413         (connect_choice_item_selectable_hook): Use g_signal_connect instead of
1414         deprecated gtk_signal_connect.
1415         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
1416         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1417         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1418         (Java_gnu_java_awt_peer_gtk_GtkClipboard_initNativeState): Ditto.
1419         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1420         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1421         function.
1422         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
1423         function.
1424         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
1425         function.
1426         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1427         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1428         function.
1429         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
1430         function.
1431         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1432         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1433         function.
1434         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
1435         function.
1436         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
1437         function.
1438         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_old_create): Remove dead
1439         code.
1440         (item_select): Remove indirection.
1441         (item_unselect): Ditto.
1442         (connect_selectable_hook): Folded into connectSignals.
1443         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
1444         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1445         function.
1446         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
1447         function.
1448         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
1449         function.
1450         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: Ditto.
1451         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1452         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
1453         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1454         function.
1455         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
1456         function.
1457         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Declare  and call
1458         connectJObject and connectSignals instead of connectHooks.
1459         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Declare connectJObject and
1460         connectSignals.
1461         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Declare connectSignals
1462         and not connectHooks.
1463         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Ditto.
1464         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java: Declare connectJObject
1465         and not connectHooks.
1466         * gnu/java/awt/peer/gtk/GtkListPeer.java: Declare connectJObject and
1467         connectSignals instead of connectHooks.
1468         * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Ditto.
1469         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Ditto.
1470         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Ditto. 
1471
1472 2003-12-09  Michael Koch  <konqueror@gmx.de>
1473
1474         * Makefile.am (nat_headers_install): New variable with header files to
1475         install automatically.
1476         (install-data-local): Install all headers listed in
1477         nat_headers_install. Install innert nat headers explicitely.
1478         * Makefile.in: Regenerated.
1479
1480 2003-12-09  Michael Koch  <konqueror@gmx.de>
1481
1482         * java/util/Calendar.java,
1483         java/util/IdentityHashMap.java,
1484         java/util/prefs/Preferences.java:
1485         Import used classes explicitely.
1486
1487 2003-12-09  Michael Koch  <konqueror@gmx.de>
1488
1489         * java/net/DatagramSocket.java
1490         (close): Directly return if socket is closed.
1491         * java/net/ServerSocket.java
1492         (close): Directly return if socket is closed.
1493         * java/net/Socket.java
1494         (close): Directly return if socket is closed.
1495
1496 2003-12-09  Michael Koch  <konqueror@gmx.de>
1497
1498         * gnu/java/nio/SelectorImpl.java
1499         (implSelect): Throws IOException.
1500         (select): Likewise.
1501
1502 2003-12-08  Kim Ho  <kho@redhat.com>
1503
1504         Fix for Checkbox states.
1505         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
1506         (currentState): New field.
1507         (nativeCreate): Add initial state parameter.
1508         (create): Changed to reflect new parameter.
1509         (setState): Fire only on changed states.
1510         (postItemEvent): Fire only on changed states. Also change the 
1511         Java Checkbox to reflect new state.
1512         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
1513         (nativeCreate): Add parameter and set active state.
1514
1515 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
1516  
1517         * java/awt/datatransfer/StringSelection.java (getTransferData): Return
1518         object of type expected by specified DataFlavor.
1519
1520 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
1521  
1522         * java/awt/datatransfer/DataFlavor.java (getParameter): Fix off-by-one
1523         error which was clipping off the first character of a parameter value.
1524
1525 2003-12-08  Olga Rodimina <rodimina@redhat.com>
1526
1527         * java/awt/Polygon.java
1528         (translate): Fixed error that caused polygon 
1529         to move right/left when up/down translation was required.
1530         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
1531         (getSelectionStart): Initialized start position to 0. 
1532         (getSelectionEnd): Initialized end position to 0.
1533         (getCaretPosition): Initialized caret position to 0.
1534         (getText): Initialized selected text to NULL 
1535
1536 2003-12-08  Michael Koch  <konqueror@gmx.de>
1537
1538         Fix for PR libgcj/13176.
1539         * java/io/PrintStream.java: Partly revert my previous patches to get
1540         (line_separator): New field.
1541         (converter): New field.
1542         (work): New field.
1543         (work_bytes): New field.
1544         (pw): Removed.
1545         (closed): Removed.
1546         (PrintStrean): Initialize converter and not pw.
1547         (checkError): Flush always, pw doesn't exist anymore.
1548         (close): Close underlying out stream.
1549         (print): New method.
1550         (writeChars): New method.
1551         (print): Use new internal print method.
1552         (println): Likewise.
1553
1554 2002-12-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
1555
1556         * java/util/Hashtable.java (Hashtable(Map)): Use putAll, not
1557         putAllInternal.
1558         (putAllInternal): Correct comment.
1559         * java/util/HashMap.java (HashMap(Map)): As above.
1560         (putAllInternal): As above.
1561
1562 2002-12-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
1563
1564         * java/util/Hashtable.java (internalContainsValue): Removed.
1565         (containsValue): Don't delegate to internalContainsValue.
1566
1567 2003-12-06  Michael Koch  <konqueror@gmx.de>
1568
1569         * javax/naming/directory/Attribute.java,
1570         javax/naming/directory/Attributes.java,
1571         javax/naming/directory/DirContext.java,
1572         javax/naming/directory/InitialDirContext.java,
1573         javax/naming/directory/SearchResult.java,
1574         javax/naming/event/EventContext.java,
1575         javax/naming/event/NamingEvent.java,
1576         javax/naming/event/NamingExceptionEvent.java,
1577         javax/naming/ldap/ControlFactory.java,
1578         javax/naming/ldap/ExtendedRequest.java,
1579         javax/naming/ldap/HasControls.java,
1580         javax/naming/ldap/InitialLdapContext.java,
1581         javax/naming/ldap/LdapContext.java,
1582         javax/naming/ldap/LdapReferralException.java,
1583         javax/naming/ldap/UnsolicitedNotification.java,
1584         javax/naming/ldap/UnsolicitedNotificationListener.java,
1585         javax/naming/spi/DirObjectFactory.java,
1586         javax/naming/spi/DirStateFactory.java,
1587         javax/naming/spi/DirectoryManager.java,
1588         javax/naming/spi/NamingManager.java,
1589         javax/naming/spi/ObjectFactoryBuilder.java,
1590         javax/naming/spi/ResolveResult.java,
1591         javax/naming/spi/Resolver.java,
1592         javax/naming/spi/StateFactory.java:
1593         Import used classes explicitely.
1594
1595 2003-12-05  Scott Gilbertson  <scottg@mantatest.com>
1596
1597         * gnu/gcj/xlib/GC.java (updateClip): Added rectangles argument.
1598         (clip): Removed field
1599         (clipRectangles): New field.
1600         (clone): Use new updateClip.
1601         (setClipRectangles): Use new updateClip.
1602         * gnu/gcj/xlib/natGC.cc (updateClip): Prepare passed rectangles.
1603
1604 2003-12-04  Michael Koch  <konqueror@gmx.de>
1605
1606         * java/io/FilePermission.java:
1607         Import used classes explicitely.
1608
1609 2003-12-04  Michael Koch  <konqueror@gmx.de>
1610
1611         * java/beans/BeanDescriptor.java,
1612         java/beans/EventSetDescriptor.java,
1613         java/beans/FeatureDescriptor.java,
1614         java/beans/IndexedPropertyDescriptor.java,
1615         java/beans/Introspector.java,
1616         java/beans/MethodDescriptor.java,
1617         java/beans/PropertyDescriptor.java,
1618         java/beans/SimpleBeanInfo.java: Explicitely import used classes.
1619         * java/beans/beancontext/BeanContextServicesSupport.java
1620         (serialVersionUID): New field.
1621
1622 2003-12-04  Michael Koch  <konqueror@gmx.de>
1623
1624         * java/awt/MenuComponent.java: Import java.io.Serialization.
1625         * java/awt/MenuItem.java: Likewise.
1626         * java/awt/TextComponent.java: Likewise.
1627         * java/awt/image/ImagingOpException.java
1628         (serialVersionUID): Fixed.
1629
1630 2003-12-04  Michael Koch  <konqueror@gmx.de>
1631
1632         * gnu/java/net/protocol/http/Connection.java
1633         (sendRequest): Merged writing http headers with classpath.
1634         (getInputStream): Merged documentation from classpath.
1635         (getHeaderField): Likewise.
1636         (getHeaderFieldKey): Likewise.
1637
1638 2003-12-04  Michael Koch  <konqueror@gmx.de>
1639
1640         * boehm.cc (_Jv_MarkObj): Access hack_signers field.
1641
1642 2003-12-04  Michael Koch  <konqueror@gmx.de>
1643
1644         * java/net/DatagramPacket.java
1645         (length): Made packge-private to make it accessible via CNI.
1646         (maxlen): New field.
1647         (DatagramPacket): Cleaned up.
1648         (setSocketAddress): Add message to exception.
1649         (setData): Call other setData().
1650         (setData): Call setLength().
1651         (setLength): Initialize maxlen too.
1652         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (peekData):
1653         Get maximal length from maxlen field, set length field directly.
1654         (receive): Likewise.
1655         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
1656         Get maximal length from maxlen field, set length field directly.
1657         (receive): Likewise.
1658
1659 2003-12-03  Mohan Embar  <gnustuff@thisiscool.com>
1660
1661         * gnu/java/nio/natSelectorImplPosix.cc
1662         (implSelect): A timeout of 0 means an infinite
1663         timeout.
1664
1665 2003-12-02  Fernando Nasser  <fnasser@redhat.com>
1666  
1667         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
1668         of ActionEvents.
1669
1670 2003-12-03  Michael Koch  <konqueror@gmx.de>
1671
1672         * java/lang/Class.h (hack_signers): Renamed signers to hack_signers.
1673         * java/lang/natClass.cc (getSigners): Likewise.
1674         (setSigners): Likewise.
1675
1676 2003-12-02  Mohan Embar  <gnustuff@thisiscool.com>
1677
1678         * configure.in: Added new MinGW-specific configure flag
1679         --with-win32-nlsapi.
1680         Added new AC_DEFINE MINGW_LIBGCJ_UNICODE.
1681         Add -lunicows to MinGW SYSTEMSPEC if --with-win32-nlsapi
1682         is set to unicows.
1683         * configure: Rebuilt.
1684         * include/config.h.in: Rebuilt.
1685         * win32.cc (_Jv_Win32NewString): Implemented.
1686         (nativeToUnicode): New helper function defined only for
1687         non-UNICODE builds.
1688         (unicodeToNative): Likewise.
1689         (_Jv_Win32TempString): Implemented.
1690         (lots): Refactored using tchar.h macros.
1691         (WSAEventWrapper): Use _Jv_Win32NewString.
1692         (_Jv_platform_initialize): Use GetModuleFileNameA instead
1693         of GetModuleFileName.
1694         (_Jv_platform_initProperties): Use _Jv_Win32NewString.
1695         Use temporary stack buffer instead of a heap buffer.
1696         * include/win32.h
1697         Added defines for UNICODE and _UNICODE if MINGW_LIBGCJ_UNICODE is
1698         defined; added tchar.h include.
1699         (_Jv_Win32TempString): Declared new helper class.
1700         (JV_TEMP_STRING_WIN32): New helper macro.
1701         (_Jv_Win32NewString): Declared new helper method.
1702         * java/io/natFileDescriptorWin32.cc (open): Use
1703         JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
1704         (write): Reformatted slightly.
1705         * java/io/natFileWin32.cc (lots): Use tchar.h macros;
1706         use JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
1707         (getCanonicalPath): Use _Jv_Win32NewString instead of
1708         JvNewStringUTF.
1709         (performList): Likewise.
1710         * java/lang/natWin32Process.cc (ChildProcessPipe):
1711         Use tchar.h macros.
1712         (startProcess): Use tchar.h macros, JV_TEMP_STRING_WIN32,
1713         and UNICODE environment flag for CreateProcess.
1714         * java/net/natNetworkInterfaceWin32.cc
1715         (winsock2GetRealNetworkInterfaces): Use tchar.h macros and
1716         _Jv_Win32NewString.
1717
1718 2003-12-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
1719
1720         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
1721         (initState): Mark obj parameter as unused.
1722         (stringWidth): Mark obj parameter as unused.  Initialize
1723         font_name properly.
1724
1725         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Make
1726         BufferedImageBuilder class static.
1727
1728 2003-12-02  Mark Wielaard  <mark@klomp.org>
1729
1730         * java/security/Security.java: Don't use &nbsp; in the api doc.
1731
1732 2003-12-02  Dalibor Topic <robilad@kaffe.org>
1733
1734         Reported by: Jim Pick <jim@kaffe.org>
1735         * libraries/javalib/java/util/Hashtable.java
1736         (internalcontainsValue): New method.
1737         (contains): Delegate to internalContainsValue.
1738         
1739         Reported by: Mark Wielaard  <mark@klomp.org>
1740         * libraries/javalib/java/util/Hashtable.java
1741         (contains): Improved comment.
1742         
1743         Reported by: Jeroen Frijters  <jeroen@frijters.net>
1744         * libraries/javalib/java/util/Hashtable.java
1745         (containsValue): Delegate to contains(Object) to make sure older
1746         code overwriting it continues to work.
1747
1748 2003-12-02  Fernando Nasser  <fnasser@redhat.com>
1749
1750         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): New
1751         method. Handle mouse and key events that must generate
1752         ActionEvents.
1753         * java/awt/List.java (getSelectedIndex): Return -1
1754         if no list element is selected.
1755         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
1756         Correct handling of mouse and key events so that List receives them.
1757         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1758         (Java_gnu_java_awt_peer_gtk_GtkListPeer_delItems): Fix removal of
1759         multiple list elements. 
1760
1761 2003-12-02  Ito Kazumitsu  <kaz@maczuka.gcd.org>
1762
1763         * java/text/SimpleDateFormat.java (compileFormat):
1764         isLowerCase() and isUpperCase() allow too many characters.
1765         Just use >= 'A' && <= 'Z' || >= 'a' && <= 'z'.
1766
1767 2003-12-02  Dalibor Topic <robilad@kaffe.org>
1768
1769         * java/text/FieldPosition.java (equals): Fixed comment.
1770
1771 2003-12-02  Mark Wielaard  <mark@klomp.org>
1772
1773         Reported by Archie Cobbs:
1774         * java/security/DigestInputStream.java (read(byte[], int, int): Call
1775         digest.update() with temp, not len as lenght.
1776
1777 2003-12-02  Michael Koch  <konqueror@gmx.de>
1778
1779         * java/net/DatagramSocket.java
1780         (close): Close associated DatagramChannel object.
1781         * java/net/ServerSocket.java
1782         * java/net/Socket.java
1783         (close): Reset impl and bound before calling getChannel().close() to
1784         prevent from loops.
1785
1786 2003-12-02  Michael Koch  <konqueror@gmx.de>
1787
1788         * java/nio/channels/spi/AbstractInterruptibleChannel.java
1789         (opened): Removed.
1790         (closed): New field.
1791         (close): Check of channel is closed already.
1792         (isOpen): Return !closed.
1793
1794 2003-12-02  Michael Koch  <konqueror@gmx.de>
1795
1796         * gnu/java/nio/DatagramChannelImpl.java
1797         (blocking): Initialize with true by default.
1798         * gnu/java/nio/ServerSocketChannelImpl.java
1799         (serverSocket): Made private.
1800         (blocking): Likewise.
1801         (connected): Likewise.
1802         * gnu/java/nio/SocketChannelImpl.java
1803         (connectionPending): Made private.
1804         * gnu/java/nio/FileLockImpl.java
1805         (static): Load native library (needed for classpath).
1806         * gnu/java/nio/SelectorImpl.java
1807         (static): Load native library (needed for classpath).
1808
1809 2003-12-02  Michael Koch  <konqueror@gmx.de>
1810
1811         * gnu/java/net/protocol/file/Connection.java
1812         (getLastModified): Implement for file connections.
1813         (getContentLength): Likewise.
1814
1815 2003-12-02  Michael Koch  <konqueror@gmx.de>
1816
1817         * gnu/java/net/protocol/file/Connection.java:
1818         Some reformating.
1819         (file): Renamed from fileIn.
1820         (getPermission): Moved around.
1821
1822 2003-12-02  Michael Koch  <konqueror@gmx.de>
1823
1824         * gnu/java/net/protocol/jar/Connection.java
1825         (Connection): Made class final, merged documentation with classpath.
1826         (file_cache): Made private.
1827         (jar_file): Renamed from jarfile.
1828
1829 2003-12-02  Michael Koch  <konqueror@gmx.de>
1830
1831         * gnu/java/net/protocol/http/Connection.java
1832         (Connection): Initialize doOutput to false;
1833         (connect): Initialize inputStream, moved "send request" code to new
1834         method.
1835         (sendRequest): New method.
1836         (getHttpHeaders): Don't reinitialize inputStream.
1837
1838 2003-12-02  Michael Koch  <konqueror@gmx.de>
1839
1840         * gnu/java/net/protocol//http/Connection.java
1841         (defRequestProperties): Removed. This dont gets used since JDK 1.3.
1842         (requestProperties): Initialize, documentation added.
1843         (inputStream): Renamed from bufferedIn.
1844         (Connection): Dont initialize requestProperties.
1845         (setDefaultRequestProperty): Removed.
1846         (getDefaultRequestProperty): Removed.
1847         (usingProxy): Documentation added.
1848         (getHttpHeaders): Likewise.
1849
1850 2003-12-02  Michael Koch  <konqueror@gmx.de>
1851
1852         * java/text/DateFormat.java:
1853         Explicitely import used classes.
1854
1855 2003-12-01  Jeff Sturm  <jsturm@one-point.com>
1856
1857         * verify.cc (state::clean_subrs): Clear seen_subrs.
1858         (state::copy): Walk seen_subrs from copy, not `this'.
1859         Don't clear seen_subrs.
1860
1861 2003-12-01  Kim Ho <kho@redhat.com>
1862
1863         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create):
1864         Disable wrapping if TextArea has horizontal scroll bars.
1865
1866 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
1867
1868         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1869         (awt_event_handler): Hard-code inset values.
1870
1871         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (GdkFontMetrics):
1872         Pass font name, not XLFD, to initState.
1873         (stringWidth(String, int, String)): New method.
1874         (stringWidth(String)): Call new stringWidth.
1875         (getLeading): Always return 0.
1876         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
1877         (initState): New Pango implementation.
1878         (stringWidth): Likewise.
1879
1880 2003-12-01  Olga Rodimina <rodimina@redhat.com>
1881
1882         * java/awt/TextComponent.java:
1883         (getSelectionStart): Updated javadocs.
1884         (getSelectionEnd): Ditto.
1885         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer:
1886         (getSelectionStart): Changed to return caret position if no
1887         text is selected
1888         (getSelectionEnd): Ditto.
1889
1890 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
1891
1892         * gnu/awt/gtk/GtkButtonPeer.java, gnu/awt/gtk/gtkcommon.cc,
1893         gnu/awt/gtk/gtkcommon.h, gnu/awt/gtk/GtkComponentPeer.java,
1894         gnu/awt/gtk/GtkContainerPeer.java,
1895         gnu/awt/gtk/GtkFramePeer.java, gnu/awt/gtk/GtkLabelPeer.java,
1896         gnu/awt/gtk/GtkMainThread.java, gnu/awt/gtk/GtkToolkit.java,
1897         gnu/awt/gtk/GtkWindowPeer.java, gnu/awt/gtk/natGtkButtonPeer.cc,
1898         gnu/awt/gtk/natGtkComponentPeer.cc,
1899         gnu/awt/gtk/natGtkContainerPeer.cc,
1900         gnu/awt/gtk/natGtkFramePeer.cc, gnu/awt/gtk/natGtkLabelPeer.cc,
1901         gnu/awt/gtk/natGtkMainThread.cc, gnu/awt/gtk/natGtkToolkit.cc,
1902         gnu/awt/gtk/natGtkWindowPeer.cc: Remove files.
1903
1904         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
1905         (closed): Mark loader parameter as unused.
1906
1907 2003-12-01  Michael Koch  <konqueror@gmx.de>
1908
1909         * gnu/java/net/protocol/http/Connection.java
1910         (Connection): Merged class documentation.
1911         (socket): Renamed from sock.
1912         (Connection): Made protected, documentation added.
1913         (connect): Give URL'S host instead of InetAddress to Socket
1914         constructor.
1915         (disconnect): Documentation added.
1916         (getOutputStream): Rewrapped.
1917
1918 2003-12-01  Michael Koch  <konqueror@gmx.de>
1919
1920         * gnu/java/net/protocol/file/Connection.java
1921         (fileIn): Documentation added.
1922         (inputStream): Likewise.
1923         (outputStream): Likewise.
1924         (Connection): Likewise.
1925         (connect): Simplified.
1926
1927 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
1928
1929         * gnu/java/awt/peer/gtk/GtkImage.java (setDimensions,
1930         setProperties): Check that io is not null before calling
1931         io.imageUpdate.
1932         * java/awt/image/ImageConsumer.java (setPixels, imageComplete):
1933         Update javadocs.
1934         * java/awt/image/PixelGrabber.java: Fix implementation and
1935         update javadocs.
1936
1937 2003-12-01  Michael Koch  <konqueror@gmx.de>
1938
1939         * gnu/java/net/natPlainSocketImplPosix.cc
1940         bind(): Dont set SockedImpl.address field on succesful bind.
1941         * gnu/java/net/natPlainSocketImplWin32.cc
1942         bind(): Likewise.
1943
1944 2003-11-30  Jeff Sturm <jsturm@one-point.com>
1945
1946         * java/net/InetAddress.java:
1947         (static): Don'f force DNS request for ANY_IF address.
1948
1949 2003-11-30  Michael Koch  <konqueror@gmx.de>
1950
1951         * java/net/InetAddress.java,
1952         java/net/natInetAddressNoNet.cc,
1953         java/net/natInetAddressPosix.cc,
1954         java/net/natInetAddressWin32.cc:
1955         Reverted my last patch.
1956
1957 2003-11-28  Michael Koch  <konqueror@gmx.de>
1958
1959         * java/net/InetAddress.java
1960         (lookup): New method that doesnt lookup "0.0.0.0".
1961         (ImplLookup): Renamed from lookup.
1962         * java/net/natInetAddressNoNet.cc
1963         (ImplLookup): Renamed from lookup.
1964         * java/net/natInetAddressPosix.cc
1965         (ImplLookup): Renamed from lookup.
1966         * java/net/natInetAddressWin32.cc
1967         (ImplLookup): Renamed from lookup.
1968
1969 2003-11-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
1970
1971         * configure: Rebuilt.
1972         * configure.in: Require gtk and glib 2.2.0.
1973
1974 2003-11-27  Dalibor Topic <robilad@kaffe.org>
1975
1976         * java/text/FieldPosition.java (equals): Adapted to handle
1977         field_attribute. Added fast-circuit check for comparison to self.
1978         Replaced use of instanceof by getClass to fix symmetry for derived
1979         types.
1980         (toString): Adapted to handle field_attribute. Improved readability.
1981         (hashCode): New method.
1982
1983 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1984
1985         * java/text/FieldPosition.java (field_attribute): New field.
1986         (FieldPosition (Format.Field), FieldPosition(Format.Field, int),
1987         getFieldAttribute): New methods.
1988
1989 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1990
1991         * java/text/DecimalFormatSymbols.java (locale): New field.
1992         (DecimalFormatSymbols (Locale)): Set locale.
1993         (serialVersionOnStream): Upgraded to number 2.
1994         (readObject): Assign locale if it wasn't by the serializer.
1995
1996 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1997
1998         * java/text/FormatCharacterIterator.java: Documented the class and
1999
2000 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
2001
2002         * java/text/FormatCharacterIterator.java: Fixed some typos.
2003
2004 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
2005
2006         * java/text/NumberFormat.java:
2007         (getIntegerInstance) Added the java version in the comments.
2008
2009 2003-11-27  Mark Wielaard  <mark@klomp.org>
2010
2011         * java/text/NumberFormat.java: Import java.io.InvalidObjectException.
2012         (readResolve): Reformat.
2013
2014 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
2015
2016         * java/text/NumberFormat.java
2017         (NumberFormat.Field): New implemented class to match Java 1.4. 
2018         (getIntegerInstance): Two new Java 1.4 methods.o
2019
2020 2003-11-27  Ito Kazumitsu  <kaz@maczuka.gcd.org>
2021
2022         * java/util/GregorianCalendar.java (getLinearTime): Avoid counting
2023         the leap day of the leap year twice.
2024         (computeFields): First week of month is 1 not 0.
2025
2026 2003-11-27  Mark Wielaard  <mark@klomp.org>
2027
2028         * javax/swing/plaf/basic/BasicDefaults.java (BasicDefaults): Put
2029         AbstractUndoableEdit.undoText and AbstractUndoableEdit.redoText.
2030
2031 2003-11-27  Michael Koch  <konqueror@gmx.de>
2032
2033         * javax/swing/UIDefaults.java:
2034         Reformated to match classpath's version.
2035
2036 2003-11-27  Sascha Brawer  <brawer@dandelis.ch>
2037
2038         * javax/swing/UIManager.java (getDefaults, getDimension,
2039         getIcon, getInsets, getInstalledLookAndFeels, getInt,
2040         getLookAndFeel, getString, getSystemLookAndFeelClassName):
2041         Declare as public.
2042
2043 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
2044
2045         * javax/swing/undo/StateEdit.java (getPresentationName): Docfix.
2046         * javax/swing/undo/AbstractUndoableEdit.java (canUndo, canRedo,
2047         isSignificant): Likewise.
2048
2049 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
2050
2051         * javax/swing/undo/CompoundEdit.java: Re-format, document.
2052         (inProgress): Set initial value to true.
2053         (undo, redo, die, canUndo, canRedo): Also call inherited
2054         implementation; simplify code structure.
2055         (getPresentationName, getUndoPresentationName,
2056         getRedoPresentationName): Make behavior dependent on lastEdit.
2057         (addEdit, isSignificant): Completely re-written.
2058
2059 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
2060
2061         * javax/swing/undo/StateEdit.java: Re-format, document.
2062         (undo, redo): Also call inherited implementation.
2063
2064 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
2065
2066         * javax/swing/undo/StateEditable.java: Re-format, document.
2067
2068 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
2069
2070         * javax/swing/undo/AbstractUndoableEdit.java: Re-format, document.
2071         (AbstractUndoableEdit): Initialize hasBeenDone to true.
2072         (canUndo, canRedo): Simplify.
2073         (getUndoPresentationName, getRedoPresentationName): Support
2074         localized message; call getPresentationName() only once.
2075
2076 2003-11-26  David Belanger  <dbelan2@cs.mcgill.ca>
2077
2078         * java/util/zip/ZipFile (Zipfile(File)): Set file path as name.
2079         (ZipFile(File,int)): Likewise.
2080
2081 2003-11-26  Stuart Ballard <stuart.ballard@corp.fast.net>
2082
2083         * java/util/HashMap.java (putAll): Use Iterator hasNext() method.
2084         (putAllInternal): Likewise.
2085         * java/util/Hashtable.java (putAll): Use Iterator hasNext() method.
2086         (putAllInternal): Likewise.
2087
2088 2003-11-26  Michael Koch  <konqueror@gmx.de>
2089
2090         * java/net/URLStreamHandler.java
2091         (parseURL): Added comment in catch statement.
2092         (canonicalizeFilename): Add documentation.
2093         (sameURL): Completed documentation.
2094         (equals): Likewise.
2095         (hostsEqual): Likewise.
2096         (getDefaulPort): Likewise.
2097         (hashCode): Likewise.
2098         (toExternalForm): Likewise.
2099         (getHostName): Fix empty hostname check, completed documentation.
2100
2101 2003-11-26  Tom Tromey  <tromey@redhat.com>
2102
2103         * java/lang/natDouble.cc (parseDouble): Reverted patch of
2104         2003-11-13.
2105
2106 2003-11-26  Guilhem Lavaux  <guilhem@kaffe.org>
2107             Mark Wielaard  <mark@klomp.org>
2108
2109         * java/net/URLStreamHandler (parseUrl): Fixed URL parsing
2110         ('@' should be checked to distinguish port from userinfo).
2111         (toExternalForm): Add @ userInfo if necessary.
2112
2113
2114 2003-11-26  Michael Koch  <konqueror@gmx.de>
2115
2116         * java/net/DatagramSocket.java
2117         (DategramSocket, bind): Moved binding code from DatagramSocket
2118         constructor to bind method.
2119
2120 2003-11-26  Michael Koch  <konqueror@gmx.de>
2121
2122         * java/net/DatagramSocket.java
2123         (impl): Made private.
2124         (bound): New private member variable.
2125         (DatagramSocket): Fixed documentation, use getImpl().
2126         (getImpl): New package-private method.
2127         (isClosed): Use getImpl().
2128         (getLocalAddress): Completed documentation, use getImpl().
2129         (getLocalPort): Use getImpl().
2130         (getSoTimeout): Likewise.
2131         (setSoTimeout): Likewise.
2132         (getSendBufferSize): Likewise.
2133         (setSendBufferSize): Likewise.
2134         (getReceiveBufferSize): Likewise.
2135         (setReceiveBufferSize): Likewise.
2136         (connect): Likewise.
2137         (disconnect): Likewise.
2138         (receive): Likewise.
2139         (send): Likewise.
2140         (setReuseAddress): Likewise.
2141         (setTrafficClass): Likewise.
2142         (bind): Added message to exception.
2143         (isClosed): Completed documentation.
2144         (getChannel): Likewise.
2145         (connect): Added missing exception, refined exception message.
2146         (isBound): Completed documentation, just return bound.
2147         (isConnected): Completed documentation.
2148         (getRemoteSocketAddress): Likewise.
2149         (getReuseAddress): Completed documentation, use getImpl().
2150         (setSoBroadcast): Likewise.
2151         (getSoBroadcast): Likewise.
2152         (getTrafficClass): Likewise.
2153         (getLocalSocketAddress): Simplified.
2154         * java/net/MulticastSocket.java
2155         (MulticastSocket): Removed comment not applying anymore.
2156         (getInterface): Use getImpl().
2157         (getTTL): Likewise.
2158         (getTimeToLive): Likewise.
2159         (setInterface): Likewise.
2160         (setNetworkInterface): Likewise.
2161         (getNetworkInterface): Likewise.
2162         (setLoopback): Likewise.
2163         (getLoopback): Likewise.
2164         (setTTL): Likewise.
2165         (setTimeToLive): Likewise.
2166         (joinGroup): Likewise.
2167         (leaveGroup): Likewise.
2168         (send): Likewise.
2169
2170 2003-11-26  Michael Koch  <konqueror@gmx.de>
2171
2172         * java/net/Socket.java
2173         (implCreated): Dont set default value explicitely, added
2174         documentation.
2175         (inputShutdown): Likewise.
2176         (outputShutdown): Likewise.
2177         (bound): New private member variable.
2178         (bind): Set bound to true.
2179         (close): Set bound to false.
2180         (isBound): Return bound.
2181         * java/net/ServerSocket.java
2182         (bound): New private member variable.
2183         (bind): Set bound to true.
2184         (close): Set bound to false.
2185         (isBound): Return bound.
2186
2187 2003-11-26  Michael Koch  <konqueror@gmx.de>
2188
2189         * java/net/URL.java
2190         (URL): Fixed documentation to be HTML compliant.
2191         (getContent): Completed documentation.
2192         (getFile): Likewise.
2193         (getPath): Likewise.
2194         (getAuthority): Likewise.
2195         (getHost): Likewise.
2196         (getDefaultPort): Likewise.
2197         (getProtocol): Likewise.
2198         (hashCode): Likewise.
2199         (openConnection): Likewise.
2200         (openStream): Likewise.
2201         (set): Likewise.
2202         (getURLStreamHandler): Wrapped lines to fit into our 79 chars rule.
2203
2204 2003-11-26  Michael Koch  <konqueror@gmx.de>
2205
2206         * java/net/InetSocketAddress.java
2207         (hostname): Made private, added documentation.
2208         (addr): Likewise.
2209         (port): Likewise.
2210         (equals): Completed documentation.
2211         (getAddress): Likewise.
2212         (getHostName): Likewise.
2213         (getPort): Likewise.
2214         (hashCode): Likewise.
2215         (isUnresolved): Likewise.
2216         (toString): Likewise.
2217
2218 2003-11-26  Michael Koch  <konqueror@gmx.de>
2219
2220         * gnu/java/net/protocol/file/Handler.java
2221         (Handler): New explicit constructor.
2222         (openConnection): Added documentation.
2223         * gnu/java/net/protocol/jar/Handler.java
2224         (Handler): New explicit constructor.
2225         (openConnection): Added documentation.
2226
2227 2003-11-26  Michael Koch  <konqueror@gmx.de>
2228
2229         * java/net/DatagramPacket.java
2230         (DatagramPacket): Fixed documentation to become legal HTML.
2231
2232 2003-11-25  Michael Koch  <konqueror@gmx.de>
2233
2234         * gcj/javaprims.h: Added missing java.util.Currency.
2235
2236 2003-11-25  Michael Koch  <konqueror@gmx.de>
2237
2238         * testsuite/libjava.mauve/xfails:
2239         Removed these two tests, they mystically pass now:
2240         -FAIL: gnu.testlet.java.net.ServerSocket.ServerSocketTest: Error :
2241         test_params failed - 5getInetAddress did not return proper values
2242         (number 1)
2243         -FAIL: gnu.testlet.java.net.Socket.SocketTest: Error :
2244         test_BasicServer failed - 11 exception was thrown :Illegal seek
2245         (number 1)
2246
2247 2003-11-25  Michael Koch  <konqueror@gmx.de>
2248
2249         * java/net/DatagramSocket.java
2250         (factory): Made private.
2251         (closed): Removed.
2252         (DatagramSocket): Check impl argument, use constructor with
2253         SocketAddress argument.
2254         (close): Set impl to null, use isClosed().
2255         (isClosed): Check for impl == null.
2256         (getLocalAddress): Use isClosed().
2257         (getLocalPort): Check if socket is closed.
2258         (getSoTimeout): Likewise.
2259         (setSoTimeout): Likewise.
2260         (getSendBufferSize): Likewise.
2261         (setSendBufferSize): Likewise.
2262         (getReceiveBufferSize): Likewise.
2263         (setReceiveBufferSize): Likewise.
2264         (receive): Likewise.
2265         (send): Likewise.
2266         (bind): Likewise.
2267         (connect): Likewise.
2268         (setReuseAddress): Likewise.
2269         (getReuseAddress): Likewise.
2270         (setBroadcast): Likewise.
2271         (getBroadcast): Likewise.
2272         (setTrafficClass): Likewise.
2273         (getTrafficClass): Likewise.
2274         * java/net/MulticastSocket.java
2275         (getInterface): Check if socket is closed.
2276         (getTTL): Likewise.
2277         (getTimeToLive): Likewise.
2278         (setInterface): Likewise.
2279         (setNetworkInterface): Likewise.
2280         (getNetworkInterface): Likewise.
2281         (setLoopbackMode): Likewise.
2282         (setTTL): Likewise.
2283         (setTimeToLive): Likewise.
2284         (joinGroup): Likewise.
2285         (leaveGroup): Likewise.
2286         (send): Likewise.
2287         * java/net/ServerSocket.java
2288         (closed): Removed.
2289         (close): Check if socket is closed, set impl to null.
2290         (isClosed): Check impl == null;
2291         (ServerSocket): Check impl argument.
2292         (getInetAddress): Check if socket is bound.
2293         (getLocalPort): Likewise.
2294         (getLocalSocketAddress): Likewise.
2295         (bind): Check if socket is closed.
2296         (implAccept): Likewise.
2297         (setSoTimeout): Likewise.
2298         (getSoTimeout): Likewise.
2299         (setReuseAddress): Likewise.
2300         (getReuseAddress): Likewise.
2301         (setReceiveBufferSize): Likewise.
2302         (getReceiveBufferSize): Likewise.
2303         (toString): Make output compliant to JDK 1.4.2.
2304         * java/net/Socket.java
2305         (closed): Removed.
2306         (Socket): Fixed documentation.
2307         (connect): Check if socket is closed, changed exception text,
2308         fixed documentation.
2309         (getInputStream): Check of socket is closed  and connected.
2310         (getOutputStream): Likewise.
2311         (bind): Check if socket is closed.
2312         (setTcpNoDelay): Likewise.
2313         (getTcpNoDelay): Likewise.
2314         (setSoLinger): Likewise.
2315         (getSoLinger): Likewise.
2316         (sendUrgentData): Likewise.
2317         (setOOBInline): Likewise.
2318         (getOOBInline): Likewise.
2319         (setSoTimeout): Likewise.
2320         (getSoTimeout): Likewise.
2321         (setSendBufferSize): Likewise.
2322         (getSendBufferSize): Likewise.
2323         (setReceiveBufferSize): Likewise.
2324         (getReceiveBufferSize): Likewise.
2325         (setKeepAlive): Likewise.
2326         (getKeepAlive): Likewise.
2327         (close): Likewise.
2328         (shutdownInput): Likewise.
2329         (shutdownOutput): Likewise.
2330         (getReuseAddress): Likewise.
2331         (getTrafficClass): Likewise.
2332         (setTrafficClass): Likewise.
2333         (isClosed): Check impl == null.
2334         (toString): Added missing ']'.
2335
2336 2003-11-24  Tom Tromey  <tromey@redhat.com>
2337
2338         * Makefile.in: Rebuilt.
2339         * Makefile.am (propdir): New macro.
2340         (install-data-local): Install logging.properties.
2341         (core_java_source_files): Added java.util.logging.*.
2342         * java/util/logging/logging.properties: New file.
2343
2344 2003-11-25  Michael Koch  <konqueror@gmx.de>
2345
2346         * java/net/DatagramSocket.java
2347         (DatagramSocket): Move binding code to bind(), simplify constructors.
2348         * java/net/MulticastSocket.java
2349         (MulticastSocket): Call parent constructor with null argument,
2350         bind socket after setReuseAddress is called, simplify constructors.
2351
2352 2003-11-24  Michael Koch  <konqueror@gmx.de>
2353
2354         * javax/swing/BoxLayout.java
2355         (serialVersionUIR): New member variable.
2356         (X_AXIS, Y_AXIS): Documentation added.
2357         (LINE_AXIS, PAGE_AXIS): New constants.
2358         (grid): Renamed from gridbag.
2359         (BoxLayout): Use new constants, throw exception if invalid value for
2360         way, added documentation.
2361         (BoxLayout): Removed.
2362         (addLayoutComponent): Use new constants, added documentation.
2363         (removeLayoutComponent): Likewise.
2364         (addLayoutContainer): Added documentation.
2365         (preferredLayoutSize): Added documentation, check given argument.
2366         (minimumLayoutSize): Likewise.
2367         (layoutContainer): Likewise.
2368         (getLayoutAlignmentX): Likewise.
2369         (getLayoutAlignmentY): Likewise.
2370         (invalidateLayout): Likewise.
2371         (maximumLayoutSize): Likewise.
2372
2373 2003-11-22  Michael Koch  <konqueror@gmx.de>
2374
2375         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
2376         (peekData): Use offset and maximal free space in datagram packet.
2377         (receive): Likewise.
2378         (send): Use offset in datagram packet.
2379
2380 2003-11-22  Michael Koch  <konqueror@gmx.de>
2381
2382         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
2383         (peekData): Use offset and maximal free space in datagram packet.
2384         (receive): Likewise.
2385         (send): Use offset in datagram packet.
2386
2387 2003-11-22  Michael Koch  <konqueror@gmx.de>
2388
2389         * gnu/java/nio/DatagramChannelImpl.java
2390         (getNativeFD): Use getPlainDatagramSocketImpl().
2391         * gnu/java/nio/NIODatagramSocket.java
2392         (getPlainDatagramSocketImpl): Renamed from getImpl().
2393         * gnu/java/nio/NIOSocket.java
2394         (getPlainSocketImpl): Renamed from getImpl().
2395         (setChannel): Use getPlainSocketImpl().
2396         * gnu/java/nio/SocketChannelImpl.java
2397         (SocketChannelImpl): Use getPlainSocketImpl().
2398         (getPlainSocketImpl): Renamed from getImpl().
2399         (getNativeFD): Use getPlainSocketImpl().
2400
2401 2003-11-18  Graydon Hoare  <graydon@redhat.com>
2402
2403         * javax/swing/JLayeredPane.java: Implement.
2404         * javax/swing/JFrame.java (getContentPane): Make public
2405         * javax/swing/javax/swing/JRootPane.java (setContentPane): 
2406         Use JLayeredPane.FRAME_CONTENT_LAYER.
2407
2408 2003-11-21  Mark Wielaard  <mark@klomp.org>
2409
2410         * java/lang/Float.java (static): Removed.
2411
2412 2003-11-18  Graydon Hoare  <graydon@redhat.com>
2413
2414         * java/awt/font/TextLayout.java: Implement simple layouts
2415         using attributed strings and glyph vectors.
2416
2417 2003-11-17  Graydon Hoare  <graydon@redhat.com>
2418
2419         * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: New file.
2420         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java 
2421         (GdkFontLineMetrics): New inner class.
2422         (getLineMetrics): Return new GdkFontLineMetrics.
2423         (getFontMetrics): Return new GdkClasspathFontPeerMetrics.
2424         (layoutGlyphVector): Create GdkGlyphVector.
2425         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (stateStack): New member.
2426         (GdkGraphics2D): Initialize state via mathod calls.
2427         (cairoSetMatrix, cairoShowGlyphs): Simplify native calls.
2428         (cairoTranslate, cairoScale, cairoRotate): Remove.
2429         (various methods): use setTransform for special transform cases.
2430         (DrawState): New inner class.
2431         (stateSave): New method.
2432         (stateRestore): New method.
2433         (various methods): use stateSave, stateRestore.
2434         (getClipInDevSpace): New method.
2435         (clip, clipRect, setClip, getClip, getClipBounds): 
2436         Follow spec more closely.
2437         (getTransform): Return clone of transform.
2438         (setStroke): Set linewidth to passed width / 2.0.
2439         (setPaintMode): Set SrcOver rather than Xor.
2440         (setColor): Set paint to passed color.
2441         (drawRaster, drawImage, PainterThread, drawPixels): Take affine
2442         transform from image to user space.
2443         (drawRenderedImage, drawRenderableImage): Implement.
2444         (getFontRenderContext, getFontMetrics, drawString, getFont): 
2445         Implement
2446         (drawArc, drawOval, drawRoundRect, fillArc, fillOval, fillRoundRect): 
2447         Implement.
2448         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: 
2449         Match changes to java side.
2450         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c: 
2451         Release resources.
2452         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
2453         Don't use pango for metrics.
2454         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: 
2455         New file.
2456
2457 2003-11-19  Guilhem Lavaux <guilhem@kaffe.org>
2458             Jim Pick  <jim@kaffe.org>
2459
2460         * java/text/DecimalFormat.java (getCurrency, setCurrency): New
2461         methods.
2462
2463 2003-11-19  Guilhem Lavaux  <guilhem@kaffe.org>
2464
2465         * java/text/DecimalFormatSymbols.java (getCurrency,
2466         setCurrency): New methods.
2467
2468 2003-11-19  Sascha Brawer  <brawer@dandelis.ch>
2469
2470         * java/awt/geom/FlatteningPathIterator.java: Entirely re-written.
2471         * java/awt/geom/doc-files/FlatteningPathIterator-1.html:
2472         Describe how the implementation works.
2473
2474 2003-11-19  Michael Koch  <konqueror@gmx.de>
2475
2476         * java/net/Socket.java
2477         (implCreated): New variable that indicates created impl.
2478         (getImpl): New method.
2479         (toString): Return more SUN compliant string representation.
2480         (various): Use getImpl() instead of impl.
2481
2482 2003-11-19  Andreas Tobler  <a.tobler@schweiz.ch>
2483
2484         * lib/libjava.exp: Add DYLD_LIBRARY_PATH for darwin. Look for
2485         the right libgcc. Add -multiply_defined suppress and -bind_at_load
2486         flags.
2487
2488 2003-11-18  Tom Tromey  <tromey@redhat.com>
2489
2490         PR libgcj/13026:
2491         * verify.cc (state::copy): Only set local_changed if we're in a
2492         subroutine.  Correctly copy local variables which were modified
2493         by the subroutine.
2494         (push_jump_merge): Added more debugging output.
2495
2496         * jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string
2497         is null.
2498
2499 2003-11-17  Graydon Hoare  <graydon@redhat.com>
2500
2501         * javax/swing/plaf/basic/BasicDefaults.java: Rewrite to spec.
2502         * javax/swing/UIDefaults.java: Modify to reflect rewrite.
2503
2504 2003-11-16  Tom Tromey  <tromey@redhat.com>
2505
2506         PR libgcj/13062:
2507         * java/io/StreamTokenizer.java (commentChar): Clear other
2508         attributes for character.
2509         (quoteChar): Likewise.
2510
2511 2003-11-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
2512
2513         * java/awt/GridBagLayout.java (getLayoutDimensions): Return array of two
2514         zero-length int arrays when layoutInfo is null.
2515         (getLayoutWeights): Return array of two zero-length double arrays when
2516         layoutInfo is null.
2517
2518 2003-11-13  Tom Tromey  <tromey@redhat.com>
2519
2520         * jni.cc (_Jv_JNI_GetStringUTFChars): Pass length of string to
2521         JvGetStringUTFRegion.
2522         * java/lang/natPosixProcess.cc (new_string): Pass length of string
2523         to JvGetStringUTFRegion.
2524         * java/lang/natDouble.cc (parseDouble): Pass length of string to
2525         JvGetStringUTFRegion.
2526         * java/lang/natWin32Process.cc (startProcess): Pass length of
2527         string to JvGetStringUTFRegion.
2528         * java/lang/natClass.cc (forName): Pass length of string to
2529         JvGetStringUTFRegion.
2530         * gnu/gcj/runtime/natNameFinder.cc (getExternalLabel): Pass length
2531         of string to JvGetStringUTFRegion.
2532         * gnu/gcj/convert/natIconv.cc (init): Pass length of string to
2533         JvGetStringUTFRegion.
2534         * gnu/awt/gtk/natGtkLabelPeer.cc (setText): Pass length of string
2535         to JvGetStringUTFRegion.
2536         * gnu/awt/gtk/natGtkButtonPeer.cc (setLabel): Pass length of
2537         string to JvGetStringUTFRegion.
2538
2539 2003-11-13  Mohan Embar  <gnustuff@thisiscool.com>
2540
2541         * gnu/java/nio/natSelectorImplPosix.cc
2542         (helper_put_filedescriptors): Change to static linkage.
2543         (helper_get_filedescriptors): Likewise.
2544
2545 2003-11-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
2546
2547         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Remove
2548         null check.
2549         * gnu/java/awt/peer/gtk/GtkToolkit.java (prepareImage): Likewise.
2550         * java/awt/Component.java (prepareImage): Likewise.
2551
2552         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (setAlignment):
2553         Rename to nativeSetAlignment.
2554
2555 2003-11-11  Danny Smith  <dannysmith@users.sourceforge.net>
2556
2557         * jni.cc (JNI_CreateJavaVM): Remove JNIEXPORT.
2558         (JNI_GetCreatedJavaVMs): Likewise.
2559         (JNI_GetDefaultJavaVMInitArgs): Likewise.
2560         * include/jni.h (JNIIMPEXP): Remove definition
2561         and replace with...
2562         (__GCJ_JNIIMPEXP__): New macro, applicable only to libgcj
2563         symbols,
2564         (__GCJ_DLL__): New macro, controlling __GCJ_JNIIMPEXP__.
2565
2566 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
2567
2568         * Makefile.am: Add GdkPixbufDecoder.java and
2569         gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
2570         * Makefile.in: Regenerate.
2571         * gnu/java/awt/image/ImageDecoder.java (ImageDecoder(byte[],int,int)):
2572         New constructor.
2573         (startProduction): Create ByteArrayInputStream when url and filename are
2574         null.
2575         (produce): Declare stream parameter as InputStream.
2576         * gnu/java/awt/image/XBMDecoder.java (produce): Declare stream parameter
2577         as InputStream.
2578         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
2579         (GdkPixbufDecoder(byte[],int,int)): New constructor.
2580         (produce): Declare stream parameter as InputStream.
2581         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Throw NPE
2582         if image is null.  Set image's observer before running PrepareImage
2583         thread.  Pass image to startProduction.
2584         * gnu/java/awt/peer/gtk/GtkImage.java: Add null checks before calls to
2585         source's member functions.
2586         (observer): New field.
2587         (setObserver): New method.
2588         (setDimensions, setPixels, imageComplete): Call observer's imageUpdate.
2589         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage, getImage): Return
2590         new GtkImage.
2591         (prepareImage): Implement.
2592         * java/awt/Component.java: Add static fields incrementalDraw and
2593         redrawRate.
2594         (imageUpdate): Implement.
2595         (createImage): Call Toolkit's createImage if peer is null.
2596         (prepareImage): Throw NPE if image is null.
2597         * java/awt/MediaTracker.java: Fix return value.
2598
2599 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
2600
2601         * gnu/java/awt/peer/gtk/GtkLabelPeer.java (create()): Call new create.
2602         (create(String, float)): New method.
2603         (setText): Make native.
2604         (nativeSetAlignment): New method.
2605         (setAlignment): Call nativeSetAlignment.
2606         (getArgs): Remove method.
2607         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2608         (find_fg_color_widget, find_bg_color_widget): New functions.
2609         (gtkWidgetSetForeground): Call find_fg_color_widget.
2610         (gtkWidgetSetBackground): Call find_bg_color_widget.  Modify active and
2611         prelight colors.
2612         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create): Wrap label
2613         widget in event box.
2614         (setText, setAlignment): Implement new native methods.
2615
2616 2003-11-11  Michael Koch  <konqueror@gmx.de>
2617
2618         * java/awt/Font.java,
2619         java/awt/datatransfer/DataFlavor.java,
2620         java/math/BigInteger.java,
2621         java/net/Inet4Address.java,
2622         java/net/Inet6Address.java,
2623         java/rmi/MarshalledObject.java,
2624         java/rmi/server/RMIClassLoader.java,
2625         java/security/cert/CertStore.java,
2626         java/sql/Timestamp.java,
2627         java/text/SimpleDateFormat.java,
2628         javax/naming/CompoundName.java:
2629         Removed some redundant obj == null checks.
2630
2631 2003-11-11  Michael Koch  <konqueror@gmx.de>
2632
2633         * java/nio/ByteBuffer.java
2634         (equals): Remove redundant obj == null check.
2635
2636 2003-11-11  Michael Koch  <konqueror@gmx.de>
2637
2638         * gnu/java/nio/natPipeImpl.cc,
2639         gnu/java/nio/natSelectorImpl.cc: Removed
2640         * gnu/java/nio/natPipeImplEcos.cc,
2641         gnu/java/nio/natPipeImplPosix.cc,
2642         gnu/java/nio/natPipeImplWin32.cc,
2643         gnu/java/nio/natSelectorImplEcos.cc,
2644         gnu/java/nio/natSelectorImplPosix.cc,
2645         gnu/java/nio/natSelectorImplWin32.cc: New files
2646         * configure.in: Create links for gnu/java/nio/natPipeImpl.cc and
2647         gnu/java/nio/natSelectorImpl.cc
2648         * configure: Regenerated.
2649
2650 2003-11-11  Micheal Koch  <konqueror@gmx.de>
2651
2652         * java/net/URLStreamHandler.java (toExternalForm): Print port only
2653         if host is printed too and port was really given to URL.
2654
2655 2003-11-10  Gary Benson  <gbenson@redhat.com>
2656
2657         * java/sql/Timestamp.java (valueOf): Correctly handle
2658         nanoseconds.
2659
2660 2003-11-09  Tom Tromey  <tromey@redhat.com>
2661
2662         * java/net/Inet4Address.java (serialVersionUID): Updated.
2663
2664 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
2665
2666         * gnu/gcj/runtime/FirstThread.java (Klocale, Kcalendar):
2667         New fields.
2668
2669 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
2670
2671         * java/io/ByteArrayOutputStream.java (resize):
2672         Fix off-by-one error.
2673
2674 2003-11-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
2675
2676         * gnu/gcj/xlib/XAnyEvent.java (XAnyEvent): Make constructor
2677         public.
2678
2679 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
2680
2681         PR libgcj/12231
2682         * java/lang/Win32Process.java (hasExited) Changed from
2683         public to private.
2684         (startProcess): Likewise.
2685         (cleanup): Likewise.
2686         * java/lang/natWin32Process.cc (cleanup) Don't close
2687         input, output and error streams.
2688         (ChildProcessPipe): New helper class.
2689         (startProcess): Refactored to use ChildProcessPipe.
2690         Use CREATE_NO_WINDOW when launching child process.
2691
2692 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
2693
2694         * include/win32.h (_Jv_platform_close_on_exec): Changed
2695         signature and declared extern.
2696         * win32.cc (_Jv_platform_close_on_exec): Implemented.
2697         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
2698         (create): Use new signature of _Jv_platform_close_on_exec.
2699         * gnu/java/net/natPlainSocketImplWin32.cc 
2700         (create): Eliminated a few typecasts
2701         Use new signature of _Jv_platform_close_on_exec.
2702         (accept): Eliminated a few typecasts
2703         Use new signature of _Jv_platform_close_on_exec.
2704         * java/io/natFileDescriptorWin32.cc (open): Use
2705         _Jv_platform_close_on_exec.
2706
2707 2003-11-04  Bryce McKinlay  <bryce@mckinlay.net.nz>
2708
2709         * java/lang/natClass.cc (newInstance): Throw InstantiationException
2710         if class has no null-argument constructor.
2711
2712 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
2713
2714         PR libgcj/12647:
2715         * win32-threads.cc (_Jv_CondWait): Respect mutex's
2716         refcount when releasing and reacquiring it.
2717
2718 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
2719
2720         * win32.cc: (dirExists) Internal helper function to
2721         test for directory existence.
2722         (getUserHome) New helper function refactored out
2723         of _Jv_platform_initProperties. Uses USERPROFILE
2724         instead of HOMEDIR and attempts to support Win9X and NT.
2725         (_Jv_platform_initProperties) Use getUserHome.
2726
2727 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
2728
2729         PR libgcj/11521:
2730         * gnu/java/net/natPlainSocketImplWin32.cc
2731         (bind): Don't use SO_REUSEADDR
2732
2733 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
2734
2735         PR libgcj/6652:
2736         * java/io/natFileWin32.cc (getCanonicalPath): Treat "" like ".".
2737
2738 2003-10-30  Bryce McKinlay  <bryce@mckinlay.net.nz>
2739
2740         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Don't use vtable
2741         dispatch for final methods.
2742
2743 2003-10-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2744
2745         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Turn on
2746         word wrapping.
2747
2748 2003-10-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
2749
2750         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (getSize): Return
2751         scrolled window's size request.
2752
2753 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
2754
2755         * java/awt/geom/CubicCurve2D.java (contains): Docfix for URL of embedded drawing.
2756         * java/awt/geom/QuadCurve2D.java: Likewise.
2757
2758 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
2759
2760         * java/awt/geom/CubicCurve2D.java: Added documentation.
2761         * java/awt/geom/QuadCurve2D.java: Likewise.
2762
2763         * java/awt/geom/doc-files/QuadCurve2D-4.png,
2764         java/awt/geom/doc-files/QuadCurve2D-5.png,
2765         java/awt/geom/doc-files/CubicCurve2D-4.png,
2766         java/awt/geom/doc-files/Cubicurve2D-5.png: New illustrations.
2767
2768 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
2769
2770         * java/awt/geom/CubicCurve2D.java (getFlatnessSq): Implement.
2771         (subdivide(CubicCurve2D, CubicCurve2D)): Avoid useless object allocation.
2772         (subdivide(double[],int,double[],int,double[],int)): Implement.
2773
2774 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
2775
2776         * java/awt/geom/doc-files/CubicCurve2D-1.png,
2777         java/awt/geom/doc-files/CubicCurve2D-2.png,
2778         java/awt/geom/doc-files/CubicCurve2D-3.png: New illustrations.
2779
2780 2003-10-29  Ito Kazumitsu <kaz@maczuka.gcd.org>
2781
2782         * java/text/DecimalFormat.java
2783         (scanFormat) corrected so that '%' may appear in a pattern.
2784
2785 2003-10-29  Mark Wielaard  <mark@klomp.org>
2786
2787         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
2788         * java/text/DateFormat.java (Field): New public static inner class.
2789         * java/text/Format.java (Field): Likewise.
2790         (formatToCharacterIterator): New method.
2791         * java/text/FormatCharacterIterator.java: New file.
2792
2793 2003-10-29  Mark Wielaard  <mark@klomp.org>
2794
2795         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
2796         * java/util/Currency.java: New file.
2797
2798 2003-10-29  Michael Koch  <konqueror@gmx.de>
2799
2800         * Makefile.am (ordinary_java_source_files): Added
2801         java/text/FormatCharacterIterator.java and java/util/Currency.java.
2802         * Makefile.in: Regenerated.
2803
2804 2003-10-29  Dalibor Topic  <robilad@kaffe.org>
2805
2806         * gnu/java/beans/IntrospectionIncubator.java (addMethod): Add public
2807         static methods.
2808
2809 2003-10-29  Julian Dolby  <dolby@us.ibm.com>
2810
2811         * javax/naming/spi/NamingManager.java (getContinuationContext): Call
2812         getObjectInstance() with Object, Name, Context and environment
2813         Hashtable from exception. Call fillInStackTrace() on exception when
2814         rethrown.
2815         * javax/naming/InitialContext.java (lookup(Name)): When a
2816         CannotProceedException is thrown use the ContinuationContext.
2817         (lookup(String)): Likewise.
2818         (close): Clear myProps and defaultInitCtx.
2819
2820 2003-10-29  Michael Koch  <konqueror@gmx.de>
2821
2822         * java/net/InetAddress.java
2823         (equals): Remove redundant obj == null check.
2824         * java/net/SocketPermission.java
2825         (equals): Likewise.
2826         * java/net/URL.java
2827         (equals): Likewise.
2828         (getURLStreamHandler): Likewise.
2829
2830 2003-10-29  Michael Koch  <konqueror@gmx.de>
2831
2832         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
2833         (setOption): Directly return if no error occured.
2834         * gnu/java/net/natPlainSocketImplPosix.cc
2835         (setOption): Likewise.
2836
2837 2003-10-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
2838
2839         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Always assign a
2840         vtable slot for final methods. Add FIXME comment.
2841
2842 2003-10-28  David S. Miller  <davem@redhat.com>
2843
2844         * sysdep/sparc/locks.h (__cas_start_atomic): %g0 --> %%g0.
2845
2846 2003-10-26  Mark Wielaard  <mark@klomp.org>
2847
2848         Reported by Helmer Kraemer <hkraemer@freenet.de>
2849         * java/util/jar/JarInputStream.java (readManifest): Don't call
2850         closeEntry().
2851
2852         * java/util/zip/DeflaterOutputStream.java (inbufWrite): New method.
2853         (finish): Use inbufWrite().
2854         (write(int)): Likewise.
2855         (write(byte[],int,int)): Likewise.
2856
2857 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
2858
2859         * java/lang/reflect/AccessibleObject.java (secureSetAccessible):
2860         Don't check for AccessibleObject. Update javadocs.
2861         
2862         * java/util/TreeMap.java: Doc fixes. HashMap -> TreeMap.
2863
2864 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
2865
2866         * java/lang/reflect/Constructor.java (toString): Avoid extra 
2867         whitespace on constructor with no modifiers.
2868         * java/lang/reflect/natConstructor.java (newInstance): Look up
2869         caller and perform accessibility check only if constructor is
2870         non-public and accessible flag is not set.
2871
2872 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
2873
2874         * jni.cc (_Jv_JNI_CallAnyMethodV, _Jv_JNI_CallAnyMethodA,
2875         _Jv_JNI_CallAnyVoidMethodV, _Jv_JNI_CallAnyVoidMethodA): Don't
2876         use _Jv_LookupDeclaredMethod(). Call _Jv_CallAnyMethodA with 
2877         is_virtual_call argument.
2878         * include/jvm.h (_Jv_isVirtualMethod): Moved and renamed from 
2879         natClass.cc.
2880         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use 
2881         _Jv_isVirtualMethod.
2882         * java/lang/reflect/natMethod.cc (invoke): Don't use 
2883         _Jv_LookupDeclaredMethod.
2884         (_Jv_CallAnyMethodA): New is_virtual_call argument. If specified,
2885         look up method in target object's vtable.
2886
2887 2003-10-25  Graydon Hoare  <graydon@redhat.com>
2888
2889         * gnu/java/awt/ClasspathToolkit.java: New abstract class.
2890         * gnu/java/awt/peer/ClasspathFontPeer.java: New abstract class.
2891         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
2892         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
2893         New concrete implementation of ClasspathFontPeer, with native part.
2894         * gnu/java/awt/peer/gtk/GdkGlyphVector.java,
2895         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
2896         New class, with native part.
2897         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2898         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
2899         implement setFont, cairoSetFont, drawGlyphVector, cairoShowGlyphs.
2900
2901 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
2902
2903         * java/lang/reflect/Method.java (toString): Avoid extra whitespace
2904         on method with no modifiers.
2905
2906 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
2907
2908         PR libgcj/11780:
2909         * java/lang/reflect/natMethod.cc (invoke): Look up caller and perform
2910         accessibility check only if target is non-public and accessible flag
2911         is not set.
2912         * java/lang/reflect/natField.cc (getAddr): Likewise.
2913
2914 2003-10-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
2915
2916         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (handleEvent):
2917         Remove method.
2918         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postWindowEvent):
2919         New method.
2920         * java/awt/Window.java (Window(Window,GraphicsConfiguration),
2921         show, hide, dispose, getOwnedWindows): Synchronize on tree lock.
2922         (dispose): Post WINDOW_CLOSED event.
2923         (addWindowFocusListener, addWindowStateListener): Assign result
2924         of multicaster add back to window listener.
2925         (removeWindowFocusListener, removeWindowStateListener): Assign
2926         result of multicaster remove back to window listener.
2927         (dispatchEventImpl): Add null checks for focus and state
2928         listeners.
2929         (processWindowEvent): Handle case where windowListener is null
2930         but state or focus listeners exist.
2931         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
2932         glue for postWindowEvent.
2933         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2934         (window_delete_cb, window_destroy_cb, window_show_cb,
2935         window_focus_in_cb, window_focus_out_cb, window_window_state_cb,
2936         window_get_new_state): New functions.
2937         * jni/gtk-peer/gtkpeer.h: Define window event and frame state
2938         macros.  Declare postWindowEventID.
2939
2940 2003-10-24  Anthony Green  <green@redhat.com>
2941
2942         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Fix case where
2943         we have no interpreter.
2944
2945 2003-10-22  Andrew Haley  <aph@redhat.com>
2946
2947         * java/lang/natClass.cc (initializeClass): Call
2948         _Jv_linkExceptionClassTable.
2949         (_Jv_LinkSymbolTable): Call )_Jv_ThrowNoSuchMethodError.  Call
2950         _Jv_Defer_Resolution on a method whose ncode is NULL.
2951         (_Jv_linkExceptionClassTable): New function.
2952         (_Jv_LayoutVTableMethods): If superclass looks like a constant pool
2953         entry, look it up.
2954         * java/lang/Class.h (struct _Jv_CatchClass): New.
2955         (_Jv_linkExceptionClassTable): New friend.
2956         (_Jv_Defer_Resolution): New friend.
2957         (class Class.catch_classes): New field.
2958         * include/java-interp.h (Jv_Defer_Resolution): New method.
2959         (_Jv_PrepareClass): Make a friend of _Jv_MethodBase.
2960         (_Jv_MethodBase.deferred): New field.
2961         (_Jv_Defer_Resolution): New function.
2962         * resolve.cc (_Jv_PrepareClass): Resolve deferred handlers.
2963         * exception.cc (get_ttype_entry): Change return type to void**.
2964         (PERSONALITY_FUNCTION): Remove all code related to using a
2965         Utf8Const* for a match type.  Change match type to be a pointer to
2966         a pointer, rather than a pointer to a Class.
2967         * defineclass.cc (handleCodeAttribute): Initialize
2968         method->deferred.
2969         (handleMethodsEnd): Likewise.
2970
2971 2003-10-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2972
2973         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Use
2974         _Jv_MutexCheckMonitor instead of accessing mutex.owner directly.
2975
2976 2003-10-22  Tom Tromey  <tromey@redhat.com>
2977
2978         PR libgcj/12416:
2979         * java/lang/Class.h: Updated.
2980         * java/lang/natClass.cc (_getFields): Removed.
2981         (getFields): Likewise.
2982         (getDeclaredFields): Added `public_only' parameter.
2983         * java/lang/Class.java (getFields): Now implemented in java; from
2984         Classpath.
2985         (getDeclaredFields): Likewise.
2986         (getDeclaredFields(boolean)): Declare.
2987         (_getFields): Removed.
2988         (internalGetFields): New method, from Classpath.
2989
2990         PR libgcj/12656:
2991         * gnu/gcj/runtime/natFirstThread.cc (call_main): Use
2992         _Jv_LookupDeclaredMethod, not _Jv_GetMethodLocal.
2993
2994 2003-10-22  David Daney  <ddaney@avtrex.com)
2995
2996         * include/mips-signal.h: New file.
2997         * sysdep/dwarf2-backtrace.cc: New file.
2998         * sysdep/mips: New directory.
2999         * sysdep/mips/locks.h: New file.
3000         * Makefile.am(extra_cc_files): New, to allow extra c++ files to be
3001         added to libgcj.
3002         (extra_cc_source_files): Ditto.
3003         * configure.host(disable_dladdr):  New shell variable passed to
3004         configure.
3005         (mips*-*-linux*): sysdeps_dir=mips,
3006         can_unwind_signal=yes, disable_dladdr=yes, use -mxgot.
3007         (mipsel*-linux* | mipsisa32el*-linux*): Enable hash synchronization.
3008         * configure.in:(mips*-*-linux*): Use sysdep/dwarf2-backtrace.cc to
3009         generate backtrace, and include/mips-signal.h as SIGNAL_HANDLER
3010         (HAVE_DLADDR): Make it depend on setting of disable_dladdr.
3011         (EXTRA_CC_FILES): New, to support conditional addition of
3012         sysdep/dwarf2-backtrace.cc.
3013         * configure: Regenerated.
3014         * Makefile.in: Regenerated.
3015         * gcj/Makefile.in: Regenerated.
3016         * include/config.h.in: Regenerated.
3017         * include/Makefile.in: Regenerated.
3018         * testsuite/Makefile.in: Regenerated.
3019         
3020 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
3021
3022         * java/awt/geom/QuadCurve2D.java (subdivide): Added documentation.
3023         java/awt/geom/doc-files/QuadCurve2D-3.png: New illustration.
3024
3025 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
3026
3027         * java/awt/geom/QuadCurve2D.java: Reformatted, wrote Javadoc.
3028         * java/awt/geom/doc-files: New directory.
3029         * java/awt/geom/doc-files/QuadCurve2D-1.png,
3030         java/awt/geom/doc-files/QuadCurve2D-2.png: New illustrations.
3031         
3032 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
3033
3034         * java/awt/geom/QuadCurve2D.java (subdivide): Implement.
3035
3036 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
3037
3038         * java/awt/geom/QuadCurve2D.java (getFlatness, getFlatnessSq): Implement.
3039
3040 2003-10-22  Michael Koch  <konqueror@gmx.de>
3041
3042         * java/io/File.java
3043         (equals): Removed redundant obj == null check.
3044         (createTempFile): Merged comments from classpath.
3045
3046 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
3047
3048         Fix for bug #2944, reported by David Holmes <dholmes@dltech.com.au>
3049         * java/util/logging/ErrorManager.java (everUsed): Made volatile.
3050         (error): Synchronize on instance, not class.
3051
3052 2003-10-21  Mark Wielaard  <mark@klomp.org>
3053
3054         Reported by M.Negovanovic
3055         * java/beans/Introspector.java (getBeanInfo(ClassLoader, String)): New
3056         method.
3057         (reallyFindExplicitBeanInfo): Use new getBeanInfo() method.
3058
3059 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
3060
3061         Fix for Classpath bug #6076.
3062         * java/awt/geom/GeneralPath.java (append): Re-written.
3063
3064 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
3065
3066         Fix for Classpath bug #6089.
3067         * java/awt/geom/GeneralPath.java (curveTo): Set correct segment type.
3068         (getPathIterator, GeneralPathIterator): Re-written from scratch.
3069
3070 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
3071
3072         * java/awt/geom/GeneralPath.java (getCurrentPoint): Return last
3073         point, not start of subpath.  Fixes Classpath bug #6075.
3074
3075 2003-10-21  Michael Koch  <konqueror@gmx.de>
3076
3077         * java/nio/ByteOrder.java,
3078         java/nio/DirectByteBufferImpl.java,
3079         java/nio/channels/FileChannelImpl.java:
3080         Add code to load library with code for native methods if needed.
3081
3082 2003-10-21  Michael Koch  <konqueror@gmx.de>
3083
3084         * gnu/java/net/PlainDatagramSocketImpl.java,
3085         gnu/java/net/PlainSocketImpl.java,
3086         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
3087         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
3088         gnu/java/net/natPlainSocketImplPosix.cc,
3089         gnu/java/net/natPlainSocketImplWin32.cc:
3090         Renamed fnum to native_fd to match classpath more.
3091
3092 2003-10-21  Jerry Quinn  <jlquinn@optonline.net>
3093
3094         * posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename
3095         _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor.
3096         * include/no-threads.h (_Jv_MutexCheckMonitor): New.
3097         * include/posix-threads.h (_Jv_MutexCheckMonitor): Rename from
3098         _Jv_PthreadCheckMonitor.  Simplify code.
3099         (_Jv_MutexUnlock): Use _Jv_MutexCheckMonitor.
3100         * include/win32-threads.h (_Jv_MutexCheckMonitor): New.
3101         * java/lang/Object.h (_Jv_ObjectCheckMonitor): Declare.
3102         * java/lang/Thread.java (holdsLock): New.
3103         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): New, with and
3104         without JV_HASH_SYNCHRONIZATION.
3105         * java/lang/natThread.cc (java::lang::Thread::holdsLock): New.
3106
3107 2003-10-20  Michael Koch  <konqueror@gmx.de>
3108
3109         * java/text/RuleBasedCollator.java
3110         (RuleBasedCollator): Check rules not empty, fixed search in already
3111         existing collation elements.
3112         (is_special): Removed common whitespace characters.
3113         (text_argument): Dont return on whitespaces, add characters between
3114         two ' to string buffer.
3115
3116 2003-10-18  Michael Koch  <konqueror@gmx.de>
3117
3118         * gnu/java/net/protocol/file/Connection.java,
3119         gnu/java/net/protocol/file/Handler.java,
3120         gnu/java/net/protocol/http/Connection.java,
3121         gnu/java/net/protocol/http/Handler.java,
3122         gnu/java/net/protocol/jar/Connection.java,
3123         gnu/java/net/protocol/jar/Handler.java:
3124         Merged copyright text from classpath to make
3125         it possible to merge the classes.
3126
3127 2003-10-18  Mark Wielaard  <mark@klomp.org>
3128
3129         Reported by M.Negovanovic
3130         * java/beans/IndexedPropertyDescriptor.java
3131         (IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex.
3132
3133 2003-10-17  Mohan Embar  <gnustuff@thisiscool.com>
3134
3135         * win32.cc (_Jv_pipe): Implemented.
3136         * gnu/java/nio/natPipeImpl.cc (nativeInit): Use
3137         _Jv_pipe instead of ::pipe.
3138         * include/posix.h (_Jv_pipe): New inline.
3139         * include/win32.h (_Jv_pipe): New declaration.
3140         
3141 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
3142
3143         * java/lang/StringBuffer.java (getChars): Fix array index checks.
3144         (append, substring, insert): Likewise.
3145         * testsuite/libjava.lang/StringBuffer_overflow.java: New file.
3146         * testsuite/libjava.lang/StringBuffer_overflow.out: New file.
3147         
3148 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
3149
3150         * java/lang/natString.cc (getChars):
3151         Fix validation of array indexes.
3152         (getBytes, regionMatches, startsWith, valueOf): Likewise.
3153         * testsuite/libjava.lang/String_overflow.java: New file.
3154         * testsuite/libjava.lang/String_overflow.out: New file.
3155
3156 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
3157
3158         * prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't
3159         overflow a jint.
3160         (_Jv_NewPrimArray): Check for overflowing a jint, replacing a
3161         check for overflowing size_t, since the lower level functions
3162         take a jint.
3163         * testsuite/libjava.lang/newarray_overflow.java:  New file.
3164         * testsuite/libjava.lang/newarray_overflow.out:  New file.
3165         
3166 2003-10-15  Michael Koch  <konqueror@gmx.de>
3167
3168         * java/text/RuleBasedCollator.java
3169         (RuleBasedCollator): Moved around, documentation added.
3170         (compare): Documentation added.
3171         (equals): Likewise.
3172         (getCollationElementIterator): Likewise.
3173         (getCollationKey): Likewise.
3174         (getRules): Likewise.
3175         (hashCode): Likewise.
3176
3177 2003-10-15  Michael Koch  <konqueror@gmx.de>
3178
3179         * java/text/RuleBasedCollator.java
3180         (CollationElement): Renamed from RBCElement and moved into
3181         RuledBasedCollator as inner class.
3182
3183 2003-10-15  Michael Koch  <konqueror@gmx.de>
3184
3185         * java/text/CollationElementIterator.java
3186         (CollationElementIterator): Moved, documenatation added, call setText.
3187         (next): Reformated.
3188         (reset): Reformated.
3189         (setText): New method.
3190         (getOffset): New method.
3191         * java/text/CollationKey.java
3192         (getSourceString): Reformated.
3193         (hashCode): Reformated.
3194         (toByteArray): Reformated.
3195
3196 2003-10-15  Michael Koch  <konqueror@gmx.de>
3197
3198         * java/util/zip/InflaterInputStream.java
3199         (InflaterInputStream): Renamed infl to inf and bufsize to size,
3200         added description to exception, check for inf == null and size < 0.
3201
3202 2003-10-15  Michael Koch  <konqueror@gmx.de>
3203
3204         * java/text/AttributedCharacterIterator.java,
3205         java/text/CharacterIterator.java: Reformated.
3206
3207 2003-10-15  Michael Koch  <konqueror@gmx.de>
3208
3209         * javax/swing/UIDefaults.java (putDefaults):
3210         Readded accidently removed "public" modifier.
3211
3212 2003-10-14  Paolo Bonzini  <bonzini@gnu.org>
3213
3214         * interpret.cc (_Jv_InterpMethod::run): Don't
3215         use libffi types, they were meant to be internal.
3216         * gcj/javaprims.h (_Jv_ulong): New typedef.
3217
3218 2003-10-13  Tom Tromey  <tromey@redhat.com>
3219
3220         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields): Removed.
3221         (defineClass): Updated.
3222         (_Jv_NewClass): Likewise.
3223         * prims.cc (_Jv_InitPrimClass): Don't call
3224         _Jv_InitNewClassFields.
3225
3226 2003-10-13  Taras Glek  <taras.judge@shaw.ca>
3227
3228         PR libgcj/12592
3229         * gnu/java/net/protocol/http/Connection.java (connect): Use \r\n,
3230         not just \n.
3231
3232 2003-10-13  Michael Koch  <konqueror@gmx.de>
3233
3234         * java/io/File.java: Reformated.
3235         (equals): Check for obj == null.
3236
3237 2003-10-13  Michael Koch  <konqueror@gmx.de>
3238
3239         * java/net/JarURLConnection.java
3240         (jarFileURL): Added dcoumentation.
3241         (jarFileURLConnection): Reformated documentation.
3242         (entryName): Renamed from "element", documentation rewritten.
3243         (connectionCache): Renamed from "conn_cache", documentation
3244         reformated.
3245         (JarURLConnection): Check URL protocol.
3246         (getEntryName): Use entryName.
3247         (connect): Use connectionCache.
3248         (getInputStream): Use entryName, fixed comment.
3249         (getJarEntry): Use entryName.
3250         (getHeaders): Use entryName.
3251         * java/net/URLConnection.java
3252         (addRequestProperty): Fixed documentation.
3253         (setDefaultRequestProptery): Added comment that it does nothing since
3254         JDK 1.3.
3255         (getDefaultRequestProperty): Likewise.
3256
3257 2003-10-13  Michael Koch  <konqueror@gmx.de>
3258
3259         * java/net/java/net/URLStreamHandlerFactory.java
3260         (createURLStreamHandler): Removed redundant "public" modifier.
3261         * java/sql/DatabaseMetaData.java:
3262         (DatabaseMetaData):  Readded accidently removed "public" modifier.
3263         * java/sql/ParameterMetaData.java:
3264         (ParameterMetaData): Readded accidently removed "public" modifier.
3265         * java/sql/PreparedStatement.java:
3266         (PreparedStatement): Readded accidently removed "public" modifier.
3267         * java/sql/Ref.java:
3268         (Ref): Readded accidently removed "public" modifier.
3269
3270 2003-10-13  Michael Koch  <konqueror@gmx.de>
3271
3272         * java/nio/Buffer.java
3273         (hasRemaining): Made implementation more clear.
3274         * java/nio/MappedByteBuffer.java
3275         (loaded): New member variable.
3276         (force): Added comment.
3277         (isLoaded): Return value of loaded.
3278         (load): Set loaded to true, added comment.
3279
3280 2003-10-12  Michael Koch  <konqueror@gmx.de>
3281
3282         * gnu/java/nio/PipeImpl.java
3283         (SourceChannelImpl): New inner class.
3284         (SinkChannelImpl): New inner class.
3285         (sink): New member variable.
3286         (source): New member variable.
3287         (PipeImpl): Add SelectorProvider argument, implemented.
3288         (nativeInit): New method.
3289         (sink): Return sink channel.
3290         (source): Return source channel.
3291         * gnu/java/nio/SelectorProviderImpl.java
3292         (openPipe): Give provider as argument to PipeImpl constructor.
3293         * java/nio/channels/spi/SelectorProvider.java
3294         (pr): Removed.
3295         (systemDefaultProvider): New member variable.
3296         (provider): Made it synchronized, use property
3297         java.nio.channels.spi.SelectorProvider.
3298         * gnu/java/nio/natPipeImpl.cc: New file.
3299         * Makefile.am (nat_source_files): Added gnu/java/nio/natPipeImpl.cc.
3300         * Makefile.in: Regenerated.
3301
3302 2003-10-12  Michael Koch  <konqueror@gmx.de>
3303
3304         * javax/swing/table/DefaultTableModel.java,
3305         javax/swing/table/TableCellEditor.java,
3306         javax/swing/table/TableCellRenderer.java,
3307         javax/swing/table/TableColumnModel.java,
3308         javax/swing/table/TableModel.java,
3309         javax/swing/text/AbstractDocument.java,
3310         javax/swing/text/Document.java,
3311         javax/swing/text/MutableAttributeSet.java,
3312         javax/swing/text/StyledDocument.java,
3313         javax/swing/text/ViewFactory.java,
3314         javax/swing/tree/DefaultMutableTreeNode.java,
3315         javax/swing/tree/MutableTreeNode.java,
3316         javax/swing/tree/RowMapper.java,
3317         javax/swing/tree/TreeCellEditor.java,
3318         javax/swing/tree/TreeCellRenderer.java,
3319         javax/swing/tree/TreeModel.java,
3320         javax/swing/tree/TreeNode.java,
3321         javax/swing/tree/TreeSelectionModel.java,
3322         javax/swing/undo/StateEditable.java,
3323         javax/swing/undo/UndoableEdit.java:
3324         Removed redundant modifiers.
3325
3326 2003-10-12  Michael Koch  <konqueror@gmx.de>
3327
3328         * javax/swing/event/AncestorListener.java,
3329         javax/swing/event/CaretListener.java,
3330         javax/swing/event/CellEditorListener.java,
3331         javax/swing/event/ChangeListener.java,
3332         javax/swing/event/DocumentEvent.java,
3333         javax/swing/event/DocumentListener.java,
3334         javax/swing/event/HyperlinkListener.java,
3335         javax/swing/event/InternalFrameListener.java,
3336         javax/swing/event/ListDataListener.java,
3337         javax/swing/event/ListSelectionListener.java,
3338         javax/swing/event/MenuDragMouseListener.java,
3339         javax/swing/event/MenuKeyListener.java,
3340         javax/swing/event/MenuListener.java,
3341         javax/swing/event/MouseInputListener.java,
3342         javax/swing/event/PopupMenuListener.java,
3343         javax/swing/event/TableColumnModelListener.java,
3344         javax/swing/event/TableModelListener.java,
3345         javax/swing/event/TreeExpansionListener.java,
3346         javax/swing/event/TreeModelListener.java,
3347         javax/swing/event/TreeSelectionListener.java,
3348         javax/swing/event/TreeWillExpandListener.java,
3349         javax/swing/event/UndoableEditListener.java,
3350         javax/swing/plaf/UIResource.java,
3351         javax/swing/plaf/metal/MetalLookAndFeel.java:
3352         Removed redundant modifiers.
3353
3354 2003-10-12  Michael Koch  <konqueror@gmx.de>
3355
3356         * javax/swing/Action.java,
3357         javax/swing/BoundedRangeModel.java,
3358         javax/swing/CellEditor.java,
3359         javax/swing/ComboBoxEditor.java,
3360         javax/swing/ComboBoxModel.java,
3361         javax/swing/DesktopManager.java,
3362         javax/swing/JComboBox.java,
3363         javax/swing/ListCellRenderer.java,
3364         javax/swing/ListSelectionModel.java,
3365         javax/swing/MenuElement.java,
3366         javax/swing/MutableComboBoxModel.java,
3367         javax/swing/Renderer.java,
3368         javax/swing/RootPaneContainer.java,
3369         javax/swing/ScrollPaneConstants.java,
3370         javax/swing/SingleSelectionModel.java,
3371         javax/swing/SpinnerModel.java,
3372         javax/swing/SwingConstants.java,
3373         javax/swing/UIDefaults.java,
3374         javax/swing/WindowConstants.java,
3375         javax/swing/border/Border.java,
3376         javax/swing/colorchooser/ColorSelectionModel.java:
3377         Removed redundant modifiers.
3378
3379 2003-10-11  Michael Koch  <konqueror@gmx.de>
3380
3381         * javax/transaction/Status.java,
3382         javax/transaction/Synchronization.java,
3383         javax/transaction/Transaction.java,
3384         javax/transaction/TransactionManager.java,
3385         javax/transaction/UserTransaction.java,
3386         javax/transaction/xa/XAResource.java,
3387         javax/transaction/xa/Xid.java:
3388         Removing redundant modifiers.
3389
3390 2003-10-11  Michael Koch  <konqueror@gmx.de>
3391
3392         * javax/print/attribute/Attribute.java,
3393         javax/print/attribute/AttributeSet.java,
3394         javax/print/attribute/PrintRequestAttributeSet.java:
3395         Removing redundant modifiers.
3396
3397 2003-10-11  Michael Koch  <konqueror@gmx.de>
3398
3399         * javax/sql/ConnectionEventListener.java,
3400         javax/sql/ConnectionPoolDataSource.java,
3401         javax/sql/DataSource.java,
3402         javax/sql/PooledConnection.java,
3403         javax/sql/RowSet.java,
3404         javax/sql/RowSetInternal.java,
3405         javax/sql/RowSetListener.java,
3406         javax/sql/RowSetMetaData.java,
3407         javax/sql/RowSetReader.java,
3408         javax/sql/RowSetWriter.java,
3409         javax/sql/XAConnection.java,
3410         javax/sql/XADataSource.java:
3411         Removing redundant modifiers.
3412
3413 2003-10-11  Michael Koch  <konqueror@gmx.de>
3414
3415         * javax/naming/Context.java,
3416         javax/naming/Name.java,
3417         javax/naming/NameParser.java,
3418         javax/naming/NamingEnumeration.java,
3419         javax/naming/Referenceable.java,
3420         javax/naming/directory/Attribute.java,
3421         javax/naming/directory/Attributes.java,
3422         javax/naming/directory/DirContext.java,
3423         javax/naming/event/EventContext.java,
3424         javax/naming/event/EventDirContext.java,
3425         javax/naming/event/NamespaceChangeListener.java,
3426         javax/naming/event/NamingListener.java,
3427         javax/naming/event/ObjectChangeListener.java,
3428         javax/naming/ldap/Control.java,
3429         javax/naming/ldap/ExtendedRequest.java,
3430         javax/naming/ldap/ExtendedResponse.java,
3431         javax/naming/ldap/HasControls.java,
3432         javax/naming/ldap/LdapContext.java,
3433         javax/naming/ldap/UnsolicitedNotification.java,
3434         javax/naming/ldap/UnsolicitedNotificationListener.java,
3435         javax/naming/spi/DirObjectFactory.java,
3436         javax/naming/spi/DirStateFactory.java,
3437         javax/naming/spi/InitialContextFactory.java,
3438         javax/naming/spi/InitialContextFactoryBuilder.java,
3439         javax/naming/spi/ObjectFactory.java,
3440         javax/naming/spi/ObjectFactoryBuilder.java,
3441         javax/naming/spi/Resolver.java,
3442         javax/naming/spi/StateFactory.java:
3443         Removing redundant modifiers.
3444
3445 2003-10-11  Michael Koch  <konqueror@gmx.de>
3446
3447         * java/security/Key.java,
3448         * java/security/PrivateKey.java,
3449         * java/security/PublicKey.java,
3450         * java/security/acl/Acl.java,
3451         * java/security/acl/AclEntry.java,
3452         * java/security/acl/Group.java,
3453         * java/security/acl/Owner.java,
3454         * java/security/acl/Permission.java,
3455         * java/security/cert/X509Extension.java,
3456         * java/security/interfaces/DSAKey.java,
3457         * java/security/interfaces/DSAKeyPairGenerator.java,
3458         * java/security/interfaces/DSAParams.java,
3459         * java/security/interfaces/DSAPrivateKey.java,
3460         * java/security/interfaces/DSAPublicKey.java,
3461         * java/security/interfaces/RSAKey.java,
3462         * java/security/interfaces/RSAPrivateCrtKey.java,
3463         * java/security/interfaces/RSAPrivateKey.java,
3464         * java/security/interfaces/RSAPublicKey.java:
3465         Removed redundant modifiers.
3466
3467 2003-10-11  Michael Koch  <konqueror@gmx.de>
3468
3469         * gnu/java/rmi/server/ProtocolConstants.java,
3470         gnu/java/security/der/DER.java:
3471         Removing redundant modifiers.
3472
3473 2003-10-11  Michael Koch  <konqueror@gmx.de>
3474
3475         * java/util/Map.java,
3476         java/util/Observer.java,
3477         java/util/zip/Checksum.java,
3478         java/util/zip/ZipConstants.java:
3479         Removed redundant modifiers.
3480
3481 2003-10-11  Michael Koch  <konqueror@gmx.de>
3482
3483         * java/text/AttributedCharacterIterator.java,
3484         java/text/CharacterIterator.java:
3485         Removed redundant modifiers.
3486
3487 2003-10-11  Michael Koch  <konqueror@gmx.de>
3488
3489         * java/sql/Array.java,
3490         java/sql/Blob.java,
3491         java/sql/CallableStatement.java,
3492         java/sql/Clob.java,
3493         java/sql/Connection.java,
3494         java/sql/DatabaseMetaData.java,
3495         java/sql/Driver.java,
3496         java/sql/ParameterMetaData.java,
3497         java/sql/PreparedStatement.java,
3498         java/sql/Ref.java,
3499         java/sql/ResultSet.java,
3500         java/sql/ResultSetMetaData.java,
3501         java/sql/SQLData.java,
3502         java/sql/SQLInput.java,
3503         java/sql/SQLOutput.java,
3504         java/sql/Savepoint.java,
3505         java/sql/Statement.java,
3506         java/sql/Struct.java:
3507         Removed redundant modifiers.
3508
3509 2003-10-11  Michael Koch  <konqueror@gmx.de>
3510
3511         * java/nio/channels/Channel.java,
3512         java/nio/channels/GatheringByteChannel.java,
3513         java/nio/channels/ReadableByteChannel.java,
3514         java/nio/channels/ScatteringByteChannel.java,
3515         java/nio/channels/WritableByteChannel.java:
3516         Removed redundant modifiers.
3517
3518 2003-10-11  Michael Koch  <konqueror@gmx.de>
3519
3520         * java/rmi/activation/ActivationInstantiator.java,
3521         java/rmi/activation/ActivationMonitor.java,
3522         java/rmi/activation/ActivationSystem.java,
3523         java/rmi/activation/Activator.java,
3524         java/rmi/dgc/DGC.java,
3525         java/rmi/registry/Registry.java,
3526         java/rmi/registry/RegistryHandler.java,
3527         java/rmi/server/LoaderHandler.java,
3528         java/rmi/server/RMIClientSocketFactory.java,
3529         java/rmi/server/RMIFailureHandler.java,
3530         java/rmi/server/RMIServerSocketFactory.java,
3531         java/rmi/server/RemoteCall.java,
3532         java/rmi/server/RemoteRef.java,
3533         java/rmi/server/ServerRef.java,
3534         java/rmi/server/Skeleton.java,
3535         java/rmi/server/Unreferenced.java:
3536         Removed redundant modifiers.
3537
3538 2003-10-11  Michael Koch  <konqueror@gmx.de>
3539
3540         * java/net/ContentHandlerFactory.java,
3541         java/net/DatagramSocketImplFactory.java,
3542         java/net/FileNameMap.java,
3543         java/net/SocketImplFactory.java,
3544         java/net/SocketOptions.java,
3545         java/net/URLStreamHandlerFactory.java:
3546         Removed redundant modifiers.
3547
3548 2003-10-11  Michael Koch  <konqueror@gmx.de>
3549
3550         * java/io/Externalizable.java,
3551         java/io/FileFilter.java,
3552         java/io/FilePermission.java,
3553         java/io/ObjectInput.java,
3554         java/io/ObjectInputValidation.java,
3555         java/io/ObjectOutput.java,
3556         java/io/ObjectStreamClass.java,
3557         java/io/ObjectStreamConstants.java,
3558         java/io/Serializable.java:
3559         Removed redundant modifiers.
3560
3561 2003-10-11  Ingo Proetel  <proetel@aicas.com>
3562
3563         * java/rmi/server/RMIClassLoader.java: Identify cached classloaders by 
3564         codebase and context classloader.
3565
3566 2003-10-11  Michael Koch  <konqueror@gmx.de>
3567
3568         * java/beans/beancontext/BeanContext.java,
3569         java/beans/beancontext/BeanContextChild.java,
3570         java/beans/beancontext/BeanContextChildComponentProxy.java,
3571         java/beans/beancontext/BeanContextChildSupport.java,
3572         java/beans/beancontext/BeanContextContainerProxy.java,
3573         java/beans/beancontext/BeanContextMembershipListener.java,
3574         java/beans/beancontext/BeanContextProxy.java,
3575         java/beans/beancontext/BeanContextServiceProvider.java,
3576         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java,
3577         java/beans/beancontext/BeanContextServiceRevokedListener.java,
3578         java/beans/beancontext/BeanContextServices.java,
3579         java/beans/beancontext/BeanContextServicesListener.java:
3580         Removed redundant modifiers.
3581
3582 2003-10-11  Michael Koch  <konqueror@gmx.de>
3583
3584         * java/beans/AppletInitializer.java,
3585         java/beans/BeanInfo.java,
3586         java/beans/Customizer.java,
3587         java/beans/DesignMode.java,
3588         java/beans/PropertyEditor.java,
3589         java/beans/Visibility.java:
3590         Removed redundant modifiers.
3591
3592 2003-10-11  Michael Koch  <konqueror@gmx.de>
3593
3594         * java/awt/print/Pageable.java,
3595         * java/awt/print/Printable.java,
3596         java/awt/print/PrinterGraphics.java:
3597         Removed redundant modifiers.
3598
3599 2003-10-11  Michael Koch  <konqueror@gmx.de>
3600
3601         * java/awt/peer/ButtonPeer.java,
3602         java/awt/peer/CheckboxMenuItemPeer.java,
3603         java/awt/peer/CheckboxPeer.java,
3604         java/awt/peer/ChoicePeer.java,
3605         java/awt/peer/ComponentPeer.java,
3606         java/awt/peer/ContainerPeer.java,
3607         java/awt/peer/DialogPeer.java,
3608         java/awt/peer/FileDialogPeer.java,
3609         java/awt/peer/FramePeer.java,
3610         java/awt/peer/LabelPeer.java,
3611         java/awt/peer/ListPeer.java,
3612         java/awt/peer/MenuBarPeer.java,
3613         java/awt/peer/MenuComponentPeer.java,
3614         java/awt/peer/MenuItemPeer.java,
3615         java/awt/peer/MenuPeer.java,
3616         java/awt/peer/PopupMenuPeer.java,
3617         java/awt/peer/RobotPeer.java,
3618         java/awt/peer/ScrollPanePeer.java,
3619         java/awt/peer/ScrollbarPeer.java,
3620         java/awt/peer/TextAreaPeer.java,
3621         java/awt/peer/TextComponentPeer.java,
3622         java/awt/peer/TextFieldPeer.java,
3623         java/awt/peer/WindowPeer.java:
3624         Removed redundant modifiers.
3625
3626 2003-10-11  Michael Koch  <konqueror@gmx.de>
3627
3628         * gnu/java/nio/NIOSocket.java (setChannel): Initialize impl.
3629         * gnu/java/nio/ServerSocketChannelImpl.java
3630         (serverSocket): Made it a NIOServerSocket.
3631         (impl): Removed.
3632         (ServerSocketChannelImpl): Initialize only serverSocket.
3633         (initServerSocket): Removed.
3634         (getNativeFD): Rewritten.
3635         (implConfigureBlocking): Set socket timeout and removed comment.
3636         (accept): Rewritten.
3637         * gnu/java/nio/SocketChannelImpl.java
3638         (impl): New variable.
3639         (connected): Removed.
3640         (SocketChannelImpl): Initialize impl too.
3641         (getImpl): New method.
3642         (isConnected): Rewritten.
3643         (read): Rewritten, set position in buffer correctly.
3644         (write): Set position in buffer correctly.
3645         * java/net/ServerSocket.java (getImpl): New method.
3646         * gnu/java/nio/NIOServerSocket.java,
3647         gnu/java/nio/natNIOServerSocket.cc: New files.
3648         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
3649         * Makefile.am
3650         (ordinary_java_source_files):
3651         Added gnu/java/nio/NIOServerSocket.java.
3652         (nat_source_files):
3653         Removed gnu/java/nio/natServerSocketChannelImpl.cc
3654         and added gnu/java/nio/natNIOServerSocket.cc.
3655         * Makefile.in: Regenerated.
3656
3657 2003-10-11  Michael Koch  <konqueror@gmx.de>
3658
3659         * java/awt/ActiveEvent.java,
3660         java/awt/datatransfer/ClipboardOwner.java,
3661         java/awt/datatransfer/FlavorMap.java,
3662         java/awt/datatransfer/Transferable.java,
3663         java/awt/dnd/Autoscroll.java,
3664         java/awt/dnd/peer/DragSourceContextPeer.java,
3665         java/awt/dnd/peer/DropTargetContextPeer.java,
3666         java/awt/dnd/peer/DropTargetPeer.java,
3667         java/awt/font/MultipleMaster.java,
3668         java/awt/font/OpenType.java,
3669         java/awt/im/spi/InputMethodDescriptor.java,
3670         java/awt/image/ImageObserver.java,
3671         java/awt/image/ImageConsumer.java,
3672         java/awt/image/ImageProducer.java,
3673         java/awt/image/RGBImageFilter.java,
3674         java/awt/image/RasterOp.java,
3675         java/awt/image/renderable/RenderableImage.java:
3676         Removed redundant modifiers.
3677
3678 2003-10-11  Michael Koch  <konqueror@gmx.de>
3679
3680         * gnu/awt/j2d/DirectRasterGraphics.java,
3681         gnu/java/awt/EmbeddedWindowSupport.java:
3682         Removed redundant modifiers.
3683
3684 2003-10-09  Michael Koch  <konqueror@gmx.de>
3685
3686         * gnu/java/nio/SelectorImpl.java (register):
3687         Use ServerSocketChannelSelectionKey for server socket channels,
3688         removed unneeded comments.
3689         * gnu/java/nio/ServerSocketChannelImpl.java
3690         (ServerSocketChannelImpl): Made class public final.
3691         (impl): New member variable.
3692         (ServerSocketChannelImpl): Initialize member variables correctly.
3693         (initServerSocket): New method.
3694         (getNativeFD): Likewise.
3695         * gnu/java/nio/ServerSocketChannelSelectionKey.java,
3696         gnu/java/nio/natServerSocketChannelImpl.cc: New files.
3697         * Makefile.am (ordinary_java_source_files):
3698         Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
3699         (nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
3700         * Makefile.in: Regenrated.
3701
3702 2003-10-09  Michael Koch  <konqueror@gmx.de>
3703
3704         * java/nio/channels/spi/AbstractSelectableChannel.java
3705         (registered): Made private.
3706         (blocking): Likewise.
3707         (LOCK): Likewise.
3708         (provider): Likewise.
3709         (keys): Made it a private LinkedList.
3710         (AbstractSelectableChannel): Initialize keys.
3711         (isRegistered): New implementation.
3712         (locate): Rewritten.
3713         (register): Rewritten.
3714         * java/nio/channels/spi/AbstractSelectionKey.java
3715         (ok): Removed.
3716         (cancelled): New member variable.
3717         (cancel): Rewritten.
3718         (isValid): Rewritten.
3719         * java/nio/channels/spi/AbstractSelector.java:
3720         Some methods moved.
3721         (closed): Make private.
3722         (provider): Likewise.
3723         (cancelledKeys): New member variable.
3724         (AbstractSelector): Initialize cancelledKeys.
3725         (cancelKey): New method.
3726
3727 2003-10-09  Tom Tromey  <tromey@redhat.com>
3728
3729         * java/lang/ClassLoader.java (setSigners): Implemented.
3730         * boehm.cc (_Jv_MarkObj): Mark `signers' field.
3731         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
3732         Initialize new fields.
3733         * java/lang/Class.java (getSigners): Now native.
3734         (setSigners): Declare.
3735         * java/lang/natClass.cc (getSigners): New method.
3736         (getSigners): Likewise.
3737         * java/lang/Class.h (Class::signers): New field.
3738         (Class::setSigners): New method.
3739
3740 2003-10-09  Michael Koch  <konqueror@gmx.de>
3741
3742         * java/rmi/server/RMIClassLoader.java:
3743         Removed unused imports, little reformatings.
3744         (getClassLoader): New method, implementation was part of old loadCLass
3745         method.
3746         (loadClass): Simplified by moving functionality to new method and
3747         reworking the code a bit.
3748         (getClassAnnotation): Merged documentation from classpath.
3749
3750 2003-10-09  Michael Koch  <konqueror@gmx.de>
3751
3752         * java/math/BigInteger.java
3753         (add): Removed unused local variable len.
3754
3755 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
3756
3757         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
3758         modality check.
3759         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
3760         Initialize insets to use latest insets.
3761         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
3762         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
3763         field.
3764         (postConfigureEvent): Update latestInsets field when insets
3765         change.  Remove call to setSize.  Move validate call outside of
3766         if blocks.
3767         (setVisible): Call setBounds before showing window.
3768         (nativeSetVisible): New native method.
3769         * java/awt/Window.java (show): Show visible owned windows.
3770         (hide): Hide visible owned windows.
3771         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3772         (awt_event_handler): Implement modality using GTK grabs.
3773         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3774         (global_gtk_window_group): New global variable.
3775         (gtkInit): Initialize global_gtk_window_group.
3776         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3777         Clamp width and height values to at least 1.  Add this window to
3778         the global GTK window group.
3779         (setVisible): Rename to nativeSetVisible.
3780         (setup_window): Remove function.
3781         (setSize): Clamp width and height values to at least 1.
3782         (nativeSetBounds): Likewise.
3783         (gdk_window_get_root_geometry): Remove function.
3784         * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
3785         and setup_window declarations.  Declare global_gtk_window_group.
3786
3787         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3788         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
3789         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
3790         (gtkWidgetSetForeground): New method.
3791         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3792         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3793         (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
3794         (setBackground, setForeground): Implement.
3795         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
3796         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
3797         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
3798         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3799         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
3800         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
3801         Position PangoLayout relative to text's baseline.
3802         * jni/gtk-peer/gtkpeer.h: Define AWT font style constants.
3803
3804         * java/awt/FlowLayout.java (layoutContainer): Fix offset problem
3805         for CENTER and RIGHT alignments.
3806
3807 2003-10-08  Michael Koch  <konqueror@gmx.de>
3808
3809         * java/security/Security.java: Reformated.
3810
3811 2003-10-08  Michael Koch  <konqueror@gmx.de>
3812
3813         * java/text/SimpleDateFormat.java
3814         (compileFormat): Replace Character.isLetter() test with
3815         Character.isLowerCase() || Character.isUpperCase().
3816
3817 2003-10-08  Tom Tromey  <tromey@redhat.com>
3818
3819         * java/lang/StrictMath.java (toDegrees): Multiply before
3820         dividing.
3821         (toRadians): Likewise.
3822
3823 2003-10-08  C. Brian Jones  <cbj@gnu.org>
3824
3825         * java/lang/Math.java
3826         (toRadians): multiply before dividing to reduce decimal error
3827         (toDegrees): ditto
3828
3829 2003-10-08  Michael Koch  <konqueror@gmx.de>
3830
3831         * gnu/gcj/protocol/core/Connection.java,
3832         gnu/gcj/protocol/core/CoreInputStream.java,
3833         gnu/gcj/protocol/core/Handler.java,
3834         gnu/gcj/protocol/core/natCoreInputStream.cc,
3835         gnu/gcj/protocol/file/Connection.java,
3836         gnu/gcj/protocol/file/Handler.java,
3837         gnu/gcj/protocol/gcjlib/Connection.java,
3838         gnu/gcj/protocol/gcjlib/Handler.java,
3839         gnu/gcj/protocol/http/Connection.java,
3840         gnu/gcj/protocol/http/Handler.java,
3841         gnu/gcj/protocol/jar/Connection.java,
3842         gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
3843         * gnu/java/net/protocol/core/Connection.java,
3844         gnu/java/net/protocol/core/CoreInputStream.java,
3845         gnu/java/net/protocol/core/Handler.java,
3846         gnu/java/net/protocol/core/natCoreInputStream.cc,
3847         gnu/java/net/protocol/file/Connection.java,
3848         gnu/java/net/protocol/file/Handler.java,
3849         gnu/java/net/protocol/gcjlib/Connection.java,
3850         gnu/java/net/protocol/gcjlib/Handler.java,
3851         gnu/java/net/protocol/http/Connection.java,
3852         gnu/java/net/protocol/http/Handler.java,
3853         gnu/java/net/protocol/jar/Connection.java,
3854         gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
3855         * gnu/gcj/runtime/FirstThread.java,
3856         java/net/URL.java: Use moved protocol handlers.
3857         * Makefile.am
3858         (ordinary_java_source_files): Moved files.
3859         (nat_source_files): Likewise.
3860         * Makefile.in: Regenerated.
3861
3862 2003-10-08  Michael Koch  <konqueror@gmx.de>
3863
3864         * gnu/java/nio/SocketChannelImpl.java
3865         (read): Write only read data to buffer.
3866
3867 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
3868
3869         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
3870         out.
3871         * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
3872         (JCL_free): Attach "unused" attribute to env parameter.
3873         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
3874         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
3875         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
3876         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
3877         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
3878         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
3879         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
3880         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
3881         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
3882         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
3883         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
3884         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
3885         jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
3886         parameters.
3887         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
3888         (initNativeState): Pass 0 as info argument to
3889         gtk_selection_add_target.
3890         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
3891         (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
3892         unused method implementations.
3893         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3894         (awt_event_handler): Add break statement after default label.
3895         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
3896         (drawPixels): Remove unused variable i.
3897         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
3898         (setEnabled): Remove method implementation.
3899         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
3900         (accel_attach): Call _gtk_accel_group_attach with G_OBJECT
3901         argument.
3902         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
3903         unused function.
3904         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
3905         (menu_pos): Assign TRUE to push_in.
3906         (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
3907         argument.
3908         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
3909         (create): Remove unused variable layout.
3910         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3911         Pass window_widget, rather than window, to
3912         gtk_widget_set_size_request.
3913         * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
3914         structure initialization with NULL values.
3915         * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.
3916
3917 2003-10-08  Michael Koch  <konqueror@gmx.de>
3918
3919         * java/util/LinkedList.java:
3920         Removed whitespace to match classpath's version again.
3921
3922 2003-10-08  Michael Koch  <konqueror@gmx.de>
3923
3924         * java/util/prefs/Preferences.java
3925         (defaultFactoryClass): Fixed class name.
3926         (getFactory): Create instance of class returned by Class.forName(),
3927         reformated code.
3928
3929 2003-10-08  Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
3930
3931         * javax/swing/table/AbstractTableModel.java
3932         (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
3933         helped stop pulling my hair on this +1 then -1 tricky thing!
3934
3935 2003-10-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
3936
3937         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
3938         Remove unused parameters.
3939         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
3940         Likewise.
3941         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3942         (keyevent_state_to_awt_mods): Export function.
3943         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3944         (getCaretPosition): Fix TextArea case.
3945         (textcomponent_commit_cb): Get exact event time and modifier
3946         state.
3947         * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.
3948
3949 2003-10-02  Guilhem Lavaux  <guilhem@kaffe.org>
3950
3951         * java/net/InetSocketAddress.java
3952         (InetSocketAddress): Made exception more clear.
3953         (equals): Handle case when addr is null.
3954         (toString): Likewise.
3955         * java/net/NetworkInterface.java
3956         (static): Load native library.
3957         (getNetworkInterfaces): Rewritten.
3958
3959 2003-10-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
3960
3961         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
3962         field.
3963         (initializeInsets): New method.
3964         (GtkComponentPeer): Call initializeInsets.  Call setCursor and
3965         setBounds unconditionally.
3966         (setBounds): Convert coordinates if parent is a Window.
3967         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
3968         field to GtkComponentPeer.
3969         (GtkContainerPeer): Don't initialize insets.
3970         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
3971         New method.
3972         (create): Call new GtkWindowPeer create method.
3973         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
3974         New method.
3975         (create): Call new GtkWindowPeer create method.
3976         (setBounds): Remove method.
3977         (postConfigureEvent): Likewise.
3978         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
3979         type constants with GDK window type constants.
3980         (create(int,boolean,int,int,GtkWindowPeer)): New method.
3981         (create(int,boolean)): Likewise.
3982         (create()): Call create(int,boolean).
3983         (nativeSetBounds): New native method declaration.
3984         (setBounds): Call native method declaration.
3985         (setSize): New native method declaration.
3986         (setBoundsCallback): Likewise.
3987         (postConfigureEvent): Handle change in insets.  Call setSize and
3988         setBoundsCallback methods.
3989         * java/awt/Window.java (Window): Set visible to false.
3990         (setBoundsCallback): New method.
3991         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3992         (gtkWidgetGetLocationOnScreen): If this component is not a
3993         container, adjust the location returned based on the peer's
3994         allocation.
3995         (set(String,boolean)): Revert change from 2003-09-19.
3996         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3997         (awt_event_handler): Fix inset calculation.
3998         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
3999         glue for Window.setBoundsCallback.
4000         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
4001         Set up stacking order, window decorations and window manager
4002         hints.
4003         (setBoundsCallback): New method.
4004         (setSize): New method.
4005         (nativeSetBounds): New method.
4006         * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
4007
4008 2003-10-02  Tom Tromey  <tromey@redhat.com>
4009
4010         * java/lang/VMClassLoader.java (loadClass): Now native.
4011         * java/lang/natClassLoader.cc (loadClass): Implement.
4012         * prims.cc (_Jv_RunMain): Initialize ClassLoader.
4013
4014 2003-10-02  Michael Koch  <konqueror@gmx.de>
4015
4016         * java/net/InetAddress.java
4017         (zeros): Removed.
4018         (ANY_IF): Initalizie in static block.
4019         (static): Load library with native methods here and initialize ANY_IF.
4020         (isAnyLocalAddress): Check if equal to ANY_IF.
4021         (equals): Use addr directly instead of addr1. Simplify for loop.
4022         (toString): Rename "result" to "host" and add IP address allways.
4023         (getLocalHost): Merged documentation from classpath.
4024         * java/net/ServerSocket.java
4025         (ServerSocket): New package-private constructor used by java.nio.
4026         * java/net/URLConnection.java
4027         (getRequestProperties): Check if already connected.
4028
4029 2003-10-02  Michael Koch  <konqueror@gmx.de>
4030
4031         * java/nio/ByteBufferHelper.java:
4032         Rewrote all methods by suggestions from Eric Blake.
4033
4034 2003-10-02  Michael Koch  <konqueror@gmx.de>
4035
4036         * java/net/URL.java
4037         (DEFAULT_SEARCH_PATH): New static variable.
4038         (ph_cache): Made it a HashMap.
4039         (getURLStreamHandler): Rename propVal to ph_search_path and use
4040         DEFAULT_SEARCH_PATH.
4041
4042 2003-10-02  Michael Koch  <konqueror@gmx.de>
4043
4044         * javax/swing/table/AbstractTableModel.java
4045         (findColumnName): Prevent from NullPointerException if argument
4046         columnName is null.
4047
4048 2003-10-02  Michael Koch  <konqueror@gmx.de>
4049
4050         * javax/swing/table/AbstractTableModel.java:
4051         This patch is based on a patch done by Arnaud Vandyck
4052         <arnaud.vandyck@ulg.ac.be>.
4053         (getColumnName): Fixed method documentation.
4054         (findColumn): Likewise.
4055         (getColumnClass): Likewise.
4056         (isCellEditable): Likewise.
4057         (setValueAt): Likewise.
4058         (addTableModelListener): Likewise.
4059         (removeTableModelListener): Likewise.
4060         (getTableModelListeners): New method.
4061
4062 2003-10-02  Michael Koch  <konqueror@gmx.de>
4063
4064         * javax/swing/table/AbstractTableModel.java:
4065         Reformated.
4066
4067 2003-10-01  Bryce McKinlay  <bryce@mckinlay.net.nz>
4068
4069         Fix PR libgcj/12475
4070         * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
4071         * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
4072
4073 2003-10-01  Tom Tromey  <tromey@redhat.com>
4074
4075         * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
4076
4077 2003-10-01  Andrew Haley  <aph@redhat.com>
4078
4079         * java/lang/natClass.cc (initializeClass): Check for otable and
4080         atable.
4081         (_Jv_LinkOffsetTable): Check for existence of atable.  Rewrite
4082         loops using for().  Search superinterfaces.  Check for fields as
4083         well as methods.  Initialize atable as well as otable: check for
4084         static methods as well as virtual methods.
4085         * java/lang/Class.h (struct _Jv_AddressTable): New.
4086         (atable): New.
4087         (atable_syms): New.
4088         * include/jvm.h (_Jv_equalUtf8Consts): constify.
4089         * prims.cc (_Jv_equalUtf8Consts): constify.
4090
4091 2003-09-29  Tom Tromey  <tromey@redhat.com>
4092
4093         PR libgcj/10596:
4094         * include/jvm.h (_Jv_FinalizeString,
4095         _Jv_RegisterStringFinalizer): Declare.
4096         * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
4097         unintern.
4098         (intern): Updated.
4099         (_Jv_NewStringUtf8Const): Likewise.
4100         * java/lang/ref/natReference.cc (finalize_referred_to_object):
4101         Add special case when finalizing a String.
4102         (in_hash): New function.
4103         (_Jv_RegisterStringFinalizer): Likewise.
4104         (maybe_add_finalize): Likewise.
4105
4106 2003-09-29  Michael Koch  <konqueror@gmx.de>
4107
4108         * java/net/InetAddress.java:
4109         (isMulticastAddress): Dont use local variable to store address length.
4110         Let the compiler optimize this.
4111         (getHostName): Merged dcoumentation from classpath.
4112         (getAddress): Likewise.
4113         (getHostAddress): Likewise.
4114         (hashCode): Likewise.
4115         (equals): Likewise.
4116         (toString): Likewise.
4117         (getByName): Likewise.
4118         (getAllByName): Likewise.
4119
4120 2003-09-29  Michael Koch  <konqueror@gmx.de>
4121
4122         * java/awt/image/IndexColorModel.java: Reformated.
4123
4124 2003-09-29  Michael Koch  <konqueror@gmx.de>
4125
4126         * java/net/InetAddress.java,
4127         java/net/URL.java: Reformated.
4128
4129 2003-09-29  Bryce McKinlay  <bryce@mckinlay.net.nz>
4130
4131         * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most 
4132         significant bit of descriptor. Include the vtable and sync_info 
4133         fields.
4134
4135 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
4136
4137         * java/text/DateFormat.java (format): Throw IllegalArgumentException
4138         if `obj' is not a Number or Date instance.
4139         * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
4140         instead of Vector.
4141
4142 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
4143
4144         * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
4145         Don't call setTimeZone on calendar.
4146
4147 2003-09-27  Michael Koch  <konqueror@gmx.de>
4148
4149         * java/net/URL.java (getURLStreamHandler): Compile fixes.
4150
4151 2003-09-27  Michael Koch  <konqueror@gmx.de>
4152
4153         * java/net/URL.java (getURLStreamHandler):
4154         Check if we have to use cache before trying to retrieve handler from
4155         cache. Rename facName to clsName to match classpath more. Reformated
4156         some little pieces.
4157
4158 2003-09-27  Michael Koch  <konqueror@gmx.de>
4159
4160         * gnu/java/nio/SelectionKeyImpl.java
4161         (ch): Make package-private again. Jikes found this bug.
4162         Jeff Sturm submitted PR12426 for this to bugzilla
4163         to fix this bug in gcj.
4164
4165 2003-09-26  Michael Koch  <konqueror@gmx.de>
4166
4167         * java/rmi/server/RMIClassLoader.java:
4168         Reformatted file, no functional code changes.
4169
4170 2003-09-26  Sascha Brawer  <brawer@dandelis.ch>
4171
4172         * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer): 
4173         Save space for some pixels at the buffer end.  Added Javadoc.
4174
4175 2003-09-26  Tom Tromey  <tromey@redhat.com>
4176
4177         * java/io/ObjectOutputStream.java (writeFields): Fixed
4178         indentation.
4179         (putFields): Likewise.
4180
4181 2003-09-26  Michael Koch  <konqueror@gmx.de>
4182
4183         * java/nio/ByteBufferHelper.java:
4184         Totally reworked with help from Eric Blake.
4185
4186 2003-09-26  Tom Tromey  <tromey@redhat.com>
4187
4188         * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
4189         * java/awt/geom/PathIterator.java: Documentation fixes.
4190
4191 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
4192
4193         * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
4194         (select): Likewise.
4195         (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
4196
4197 2003-09-25  Michael Koch  <konqueror@gmx.de>
4198
4199         * gnu/java/nio/DatagramChannelImpl.java
4200         (getNativeFD): New method.
4201         * gnu/java/nio/SelectionKeyImpl.java
4202         (SelectionKeyImpl): Class made abstract.
4203         (fd): Removed.
4204         (SelectionKeyImpl): Remove fd argument.
4205         (getNativeFD): New method.
4206         * gnu/java/nio/SocketChannelImpl.java
4207         (getNativeFD): New method.
4208         gnu/java/nio/DatagramChannelSelectionKey.java,
4209         * gnu/java/nio/SocketChannelSelectionKey.java:
4210         New files.
4211         * Makefile.am (ordinary_java_source_files):
4212         Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
4213         gnu/java/nio/SocketChannelSelectionKey.java.
4214         * Makefile.in: Regenerated.
4215
4216 2003-09-25  Michael Koch  <konqueror@gmx.de>
4217
4218         * java/lang/reflect/Proxy.java
4219         (getProxyClass): Remove workaround for gcj 3.0.x.
4220
4221 2003-09-25  Michael Koch  <konqueror@gmx.de>
4222
4223         * gnu/java/net/PlainDatagramSocketImpl.java
4224         (finalize): Moved to directly after constructor.
4225         (getNativeFD): New method.
4226         * gnu/java/net/PlainSocketImpl.java
4227         (getNativeFD): New method.
4228
4229 2003-09-25  Ingo Proetel  <proetel@aicas.com>
4230
4231         * java/io/ObjectOutputStream.java:
4232         Allow putFields be called more than once.
4233
4234 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
4235
4236         * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
4237         * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
4238         * java/awt/image/BufferedImage.java (toString): Implement.
4239
4240 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
4241
4242         * aclocal.m4: Rebuilt.
4243         * configure: Rebuilt.
4244
4245 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
4246
4247         * java/text/SimpleDateFormat.java (parse): Don't use class calendar
4248         field.
4249
4250 2003-09-25  Michael Koch  <konqueror@gmx.de>
4251
4252         * gnu/java/nio/SelectorImpl.java
4253         (implSelect): Renamed from java_do_select.
4254         (select): Call native implSelect() and add support for Thread
4255         interruption.
4256         * gnu/java/nio/natSelectorImpl.cc
4257         (implSelect): Renamed from java_do_select.
4258
4259 2003-09-25  Michael Koch  <konqueror@gmx.de>
4260
4261         * gnu/java/nio/SelectorImpl.java
4262         (selectNow): Made final, throws IOException.
4263         (select): Likewise.
4264         (getFDsAsArray): Made final.
4265         (selectedKeys): Likewise.
4266         (wakeup): Likewise.
4267         (deregisterCancelledKeys): Likewise.
4268         (register): Likewise.
4269         (ass): Removed.
4270         (add_selected): Removed.
4271         * gnu/java/nio/natSelectorImpl.cc:
4272         No need to include bstring.h or gcj/cni.h.
4273         (helper_put_filedescriptors): Rewritten.
4274         (helper_get_filedescriptors): Rewritten.
4275
4276 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
4277
4278         * java/awt/font/FontRenderContext.java (getTransform): Return
4279         copy of internal transform object. Add Javadoc.
4280         * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
4281         winding rule as Sun J2SE.
4282         * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
4283
4284 2003-09-25  Ingo Proetel  <proetel@aicas.com>
4285
4286         * java/rmi/Naming.java:
4287         Added comments, now accepts pseudo protocol "rmi".
4288
4289 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
4290
4291         * java/text/DecimalFormat.java (format): Don't immediatly round
4292         baseNumber to long.
4293         (setMinimumIntegerDigits): Call super.
4294         (setMinimumFractionDigits): Likewise.
4295         (setMaximumIntegerDigits): Likewise.
4296         (setMaximumFractionDigits): Likewise.
4297
4298 2003-09-25  Michael Koch  <konqueror@gmx.de>
4299
4300         * gnu/java/nio/DatagramChannelImpl.java
4301         (DatagramChannelImpl): Made class final.
4302         (blocking): Made private.
4303         (socket): Made it a NIODatagramSocket and private.
4304         (DatagramChannelImpl): create NIODatagramSocket instead of
4305         DatagramSocket.
4306         (implConfigureBlocking): Set socket timeout.
4307         (connect): Check that channel is not closed.
4308         (write): Implemented.
4309         (write): Rewritten.
4310         (read): Implemented.
4311         (read): Rewritten.
4312         (receive): Implemented.
4313         (send): Implemented.
4314         * gnu/java/nio/SelectionKeyImpl.java
4315         (readyOps): Made private.
4316         (interestOps): Made private.
4317         (impl): Made private.
4318         (ch): Made private.
4319         (readyOps): Check if selection key is valid.
4320         (interestOps): Likewise.
4321         * gnu/java/nio/SelectorImpl.java
4322         (closed): Removed.
4323         (keys): Made private.
4324         (selected): Made private.
4325         (finalize): New method.
4326         (implCloseSelector): Rewritten.
4327         (keys): Return unmodifiable Set.
4328         (deregisterCancelledKeys): Fixed typo in method name.
4329         * gnu/java/nio/SocketChannelImpl.java
4330         (SocketChannelImpl): Made class final.
4331         (socket): Made it a NIOSocket and private.
4332         (blocking): Made private.
4333         (connected): Made private.
4334         (connectionPending): New member variable.
4335         (SocketChannelImpl): New implementation.
4336         (finalizer): Use isConnected().
4337         (connect): Rewritten.
4338         (finishConnect): Throws IOException, implemented.
4339         (isConnectionPending): Return connectionPending.
4340         (read): Rewritten.
4341         (write): Rewritten.
4342         * gnu/java/nio/NIOConstants.java: New file.
4343         * Makefile.am (ordinary_java_source_files):
4344         Added gnu/java/nio/NIOConstants.java.
4345         * Makefile.in: Regenerated.
4346
4347 2003-09-25  Michael Koch  <konqueror@gmx.de>
4348
4349         * java/net/InetAddress.java:
4350         Reorder imports, remove implementation comment.
4351         (isMulticastAddress): Merged documentation from classpath.
4352         * java/net/URLConnection.java
4353         (setRequestProperty): Check key for null, fix documentation.
4354         (adREquestProperty): Check key for null, remove wrong implementation
4355         and replace it with comment to overwrite this method in subclasses,
4356         fix documentation.
4357
4358 2003-09-25  Tom Tromey  <tromey@redhat.com>
4359
4360         * java/lang/reflect/Proxy.java (generate): Uncomment protection
4361         domain code.
4362         * java/lang/natClassLoader.cc (defineClass): Added `loader'
4363         argument.
4364         (linkClass0): Now in VMClassLoader.
4365         (markClassErrorState0): Likewise.
4366         (getSystemClassLoaderInternal): New method.
4367         * java/lang/natClass.cc (initializeClass): Use
4368         VMClassLoader::resolveClass.
4369         * java/lang/ClassLoader.java: New version, from Classpath.
4370         * java/lang/Class.java (getProtectionDomain):
4371         protectionDomainPermission and unknownProtectionDomain now in
4372         VMClassLoader.
4373         * java/lang/Class.h: VMClassLoader now a friend class.
4374         * gnu/gcj/runtime/VMClassLoader.java (instance): Now
4375         package-private.
4376         * gcj/javaprims.h: Regenerated class list.
4377         * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
4378         * java/lang/VMClassLoader.java: New version from Classpath;
4379         modified for libgcj use.
4380
4381 2003-09-25  Michael Koch  <konqueror@gmx.de>
4382
4383         * java/nio/ByteBufferHelper.java:
4384         New file.
4385         * java/nio/ByteBufferImpl.java,
4386         java/nio/DirectByteBufferImpl.java,
4387         java/nio/MappedByteBufferImpl.java
4388         (getType,putType): Use new helper class ByteBufferHelper.
4389         * Makefile.am (ordinary_java_source_files):
4390         Added java/nio/ByteBufferHelper.java.
4391         * Makefile.in: Regenerated.
4392
4393 2003-09-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
4394
4395         * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
4396         PR libgcj/12388.
4397
4398 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
4399
4400         * java/lang/StringBuffer.java (substring): Don't set `shared' on small
4401         Strings, even if buffer is already shared.
4402
4403 2003-09-24  Michael Koch  <konqueror@gmx.de>
4404
4405         * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
4406
4407 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
4408
4409         * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
4410         (write): Likewise.
4411         (SocketInputStream): Declare `read' and `write' methods native.
4412         Remove implementations which called back into PlainSocketImpl.
4413         Remove unneccessary overridden methods.
4414         * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation 
4415         to inner class PlainSocketImpl.SocketInputStream.
4416         (write): Likewise.
4417         * gnu/java/net/natPlainSocketImplPosix.cc: As above.
4418         * gnu/java/net/natPlainSocketImplWin32.cc: As above.
4419         * gnu/java/net/SocketInputStream.java: Remove unused file.
4420         * gnu/java/net/SocketOutputStream.java: Likewise.
4421         * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
4422         and SocketOutputStream.
4423         * Makefile.in: Rebuilt.
4424
4425 2003-09-23  Nathanael Nerode  <neroden@gcc.gnu.org>
4426
4427         * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
4428
4429         * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
4430         markers.
4431
4432 2003-09-22  Anthony Green  <green@redhat.com>
4433
4434         * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
4435         * configure: Rebuilt.
4436
4437 2003-09-21  Ralph Loader  <suckfish@ihug.co.nz>
4438
4439         PR java/12350:
4440         * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
4441
4442 2003-09-22  Michael Koch  <konqueror@gmx.de>
4443
4444         * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
4445         compiler warning but produces a different one now.
4446
4447 2003-09-22  Michael Koch  <konqueror@gmx.de>
4448
4449         * java/net/InetAddress.java:
4450         Moves around some code, reformats and adds documentation.
4451         No functional changes.
4452
4453 2003-09-22  Michael Koch  <konqueror@gmx.de>
4454
4455         * java/net/JarURLConnection.java
4456         (JarURLConnection): Modifed code to match classpath more, fixed comment.
4457         (getCertificates): Made it more error prone.
4458         (getMainAttributes): Likewise.
4459         (getAttributes): Implemented.
4460         (getManifest): Reformatted code.
4461
4462 2003-09-20  Tom Tromey  <tromey@redhat.com>
4463
4464         * java/awt/Component.java: Indentation cleanup from Classpath.
4465
4466 2003-09-20  Dalibor Topic  <robilad@kaffe.org>
4467
4468        * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
4469        checking to follow 1.4.2 spec.
4470
4471 2003-08-11  Ingo Proetel  <proetel@aicas.com>
4472
4473         * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject  
4474         is compatible in case client and server are running in the same VM
4475         (remerged from Classpath on 2003-09-20)
4476
4477 2003-09-19  David Daney <ddaney@avtrex.com>
4478
4479         * java/lang/ref/Reference.java (clear): Set referent to null and
4480         synchronize.
4481
4482 2003-09-19  Michael Koch  <konqueror@gmx.de>
4483
4484         * gnu/java/nio/NIODatagramSocket.java,
4485         gnu/java/nio/NIOSocket.java: New files.
4486         * Makefile.am (ordinary_java_source_files):
4487         Added gnu/java/nio/NIODatagramSocket.java and
4488         gnu/java/nio/NIOSocket.java.
4489         * Makefile.in: Regenerated.
4490
4491 2003-09-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
4492
4493         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
4494         top-level GTK window.
4495         (getArgs): Add "title" property.
4496         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
4497         "allow_shrink" and "allow_grow" properties.
4498         * java/awt/Dialog.java: Initialize resizable to true and change
4499         comments accordingly.  Initialize visible to false in
4500         constructors.
4501         * java/awt/Frame.java (dispose): Remove method.
4502         * java/awt/Window.java (ownedWindows): New field.
4503         (Window(Window,GraphicsConfiguration)): Add a weak reference to
4504         owner's ownedWindows vector.
4505         (finalize): Remove method.
4506         (hide): Hide owned windows.
4507         (dispose): Dispose of owned windows.
4508         (getOwnedWindows): Implement.
4509         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
4510         unused GtkArg code.
4511         (set(String,boolean)): Clamp gboolean parameter to g_object_set
4512         to TRUE or FALSE.
4513         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4514         (create): Set window's size requisition.
4515         (connectHooks): Fix indentation.
4516         (setResizable): Remove function.
4517         (static setBounds): Likewise.
4518         (setBounds): Replace call to setBounds with GTK size requisition
4519         and resize calls.
4520
4521 2003-09-19  Mohan Embar  <gnustuff@thisiscool.com>
4522
4523         * win32-threads.cc: (ensure_interrupt_event_initialized) New
4524         function for lazy initialization of an auto-reset event.
4525         (_Jv_CondWait) Added thread interrupt support.
4526         (_Jv_ThreadInitData) Added initialization of interrupt support
4527         members.
4528         (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
4529         (_Jv_ThreadStart) Removed unused code.
4530         (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
4531         to an external caller.
4532         (_Jv_ThreadInterrupt) Implemented.
4533         * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
4534         event for interrupt support as well as a mutex which regulates
4535         access to this.
4536         (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
4537         event to an external caller.
4538         * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
4539         process.
4540         (waitFor) Added interrupt support.
4541
4542 2003-09-19  Michael Koch  <konqueror@gmx.de>
4543
4544         * java/net/DatagramSocket.java (getLocalAddress):
4545         Renamed result variable to localAddr.
4546         * java/net/MulticastSocket.java:
4547         No need to import gnu.java.net.PlainDatagramSocketImpl.
4548
4549 2003-09-18  Sascha Brawer  <brawer@dandelis.ch>
4550
4551         * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
4552         Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
4553
4554 2003-09-18  Tom Tromey  <tromey@redhat.com>
4555
4556         * javax/naming/InitialContext.java: Reindented.
4557
4558 2003-09-18  Dalibor Topic <robilad@kaffe.org>,
4559             Helmer Kraemer <hkraemer@freenet.de>
4560
4561         * javax/naming/spi/NamingManager.java (getURLContext,
4562         getObjectInstance, getStateToBind): Always use current thread's
4563         context class loader when calling Class.forName.
4564
4565 2003-09-18  Michael Koch  <konqueror@gmx.de>
4566
4567         * java/util/Timer.java (finalize): Added "throws Throwable".
4568
4569 2003-09-18  Michael Koch  <konqueror@gmx.de>
4570
4571         * java/net/DatagramSocket.java
4572         (ch): Removed.
4573         (receive): Use getChannel() instead of ch.
4574         (send): Likewise.
4575         (getChannel): Return null.
4576         * java/net/ServerSocket.java
4577         (ch): Removed.
4578         (setChannel): Removed.
4579         (implAccept): Use getChannel() instead of ch.
4580         (close): Likewise.
4581         (getChannel): Return null.
4582         * java/net/Socket.java
4583         (ch): Removed.
4584         (connect): Use getChannel() instead of ch.
4585         (setChannel): Removed.
4586         (getChannel): Return null.
4587
4588 2003-09-18  Mark Wielaard  <mark@klomp.org>
4589
4590         Reported by Guilhem Lavaux and Julian Dolby
4591         * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
4592         field "serialPersistentFields", not "getSerialPersistentFields".
4593
4594 2003-09-18  Ingo Proetel  <proetel@aicas.com>
4595
4596         * java/util/TimeZone.java: Initialize lazily.
4597         * java/util/Locale.java (readManifest): Fix check for country.
4598         * java/util/GregorianCalendar.java: Make use of ResourceBundle better
4599         traceable 
4600         * java/util/Calendar.java: Make use of ResourceBundle better
4601         traceable.
4602
4603 2003-09-18  Jeroen Frijters  <jeroen@frijters.net>
4604
4605         * java/sql/Timestamp.java
4606         (valueOf): Fixed confusion of java.sql.Date and java.util.Date
4607
4608 2003-09-18  David P Grove  <groved@us.ibm.com>
4609
4610         * java/io/LineNumberReader (read): Don't reset pos & limit when
4611         markPos is 0.
4612
4613 2003-09-18  Dalibor Topic  <robilad@kaffe.org>
4614
4615         * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
4616         constant.
4617         (computeArguments): use computeTypicalArguments.
4618
4619         * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
4620         Compile_jikes.java and RMICException.java.
4621         * gnu/java/rmi/rmic/Compile_kjc.java: New file.
4622         * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
4623         * gnu/java/rmi/rmic/RMICException.java: Likewise.
4624  
4625         * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
4626  
4627         * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
4628         (computeTypicalArguments): New method.
4629         (compile): Print compiler output to System.out. Collect compiler
4630         error output and use it in exception message.
4631  
4632         * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
4633         (destination): Initialize to null.
4634         (run): Replace file separator with '.' when processing class.
4635         (processClass): Replace '.' with file separator when compiling
4636         classes.
4637         (findClass): Use SystemClassLoader to load class.
4638         (generateStub): Use full class name for generated stub, that puts
4639         it in right path.  Replace '.' with file separator when generating
4640         stub file name. Write just the stub class name without package
4641         information as class name, and constructor name. Write only
4642         interface names for interfaces extending java.rmi.Remote as
4643         implemented.
4644         (generateSkel): Use full class name for generated skel, that puts
4645         it in right path.  Replace '.' with file separator when generating
4646         stub file name. Write just the stub class name without package
4647         information as class name.
4648
4649 2003-09-18  Michael Koch  <konqueror@gmx.de>
4650
4651         * Makefile.am (rmi_java_source_files):
4652         Added gnu/java/rmi/rmic/Compile_kjc.java,
4653         gnu/java/rmi/rmic/Compile_jikes.java and
4654         gnu/java/rmi/rmic/RMICException.java
4655         * Makefile.in: Regenerated.
4656
4657 2003-09-17  Graydon Hoare  <graydon@redhat.com>
4658
4659         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4660         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4661         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
4662         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: 
4663         New files.
4664
4665 2003-09-16  Graydon Hoare  <graydon@redhat.com>
4666
4667         * java/awt/BufferedImage.java (setData): Support non-component
4668         sample models.
4669         (getData): Same.
4670
4671 2003-09-10  Graydon Hoare  <graydon@redhat.com>
4672
4673         * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
4674         * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
4675
4676 2003-09-17  Mohan Embar  <gnustuff@thisiscool.com>
4677
4678         * configure.in: Standardized help text case of
4679         --enable-hash-synchronization
4680         New configure switch --enable-libgcj-multifile and corresponding
4681         automake conditional ONESTEP.
4682         * configure: Rebuilt.
4683         * Makefile.am: Use automake conditional ONESTEP to determine
4684         whether classfiles should be compiled individually or all
4685         at once.
4686         * Makefile.in: Rebuilt.
4687
4688 2003-09-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
4689
4690         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
4691         Remove method declaration.
4692         (create()): Call native create.
4693         (create(int)): New method.
4694         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
4695         (create): Add window_id parameter.  Call gtk_plug_new with
4696         window_id parameter.
4697         (construct): Remove method implementation.
4698
4699 2003-09-16  Mohan Embar  <gnustuff@thisiscool.com>
4700
4701         * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
4702         (mostlyclean-local): New target patterned after clean-local
4703         which recursively deletes all libtool objects using 'libtool rm'.
4704         (clean-local): Slightly modified comment to alleviate monotony.
4705         (distclean-local): New target patterned after clean-local
4706         which recursively deletes all .d files.
4707         * Makefile.in: Rebuilt.
4708
4709 2003-09-11  Tom Tromey  <tromey@redhat.com>
4710
4711         * java/net/URLStreamHandler.java (parseURL): If original file
4712         ends with "/", so must canonical result.
4713         * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
4714         with nul-termination and finding previous "/".
4715
4716 2003-09-11  Michael Koch  <konqueror@gmx.de>
4717
4718         * acconfig.h: Removed most items.
4719         * configure.in: Added descriptions to AC_DEFINE macros that where in
4720         acconfig.h before.
4721         * include/config.h.in: Regenerated.
4722
4723 2003-09-11  Sascha Brawer  <brawer@dandelis.ch>
4724
4725         * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
4726         if one is installed. Improve Javadoc.
4727         (getSystemEventQueueImpl): Improve Javadoc.
4728
4729 2003-09-11  Tom Tromey  <tromey@redhat.com>
4730
4731         * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
4732         file does not exist.
4733
4734 2003-09-10  Anthony Green  <green@redhat.com>
4735
4736         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
4737         Specify full name when referencing ::java::net::InetAddress.
4738         * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
4739         Fix argument type.
4740
4741 2003-09-10  Michael Koch  <konqueror@gmx.de>
4742
4743         * acconfig.h (__NO_MATH_INLINES): Removed.
4744         * configure.in: Removed check for g++ math inlining bug from 2000.
4745         * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
4746         libgcj_cxxflags.
4747         * configure: Regenerated.
4748
4749 2003-09-10  David Daney <ddaney@avtrex.com>
4750
4751         * java/util/Arrays.java (equals(all variants)): Quit using
4752         NullPointerException catching to detect null valued parameters.
4753
4754 2003-09-10  Michael Koch  <konqueror@gmx.de>
4755
4756         * java/net/DatagramSocket.java,
4757         java/net/MulticastSocket.java,
4758         java/net/ServerSocket.java,
4759         java/net/Socket.java:
4760         Use gnu.java.net.Plain*SocketImpl instead of
4761         java.net.PlainSocketImpl.
4762         * java/net/PlainDatagramSocketImpl.java,
4763         java/net/PlainSocketImpl.java,
4764         java/net/SocketInputStream.java,
4765         java/net/SocketOutputStream.java,
4766         java/net/natPlainDatagramSocketImplNoNet.cc,
4767         java/net/natPlainDatagramSocketImplPosix.cc,
4768         java/net/natPlainDatagramSocketImplWin32.cc,
4769         java/net/natPlainSocketImplNoNet.cc,
4770         java/net/natPlainSocketImplPosix.cc,
4771         java/net/natPlainSocketImplWin32.cc:
4772         Removed.
4773         * gnu/java/net/PlainDatagramSocketImpl.java,
4774         gnu/java/net/PlainSocketImpl.java,
4775         gnu/java/net/SocketInputStream.java,
4776         gnu/java/net/SocketOutputStream.java,
4777         gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
4778         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
4779         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
4780         gnu/java/net/natPlainSocketImplNoNet.cc,
4781         gnu/java/net/natPlainSocketImplPosix.cc,
4782         gnu/java/net/natPlainSocketImplWin32.cc:
4783         New files (moved from java/net).
4784         * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
4785         instead of java/net/natPlain*SocketImpl.cc.
4786         * configure: Regenerated.
4787         * Makefile.am: Moved files from java/net to gnu/java/net.
4788         * Makefile.in: Regenerated.
4789
4790 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
4791
4792         * configure: Regenerate.
4793
4794 2003-09-04  Tom Tromey  <tromey@redhat.com>
4795
4796         * configure.host: Removed erroneous comment.
4797
4798         * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
4799         lvalue cast; use correct rvalue cast.
4800
4801 2003-09-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
4802
4803         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
4804         and height arguments to GtkWindowPeer.create method call.
4805         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4806         (create(int,int,int)): New method.
4807         (create(int)): Add call to new create method.
4808         (create()): Add width and height arguments to create method
4809         call.
4810         (GtkWindowPeer): Remove call to setBounds.
4811         * java/awt/Frame.java (Frame(String)): Initialize visible field
4812         to false.
4813         (Frame(GraphicsConfiguration)): Likewise.
4814         (Frame(String,GraphicsConfiguration)): Likewise.
4815         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
4816         Add width and height parameters.  Call
4817         gtk_window_set_default_size.
4818         (connectHooks): Remove unused name variable.
4819         (static setBounds): Call gtk_window_resize not
4820         gtk_widget_set_usize.
4821         (setBounds): Remove unused nchildren variable.
4822
4823 2003-08-31  Ingo Proetel  <proetel@aicas.com>
4824
4825         * java/util/logging/Logger.java: provide class and method information
4826         * java/util/logging/LogManager.java: create handlers
4827         * java/util/logging/SimpleFormatter.java: print souceClassName and
4828         sourceMethodName
4829
4830 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
4831
4832         * win32.cc: fixed tab, indentation and whitespace
4833         inconsistencies
4834         removed jvm.h include
4835         added includes java/lang/UnsupportedOperationException.h,
4836         java/io/IOException.h, java/net/SocketException.h
4837         (WSAEventWrapper): class implementation
4838         (_Jv_WinStrError): implemented both overloads
4839         (_Jv_ThrowIOException): implemented both overloads
4840         (_Jv_ThrowSocketException): implemented both overloads
4841         (_Jv_select): implemented
4842         * include/win32.h: fixed tab, indentation and whitespace
4843         inconsistencies
4844         wrapped <windows.h> include with  #define WIN32_LEAN_AND_MEAN
4845         added jvm.h include
4846         (WSAEventWrapper): added class declaration
4847         (_Jv_WinStrError): added both overload declarations
4848         (_Jv_ThrowIOException): added both overload declarations
4849         (_Jv_ThrowSocketException): added both overload declarations
4850         removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
4851         (_Jv_select): added declaration
4852         (_Jv_socket): removed
4853         (_Jv_connect): removed
4854         (_Jv_close): removed
4855         (_Jv_bind): removed
4856         (_Jv_accept): removed
4857         (_Jv_listen): removed
4858         (_Jv_write): removed
4859         (_Jv_read): removed
4860         * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
4861         whitespace inconsistencies
4862         replaced <windows.h> #include with <platform.h>
4863         removed jvm.h include
4864         (testCanUseGetHandleInfo): new function which tests whether Win32
4865         GetHandleInformation() call can be used with console buffer handles
4866         (only supported on >=WinNT 5.0)
4867         (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
4868         (valid): rewrote implementation using GetHandleInformation()
4869         (sync):         changed exception throwing to use error string and exception
4870         helper methods declared in include/win32.h
4871         (open): likewise
4872         (write): likewise
4873         (setLength): likewise
4874         (close): likewise
4875         (seek): likewise
4876         (getFilePointer): likewise
4877         (read): likewise
4878         * java/io/natFileWin32.cc: fixed tab, indentation and
4879         whitespace inconsistencies
4880         replaced <windows.h> #include with <platform.h>
4881         removed jvm.h include
4882         (_access): use JV_TEMP_UTF_STRING
4883         (_stat): likewise
4884         (performMkDir): use JV_TEMP_UTF_STRING
4885         (performRenameTo): likewise
4886         (performDelete): likewise
4887         (performCreate): likewise
4888         (performSetReadOnly): likewise
4889         (performSetLastModified): likewise
4890         * java/lang/natWin32Process.cc: fixed tab, indentation and
4891         whitespace inconsistencies
4892         replaced <windows.h> #include with <platform.h>
4893         removed includes gcj/cni.h, jvm.h
4894         (new_string): removed
4895         (startProcess): use JV_TEMP_UTF_STRING,
4896         changed exception throwing to use error string and exception
4897         helper methods declared in include/win32.h
4898         * java/net/natInetAddressWin32.cc: fixed tab, indentation and
4899         whitespace inconsistencies
4900         replaced <windows.h> #include with <platform.h>
4901         removed jvm.h include
4902         removed DISABLE_JAVA_NET conditional code
4903         removed POSIX conditional code not relevant to Win32
4904         (aton): use JV_TEMP_UTF_STRING
4905         removed POSIX conditional code not relevant to Win32
4906         (lookup): likewise
4907         (getLocalHostName): likewise
4908         * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
4909         whitespace inconsistencies
4910         removed unnecessary windows.h, winsock.h and gcj/cni.h includes
4911         removed DISABLE_JAVA_NET conditional code
4912         removed POSIX conditional code not relevant to Win32
4913         (winsock2GetRealNetworkInterfaces): new function to compute network
4914         interfaces via Winsock2 API
4915         (determineGetRealNetworkInterfacesFN): new function for returning
4916         a function pointer to the function used to compute network interfaces.
4917         (getRealNetworkInterfaces): implemented
4918         * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
4919         whitespace inconsistencies
4920         removed gcj/cni.h include
4921         removed DISABLE_JAVA_NET conditional code
4922         removed POSIX conditional code not relevant to Win32
4923         changed net POSIXisms to Win32isms
4924         replaced _Jv socket-related calls with their real Win32 equivalents
4925         changed exception throwing to use error string and exception
4926         helper methods declared in include/win32.h
4927         (peekData): implemented timeout support
4928         (receive): likewise
4929         * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
4930         whitespace inconsistencies
4931         removed gcj/cni.h and gcj/javaprims.h includes
4932         removed DISABLE_JAVA_NET conditional code
4933         removed POSIX conditional code not relevant to Win32
4934         changed net POSIXisms to Win32isms
4935         replaced _Jv socket-related calls with their real Win32
4936         equivalents
4937         changed exception throwing to use error string and exception
4938         helper methods declared in include/win32.h
4939         (throwConnectException): helper function for connect()
4940         (connect): implemented timeout support
4941         (accept): likewise
4942         (doRead): new helper function common to both read() method overloads,
4943         includes timeout support
4944         (read): implemented both overloads in terms of doRead()
4945         (available): implemented using ioctlsocket()
4946
4947 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
4948
4949         * java/net/natInetAddressWin32.cc,
4950         java/net/natNetworkInterfaceWin32.cc,
4951         java/net/natPlainDatagramSocketImplWin32.cc,
4952         java/net/natPlainSocketImplWin32.cc:
4953         Readded code enclosed in DISABLE_JAVA_NET defines
4954         in preparation for MinGW cleanup / networking
4955         patch
4956
4957 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
4958
4959         * Makefile.am: Fixed problems with parallel makes.
4960         (all_java_class_files): Readded definition.
4961         (all_java_class_files): New target which depends on
4962         libgcj-@gcc_version@.jar
4963         * Makefile.in: Rebuilt
4964
4965 2003-08-28  Tom Tromey  <tromey@redhat.com>
4966
4967         * Makefile.in: Rebuilt.
4968         * Makefile.am (ordinary_java_source_files): Added new files.
4969         * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
4970         friend.
4971         * java/net/URLClassLoader.java (findClass): Don't use
4972         findURLResource.  Use loader's getClass method.
4973         (URLLoader.getClass): New method.
4974         (addURL): Handle `gcjlib' URLs.
4975         (SoURLLoader): New class.
4976         (SoResource): Likewise.
4977         * gnu/gcj/protocol/gcjlib/Connection.java: New file.
4978         * gnu/gcj/protocol/gcjlib/Handler.java: New file.
4979         * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
4980         (_Jv_RegisterCoreHook): Declare.
4981         (_Jv_FindCore): Declare.
4982         * gnu/gcj/runtime/SharedLibHelper.java: New file.
4983         * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
4984         typedef.
4985         (core_hook): New function.
4986         (struct SharedLibDummy) [saved_core]: New field.
4987         (init): Set _Jv_RegisterCoreHook.  Throw exception on failure.
4988         (register_hook): Set protection domain and class loader on new
4989         class.
4990         (finalize): Free core chain.
4991         * gnu/gcj/Core.java (Core): New constructor.
4992         * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
4993         SharedLibHelper.
4994         * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
4995         (_Jv_create_core): New function.
4996         (create): Use it.
4997         (default_register_resource): New function.
4998         (_Jv_RegisterCoreHook): New global.
4999         (_Jv_RegisterResource): Use it.
5000         (core_chain_struct): Removed.
5001         (_Jv_FindCore): New function.
5002         (_Jv_FreeCoreChain): New function.
5003
5004 2003-08-29  Michael Koch  <konqueror@gmx.de>
5005
5006         * java/net/natInetAddressWin32.cc,
5007         java/net/natNetworkInterfaceWin32.cc,
5008         java/net/natPlainDatagramSocketImplWin32.cc,
5009         java/net/natPlainSocketImplWin32.cc:
5010         Removed code enclosed in DISABLE_JAVA_NET defines.
5011
5012 2003-08-26  Mohan Embar  <gnustuff@thisiscool.com>
5013
5014         * Makefile.am: (write_entries_to_file) New parameterized
5015         function for writing entries to a file one line at a time.
5016         (all_java_class_files): Removed definition.
5017         (.java.class) Removed.target.
5018         (libgcj-@gcc_version@.jar): Changed dependency to
5019         $(all_java_source_files); added compilation step which compiles
5020         all changed source files in one pass.
5021         (libgcj.la) Refactored to use write_entries_to_file.
5022         (lib-gnu-awt-xlib.la) Likewise.
5023         (install-data-local) Likewise.
5024         (write-entries-to-file-check) New target which tests write_entries_to_file.
5025         (all-recursive): Changed dependency from $(all_java_class_files)
5026         to libgcj-@gcc_version@.jar
5027         * Makefile.in: Rebuilt.
5028
5029 2003-08-26  Tom Tromey  <tromey@redhat.com>
5030
5031         * java/lang/StrictMath.java: Typo fix.
5032         * java/lang/Math.java: Typo fix.
5033
5034 2003-08-26  Stephen Crawley  <crawley@dstc.edu.au>
5035
5036         * java/lang/ThreadGroup.java (removeThread): null the 'group' field
5037         of the removed Thread.
5038
5039 2003-08-26  Mark Wielaard  <mark@klomp.org>
5040
5041         Reported by David Holmes <dholmes@dltech.com.au>.
5042         * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
5043         Collections.synchronizedMap.
5044         * java/lang/ThreadLocal.java (valueMap): Likewise.
5045
5046 2003-08-26  Mark Wielaard  <mark@klomp.org>
5047
5048         * java/security/acl/Acl.java: Fix broken p tag.
5049         * java/text/DateFormatSymbols.java: Correctly open and close li tags.
5050         * javax/swing/border/LineBorder.java: Close img tag alt attributes.
5051         * javax/swing/plaf/TreeUI.java: Likewise.
5052         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
5053         * java/util/Properties.java: Use the word umlaut, not &auml; in api
5054         documentation.
5055         * java/util/PropertyResourceBundle.java: Likewise and add closing code
5056         tag.
5057
5058 2003-08-26  Tom Tromey  <tromey@redhat.com>
5059
5060         * Makefile.in: Rebuilt.
5061         * Makefile.am: Removed all GNU-make-specific FIXME comments.
5062
5063         * java/lang/ref/Reference.java (get): Indentation fix.
5064         (clear): Comment fix.
5065         (enqueue): Likewise.
5066         (lock): Likewise.
5067         (referent): Likewise.
5068
5069 2003-08-26  Tom Tromey  <tromey@redhat.com>
5070
5071         PR java/12058:
5072         * java/lang/reflect/natArray.cc (set): Allow null as argument.
5073
5074         * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
5075         (ProxyData.getPackage): New method.
5076         (ProxyData.getProxyData): Use package name, not Package.
5077         (ClassFactory.ClassFactory): Updated.
5078
5079 2003-08-25  Scott Gilbertson  <scottg@mantatest.com>
5080         * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
5081         * Makefile.in: re-generated.
5082         * gnu/awt/j2d/IntegerGraphicsState.java
5083         (ScreenCoupledImage): new interface.
5084         (drawImage): detect ScreenCoupledImage instances.
5085         * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
5086         * gnu/awt/xlib/XEventLoop.java
5087         (createEvent): re-formatted, and rearranged to avoid null pointer.
5088         * gnu/awt/xlib/XGraphics.java
5089         (drawImage): added XOffScreenImage handling.
5090         * gnu/awt/xlib/XOffScreenImage.java: new file.
5091         * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
5092         * gnu/gcj/xlib/GC.java (copyArea): new native method.
5093         * gnu/gcj/xlib/XAnyEvent.java
5094         (TYPE_KEY_PRESS): new constant.
5095         (TYPE_KEY_RELEASE): new constant.
5096         (TYPE_MOTION_NOTIFY): new constant.
5097         (TYPE_ENTER_NOTIFY): new constant.
5098         (TYPE_LEAVE_NOTIFY): new constant.
5099         (TYPE_FOCUS_IN): new constant.
5100         (TYPE_FOCUS_OUT): new constant.
5101         (TYPE_KEYMAP_NOTIFY): new constant.
5102         (TYPE_GRAPHICS_EXPOSE): new constant.
5103         (TYPE_NO_EXPOSE): new constant.
5104         (TYPE_VISIBILITY_NOTIFY): new constant.
5105         (TYPE_CREATE_NOTIFY): new constant.
5106         (TYPE_DESTROY_NOTIFY): new constant.
5107         (TYPE_MAP_REQUEST): new constant.
5108         (TYPE_CONFIGURE_REQUEST): new constant.
5109         (TYPE_GRAVITY_NOTIFY): new constant.
5110         (TYPE_RESIZE_REQUEST): new constant.
5111         (TYPE_CIRCULATE_NOTIFY): new constant.
5112         (TYPE_CIRCULATE_REQUEST): new constant.
5113         (TYPE_PROPERTY_NOTIFY): new constant.
5114         (TYPE_SELECTION_CLEAR): new constant.
5115         (TYPE_SELECTION_REQUEST): new constant.
5116         (TYPE_SELECTION_NOTIFY): new constant.
5117         (TYPE_COLORMAP_NOTIFY): new constant.
5118         (TYPE_MAPPING_NOTIFY): new constant.
5119         * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
5120         * gnu/gcj/xlib/natGC.cc (copyArea): new method
5121         * java/awt/Component.java (createImage): changed to use peer method.
5122
5123 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
5124
5125         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
5126         name, not XLFD, to native drawString.
5127         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5128         Replace XLFD-based implementation with Pango-based
5129         implementation.
5130
5131 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
5132
5133         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
5134         GTK_WINDOW_DIALOG.  Set GTK_WINDOW_POPUP to 1.
5135
5136 2003-08-21  David Daney  <ddaney@avtrex.com>
5137
5138         Fix for PR libgcj/12013:
5139         * java/lang/ref/natReference.cc (finalize_referred_to_object):
5140         Check `cleared' field.
5141         * java/lang/ref/Reference.java (copy): Updated comments.
5142         (cleared): New field.
5143         (clear): Rewrote.
5144
5145 2003-08-21  Scott Gilbertson  <scottg@mantatest.com>
5146             Thomas Fitzsimmons  <fitzsim@redhat.com>
5147
5148         * Makefile.am (gtk_awt_peer_sources): Add
5149         gnu/java/awt/peer/GLightweightPeer.java.  Remove
5150         gnu/java/awt/GLightweightPeer.java.
5151         * gnu/java/awt/GLightweightPeer.java: Remove file.
5152         * gnu/java/awt/peer/GLightweightPeer.java: New file.
5153         * java/awt/Component.java (getToolkit): Add comment about
5154         lightweight components.
5155         * java/awt/Toolkit.java (createComponent): Return
5156         gnu.java.awt.peer.GLightweightPeer.
5157
5158 2003-08-21  Richard Earnshaw  <rearnsha@arm.com>
5159
5160         * configure.in: Fix detection of gcj when building with newlib.
5161         * configure: Regenerated.
5162
5163 2003-08-20  Graydon Hoare  <graydon@redhat.com>
5164
5165         * jni.cc: Replace "cheating" pointer-casting code with
5166         extract_from_jvalue<> template.
5167
5168 2003-08-20  Andrew Haley  <aph@redhat.com>
5169
5170         * gnu/gcj/runtime/StackTrace.java (getClass): New method.
5171         * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
5172         (classAt): Break out class lookup function into getClass().
5173         * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
5174         handlers when using -fno-assume-compiled.
5175
5176 2003-08-20  Tom Tromey  <tromey@redhat.com>
5177
5178         Fix for PR libgcj/9125:
5179         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
5180         object outside of loop.  Respect lib_control setting.
5181         * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
5182         field.
5183         (lib_control): New field.
5184         (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
5185         (VMClassLoader): Initialize new field.
5186
5187         * java/lang/ref/natReference.cc (finalize_referred_to_object):
5188         Set `list->reference' to DELETED_REFERENCE when removing dead
5189         object.
5190         (find_slot): Added an assert.
5191         (DELETED_REFERENCE): New define.
5192         (add_to_hash): Check for DELETED_REFERENCE.
5193         (remove_from_hash): Just return if found slot isn't ours.
5194
5195 2003-08-19  Andrew Haley  <aph@redhat.com>
5196
5197         * prims.cc (unblock_signal): New function.
5198         (catch_segv): Use it.
5199         (catch_fpe): Likewise.
5200
5201 2003-08-19  Danny Smith  <dannysmith@users.sourceforge.net>
5202
5203         PR libgcj/11575
5204         * java/io/natFileDescriptorWin32.cc (open): Set create
5205         flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
5206         Honor EXCL when openning with WRITE flag. 
5207
5208 2003-08-19  Mohan Embar  <gnustuff@thisiscool.com>
5209
5210         * include/jvm.h: New class _Jv_TempUTFString (helper class for
5211         getting a temporary C string from a jstring)
5212         New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
5213         but uses a stack buffer if the string length is less than 256
5214         bytes.
5215
5216 2003-08-18  Tom Tromey  <tromey@redhat.com>
5217
5218         PR libgcj/11951:
5219         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
5220         void.  Throw VirtualMachineError if ffi fails.  Initialize return
5221         value.  Added is_jni_call argument; only wrap exception if not a
5222         JNI call.  Use descriptive message if operation not supported.
5223         (_Jv_GetTypesFromSignature): Use declaring class' loader to find
5224         array class.
5225         * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
5226         * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
5227         _Jv_CallAnyMethodA.
5228         (_Jv_JNI_CallAnyMethodA): Likewise.
5229         (_Jv_JNI_CallAnyVoidMethodV): Likewise.
5230         (_Jv_JNI_CallAnyVoidMethodA): Likewise.
5231
5232 2003-08-13  Tom Tromey  <tromey@redhat.com>
5233
5234         * gij.cc (help): Document -? and -X.
5235
5236 2003-08-12  Graydon Hoare  <graydon@redhat.com>
5237
5238         * java/awt/Font.java: 
5239         Stub out more recent API. 
5240
5241 2003-08-12  Graydon Hoare  <graydon@redhat.com>
5242
5243         * java/awt/Color.java (getAlpha): 
5244         Prevent sign-extended alpha values.
5245
5246 2003-08-12  Tom Tromey  <tromey@redhat.com>
5247
5248         * gij.cc (main): Handle -? and -X.
5249
5250 2003-08-10  Jeroen Frijters  <jeroen@frijters.net>
5251
5252         * java/awt/Container.java
5253         (getPreferredSize): Call preferredSize.
5254         (preferredSize): Moved body of getPreferredSize here.
5255         (getMinimumSize): Call minimumSize.
5256         (minimumSize): Moved body of getMinimumSize here.
5257
5258 2003-08-11  Tom Tromey  <tromey@redhat.com>
5259
5260         * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
5261         (postEvent): Removed FIXME comment.
5262         (isDispatchThread): Documented.
5263         (getCurrentEvent): New method.
5264         (dispatchEvent): Set currentEvent and lastWhen.
5265         (getMostRecentEventTime): Rewrote.
5266         (invokeLater): Documented.
5267
5268 2003-08-10  Bryce McKinlay  <bryce@mckinlay.net.nz>
5269
5270         * java/io/PrintStream.java (print): Always flush if auto_flush is
5271         set. Don't check for newline characters.
5272         (write (int)): Implement without using a temporary array.
5273         (write (byte[], int, int): Always flush if auto_flush is set. Don't
5274         check for newline characters.
5275         Fixes PR libgcj/11778.
5276
5277 2003-08-08  Andrew Haley  <aph@redhat.com>
5278
5279         * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
5280         * Makefile.in: Rebuild.
5281         * java/lang/natRuntime.cc (insertSystemProperties): Add
5282         "sun.boot.class.path".
5283
5284 2003-08-07  Andrew Haley  <aph@redhat.com>
5285
5286         * java/io/PrintStream.java: Don't crash on a null string.
5287         
5288 2003-08-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5289
5290         * configure.in: Don't initialize GCINCS to boehm-gc/include.
5291         * configure: Regenerate.
5292
5293 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
5294
5295         * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
5296         SocketImpl. Update Javadoc.
5297         (bind): Call close() not impl.close() in event of exception.
5298         (connect): Likewise.
5299         Remove superfluous null checks throughout.
5300         * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
5301         Don't create an extra socket. Fix for PR libgcj/10868.
5302         (bind): Clean up exception handling.
5303         Remove superfluous null checks throughout.
5304
5305 2003-08-07  Jacob Gladish <gladish@spinnakernet.com>
5306             Bryce McKinlay  <bryce@mckinlay.net.nz>
5307
5308         * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
5309         ready-to-write argument to _Jv_Select. Reset the socket back to 
5310         non-blocking state after connecting.
5311         (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
5312         Throw SocketTimeoutException not InterruptedIOException.
5313         (read): Throw SocketTimeoutException not InterruptedIOException.
5314
5315 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
5316
5317         * java/lang/Thread.java (Thread): Check for null "name" from
5318         start of private constructor, not after calling the private
5319         constructor.
5320
5321 2003-08-06  Tom Tromey  <tromey@redhat.com>
5322
5323         * java/io/FilePermission.java (equals): Use correct index for
5324         last character of path.
5325
5326 2003-08-06  Alan Modra  <amodra@bigpond.net.au>
5327
5328         * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
5329         * configure.in: Compare with_cross_host to build_alias, not build.
5330         * aclocal.m4: Regenerate.
5331         * configure: Regenerate.
5332
5333 2003-08-05  Tom Tromey  <tromey@redhat.com>
5334
5335         Fix for PR libgcj/11779:
5336         * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
5337         class.
5338
5339         * java/lang/reflect/Method.java: Updated status comment.
5340         Imported javadoc from Classpath and re-ordered methods.
5341         * java/lang/reflect/Constructor.java: Reindented.  Updated
5342         status comment.  Imported javadoc from Classpath and re-ordered
5343         methods.
5344
5345 2003-08-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
5346
5347         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
5348         Add keyLocation parameter.
5349         * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
5350         string.
5351         (paramString): Generate keyChar string according to keyChar, not
5352         keyCode.
5353         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5354         (state_to_awt_mods): Handle ALT key.
5355         (keyevent_state_to_awt_mods): New function.
5356         (get_first_keyval_from_keymap): New function.
5357         (keysym_to_awt_keycode): Get virtual key code from keymap.
5358         Handle missing VK_ values.
5359         (keysym_to_awt_keylocation): New function.
5360         (keyevent_to_awt_keychar): New function.
5361         (generates_key_typed_event): Handle non-text-component case.
5362         Handle GDK_KP_Delete and GDK_KP_Enter.
5363         (awt_event_handler): Call new functions to get postKeyEvent
5364         parameters.
5365         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
5366         Update postKeyEvent method signature.
5367         * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines.  Add missing
5368         VK_ defines.
5369
5370 2003-08-05  Matthias Klose  <doko@debian.org>
5371
5372         * aclocal.m4: check for libart-config binary
5373           under the name libart2-config as well.
5374         * configure: regenerated.
5375
5376 2003-08-04  David P Grove  <groved@us.ibm.com>
5377
5378         * java/text/DecimalFormat.java (format): avoid ArithmeticException
5379         when groupingSize is 0.
5380         (parse): Likewise.
5381
5382 2003-08-04  Matthias Klose  <doko@debian.org>
5383
5384         * libart.m4: check for libart-config binary
5385           under the name libart2-config as well.
5386         * configure, aclocal.m4: regenerated.
5387
5388 2003-08-02  Michael Koch  <konqueror@gmx.de>
5389
5390         * java/nio/ByteBufferImpl.java
5391         (getChar): Check remaining bytes, fixed comment about endianess.
5392         (putChar): Likewise.
5393         (getShort): Likewise.
5394         (putShort): Likewise.
5395         (getInt): Check remaining bytes, fixed conversion, fixed comment about
5396         endianess.
5397         (putInt): Likewise.
5398         (getLong): Likewise.
5399         (putLong): Likewise.
5400         (getFloat): Likewise.
5401         (putFloat): Likewise.
5402         (getDouble): Likewise.
5403         (putDouble): Likewise.
5404         * java/nio/DirectByteBufferImpl.java
5405         (getChar): Wrapped code, fixed comment about endianess.
5406         (putchar): Likewise.
5407         (getShort): Likewise.
5408         (putShort): Likewise.
5409         (getInt): Fixed conversion, fixed comment about endianess.
5410         (putInt): Likewise.
5411         (getLong): Likewise.
5412         (putLong): Likewise.
5413         (getFloat): Likewise.
5414         (putFloat): Likewise.
5415         (getDouble): Likewise.
5416         (putDouble): Likewise.
5417         * java/nio/MappedByteBufferImpl.java
5418         (compact): Implemented.
5419         (getChar): Implemented.
5420         (putChar): Implemented.
5421         (getDouble): Implemented.
5422         (putdouble): Implemented.
5423         (getFloat): Implemented.
5424         (putFloat): Implemented.
5425         (getInt): Implemented.
5426         (putInt): Implemented.
5427         (getLong): Implemented.
5428         (putLong): Implemented.
5429         (getShort): Implemented.
5430         (putShort): Implemented.
5431         * java/nio/channels/FileChannelImpl.java
5432         (read): Set position where to access file.
5433         (write): Likewise.
5434         (transferTo): Flip buffer after read and before write.
5435         (transferFrom): Likewise.
5436
5437 2003-08-02  Michael Koch  <konqueror@gmx.de>
5438
5439         * gnu/java/lang/ArrayHelper.java
5440         (equalsArray): Reformated, added method documentation.
5441
5442 2003-08-02  Michael Koch  <konqueror@gmx.de>
5443
5444         * java/net/URL.java
5445         (URL): Added paragraph about the
5446         gnu.java.net.nocache_protocol_handlers property.
5447         (ph_cache): Renamed from handlers to match classpath's implementation.
5448         Reordered it with factory and serialVersionUID member variables.
5449         (cache_handlers): New member variable.
5450         (static): New static initializer to initialize cache_handlers from
5451         gnu.java.net.nocache_protocol_handlers property.
5452         (URL): Use ph_cache instead of handlers, reformatted some code to
5453         match classpath's implementation.
5454
5455 2003-08-01  Tom Tromey  <tromey@redhat.com>
5456
5457         Fix for PR libgcj/11241:
5458         * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
5459         initialCapacity is 0, set it to 1.
5460
5461 2003-08-01  Stephen Crawley <crawley@dstc.edu.au>
5462
5463         * java/net/SocketImpl.java (toString): Display the remote address
5464         of an unconnected server socket as "0.0.0.0/0.0.0.0".
5465
5466 2003-08-01  Sascha Brawer  <brawer@dandelis.ch>
5467
5468         * javax/swing/border/BevelBorder.java,
5469         javax/swing/border/EtchedBorder.java,
5470         javax/swing/border/LineBorder.java,
5471         javax/swing/border/MatteBorder.java,
5472         javax/swing/border/SoftBevelBorder.java,
5473         javax/swing/plaf/BorderUIResource.java,
5474         javax/swing/plaf/ComponentUI.java,
5475         javax/swing/plaf/TreeUI.java,
5476         javax/swing/plaf/basic/BasicBorders.java,
5477         javax/swing/plaf/basic/BasicGraphicsUtils.java,
5478         javax/swing/plaf/basic/BasicTreeUI.java:
5479         Prepend "doc-files" to all paths to embedded Javadoc images, so
5480         that the generated documentation contains the correct URL.
5481
5482 2003-08-01  Tom Tromey  <tromey@redhat.com>
5483
5484         * configure: Rebuilt.
5485         * configure.in (tool_include_dir): Redefine to match gcc.
5486
5487 2003-08-01  Jerry Quinn  <jlquinn@optonline.net>
5488             Mark Wielaard  <mark@klomp.org>
5489             
5490         * java/math/BigDecimal (divide): Correctly handle
5491         ROUND_HALF_EVEN when amount is greater than 0.5.
5492         Simplify and optimize code.
5493
5494 2003-07-31  Tom Tromey  <tromey@redhat.com>
5495
5496         More for PR libgcj/11737:
5497         * java/io/ObjectInputStream.java (processResolution): Use
5498         getMethod.
5499         (getMethod): Make method accessible.
5500         (getField): Make field accessible.
5501         (setBooleanField): Don't call setAccessible here.
5502         (setByteField, setCharField, setDoubleField, setFloatField,
5503         setIntField, setLongField, setShortField, setObjectField):
5504         Likewise.
5505         (callReadMethod): Don't check whether method is null.  Catch
5506         NoSuchMethodException.
5507         * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
5508         cause on thrown exceptions.
5509
5510 2003-07-31  Stepan Koltsov  <yozh@mx1.ru>
5511
5512         Fix for PR libgcj/11728:
5513         * java/util/HashMap.java (readObject): Set size.
5514
5515 2003-07-31  Tom Tromey  <tromey@redhat.com>
5516
5517         Fix for PR libgcj/11737:
5518         * java/io/ObjectOutputStream.java (getMethod): Make method
5519         accessible.
5520         (getField): Likewise.
5521         (writeObject): Use getMethod.
5522         Import PrivilegedAction and AccessController.
5523         (callWriteMethod): Don't check whether m is null.  Catch
5524         NoSuchMethodException.
5525
5526         * java/awt/geom/Arc2D.java (getBounds2D): Implement.
5527         (containsAngle): Likewise.
5528         (getStartPoint): Rewrote.
5529         (getEndPoint): Likewise.
5530         (setAngleStart(Point2D)): Likewise.
5531
5532 2003-07-31  Roger Sayle  <roger@eyesopen.com>
5533             Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5534
5535         * configure.in: Add new THREADCXXFLAGS variable.
5536         Handle POSIX threads on alpha*-dec-osf*.
5537         * configure: Regenerate.
5538         * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
5539         * Makefile.in: Regenerate.
5540
5541 2003-07-08  Andrew Haley  <aph@redhat.com>
5542
5543         * include/i386-signal.h (RESTORE): New.
5544         (INIT_SEGV): Set restorer.
5545         (INIT_FPE): Likewise.
5546
5547 2003-07-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
5548
5549         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
5550         than getXLFD.
5551         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
5552         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
5553         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
5554         (gtkSetFont): Scale size parameter by PANGO_SCALE.
5555         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
5556         Likewise.
5557         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
5558         Likewise.
5559
5560 2003-07-29  Tom Tromey  <tromey@redhat.com>
5561
5562         * defineclass.cc (handleField): Throw exception if field name is
5563         duplicated.
5564         (handleMethod): Throw exception for duplicate method.
5565
5566 2003-07-29  Tom Tromey  <tromey@redhat.com>
5567
5568         * gnu/gcj/convert/natIconv.cc (write): Handle case where
5569         output buffer is too small.
5570
5571 2003-07-28  Tom Tromey  <tromey@redhat.com>
5572
5573         * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
5574         New method.
5575         Include gnu/gcj/runtime/StringBuffer.h.
5576         * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
5577         native method.
5578         (String(gnu.gcj.runtime.StringBuffer)): Use it.
5579
5580 2003-07-27  Anthony Green  <green@redhat.com>
5581
5582         * configure.in: Fix newlib check.
5583         * configure: Rebuilt.
5584
5585 2003-07-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
5586
5587         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
5588         Create vbox and layout for GtkPlug.
5589
5590 2003-07-27  Michael Koch  <konqueror@gmx.de>
5591
5592         * java/awt/Window.java
5593         (Window): Removed now unused constructor. It became oboslete with the
5594         new embedded window patch.
5595
5596 2003-07-27  Thomas Fitzsimmons <fitzsim@redhat.com.h> 
5597             Michael Koch  <konqueror@gmx.de>
5598
5599         * gnu/java/awt/EmbeddedWindow.java
5600         (EmbeddedWindow): Extends Frame instead of Window.
5601         (window_id): New member variable to store the native window handle.
5602         (create): Removed.
5603         (EmbeddedWindow): New constructor.
5604         (addNotify): New method.
5605         (getHandler): Likewise.
5606         (setWindowPeer): New native method.
5607         * gnu/java/awt/EmbeddedWindowSupport.java
5608         (EmbeddedWindowSupport): Fixed documentation.
5609         (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
5610         WindowPeer, give it an EmbeddedWindow instance instead of the raw
5611         window data.
5612         * gnu/java/awt/natEmbeddedWindow.cc
5613         (create): Removed.
5614         (setWindowPeer): New method.
5615         * gnu/java/awt/peer/EmbeddedWindowPeer.java,
5616         gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
5617         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
5618         New files
5619         * gnu/java/awt/peer/gtk/GtkToolkit.java
5620         (GtkToolkit): Implements EmbeddedWindowSupport.
5621         (createEmbeddedWindow): New method.
5622         * java/awt/Window.java
5623         (Window): Removed.
5624         * Makefile.am
5625         (java_source_files): Added EmbeddedWindowPeer.java.
5626         (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
5627         (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
5628         * Makefile.in: Regenerated.
5629
5630 2003-07-26  Ranjit Mathew  <rmathew@hotmail.com>
5631
5632         * java/lang/Win32Process.java (ConcreteProcess): Surround
5633         a command line element with quotes if it contains an
5634         embedded space or tab.
5635         * java/lang/natWin32Process.cc (startProcess): Do not
5636         surround command line elements with quotes here.
5637
5638         * configure.host: Use -fcheck-references and 
5639         -fuse-divide-subroutine for MinGW until we fix
5640         win32_exception_handler( ) in win32.cc w.r.t. Win32 
5641         Structured Exception Handling (SEH).
5642
5643         * win32.cc (_Jv_platform_initProperties): Use generic names
5644         like "x86" for the "os.arch" property to be consistent with
5645         what Sun's JDK produces. Use the wProcessorArchitecture
5646         member of the Win32 SYSTEM_INFO structure, filled in a call 
5647         to GetSystemInfo( ), instead of dwProcessorType.
5648
5649 2003-07-26  Mohan Embar  <gnustuff@thisiscool.com>
5650             Ranjit Mathew  <rmathew@hotmail.com>
5651
5652         * Makefile.am: Use cross-compiling gcjh from the path for
5653         a crossed-native build.
5654         * Makefile.in: Rebuilt.
5655         * configure.in: Include libltdl in non-newlib builds.
5656         Moved determination of gcj used to build libraries to
5657         its own section. Fixed cross-compilation issues for
5658         non-newlib builds.
5659         * configure: Rebuilt.
5660
5661 2003-07-25  Tom Tromey  <tromey@redhat.com>
5662
5663         * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
5664         (write): Likewise.
5665         (read): Likewise.
5666         (read): Likewise.
5667
5668 2003-07-25  Mark Wielaard  <mark@klomp.org>
5669
5670         * java/lang/natRuntime.cc (_load): Add library name to
5671         UnsatisfiedLinkError when thrown.
5672
5673 2003-07-25  Mark Wielaard  <mark@klomp.org>
5674
5675         * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
5676         added.
5677         * Makefile.in: Likewise.
5678
5679 2003-07-25  Jeroen Frijters  <jeroen@frijters.net>
5680
5681         * java/awt/Component.java
5682         (getPreferredSize): Call preferredSize.
5683         (preferredSize): Moved body of getPreferredSize here.
5684         (getMinimumSize): Call minimumSize.
5685         (minimumSize): Moved body of getMinimumSize here.
5686         (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
5687         (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
5688         pass -1
5689         * java/awt/Container.java
5690         (validate): Don't validate if there is no peer.
5691         (update): Clear background before calling paint.
5692         * java/awt/GridBagLayout.java
5693         Completed the implementation and fixed several bugs.
5694         * java/awt/MediaTracker.java
5695         (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
5696         combine flags.
5697         * java/awt/Window.java
5698         (Window): Don't call setVisible(false). Windows are invisible by
5699         default and calling virtual methods from constructor causes
5700         compatibility problems (e.g. subclasses may assume that the peer
5701         already exists).
5702
5703 2003-07-25  Michael Koch  <konqueror@gmx.de>
5704
5705         * java/awt/GridBagLayout.java:
5706         Totally reworked and partly implemented.
5707         * java/awt/GridBagLayoutInfo.java:
5708         New file.
5709
5710 2003-07-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
5711
5712         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
5713         Don't pack label in an event box.
5714
5715 2003-07-24  Tom Tromey  <tromey@redhat.com>
5716
5717         For PR libgcj/7482:
5718         * verify.cc (ref_intersection): New class.
5719         (type_val): Removed unresolved_reference_type,
5720         uninitialized_unresolved_reference_type.
5721         (is_assignable_from_slow): Rewrote.
5722         (type::data): Removed.
5723         (type::klass): New field.
5724         (type::type): Added verifier argument.
5725         (type::resolve): Removed.
5726         (type::set_uninitialized): Updated for change to type_val.
5727         (type::set_initialized): Likewise.
5728         (type::isinitialized): Likewise.
5729         (type::print): Likewise.
5730         (construct_primitive_array_type): Likewise.
5731         (type::compatible): Updated for change to type_val and to use
5732         ref_intersection.
5733         (type::isarray): Updated to use ref_intersection.
5734         (type::isinterface): Likewise.
5735         (type::element_type): Likewise.
5736         (type::to_array): Likewise.
5737         (type::verify_dimensions): Rewrote.
5738         (type::merge): Likewise.
5739         (check_class_constant): Updated for type constructor change.
5740         (check_constant): Likewise.
5741         (check_field_constant): Likewise.
5742         (get_one_type): Likewise.
5743         (initialize_stack): Likewise.
5744         (verify_instructions_0): Likewise.
5745         (verify_instructions_0) [op_invokeinterface]: Removed special
5746         case.
5747         (isect_list): New field.
5748         (_Jv_BytecodeVerifier): Initialize it.
5749         (~_Jv_BytecodeVerifier): Destroy ref_intersection objects. 
5750
5751 2003-07-24  H. Väisänen  <hvaisane@joyx.joensuu.fi>
5752
5753         * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
5754         unless field size is 2.
5755
5756 2003-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
5757
5758         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5759         (connectHooks): New method.
5760         (handleEvent): Remove.
5761         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
5762         (createHooks): Remove declaration.
5763         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5764         (generates_key_typed_event): Change to handle only certain
5765         keyvals.
5766         (awt_event_handler): Add special handling for GtkTextView.
5767         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
5768         (textcomponent_commit_cb): New function.
5769         (textcomponent_changed_cb): Likewise.
5770         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
5771         (connectHooks): Remove.
5772
5773 2003-07-23  Tom Tromey  <tromey@redhat.com>
5774
5775         * java/lang/natSystem.cc (arraycopy): Check for overflow.
5776
5777         * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
5778
5779 2003-07-22  Tom Tromey  <tromey@redhat.com>
5780
5781         * boehm.cc (_Jv_BuildGCDescr): Wrote.
5782         Include limits.h.
5783
5784 2003-07-22  Tom Tromey  <tromey@redhat.com>
5785
5786         * java/awt/Window.java (getWarningString): Just return the
5787         string.
5788         (Window): Set warningString; check with security manager.
5789
5790 2003-07-22  Scott Gilbertson  <scottg@mantatest.com>
5791
5792         * gnu/awt/xlib/XGraphicsConfiguration.java
5793         (FontMetricsCache): Made static.
5794  
5795 2003-07-22  Tom Tromey  <tromey@redhat.com>
5796
5797         * java/net/URLEncoder.java (encode(String)): Use platform default
5798         encoding.
5799         (encode(String,String)): Convert to 2-digit upper-case hex
5800         number.
5801         (hex): New field.
5802
5803 2003-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
5804
5805         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5806         (create): Remove unused method implementation.
5807         (connectHooks): Remove debug messages.
5808
5809 2003-07-20  Anthony Green  <green@redhat.com>
5810
5811         * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
5812         CloneNotSupportedException.
5813         * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
5814         * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
5815         * gnu/gcj/xlib/GC.java (clone): Ditto.
5816         * gnu/awt/xlib/XGraphics.java (clone): Ditto.
5817         * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
5818
5819         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
5820         handler.
5821         * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
5822
5823 2003-07-20  Steve Pribyl <steve@netfuel.com.>
5824
5825         * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
5826         String.  Put dlerror() message into exception.
5827         Include UnsatisfiedLinkError.
5828         * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
5829         String.  Now native.
5830
5831 2003-07-20  Tom Tromey  <tromey@redhat.com>
5832
5833         * java/lang/Runtime.java: Comment fix.
5834         * java/lang/ClassLoader.java (isAncestorOf): New method.
5835         (getParent): Uncommented security check.  Use isAncestorOf.
5836         * include/jvm.h (_Jv_CheckAccess): Declare.
5837         * java/lang/reflect/natConstructor.cc (newInstance): Perform
5838         access check.
5839         Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
5840         * java/lang/reflect/natArray.cc (newInstance): Pass caller's
5841         class loader to _Jv_GetArrayClass.
5842         Include ArrayIndexOutOfBoundsException.h.
5843         * java/lang/reflect/Field.java: Update comment to reflect status.
5844         (equals): Fixed indentation.
5845         * java/lang/Class.h (Class): Declare memberAccessCheck, not
5846         checkMemberAccess.  Make _Jv_CheckAccess a friend.
5847         * java/lang/Class.java (memberAccessCheck): New method from
5848         Classpath.
5849         (checkMemberAccess): Removed.
5850         (getDeclaredMethod): Use memberAccessCheck.
5851         (getField): Likewise.
5852         (getMethod): Likewise.
5853         * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
5854         (_Jv_SearchMethodInClass): Likewise.
5855         * prims.cc (_Jv_CheckAccess): New function.
5856         * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
5857         (_Jv_JNI_GetAnyFieldID): Likewise.
5858         * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
5859         (getClassLoader): Added security check.
5860         (getConstructor): Call memberAccessCheck.
5861         (getDeclaredClasses): Likewise.
5862         (getDeclaredField): Likewise.
5863         (getDeclaredFields): Likewise.
5864         (_getConstructors): Likewise.
5865         (getDeclaredConstructor): Likewise.
5866         (getDeclaredMethods): Likewise.
5867         (getFields): Likewise.
5868         (getMethods): Likewise.
5869         (newInstance): Likewise.
5870         (_Jv_MakeVTable): Put method name in exception.
5871         * java/lang/reflect/natMethod.cc (getType): Use
5872         getClassLoaderInternal.
5873         (_Jv_GetTypesFromSignature): Likewise.
5874         (invoke): Perform access check.
5875         (_Jv_CallAnyMethodA): Removed old FIXME comments.
5876         Include ArrayIndexOutOfBoundsException.h.
5877         * java/lang/reflect/natField.cc (getType): Use
5878         getClassLoaderInternal.
5879         (_Jv_CheckFieldAccessibility): Removed.
5880         (getAddr): Use _Jv_CheckAccess; find caller.
5881         Include ArrayIndexOutOfBoundsException.h.
5882
5883 2003-07-20  Michael Koch  <konqueror@gmx.de>
5884
5885         * java/net/URL.java
5886         (URL): Fixed documentation to name an argument correcty, Reformatted
5887         one method declaration.
5888         (getURLStreamHandler): Added documentation from classpath.
5889
5890 2003-07-19  Tom Tromey  <tromey@redhat.com>
5891
5892         * mauve-libgcj: Don't run CollationElementIterator tests.
5893
5894 2003-07-19  Jeroen Frijters <jeroen@sumatra.nl>
5895
5896         * java/net/URLClassLoader.java (addURL): Moved implementation to
5897         private addURLImpl() to avoid calling addURL from the constructor.
5898         (addURLImpl): Contains the code that was previously in addURL.
5899         (addURLs): Call addURLImpl(), not addURL().
5900
5901 2003-07-18  Graydon Hoare  <graydon@redhat.com>
5902
5903         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 
5904         Handle missing event cases, connect to "value-changed" signal.
5905
5906 2003-07-18  Graydon Hoare  <graydon@redhat.com>
5907
5908         * java/awt/geom/CubicCurve2D.java,
5909         java/awt/geom/Line2D.java,
5910         java/awt/geom/QuadCurve2D.java,
5911         java/awt/geom/Rectangle2D.java: 
5912         Fix path some calculations, make path iterators follow
5913         a consistent style.
5914
5915 2003-07-18  Mark Wielaard  <mark@klomp.org>
5916
5917         * java/util/logging/Handler.java (isLoggable): Check record level
5918         smaller or equal.
5919
5920 2003-07-17  Michael Koch  <konqueror@gmx.de>
5921
5922         * gnu/java/awt/peer/gtk/GtkToolkit.java:
5923         Reworked imports.
5924
5925 2003-07-14  Michael Koch  <konqueror@gmx.de>
5926
5927         * gnu/java/rmi/server/UnicastServerRef.java:
5928         New version from classpath.
5929
5930 2003-07-14  Michael Koch  <konqueror@gmx.de>
5931
5932         * java/awt/image/MemoryImageSource.java,
5933         java/beans/PropertyEditorManager.java,
5934         javax/naming/CompoundName.java,
5935         javax/naming/spi/NamingManager.java,
5936         javax/swing/AbstractButton.java,
5937         javax/swing/ButtonModel.java,
5938         javax/swing/SwingUtilities.java,
5939         javax/swing/UIManager.java,
5940         javax/swing/colorchooser/DefaultColorSelectionModel.java,
5941         javax/swing/event/AncestorEvent.java,
5942         javax/swing/event/InternalFrameEvent.java,
5943         java/util/zip/ZipFile.java:
5944         New versions from classpath.
5945
5946 2003-07-13  Michael Koch  <konqueror@gmx.de>
5947
5948         * gnu/java/nio/FileChannelImpl.java,
5949         gnu/java/nio/natFileChannelImpl.cc: Removed.
5950         * java/io/FileInputStream.java,
5951         java/io/FileOutputStream.java,
5952         java/io/RandomAccessFile.java,
5953         java/nio/MappedByteBufferImpl.java:
5954         Import java.nio.channels.FileChannelImpl instead of
5955         gnu.java.nio.FileChannelImpl.
5956         * java/nio/channels/FileChannelImpl.java,
5957         java/nio/channels/natFileChannelImpl.cc:
5958         New files.
5959         * Makefile.am
5960         (ordinary_java_source_files):
5961         Removed gnu/java/nio/FileChannelImpl.java and added
5962         java/nio/channels/FileChannelImpl.java.
5963         (nat source_files):
5964         Removed gnu/java/nio/natFileChannelImpl.cc and added
5965         java/nio/channels/natFileChannelImpl.cc.
5966         * Makefile.in: Regenerated.
5967
5968 2003-07-13  Michael Koch  <konqueror@gmx.de>
5969
5970         * javax/swing/plaf/basic/BasicBorders.java,
5971         javax/swing/plaf/basic/BasicLabelUI.java,
5972         javax/swing/plaf/basic/BasicLookAndFeel.java,
5973         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5974         javax/swing/plaf/basic/BasicTextUI.java,
5975         javax/swing/plaf/metal/MetalLookAndFeel.java:
5976         New versions from classpath.
5977
5978 2003-07-13  Michael Koch  <konqueror@gmx.de>
5979
5980         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
5981         * gnu/java/awt/peer/gtk/GdkGraphics.java
5982         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
5983         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
5984         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
5985         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
5986         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
5987         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
5988         * gnu/java/awt/peer/gtk/GtkClipboard.java
5989         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
5990         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
5991         * gnu/java/awt/peer/gtk/GtkFramePeer.java
5992         * gnu/java/awt/peer/gtk/GtkGenericPeer.java
5993         * gnu/java/awt/peer/gtk/GtkImage.java
5994         * gnu/java/awt/peer/gtk/GtkImagePainter.java
5995         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
5996         * gnu/java/awt/peer/gtk/GtkListPeer.java
5997         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
5998         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
5999         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
6000         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
6001         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
6002         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
6003         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
6004         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
6005         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
6006         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
6007         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
6008         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
6009
6010 2003-07-13  Michael Koch  <konqueror@gmx.de>
6011
6012         * gnu/java/locale/LocaleInformation_de.java
6013         * gnu/java/locale/LocaleInformation_en.java
6014         * gnu/java/locale/LocaleInformation_nl.java
6015
6016 2003-07-13  Michael Koch  <konqueror@gmx.de>
6017
6018         * gnu/java/awt/EmbeddedWindow.java,
6019         gnu/java/awt/EmbeddedWindowSupport.java,
6020         gnu/java/awt/natEmbeddedWindow.cc:
6021         New files.
6022         * java/awt/Window.java
6023         (Window): New constructor to support embedded windows.
6024         * Makefile.am
6025         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
6026         gnu/java/awt/EmbeddedWindowSupport.java.
6027         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
6028         * Makefile.in: Regenerated.
6029
6030 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
6031
6032         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
6033         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
6034         * java/awt/im/InputContext.java: Remove a redundant
6035         partial line.
6036
6037 2003-07-09  Tom Tromey  <tromey@redhat.com>
6038
6039         * Makefile.in: Rebuilt.
6040         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
6041
6042 2003-07-09  Mark Wielaard  <mark@klomp.org>
6043
6044         * java/io/ObjectOutputStream.java (writeObject): break after
6045         calling writeClassDescriptor().
6046
6047 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
6048
6049         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
6050
6051 2003-07-09  Michael Koch  <konqueror@gmx.de>
6052
6053         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6054         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
6055         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
6056         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
6057         Explicitly import used classes.
6058         * java/awt/Container.java: New version from classpath.
6059
6060 2003-07-09  Michael Koch  <konqueror@gmx.de>
6061
6062         * libgcj.pc.in: New file.
6063         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
6064         * Makefile.in: Regenerated.
6065         * configure: Regenrated.
6066         * configure.in: Create libgcj.pc from libgcj.pc.in.
6067
6068 2003-07-08  Mark Wielaard <mark@klomp.org>
6069
6070         * gcj/cni.h: CNI now expands to Compiled Native Interface.
6071
6072         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
6073         * java/lang/fdlibm.h: Likewise.
6074
6075 2003-07-07  Adam Megacz <adam@xwt.org>
6076
6077         * posix.cc: added #include<stdio.h>
6078                 
6079 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
6080
6081         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
6082         formatting.
6083
6084         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
6085         (setCaretPosition, setEditable): Rely entirely on native
6086         implementation.
6087         (getArgs): Remove.
6088         (postTextEvent): New method.
6089         (handleEvent): New method.
6090         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
6091         method.
6092         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
6093         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6094         (keysym_to_awt_keycode): Fix range checks.
6095         (generates_key_typed_event): New function.
6096         (awt_event_handler): Post AWT_KEY_RELEASED events to event
6097         queue.
6098         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6099         (gtkInit): Store TextComponent's postTextEvent method ID.
6100         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
6101         (setText): Post TEXT_VALUE_CHANGED event to event queue.
6102
6103 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
6104
6105         * configure.in: Check for usleep declaration.
6106         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
6107         * configure: Regenerate.
6108         * include/config.h.in: Likewise.
6109         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
6110
6111 2003-07-01  Michael Koch  <konqueror@gmx.de>
6112
6113         * gnu/gcj/convert/natIconv.cc
6114         (iconv_init): Fixed possible memory leak by releasing allocated iconv
6115         handle.
6116
6117 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
6118
6119         * glib-2.0.m4: New file.
6120         * gtk-2.0.m4: New file.
6121         * glib.m4: Remove.
6122         * gtk.m4: Remove.
6123         * configure.in: Update AM_PATH_GTK macro call to
6124         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
6125         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
6126         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
6127         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
6128         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
6129         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
6130         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
6131         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
6132         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
6133         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
6134         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
6135         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
6136         jni/gtk-peer/gthread-jni.c,
6137         jni/gtk-peer/gthread-jni.h:
6138         New versions from classpath.
6139         * aclocal.m4: Regenerate.
6140         * configure: Regenerate.
6141         * Makefile.in: Regenerate.
6142         * gcj/Makefile.in: Regenerate.
6143         * include/Makefile.in: Regenerate.
6144         * testsuite/Makefile.in: Regenerate.
6145
6146 2003-06-30  Gary Benson  <gbenson@redhat.com>
6147
6148         For PR libgcj/11349:
6149         * javax/naming/spi/NamingManager.java (getURLContext): Use
6150         correct name for factory class.
6151
6152 2003-06-28  Michael Koch  <konqueror@gmx.de>
6153
6154         * java/io/PrintStream.java
6155         (checkError): Call flush() instead of direct flushing of the Writer
6156         object.
6157         (print): Call print(String) instead of direct print method of the
6158         Writer Object.
6159         (println): Call println(String) instead of direct println method of the
6160         Writer Object.
6161         (write): Simplified.
6162
6163 2003-06-28  Michael Koch  <konqueror@gmx.de>
6164
6165         * java/net/ServerSocket.java
6166         (setChannel): New method.
6167         * java/net/Socket.java
6168         (setChannel): New method.
6169
6170 2003-06-27  Michael Koch  <konqueror@gmx.de>
6171
6172         * java/beans/beancontext/BeanContextSupport.java:
6173         New version from classpath.
6174
6175 2003-06-27  Michael Koch  <konqueror@gmx.de>
6176
6177         * java/awt/Window.java,
6178         java/awt/font/GraphicAttribute.java,
6179         java/awt/font/ImageGraphicAttribute.java,
6180         java/awt/image/DataBufferByte.java,
6181         java/awt/image/DataBufferInt.java,
6182         java/awt/image/DataBufferUShort.java,
6183         java/awt/image/DirectColorModel.java,
6184         java/awt/image/PixelGrabber.java:
6185         New versions from classpath.
6186
6187 2003-06-27  Michael Koch  <konqueror@gmx.de>
6188
6189         * java/security/Certificate.java
6190         (getGuarantor): Removed wrong @deprecated tag.
6191         (getPrincipal): Likewise.
6192         (getPublicKey): Likewise.
6193         (encode): Likewise.
6194         (decode): Likewise.
6195         (getFormat): Likewise.
6196         (toString): Likewise.
6197         * java/security/cert/PolicyQualifierInfo.java
6198         (PolicyQualifierInfo): Made final.
6199         * javax/security/auth/x500/X500Principal.java
6200         (serialVersionUID): New member variable.
6201
6202 2003-06-27  Michael Koch  <konqueror@gmx.de>
6203
6204         * java/text/Format.java
6205         (serialVersionUID): Fixed value.
6206
6207 2003-06-27  Michael Koch  <konqueror@gmx.de>
6208
6209         * java/net/Inet4Address.java
6210         (Inet4Address): Made package-private.
6211         * java/net/Inet6Address.java
6212         (Inet4Address): Made package-private.
6213
6214 2003-06-27  Michael Koch  <konqueror@gmx.de>
6215
6216         * java/io/RandomAccessFile.java
6217         (readLine): Removed wrong @deprecated tag.
6218         (getChannel): Made final.
6219
6220 2003-06-27  Michael Koch  <konqueror@gmx.de>
6221
6222         * gnu/java/nio/FileChannelImpl.java
6223         (write): Removed.
6224
6225 2003-06-27  Michael Koch  <konqueror@gmx.de>
6226
6227         * java/nio/ByteBufferImpl.java
6228         (ByteBufferImpl): Made it a package-private class
6229         * java/nio/CharBufferImpl.java
6230         (CharBufferImpl): Made it a package-private class
6231         * java/nio/DirectByteBufferImpl.java
6232         (DirectByteBufferImpl): Made it a package-private class
6233         * java/nio/DoubleBufferImpl.java
6234         (DoubleBufferImpl): Made it a package-private class
6235         * java/nio/FloatBufferImpl.java
6236         (FloatBufferImpl): Made it a package-private class
6237         * java/nio/IntBufferImpl.java
6238         (IntBufferImpl): Made it a package-private class
6239         * java/nio/LongBufferImpl.java
6240         (LongBufferImpl): Made it a package-private class
6241         * java/nio/ShortBufferImpl.java
6242         (ShortBufferImpl): Made it a package-private class
6243         * java/nio/channels/FileChannel.java
6244         (write): Made final.
6245         * java/nio/channels/ServerSocketChannel.java
6246         (ServerSocketChanne): Made protected.
6247
6248 2003-06-27  Michael Koch  <konqueror@gmx.de>
6249
6250         * javax/naming/CompositeName.java
6251         (serialVersionUID): New member variable.
6252         * javax/naming/CompoundName.java
6253         (serialVersionUID): New member variable.
6254         * javax/naming/InitialContext.java
6255         (InitialContext): Throws NamingException.
6256         (init): Likewise.
6257         * javax/naming/LinkRef.java
6258         (serialVersionUID): New member variable.
6259         (gteLinkName): Throws NamingException.
6260         * javax/naming/NamingException.java
6261         (serialVersionUID): New member variable.
6262         * javax/naming/NamingSecurityException.java
6263         (NamingSecurityException): Made abstract.
6264         (serialVersionUID): New member variable.
6265         * javax/naming/ReferralException.java
6266         (serialVersionUID): New member variable.
6267         * javax/naming/StringRefAddr.java
6268         (serialVersionUID): New member variable.
6269         * javax/naming/directory/BasicAttribute.java:
6270         Reworked imports.
6271         (serialVersionUID): New member variable.
6272         (get): Throws NamingException.
6273         (getAll): Throws NamingException.
6274         * javax/naming/directory/BasicAttributes.java:
6275         Reworked imports.
6276         (serialVersionUID): New member variable.
6277         * javax/naming/ldap/UnsolicitedNotificationEvent.java
6278         (serialVersionUID): New member variable.
6279
6280 2003-06-27  Michael Koch  <konqueror@gmx.de>
6281
6282         * Makefile.am
6283         (awt_java_source_files): Added new files:
6284         javax/swing/Popup.java,
6285         javax/swing/PopupFactory.java
6286         * Makefile.in: Regenerated.
6287
6288 2003-06-27  Michael Koch  <konqueror@gmx.de>
6289
6290         * javax/swing/JWindow.java,
6291         javax/swing/event/AncestorEvent.java,
6292         javax/swing/event/HyperlinkEvent.java,
6293         javax/swing/event/InternalFrameEvent.java,
6294         javax/swing/event/ListDataEvent.java,
6295         javax/swing/event/TableModelEvent.java,
6296         javax/swing/plaf/PopupMenuUI.java,
6297         javax/swing/plaf/SplitPaneUI.java,
6298         javax/swing/plaf/TabbedPaneUI.java,
6299         javax/swing/plaf/TextUI.java,
6300         javax/swing/plaf/TreeUI.java,
6301         javax/swing/plaf/basic/BasicTextUI.java,
6302         javax/swing/plaf/basic/BasicTreeUI.java:
6303         New versions from classpath.
6304         * javax/swing/Popup.java,
6305         javax/swing/PopupFactory.jav:
6306         New source files from classpath.
6307         * javax/swing/plaf/doc-files/TreeUI-1.png:
6308         New binary files from classpath.
6309
6310 2003-06-25  Michael Koch  <konqueror@gmx.de>
6311
6312         * Makefile.am
6313         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
6314         * Makefile.in: Regenerated.
6315
6316 2003-06-25  Michael Koch  <konqueror@gmx.de>
6317
6318         * javax/swing/plaf/ActionMapUIResource.java,
6319         javax/swing/plaf/BorderUIResource.java,
6320         javax/swing/plaf/ButtonUI.java,
6321         javax/swing/plaf/ColorChooserUI.java,
6322         javax/swing/plaf/ColorUIResource.java,
6323         javax/swing/plaf/ComboBoxUI.java,
6324         javax/swing/plaf/ComponentInputMapUIResource.java,
6325         javax/swing/plaf/ComponentUI.java,
6326         javax/swing/plaf/DesktopIconUI.java,
6327         javax/swing/plaf/DesktopPaneUI.java,
6328         javax/swing/plaf/DimensionUIResource.java,
6329         javax/swing/plaf/FileChooserUI.java,
6330         javax/swing/plaf/FontUIResource.java,
6331         javax/swing/plaf/IconUIResource.java,
6332         javax/swing/plaf/InputMapUIResource.java,
6333         javax/swing/plaf/InsetsUIResource.java,
6334         javax/swing/plaf/InternalFrameUI.java,
6335         javax/swing/plaf/LabelUI.java,
6336         javax/swing/plaf/ListUI.java,
6337         javax/swing/plaf/MenuBarUI.java,
6338         javax/swing/plaf/MenuItemUI.java,
6339         javax/swing/plaf/OptionPaneUI.java,
6340         javax/swing/plaf/PanelUI.java,
6341         javax/swing/plaf/ProgressBarUI.java,
6342         javax/swing/plaf/RootPaneUI.java,
6343         javax/swing/plaf/ScrollBarUI.java,
6344         javax/swing/plaf/ScrollPaneUI.java,
6345         javax/swing/plaf/SeparatorUI.java,
6346         javax/swing/plaf/SliderUI.java,
6347         javax/swing/plaf/TableHeaderUI.java,
6348         javax/swing/plaf/TableUI.java,
6349         javax/swing/plaf/ToolBarUI.java,
6350         javax/swing/plaf/ToolTipUI.java,
6351         javax/swing/plaf/ViewportUI.java:
6352         New versions from classpath.
6353         * javax/swing/plaf/SpinnerUI.java: 
6354         New file from classpath
6355
6356 2003-06-25  Michael Koch  <konqueror@gmx.de>
6357
6358         * java/awt/image/ColorModel.java:
6359         New version from classpath.
6360
6361 2003-06-25  Michael Koch  <konqueror@gmx.de>
6362
6363         * java/net/PlainDatagramSocketImpl.java:
6364         Partly merged with classpath, this mainly adds documentation.
6365
6366 2003-06-25  Michael Koch  <konqueror@gmx.de>
6367
6368         * java/io/ObjectInputStream.java
6369         (readClassDescriptor): New method.
6370         (readObject): Moved functionality to readClassDescriptor().
6371         * java/io/ObjectOutputStream.java
6372         (writeClassDescriptor): New method.
6373         (writeObject): Moved functionality to writeClassDescriptor().
6374
6375 2003-06-25  Michael Koch  <konqueror@gmx.de>
6376
6377         * javax/swing/plaf/basic/BasicListUI.java,
6378         javax/swing/plaf/basic/BasicOptionPaneUI.java:
6379         Added missing methods.
6380
6381 2003-06-25  Michael Koch  <konqueror@gmx.de>
6382
6383         * javax/swing/event/AncestorEvent.java
6384         javax/swing/event/HyperlinkEvent.java
6385         javax/swing/event/InternalFrameEvent.java
6386         javax/swing/event/ListDataEvent.java
6387         javax/swing/event/TableModelEvent.java:
6388         Compile fixes.
6389
6390 2003-06-24  Michael Koch  <konqueror@gmx.de>
6391
6392         * java/net/URL.java:
6393         Renamed "handler" to "ph" in the whole file to match classpaths
6394         version.
6395         * java/net/URLStreamHandler.java:
6396         (equals): Renamed "handler" to "ph".
6397
6398 2003-06-24  Michael Koch  <konqueror@gmx.de>
6399
6400         * javax/swing/event/AncestorEvent.java,
6401         javax/swing/event/HyperlinkEvent.java,
6402         javax/swing/event/InternalFrameEvent.java,
6403         javax/swing/event/ListDataEvent.java,
6404         javax/swing/event/TableModelEvent.java,
6405         javax/swing/event/TreeWillExpandListener.java,
6406         javax/swing/plaf/ComponentUI.java,
6407         javax/swing/plaf/DesktopIconUI.java,
6408         javax/swing/plaf/DesktopPaneUI.java,
6409         javax/swing/plaf/DimensionUIResource.java,
6410         javax/swing/plaf/FileChooserUI.java,
6411         javax/swing/plaf/FontUIResource.java,
6412         javax/swing/plaf/IconUIResource.java,
6413         javax/swing/plaf/InputMapUIResource.java,
6414         javax/swing/plaf/InsetsUIResource.java,
6415         javax/swing/plaf/InternalFrameUI.java,
6416         javax/swing/plaf/LabelUI.java,
6417         javax/swing/plaf/ListUI.java,
6418         javax/swing/plaf/MenuBarUI.java,
6419         javax/swing/plaf/MenuItemUI.java,
6420         javax/swing/plaf/OptionPaneUI.java,
6421         javax/swing/plaf/PanelUI.java,
6422         javax/swing/plaf/ProgressBarUI.java,
6423         javax/swing/plaf/doc-files/ComponentUI-1.dia,
6424         javax/swing/plaf/doc-files/ComponentUI-1.png:
6425         New versions from classpath.
6426
6427 2003-06-24  Michael Koch  <konqueror@gmx.de>
6428
6429         * java/nio/Buffer.java
6430         (cap): Made package-private.
6431         (pos): Likewise.
6432         (limit): Likewise.
6433         (mark): Likewise.
6434
6435 2003-06-24  Michael Koch  <konqueror@gmx.de>
6436
6437         * java/net/SocketImpl.java
6438         (shutdownInput): Made it non-abstract method throwing an exception
6439         like in SUNs JRE.
6440         (shutdownOutput): Likewise.
6441         * java/net/SocketInputStream.java,
6442         java/net/SocketOutputStream.java:
6443         New files from classpath.
6444
6445 2003-06-24  Michael Koch  <konqueror@gmx.de>
6446
6447         * java/awt/Font.java,
6448         java/awt/Window.java,
6449         java/awt/color/ColorSpace.java,
6450         java/awt/datatransfer/StringSelection.java,
6451         java/awt/image/ColorModel.java:
6452         New versions from classpath.
6453
6454 2003-06-24  Michael Koch  <konqueror@gmx.de>
6455
6456         * Makefile.am
6457         (awt_java_source_files): Added new files:
6458         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
6459         javax/swing/plaf/basic/BasicSplitPaneUI.java
6460         * Makefile.in: Regenerated.
6461
6462 2003-06-24  Michael Koch  <konqueror@gmx.de>
6463
6464         * javax/swing/text/JTextComponent.java:
6465         New version from classpath.
6466
6467 2003-06-24  Michael Koch  <konqueror@gmx.de>
6468
6469         * javax/swing/Timer.java,
6470         javax/swing/plaf/ActionMapUIResource.java,
6471         javax/swing/plaf/ButtonUI.java,
6472         javax/swing/plaf/ColorChooserUI.java,
6473         javax/swing/plaf/ColorUIResource.java,
6474         javax/swing/plaf/ComboBoxUI.java,
6475         javax/swing/plaf/ComponentInputMapUIResource.java,
6476         javax/swing/plaf/basic/BasicBorders.java:
6477         New versions from classpath.
6478         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
6479         javax/swing/plaf/basic/BasicSplitPaneUI.java:
6480         New file from classpath.
6481         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
6482         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
6483         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
6484         javax/swing/plaf/doc-files/ComponentUI-1.dia,
6485         javax/swing/plaf/doc-files/ComponentUI-1.png:
6486         New binary files from classpath.
6487
6488 2003-06-24  Michael Koch  <konqueror@gmx.de>
6489
6490         * java/io/LineNumberReader.java
6491         (skip): Dont do line number accounting here as this is already done in
6492         read(), simplified.
6493
6494 2003-06-21  Michael Koch  <konqueror@gmx.de>
6495
6496         * java/io/File.java
6497         (static): Load javaio lib if existing (only in classpath).
6498         (File): Revised documentation to show the correct argument name.
6499         (createTempFile): Partly merged with classpath.
6500         (compareTo): Simplified.
6501         (lastModified): Throw exception if time < 0.
6502         (deleteOnExit): Revised documentation.
6503
6504 2003-06-21  Michael Koch  <konqueror@gmx.de>
6505
6506         * java/net/PlainSocketImpl.java:
6507         Reformatted.
6508         (PlainSocketImpl): Merged class documentaion with classpath.
6509         (in): Moved.
6510         (out): Moved.
6511         (PlainSocketImpl): New empty constructor.
6512         (finalize): Moved.
6513         (setOption): Merged documentation from classpath.
6514         (getOption): Likewise.
6515         (create): Likewise.
6516         (connect): Likewise.
6517         (bind): Likewise.
6518         (listen): Likewise.
6519         (accept): Likewise.
6520         (available): Likewise.
6521         (close): Likewise.
6522         (read): Likewise.
6523         (write): Likewise.
6524         (getInputStream): Made synchronozed to get sure that only one stream
6525         object can be created for this socket, merged documentation from
6526         classpath.
6527         (getOutputStream): Likewise.
6528
6529 2003-06-21  Michael Koch  <konqueror@gmx.de>
6530
6531         * java/net/PlainSocketImpl.java:
6532         Reformatting.
6533         (static): New implicit method.
6534         (read): Made package private.
6535         (write): Likewise.
6536
6537 2003-06-21  Michael Koch  <konqueror@gmx.de>
6538
6539         * java/util/SimpleTimeZone.java:
6540         Removed unneeded import, reformatting.
6541
6542 2003-06-21  Michael Koch  <konqueror@gmx.de>
6543
6544         * java/text/DateFormat.java,
6545         java/text/SimpleDateFormat.java,
6546         java/util/Locale.java:
6547         New versions from classpath.
6548
6549 2003-06-21  Michael Koch  <konqueror@gmx.de>
6550
6551         * javax/swing/SpinnerModel.java:
6552         New file from classpath.
6553         * javax/swing/border/LineBorder.java,
6554         javax/swing/border/SoftBevelBorder.java,
6555         javax/swing/plaf/BorderUIResource.java,
6556         javax/swing/plaf/basic/BasicBorders.java:
6557         New versions from classpath.
6558         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
6559         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
6560         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
6561         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
6562         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
6563         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
6564         New binary files from classpath.
6565
6566 2003-06-21  Michael Koch  <konqueror@gmx.de>
6567
6568         * java/util/logging/LogRecord.java,
6569         java/util/logging/Logger.java,
6570         java/util/logging/SocketHandler.java,
6571         java/util/logging/SimpleFormatter.java,
6572         java/util/logging/Formatter.java,
6573         java/util/logging/ErrorManager.java,
6574         java/util/logging/Handler.java,
6575         java/util/logging/FileHandler.java,
6576         java/util/logging/LogManager.java,
6577         java/util/logging/Level.java,
6578         java/util/logging/ConsoleHandler.java,
6579         java/util/logging/StreamHandler.java,
6580         java/util/logging/LoggingPermission.java,
6581         java/util/logging/Filter.java,
6582         java/util/logging/MemoryHandler.java,
6583         java/util/logging/XMLFormatter.java:
6584         New files from classpath.
6585
6586 2003-06-20  Michael Koch  <konqueror@gmx.de>
6587
6588         * java/io/ObjectStreamField.java
6589         (unshared): new member variable.
6590         (ObjectStreamField): New constructor.
6591         (isUnshared): New method.
6592
6593 2003-06-20  Michael Koch  <konqueror@gmx.de>
6594
6595         * java/net/URLStreamHandler.java
6596         (hostsEqual): Rewritten.
6597
6598 2003-06-20  Michael Koch  <konqueror@gmx.de>
6599
6600         * gnu/java/nio/MappedByteFileBuffer.java,
6601         gnu/java/nio/natMappedByteFileBuffer.cc:
6602         Removed
6603         * java/nio/MappedByteBufferImpl.java:
6604         New file.
6605         * gnu/java/nio/FileChannelImpl.java:
6606         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
6607         * Makefile.am
6608         (ordinary_java_source_files): Removed
6609         gnu/java/nio/MappedByteFileBuffer.java and added
6610         java/nio/MappedByteBufferImpl.java.
6611         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
6612         * Makefile.in: Regenerated.
6613
6614 2003-06-19  Michael Koch  <konqueror@gmx.de>
6615
6616         * gnu/java/nio/DatagramChannelImpl.java
6617         (fd): Removed.
6618         (blocking): New member variable.
6619         (socket): Likewise.
6620         (DatagramChannelImpl): Throws IOException, initialize socket.
6621         (socket):Implemented.
6622         (implCloseSelectableChannel): Throws IOException, implemented.
6623         (implConfigureBlocking): Likewise.
6624         (connect): Likewise.
6625         (disconnect): Likewise.
6626         (isConnected): Likewise.
6627         (write): Likewise.
6628         (read): Likewise.
6629         (receive): Throws IOException.
6630         (send): Likewise.
6631         * gnu/java/nio/SocketChannelImpl.java
6632         (read): Implemented.
6633         (write): Implemented.
6634
6635 2003-06-19  Michael Koch  <konqueror@gmx.de>
6636
6637         * javax/swing/JComponent.java,
6638         javax/swing/JInternalFrame.java,
6639         javax/swing/MenuSelectionManager.java,
6640         javax/swing/SwingUtilities.java,
6641         javax/swing/ToggleButtonModel.java:
6642         New versions from classpath.
6643
6644 2003-06-19  Michael Koch  <konqueror@gmx.de>
6645
6646         * java/text/CollationElementIterator.java
6647         (NULLORDER): Initialize with -1 as JDK documentation says.
6648
6649 2003-06-19  Michael Koch  <konqueror@gmx.de>
6650
6651         * java/net/HttpURLConnection.java,
6652         java/net/Inet4Address.java,
6653         java/net/Inet6Address.java,
6654         java/net/SocketImpl.java,
6655         java/net/URLClassLoader.java:
6656         Reworked import statements.
6657         * java/net/InetAddress.java
6658         (getByAddress): Simplified.
6659         * java/net/ServerSocket.java
6660         (ServerSocket): Moved special handling during bind operation to
6661         bind().
6662         (bind): Handle different cases when trying to bind a socket.
6663         * java/net/URLConnection.java
6664         (getHeaderFieldDate): Merged with classpath.
6665         (getHeaderFieldInt): Likewise.
6666
6667 2003-06-19  Michael Koch  <konqueror@gmx.de>
6668
6669         * java/util/zip/InflaterInputStream.java
6670         (InflaterInputStream): Throw NullPointerException if in is null (as
6671         JDK does).
6672
6673 2003-06-19  Michael Koch  <konqueror@gmx.de>
6674
6675         * java/awt/Font.java
6676         javax/swing/UIManager.java
6677         javax/swing/border/AbstractBorder.java
6678         javax/swing/border/BevelBorder.java
6679         javax/swing/border/Border.java
6680         javax/swing/border/CompoundBorder.java
6681         javax/swing/border/EmptyBorder.java
6682         javax/swing/border/EtchedBorder.java
6683         javax/swing/border/LineBorder.java
6684         javax/swing/border/MatteBorder.java
6685         javax/swing/border/TitledBorder.java
6686         javax/swing/plaf/BorderUIResource.java
6687         javax/swing/plaf/basic/BasicBorders.java
6688         javax/swing/plaf/basic/BasicButtonUI.java
6689         javax/swing/plaf/basic/BasicCheckBoxUI.java
6690         javax/swing/plaf/basic/BasicGraphicsUtils.java
6691         javax/swing/plaf/basic/BasicLabelUI.java
6692         javax/swing/plaf/basic/BasicRadioButtonUI.java
6693         javax/swing/plaf/basic/BasicToggleButtonUI.java:
6694         New versions from classpath.
6695         * javax/swing/border/SoftBevelBorder.java:
6696         New file from classpath.
6697         * javax/swing/border/doc-files/LineBorder-1.png,
6698         javax/swing/border/doc-files/BevelBorder-1.png,
6699         javax/swing/border/doc-files/BevelBorder-2.png,
6700         javax/swing/border/doc-files/BevelBorder-3.png,
6701         javax/swing/border/doc-files/EmptyBorder-1.png,
6702         javax/swing/border/doc-files/EtchedBorder-1.png,
6703         javax/swing/border/doc-files/EtchedBorder-2.png,
6704         javax/swing/border/doc-files/MatteBorder-1.png,
6705         javax/swing/border/doc-files/MatteBorder-2.png,
6706         javax/swing/border/doc-files/MatteBorder-3.png,
6707         javax/swing/border/doc-files/MatteBorder-4.png,
6708         javax/swing/border/doc-files/MatteBorder-5.png,
6709         javax/swing/border/doc-files/MatteBorder-6.png,
6710         javax/swing/border/doc-files/SoftBevelBorder-1.png,
6711         javax/swing/border/doc-files/SoftBevelBorder-2.png,
6712         javax/swing/border/doc-files/SoftBevelBorder-3.png,
6713         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
6714         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
6715         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
6716         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
6717         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
6718         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
6719         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
6720         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
6721         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
6722         New binary files from classpath.
6723         * Makefile.am
6724         (awt_java_source_files): Added
6725         javax/swing/border/SoftBevelBorder.java.
6726         * Makefile.in: Regenerated.
6727
6728 2003-06-19  Michael Koch  <konqueror@gmx.de>
6729
6730         * gnu/java/security/x509/X509Certificate.java
6731         (writeReplace): Merged from classpath.
6732
6733 2003-06-19  Michael Koch  <konqueror@gmx.de>
6734
6735         * gnu/java/nio/FileChannelImpl.java
6736         (map_address): Made public.
6737         (FileChannelImpl): Merged with classpath.
6738         * gnu/java/nio/natFileChannelImpl.cc
6739         (nio_mmap_file): Commented out unused arguments.
6740         (nio_unmmap_file): Likewise.
6741         (niu_msync): Likewise.
6742
6743 2003-06-19  Michael Koch  <konqueror@gmx.de>
6744
6745         * java/awt/image/IndexColorModel.java:
6746         New version from classpath.
6747
6748 2003-06-18  Tom Tromey  <tromey@redhat.com>
6749
6750         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
6751         on arrays.
6752         (isLoopbackAddress): Likewise.
6753         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
6754         on arrays.
6755
6756 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
6757
6758         * java/lang/natVMSecurityManager.cc (getClassContext):
6759         Use maxlen instead of len for loop bound.
6760
6761 2003-06-18  Michael Koch  <konqueror@gmx.de>
6762
6763         * gnu/java/nio/SelectorImpl.java
6764         (register): Use fd with value 0 for now, will be fixed later.
6765         * gnu/java/nio/ServerSocketChannelImpl.java
6766         (fd): Removed.
6767         (local_port): Removed.
6768         (InetSocketAddress): Removed.
6769         (ServerSocketChannelImpl): Just initialize internal socket object.
6770         (implCloseSelectableChannel): Close internal socket object.
6771         (implConfigureBlocking): Added comment.
6772         (accept): Use jaba.net stuff to accept socket.
6773         * gnu/java/nio/SocketChannelImpl.java
6774         (fd): Removed.
6775         (local_port): Removed.
6776         (InetSocketAddress): Removed.
6777         (SocketCreate): Removed.
6778         (SocketConnect): Removed.
6779         (SocketBind): Removed.
6780         (SocketListen): Removed.
6781         (SocketAvailable): Removed.
6782         (SocketClose): Removed.
6783         (SocketRead): Removed.
6784         (SocketWrite): Removed.
6785         (SocketChannelImpl): Just initialize internal socket object.
6786         (implCloseSelectableChannel): Close internal socket object.
6787         (implConfigureBlocking): Fixed implementation, added comment.
6788         (connect): Use internal socket object to connect.
6789         (socket): No need for sanity checks.
6790         (read): Comment out some stuff, this will be reimplemented in the next
6791         commit.
6792         (write): Likewise.
6793         * gnu/java/nio/natFileChannelImpl.cc
6794         (nio_mmap_file): Line wrapped.
6795         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
6796         * Makefile.am
6797         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
6798         * Makefile.in: Regenerated.
6799
6800 2003-06-18  Michael Koch  <konqueror@gmx.de>
6801
6802         * java/util/Locale.java
6803         (equals): Merged from classpath.
6804
6805 2003-06-18  Michael Koch  <konqueror@gmx.de>
6806
6807         * java/net/InetAddress.java:
6808         Reformatted to better match classpath's version.
6809         * java/net/URL.java
6810         (equals): Simplified.
6811         * java/net/URLConnection.java
6812         (setDoInput): Revised documentation.
6813         (getDefaultUseCaches): Likewise.
6814         (setRequestProperty): Added @since tag.
6815
6816 2003-06-17  Michael Koch  <konqueror@gmx.de>
6817
6818         * java/net/InetSocketAddress.java
6819         (InetSocketAddress): Use wildcard address if addr is null.
6820         (InetSocketAddress): Dont duplicate implementation.
6821         (InetSocketAddress): Throw exception when hostname is null.
6822         * java/net/Socket.java:
6823         Reworked imports.
6824         (Socket): Throw exception when raddr is null, handle case when laddr
6825         is null.
6826
6827 2003-06-17  Michael Koch  <konqueror@gmx.de>
6828
6829         * java/nio/DirectByteBufferImpl.java
6830         (address): Made package private.
6831         (DirectByteBufferImpl): New constructor.
6832         * java/nio/natDirectByteBufferImpl.cc
6833         (allocateImpl): Moved to java.nio namespace, implemented.
6834         (freeImpl): Likewise.
6835         (getImpl): Likewise.
6836         (putImpl): Likewise.
6837         * jni.cc
6838         (_Jv_JNI_NewDirectByteBuffer): Implemented.
6839         (_Jv_JNI_GetDirectBufferAddress): Implemented.
6840         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
6841
6842 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6843
6844         * include/powerpc-signal.h: New File.
6845         * configure.in: Use it.
6846         * configure: Regenerated.
6847
6848 2003-06-17  Michael Koch  <konqueror@gmx.de>
6849
6850         * java/util/Locale.java
6851         (getDisplayLanguage): Made it final.
6852         (getDisplayCountry): Likewise.
6853         (getDisplayVariant): Likewise.
6854         (getDisplayName): Likewise.
6855
6856 2003-06-17  Michael Koch  <konqueror@gmx.de>
6857
6858         * java/util/PropertyResourceBundle.java:
6859         Removed unneeded import.
6860
6861 2003-06-17  Michael Koch  <konqueror@gmx.de>
6862
6863         * java/util/prefs/AbstractPreferences.java,
6864         java/util/prefs/PreferencesFactory.java:
6865         Reworked imports, removed unused imports.
6866         * java/util/prefs/Preferences.java
6867         (systemNodeForPackage): Method takes a Class not an Object.
6868         (userNodeForPackage): Likewise.
6869         (nodeForPackage): Likewise.
6870
6871 2003-06-17  Michael Koch  <konqueror@gmx.de>
6872
6873         * gnu/java/security/x509/X509Certificate.java:
6874         Explicitely import used classes.
6875
6876 2003-06-17  Michael Koch  <konqueror@gmx.de>
6877
6878         * java/util/zip/ZipEntry.java,
6879         java/util/zip/ZipFile.java,
6880         java/util/zip/ZipInputStream.java,
6881         java/util/zip/ZipOutputStream.java:
6882         Reworked imports, only import used classes.
6883
6884 2003-06-17  Michael Koch  <konqueror@gmx.de>
6885
6886         * gnu/java/lang/ArrayHelper.java,
6887         gnu/java/lang/ClassHelper.java:
6888         Reformatted to match classpath's versions.
6889
6890 2003-06-14  Michael Koch  <konqueror@gmx.de>
6891
6892         * gnu/java/nio/FileChannelImpl.java
6893         (map_address): Removed incorrect comment.        
6894         * gnu/java/nio/SelectorImpl.java
6895         (register): Remove code duplication and code for file channel handling.        
6896         * gnu/java/nio/ServerSocketChannelImpl.java
6897         (serverSocket): Renamed from sock_object.
6898         (ServerSocketChannel): Initialize serverSocket.
6899         (socket): Return serverSocket.
6900         * gnu/java/nio/SocketChannelImpl.java
6901         (socket): Renamed from sock_object.
6902         (isConnectionPenging): Simplified.
6903         (socket): Return socket.
6904 2003-06-14  Michael Koch  <konqueror@gmx.de>
6905
6906         * java/security/BasicPermission.java:
6907         New version from classpath.
6908
6909 2003-06-14  Michael Koch  <konqueror@gmx.de>
6910
6911         * javax/naming/directory/Attribute.java:
6912         New version from classpath.
6913
6914 2003-06-14  Michael Koch  <konqueror@gmx.de>
6915
6916         * java/io/BufferedReader.java,
6917         java/io/FileOutputStream.java:
6918         New versions from classpath.
6919
6920 2003-06-12  Andrew Haley  <aph@redhat.com>
6921
6922         * prims.cc (catch_segv): Create exception in handler.
6923         (catch_fpe): Likewise.  
6924         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
6925         (_Jv_ThrowSignal): Remove.
6926
6927         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
6928         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
6929         to nullp and arithexception.
6930         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6931         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6932         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6933         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6934         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6935
6936 2003-06-11  Andrew Haley  <aph@redhat.com>
6937
6938         * jni.cc (_Jv_JNI_check_types): New.
6939         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
6940         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
6941         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
6942         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
6943         
6944         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
6945         infinite loop.
6946
6947 2003-06-11  Tom Tromey  <tromey@redhat.com>
6948
6949         * java/lang/ClassLoader.java (loadClass): Not deprecated.
6950         * java/io/PrintStream.java: Not deprecated.
6951
6952 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
6953
6954         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
6955         (fillOval): implemented
6956         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
6957         (fillArc): implemented.
6958         * gnu/gcj/xlib/GC.java (drawArc): added native method.
6959         (fillArc): added native method.
6960         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
6961         (fillArc): added native method.
6962
6963 2003-06-11  Michael Koch  <konqueror@gmx.de>
6964
6965         * java/awt/im/InputSubset.java:
6966         New version from classpath.
6967
6968 2003-06-11  Michael Koch  <konqueror@gmx.de>
6969
6970         * javax/swing/AbstractAction.java,
6971         javax/swing/AbstractButton.java,
6972         javax/swing/AbstractCellEditor.java,
6973         javax/swing/AbstractListModel.java,
6974         javax/swing/BorderFactory.java,
6975         javax/swing/Box.java,
6976         javax/swing/BoxLayout.java,
6977         javax/swing/ButtonGroup.java,
6978         javax/swing/DefaultButtonModel.java,
6979         javax/swing/DefaultListModel.java,
6980         javax/swing/DefaultListSelectionModel.java,
6981         javax/swing/FocusManager.java,
6982         javax/swing/ImageIcon.java,
6983         javax/swing/InputMap.java,
6984         javax/swing/JApplet.java,
6985         javax/swing/JButton.java,
6986         javax/swing/JCheckBox.java,
6987         javax/swing/JCheckBoxMenuItem.java,
6988         javax/swing/JColorChooser.java,
6989         javax/swing/JComboBox.java,
6990         javax/swing/JComponent.java,
6991         javax/swing/JDesktopPane.java,
6992         javax/swing/JDialog.java,
6993         javax/swing/JEditorPane.java,
6994         javax/swing/JFileChooser.java,
6995         javax/swing/JFormattedTextField.java,
6996         javax/swing/JFrame.java,
6997         javax/swing/JLabel.java,
6998         javax/swing/JLayeredPane.java,
6999         javax/swing/JList.java,
7000         javax/swing/JMenuBar.java,
7001         javax/swing/JMenuItem.java,
7002         javax/swing/JOptionPane.java,
7003         javax/swing/JPanel.java,
7004         javax/swing/JPasswordField.java,
7005         javax/swing/JPopupMenu.java,
7006         javax/swing/JProgressBar.java,
7007         javax/swing/JRadioButton.java,
7008         javax/swing/JRadioButtonMenuItem.java,
7009         javax/swing/JRootPane.java,
7010         javax/swing/JScrollBar.java,
7011         javax/swing/JScrollPane.java,
7012         javax/swing/JSeparator.java,
7013         javax/swing/JSlider.java,
7014         javax/swing/JTabbedPane.java,
7015         javax/swing/JTable.java,
7016         javax/swing/JTextField.java,
7017         javax/swing/JToggleButton.java,
7018         javax/swing/JToolBar.java,
7019         javax/swing/JToolTip.java,
7020         javax/swing/JTree.java,
7021         javax/swing/JViewport.java,
7022         javax/swing/JWindow.java,
7023         javax/swing/KeyStroke.java,
7024         javax/swing/ListSelectionModel.java,
7025         javax/swing/LookAndFeel.java,
7026         javax/swing/RepaintManager.java,
7027         javax/swing/ScrollPaneLayout.java,
7028         javax/swing/SizeRequirements.java,
7029         javax/swing/SwingConstants.java,
7030         javax/swing/Timer.java,
7031         javax/swing/UIDefaults.java,
7032         javax/swing/UIManager.java,
7033         javax/swing/border/AbstractBorder.java,
7034         javax/swing/border/CompoundBorder.java,
7035         javax/swing/colorchooser/AbstractColorChooserPanel.java,
7036         javax/swing/colorchooser/ColorChooserComponentFactory.java,
7037         javax/swing/colorchooser/ColorSelectionModel.java,
7038         javax/swing/colorchooser/DefaultColorSelectionModel.java,
7039         javax/swing/event/AncestorEvent.java,
7040         javax/swing/event/HyperlinkEvent.java,
7041         javax/swing/event/InternalFrameAdapter.java,
7042         javax/swing/event/InternalFrameEvent.java,
7043         javax/swing/event/ListDataEvent.java,
7044         javax/swing/event/MouseInputAdapter.java,
7045         javax/swing/event/SwingPropertyChangeSupport.java,
7046         javax/swing/event/TableModelEvent.java,
7047         javax/swing/event/TreeWillExpandListener.java,
7048         javax/swing/event/UndoableEditEvent.java,
7049         javax/swing/filechooser/FileFilter.java,
7050         javax/swing/filechooser/FileSystemView.java,
7051         javax/swing/filechooser/FileView.java,
7052         javax/swing/plaf/BorderUIResource.java,
7053         javax/swing/plaf/basic/BasicDefaults.java,
7054         javax/swing/table/AbstractTableModel.java,
7055         javax/swing/table/DefaultTableCellRenderer.java,
7056         javax/swing/table/DefaultTableColumnModel.java,
7057         javax/swing/table/DefaultTableModel.java,
7058         javax/swing/table/TableColumn.java,
7059         javax/swing/text/JTextComponent.java,
7060         javax/swing/tree/AbstractLayoutCache.java,
7061         javax/swing/tree/DefaultMutableTreeNode.java,
7062         javax/swing/tree/DefaultTreeCellEditor.java,
7063         javax/swing/tree/DefaultTreeCellRenderer.java,
7064         javax/swing/tree/DefaultTreeModel.java,
7065         javax/swing/tree/DefaultTreeSelectionModel.java,
7066         javax/swing/tree/FixedHeightLayoutCache.java,
7067         javax/swing/tree/TreeCellEditor.java,
7068         javax/swing/tree/TreeModel.java,
7069         javax/swing/tree/TreeNode.java,
7070         javax/swing/tree/TreePath.java,
7071         javax/swing/tree/TreeSelectionModel.java,
7072         javax/swing/tree/VariableHeightLayoutCache.java,
7073         javax/swing/undo/AbstractUndoableEdit.java,
7074         javax/swing/undo/CompoundEdit.java,
7075         javax/swing/undo/StateEdit.java,
7076         javax/swing/undo/UndoManager.java,
7077         javax/swing/undo/UndoableEditSupport.java:
7078         New versions from classpath.
7079         * javax/swing/table/JTableHeader.java:
7080         New file from classpath.
7081         * Makefile.am
7082         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
7083         * Makefile.in: Regenerated.
7084
7085 2003-06-11  Michael Koch  <konqueror@gmx.de>
7086
7087         * java/nio/MappedByteBuffer.java,
7088         java/nio/channels/Channels.java,
7089         java/nio/channels/ServerSocketChannel.java,
7090         java/nio/channels/spi/AbstractSelector.java:
7091         Removed unneeded imports.
7092
7093 2003-06-11  Michael Koch  <konqueror@gmx.de>
7094
7095         * java/net/DatagramSocket.java:
7096         Partly merged with classpath.
7097
7098 2003-06-11  Michael Koch  <konqueror@gmx.de>
7099
7100         * java/awt/Frame.java,
7101         java/awt/Graphics.java,
7102         java/awt/Menu.java,
7103         java/awt/Robot.java,
7104         java/awt/image/ColorModel.java:
7105         New versions from classpath.
7106
7107 2003-06-10  Michael Koch  <konqueror@gmx.de>
7108
7109         * java/io/PrintStream.java:
7110         Merged version from classpath.
7111         (close): Removed sychronized keyword. This class is not garantied to
7112         be thread-safe.
7113         (write): Likewise.
7114
7115 2003-06-09  Tom Tromey  <tromey@redhat.com>
7116
7117         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
7118         field.
7119         (getDescent): Likewise, for "descent".
7120
7121 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
7122
7123         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
7124         (getMaxDescent): adjusted return value.
7125         (getAscent): modified to use metrics for 'O'.
7126         (getDescent): modified to use metrics for 'y'.
7127
7128 2003-06-08  Anthony Green  <green@redhat.com>
7129
7130         * java/net/URLStreamHandler.java (sameFile): Fix port value
7131         comparison.
7132         * java/net/URL.java (handler): Make package private.
7133         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
7134
7135 2003-06-07  Tom Tromey  <tromey@redhat.com>
7136
7137         For PR libgcj/11085:
7138         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
7139         Limit number of characters in numeric field when required.
7140         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
7141         Respect maximumIntegerDigits.
7142
7143 2003-06-08  Michael Koch  <konqueror@gmx.de>
7144
7145         * java/net/Socket.java
7146         (Socket): Dont initialize inputShutdown and outputShutdown twice,
7147         call bind() and connect() to actually do the bind and connect tasks.
7148         (bind): Connect to canonical address if bindpoint is null, create
7149         socket and bind it to bindpoint.
7150         (connect): Check for exceptions.
7151
7152 2003-06-08  Michael Koch  <konqueror@gmx.de>
7153
7154         * java/net/DatagramSocket.java
7155         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
7156         into the Multicast constructors.
7157         * java/net/DatagramSocketImpl.java
7158         (getOption): Removed.
7159         (setOption): Removed.
7160         * java/net/MulticastSocket.java
7161         (MulticastSocket): Call setReuseAddress (true).
7162         * java/net/SocketImpl.java
7163         (getOption): Removed.
7164         (setOption): Removed.
7165
7166 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
7167
7168         PR libgcj/10886:
7169         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
7170         Test for empty vector.
7171
7172 2003-06-06  Mark Wielaard  <mark@klomp.org>
7173
7174         * java/security/Security.java (secprops): Initialize.
7175         (loadProviders): Return boolean.
7176         (static): Check result of loadProvider calls. If necessary
7177         display WARNING and fallback to Gnu provider.
7178
7179 2002-06-06  James Clark  <jjc@jclark.com>
7180
7181         Fix for PR libgcj/8738:
7182         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
7183         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
7184         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
7185         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
7186         (write): Always decrease avail when count is increased.
7187         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
7188         and whether output buffer is full before increasing size.
7189
7190 2002-06-06  Mark Wielaard  <mark@klomp dot org>
7191
7192         * java/io/PrintStream.java (writeChars(char[],int, int)):
7193         Check converter.havePendingBytes().
7194         (writeChars(String,int,int)): Likewise.
7195         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
7196         Check converter.havePendingBytes() and flush buffer when stalled.
7197
7198 2003-06-07  Michael Koch  <konqueror@gmx.de>
7199
7200         * include/posix.h
7201         (O_DSYNC): Define O_DSYNC on platforms not
7202         supporting O_FSYNC (newlib).
7203
7204 2003-06-06  Mark Wielaard  <mark@klomp.org>
7205
7206         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
7207         AWTError.
7208
7209 2003-06-06  Michael Koch  <konqueror@gmx.de>
7210
7211         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
7212         More compile fixes from my stupid work yesterday.
7213
7214 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
7215
7216         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
7217         if _IEEE_LIBM is undefined.
7218
7219 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
7220
7221         * libjava/include/posix.h (O_SYNC): Define if not available
7222         and a reasonable, perhaps more conservative, replacement exists.
7223         (O_DSYNC): Likewise.
7224         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
7225
7226 2003-06-05  Michael Koch  <konqueror@gmx.de>
7227
7228         * javax/swing/plaf/BorderUIResource.java,
7229         javax/swing/plaf/basic/BasicDefaults.java,
7230         javax/swing/plaf/basic/BasicOptionPaneUI.java:
7231         More compile fixes for latest Border commit. I should not commit
7232         something in this heat here ...
7233
7234 2003-06-05  Michael Koch  <konqueror@gmx.de>
7235
7236         * javax/swing/border/BevelBorder.java
7237         (BevelBorder): Removed.
7238         * javax/swing/border/EmptyBorder.java:
7239         Reformatted.
7240         (EmptyBorder): Removed.
7241         (getBorderInsets): Dont use l, r, t and b.
7242         * javax/swing/border/EtchedBorder.java
7243         (EtchedBorder): Removed.
7244         * javax/swing/border/LineBorder.java
7245         (LineBorder): Removed.
7246         * javax/swing/border/MatteBorder.java
7247         (MatteBorder): Removed.
7248         * javax/swing/border/TitledBorder.java
7249         (defaultBorder): Use other default for now.
7250         (defaultFont): Likewise.
7251         (defaultColor): Likewise.
7252
7253 2003-06-05  Michael Koch  <konqueror@gmx.de>
7254
7255         * javax/swing/border/Border.java:
7256         New version from classpath.
7257
7258 2003-06-05  Michael Koch  <konqueror@gmx.de>
7259
7260         * javax/swing/border/AbstractBorder.java,
7261         javax/swing/border/BevelBorder.java,
7262         javax/swing/border/CompoundBorder.java,
7263         javax/swing/border/EmptyBorder.java,
7264         javax/swing/border/EtchedBorder.java,
7265         javax/swing/border/LineBorder.java,
7266         javax/swing/border/MatteBorder.java,
7267         javax/swing/border/TitledBorder.java:
7268         New versions from Classpath.
7269
7270 2003-06-05  Michael Koch  <konqueror@gmx.de>
7271
7272         * java/awt/Button.java,
7273         java/awt/Checkbox.java,
7274         java/awt/CheckboxMenuItem.java,
7275         java/awt/Choice.java,
7276         java/awt/Container.java,
7277         java/awt/Dialog.java,
7278         java/awt/EventQueue.java,
7279         java/awt/FileDialog.java,
7280         java/awt/Frame.java,
7281         java/awt/Label.java,
7282         java/awt/List.java,
7283         java/awt/Menu.java,
7284         java/awt/MenuItem.java,
7285         java/awt/Panel.java,
7286         java/awt/PopupMenu.java,
7287         java/awt/Rectangle.java,
7288         java/awt/ScrollPane.java,
7289         java/awt/Scrollbar.java,
7290         java/awt/TextArea.java,
7291         java/awt/TextField.java,
7292         java/awt/Window.java,
7293         java/awt/datatransfer/DataFlavor.java,
7294         java/awt/dnd/DragSource.java,
7295         java/awt/dnd/DragSourceContext.java,
7296         java/awt/event/HierarchyEvent.java,
7297         java/awt/event/MouseWheelEvent.java,
7298         java/awt/im/InputContext.java,
7299         java/awt/image/BufferedImage.java,
7300         java/awt/image/ComponentColorModel.java,
7301         java/awt/image/Raster.java,
7302         java/awt/image/WritableRaster.java,
7303         java/awt/peer/ComponentPeer.java,
7304         java/awt/print/PageFormat.java,
7305         java/awt/print/PrinterJob.java:
7306         New versions from Classpath.
7307
7308 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
7309
7310         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
7311         numberFormat.setParseIntegerOnly(true).
7312
7313 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
7314
7315         * include/posix-threads.h: Include <machine/pal.h> on OSF.
7316
7317 2003-06-03  Andrew Haley  <aph@redhat.com>
7318
7319         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
7320         stack volatile to prevent optimization from removing it.
7321
7322 2003-05-27  Michael Koch  <konqueror@gmx.de>
7323
7324         * java/util/zip/Deflater.java
7325         (FILTERED): Merged documentation from classpath.
7326         * java/util/zip/DeflaterOutputStream.java
7327         (DeflaterOutputStream): Merged documentation and argument validity
7328         check from classpath.
7329         (deflate): Merged documentation from classpath.
7330         (finish): Likewise.
7331         * java/util/zip/Inflater.java
7332         (Inflater): Merged class documentation from classpath.
7333         (zstream): Reordered.
7334         (is_finished): Reordered.
7335         (dict_needed): Reordered.
7336         (Inflater): Reordered, merged documentation from classpath.
7337         (end): Likewise.
7338         (finalize): Merged documentation from classpath.
7339         (finished): Likewise.
7340         (getAdler): Likewise.
7341         (getRemaining): Likewise.
7342         (getTotalIn): Likewise.
7343         (getTotalOut): Likewise.
7344         (inflate): Likewise.
7345         (needsDictionary): Likewise.
7346         (needsInput): Likewise.
7347         (reset): Likewise.
7348         (setDictionary): Likewise.
7349         (setInput): Likewise.
7350
7351 2003-05-27  Michael Koch  <konqueror@gmx.de>
7352
7353         * java/net/URLConnection.java
7354         (getHeaderFieldInt): Merged with classpath.
7355
7356 2003-05-27  Michael Koch  <konqueror@gmx.de>
7357
7358         * java/io/PrintStream.java
7359         (PrintStream): Reformatted.
7360         (PrintStream): New method, merged from classpath.
7361         (write): Reformatted.
7362
7363 2003-05-27  Michael Koch  <konqueror@gmx.de>
7364
7365         * java/lang/System.java:
7366         Explicitely import needed classes.
7367
7368 2003-05-26  Michael Koch  <konqueror@gmx.de>
7369
7370         * java/net/NetPermission.java,
7371         java/net/NetworkInterface.java,
7372         java/net/PasswordAuthentication.java,
7373         java/net/SocketPermission.java:
7374         New versions from classpath.
7375
7376 2003-05-25  Michael Koch  <konqueror@gmx.de>
7377
7378         * java/io/PushbackInputStream.java,
7379         java/net/Authenticator.java,
7380         java/net/ContentHandler.java,
7381         java/net/ContentHandlerFactory.java,
7382         java/net/DatagramSocket.java,
7383         java/net/DatagramSocketImpl.java,
7384         java/net/DatagramSocketImplFactory.java,
7385         java/net/FileNameMap.java,
7386         java/net/SocketImplFactory.java,
7387         java/net/SocketOptions.java,
7388         java/net/URLStreamHandlerFactory.java:
7389         Merged new versions from classpath.
7390
7391 2003-05-25  Michael Koch  <konqueror@gmx.de>
7392
7393         * java/awt/Checkbox.java,
7394         java/awt/Dialog.java,
7395         java/awt/Font.java,
7396         java/awt/Frame.java,
7397         java/awt/ScrollPaneAdjustable.java,
7398         java/awt/Scrollbar.java,
7399         java/awt/Window.java:
7400         New versions from classpath.
7401
7402 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
7403
7404         PR libgcj/10838:
7405         * java/io/ObjectInputStream (enableResolveObject):
7406         Fixed spelling of permission name.
7407
7408 2003-05-20  Michael Koch  <konqueror@gmx.de>
7409
7410         * java/io/DataInputStream.java
7411         (convertFromUTF): Merged comment from classpath.
7412         * java/io/PrintStream.java
7413         (error_occured): Renamed from error, merged comment from classpath.
7414         (PrintStream): No need to initialized error.
7415         (checkError): Replace error with error_occurred.
7416         (setError): Likewise.
7417
7418 2003-05-20  Michael Koch  <konqueror@gmx.de>
7419
7420         * java/io/DataInputStream.java:
7421         Reformatted, Replaced < and & with html entitites in documentation.
7422         * java/io/File.java:
7423         Reformatted.
7424         * java/io/PrintWriter.java:
7425         Moved class documentation.
7426
7427 2003-05-20  Michael Koch  <konqueror@gmx.de>
7428
7429         * gnu/java/nio/ByteBufferImpl.java,
7430         gnu/java/nio/CharBufferImpl.java,
7431         gnu/java/nio/CharViewBufferImpl.java,
7432         gnu/java/nio/DirectByteBufferImpl.java,
7433         gnu/java/nio/DoubleBufferImpl.java,
7434         gnu/java/nio/DoubleViewBufferImpl.java,
7435         gnu/java/nio/FloatBufferImpl.java,
7436         gnu/java/nio/FloatViewBufferImpl.java,
7437         gnu/java/nio/IntBufferImpl.java,
7438         gnu/java/nio/IntViewBufferImpl.java,
7439         gnu/java/nio/LongBufferImpl.java,
7440         gnu/java/nio/LongViewBufferImpl.java,
7441         gnu/java/nio/natDirectByteBufferImpl.cc,
7442         gnu/java/nio/ShortBufferImpl.java,
7443         gnu/java/nio/ShortViewBufferImpl.java:
7444         Moved files to java/nio.
7445         * gnu/java/nio/SocketChannelImpl.java
7446         
7447         * java/nio/ByteBuffer.java,
7448         java/nio/CharBuffer.java,
7449         java/nio/DoubleBuffer.java,
7450         java/nio/FloatBuffer.java,
7451         java/nio/IntBuffer.java,
7452         java/nio/LongBuffer.java,
7453         java/nio/ShortBuffer.java:
7454         Dont import anything.
7455         * java/nio/ByteBufferImpl.java,
7456         java/nio/CharBufferImpl.java,
7457         java/nio/CharViewBufferImpl.java,
7458         java/nio/DirectByteBufferImpl.java,
7459         java/nio/DoubleBufferImpl.java,
7460         java/nio/DoubleViewBufferImpl.java,
7461         java/nio/FloatBufferImpl.java,
7462         java/nio/FloatViewBufferImpl.java,
7463         java/nio/IntBufferImpl.java,
7464         java/nio/IntViewBufferImpl.java,
7465         java/nio/LongBufferImpl.java,
7466         java/nio/LongViewBufferImpl.java,
7467         java/nio/natDirectByteBufferImpl.cc,
7468         java/nio/ShortBufferImpl.java,
7469         java/nio/ShortViewBufferImpl.java:
7470         Moved from gnu/java/nio.
7471         * Makefile.am
7472         (ordinary_java_source_files): Moved files from gnu/java/nio to
7473         java/nio.
7474         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
7475         to java/nio.
7476         * Makefile.in: Regenerated.
7477
7478 2003-05-19  Michael Koch  <konqueror@gmx.de>
7479
7480         * java/util/Calendar.java
7481         (get): Not final anymore since JDK 1.4
7482         (set): Likewise.
7483
7484 2003-05-19  Michael Koch  <konqueror@gmx.de>
7485
7486         * java/text/CollationKey.java:
7487         Merged copyright and dat from classpath.
7488         * java/text/RuleBasedCollator.java:
7489         Merged class documentation from classpath.
7490
7491 2003-05-19  Michael Koch  <konqueror@gmx.de>
7492
7493         * java/nio/CharBuffer.java
7494         (toString): Compile fix.
7495
7496 2003-05-19  Michael Koch  <konqueror@gmx.de>
7497
7498         * gnu/java/nio/ByteBufferImpl.java
7499         (putLong): Fixed conversion to bytes.
7500         (putDouble): Fixed conversion to bytes.
7501         * gnu/java/nio/DirectByteBufferImpl.java
7502         (putLong): Fixed conversion to bytes.
7503         (putDouble): Fixed conversion to bytes.
7504         * gnu/java/nio/FileLockImpl.java
7505         (isValid): Reformatted.
7506         * java/nio/Buffer.java
7507         (Buffer): Fixed off-by-one bug in handling mark.
7508         * java/nio/ByteBuffer.java:
7509         Added newline.
7510         * java/nio/CharBuffer.java
7511         (toString): Don't use relative get to get string data.
7512
7513 2003-05-16  Michael Koch  <konqueror@gmx.de>
7514
7515         * java/io/natFileDescriptorPosix.cc
7516         (open): Commented out the O_SYNC and O_DSYNC usage until its better
7517         tested.
7518
7519 2003-05-14  Michael Koch  <konqueror@gmx.de>
7520
7521         * gnu/java/nio/FileLockImpl.java
7522         (released): New member variable.
7523         (FileLockImpl): Initialize released.
7524         (releaseImpl): New native method.
7525         (release): Implemented.
7526         * gnu/java/nio/SelectorImpl.java: Reformatted.
7527         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
7528         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
7529         (accept): Throws IOException.
7530         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
7531         (implConfigureBlocking): Throws IOException.
7532         (connect): Likewise.
7533         (read): Likewise.
7534         (write): Likewise.
7535         * gnu/java/nio/natFileLockImpl.cc: New file.
7536         * java/nio/channels/FileLock.java: Reformatted.
7537         * Makefile.am:
7538         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
7539         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
7540         * Makefile.in: Regenerated.
7541
7542 2003-05-13  Michael Koch  <konqueror@gmx.de>
7543
7544         * gnu/java/nio/CharViewBufferImpl.java
7545         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
7546         (get): Shift bits to the right direction.
7547         (put): Likewise.
7548         * gnu/java/nio/DoubleViewBufferImpl.java
7549         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
7550         (get): Shift bits to the right direction.
7551         (put): Likewise.
7552         * gnu/java/nio/FloatViewBufferImpl.java
7553         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
7554         (get): Shift bits to the right direction.
7555         (put): Likewise.
7556         * gnu/java/nio/IntViewBufferImpl.java
7557         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
7558         (get): Shift bits to the right direction.
7559         (put): Likewise.
7560         * gnu/java/nio/LongViewBufferImpl.java
7561         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
7562         (get): Shift bits to the right direction.
7563         (put): Likewise.
7564         * gnu/java/nio/ShortViewBufferImpl.java
7565         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
7566         (get): Shift bits to the right direction.
7567         (put): Likewise.
7568
7569 2003-05-13  Michael Koch  <konqueror@gmx.de>
7570
7571         * gnu/java/nio/natDirectByteBufferImpl.cc
7572         (allocateImpl): jlong -> RawData*.
7573         (freeImpl): Likewise.
7574
7575 2003-05-13  Michael Koch  <konqueror@gmx.de>
7576
7577         * java/nio/channels/FileChannel.java
7578         (MapMode.m): Made it package-private to match JDK 1.4.
7579         * java/nio/charset/Charset.java
7580         (decode): Made it final to match JDK 1.4.
7581
7582 2003-05-13  Michael Koch  <konqueror@gmx.de>
7583
7584        * java/io/FileDescriptor.java
7585        (SYNC): New constant.
7586        (DSYNC): Likewise.
7587        (getLength): Renamed from lenght() to match classpath's
7588        FileDescriptor.java.
7589        * java/io/RandomAccessFile.java
7590        (RandomAccessFile): Removed unneeded mode check, implemented mode
7591        "rws" and "rwd", merged documentation from classpath.
7592        (setLength): Reformatted.
7593        (length): Use new getLength() of FileDescriptor.
7594        * java/io/natFileDescriptorEcos.cc
7595        (getLength): Renamed from length().
7596        * java/io/natFileDescriptorPosix.cc
7597        (open): Implemented support for SYNC and DSYNC.
7598        (seek): Use getLength() instead of length().
7599        (getLength): Renamed from length().
7600        * java/io/natFileDescriptorWin32.cc
7601        (getLength): Renamed from length().
7602        (seek): Use getLength() instead of length().
7603        (available): Likewise.
7604        * gnu/java/nio/natFileChannelImpl.cc
7605        (size): Use getLength() instead of length().
7606
7607 2003-05-13  Michael Koch  <konqueror@gmx.de>
7608
7609         * gnu/java/nio/ByteBufferImpl.java
7610         (ByteBufferImpl): All constructors revised.
7611         (slice): Reimplemented.
7612         (duplicate): Reimplemented.
7613         (asReadOnlyBuffer): Reimplemented.
7614         * java/nio/ByteBuffer.java:
7615         Reformatted.
7616         (array_offset): Renamed from "offset" to match all other buffer
7617         classes.
7618         (ByteBuffer): All constructors revised.
7619         (allocateDirect): Implemented.
7620         (allocate): New implementation, documentation reworked.
7621         (wrap): Likewise.
7622         (get): Documentation reworked.
7623         (put): New implementation, documentation reworked.
7624         (hasArray): Documentation reworked.
7625         (arrayOffset): Likewise.
7626         (hashCode): Likewise.
7627         (equals): Likewise.
7628         (compareTo): Likewise.
7629         (order): Likewise.
7630         (compact): Likewise.
7631         (isDirect): Likewise.
7632         (slice): Likewise.
7633         (duplicate): Likewise.
7634         (asReadOnlyBuffer): Likewise.
7635         * Makefile.am
7636         (ordinary_java_source_files):
7637         Added gnu/java/nio/DirectByteBufferImpl.java.
7638         (nat_source_files):
7639         Added gnu/java/nio/natDirectByteBufferImpl.cc.
7640         * Makefile.in: Regenerated.
7641
7642 2003-05-12  Michael Koch  <konqueror@gmx.de>
7643
7644         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
7645         (nio_get_*): Removed.
7646         (nio_put_*): Removed.
7647         (as*Buffer): Implemented.
7648         (compact): Implemented.
7649         (get): Documentation added.
7650         (put): Documentation added.
7651         (get*): Newly implemented.
7652         (put*): Newly implemented.
7653         * gnu/java/nio/CharBufferImpl.java: Reformatted.
7654         (CharBufferImpl): Revised.
7655         (slice): New implementation.
7656         (duplicate): New implementation.
7657         (compact): New implementation.
7658         (asReadOnlyBuffer): New implementation.
7659         (get): Documentation revised.
7660         (order): Return native byte order.
7661         * gnu/java/nio/DirectByteBufferImpl.java
7662         (allocateDirect): objects can be null not 0.
7663         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
7664         (DoubleBufferImpl): Revised.
7665         (slice): New implementation.
7666         (duplicate): New implementation.
7667         (compact): New implementation.
7668         (asReadOnlyBuffer): New implementation.
7669         (get): Documentation revised.
7670         (order): Return native byte order.
7671         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
7672         (FloatBufferImpl): Revised.
7673         (slice): New implementation.
7674         (duplicate): New implementation.
7675         (compact): New implementation.
7676         (asReadOnlyBuffer): New implementation.
7677         (get): Documentation revised.
7678         (order): Return native byte order.
7679         * gnu/java/nio/IntBufferImpl.java: Reformatted.
7680         (IntBufferImpl): Revised.
7681         (slice): New implementation.
7682         (duplicate): New implementation.
7683         (compact): New implementation.
7684         (asReadOnlyBuffer): New implementation.
7685         (get): Documentation revised.
7686         (order): Return native byte order.
7687         * gnu/java/nio/LongBufferImpl.java: Reformatted.
7688         (LongBufferImpl): Revised.
7689         (slice): New implementation.
7690         (duplicate): New implementation.
7691         (compact): New implementation.
7692         (asReadOnlyBuffer): New implementation.
7693         (get): Documentation revised.
7694         (order): Return native byte order.
7695         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
7696         (ShortBufferImpl): Revised.
7697         (slice): New implementation.
7698         (duplicate): New implementation.
7699         (compact): New implementation.
7700         (asReadOnlyBuffer): New implementation.
7701         (get): Documentation revised.
7702         (order): Return native byte order.
7703         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
7704         (CharBuffer): Revised.
7705         (order): Removed.
7706         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
7707         (DoubleBuffer): Revised.
7708         (allocateDirect): Removed.
7709         (order): Removed.
7710         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
7711         (FloatBuffer): Revised.
7712         (allocateDirect): Removed.
7713         (order): Removed.
7714         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
7715         (IntBuffer): Revised.
7716         (allocateDirect): Removed.
7717         (order): Removed.
7718         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
7719         (LongBuffer): Revised.
7720         (allocateDirect): Removed.
7721         (order): Removed.
7722         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
7723         (ShortBuffer): Revised.
7724         (allocateDirect): Removed.
7725         (order): Removed.
7726         * gnu/java/nio/natByteBufferImpl.cc: Removed.
7727         * gnu/java/nio/natCharBufferImpl.cc: Removed.
7728         * Makefile.am
7729         (ordinary_java_source_files): Added the following files:
7730         gnu/java/nio/CharViewBufferImpl.java,
7731         gnu/java/nio/DoubleViewBufferImpl.java,
7732         gnu/java/nio/FloatViewBufferImpl.java,
7733         gnu/java/nio/IntViewBufferImpl.java,
7734         gnu/java/nio/LongViewBufferImpl.java,
7735         gnu/java/nio/ShortViewBufferImpl.java
7736         (nat_source_files): Removed the following files:
7737         gnu/java/nio/natByteBufferImpl.cc,
7738         gnu/java/nio/natCharBufferImpl.cc
7739         * Makefile.in: Regenerated.
7740
7741 2003-05-12  Michael Koch  <konqueror@gmx.de>
7742
7743         * gnu/java/nio/CharViewBufferImpl.java,
7744         gnu/java/nio/DirectByteBufferImpl.java,
7745         gnu/java/nio/DoubleViewBufferImpl.java,
7746         gnu/java/nio/FloatViewBufferImpl.java,
7747         gnu/java/nio/IntViewBufferImpl.java,
7748         gnu/java/nio/LongViewBufferImpl.java,
7749         gnu/java/nio/ShortViewBufferImpl.java,
7750         gnu/java/nio/natDirectByteBufferImpl.cc:
7751         New files, not yet to be compiled.
7752
7753 2003-05-10  Michael Koch  <konqueror@gmx.de>
7754
7755         * javax/swing/plaf/ButtonUI.java,
7756         javax/swing/plaf/ColorUIResource.java,
7757         javax/swing/plaf/ComponentUI.java,
7758         javax/swing/plaf/DimensionUIResource.java,
7759         javax/swing/plaf/FontUIResource.java,
7760         javax/swing/plaf/IconUIResource.java,
7761         javax/swing/plaf/InsetsUIResource.java,
7762         javax/swing/plaf/LabelUI.java,
7763         javax/swing/plaf/ListUI.java,
7764         javax/swing/plaf/OptionPaneUI.java,
7765         javax/swing/plaf/PanelUI.java,
7766         javax/swing/plaf/TabbedPaneUI.java,
7767         javax/swing/plaf/TextUI.java,
7768         javax/swing/plaf/TreeUI.java,
7769         javax/swing/plaf/ViewportUI.java,
7770         javax/swing/plaf/basic/BasicBorders.java,
7771         javax/swing/plaf/basic/BasicButtonUI.java,
7772         javax/swing/plaf/basic/BasicCheckBoxUI.java,
7773         javax/swing/plaf/basic/BasicDefaults.java,
7774         javax/swing/plaf/basic/BasicGraphicsUtils.java,
7775         javax/swing/plaf/basic/BasicIconFactory.java,
7776         javax/swing/plaf/basic/BasicLabelUI.java,
7777         javax/swing/plaf/basic/BasicListUI.java,
7778         javax/swing/plaf/basic/BasicOptionPaneUI.java,
7779         javax/swing/plaf/basic/BasicPanelUI.java,
7780         javax/swing/plaf/basic/BasicRadioButtonUI.java,
7781         javax/swing/plaf/basic/BasicScrollPaneUI.java,
7782         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7783         javax/swing/plaf/basic/BasicTextUI.java,
7784         javax/swing/plaf/basic/BasicToggleButtonUI.java,
7785         javax/swing/plaf/basic/BasicTreeUI.java,
7786         javax/swing/plaf/basic/BasicViewportUI.java,
7787         javax/swing/plaf/metal/MetalLookAndFeel.java:
7788         New versions from classpath. This adds copyrights to all files and
7789         some serialVersionUIDs.
7790
7791 2003-05-10  Michael Koch  <konqueror@gmx.de>
7792
7793         * java/nio/CharBuffer.java
7794         (offset): Make it package-private.
7795         (backing_buffer): Likewise.
7796         * java/nio/DoubleBuffer.java
7797         (offset): Make it package-private.
7798         (backing_buffer): Likewise.
7799         (put): Reformatted.
7800         * java/nio/FloatBuffer.java
7801         (offset): Make it package-private.
7802         (backing_buffer): Likewise.
7803         * java/nio/IntBuffer.java
7804         (offset): Make it package-private.
7805         (backing_buffer): Likewise.
7806         * java/nio/LongBuffer.java
7807         (offset): Make it package-private.
7808         (backing_buffer): Likewise.
7809         * java/nio/ShortBuffer.java
7810         (offset): Make it package-private.
7811         (backing_buffer): Likewise.
7812
7813 2003-05-10  Michael Koch  <konqueror@gmx.de>
7814
7815         * java/nio/CharBuffer.java
7816         (put): Fixed precondtion check.
7817         (toString): Make it work without backing array.
7818         (put): Skip one level of method calling.
7819
7820 2003-05-10  Michael Koch  <konqueror@gmx.de>
7821
7822         * java/security/Identity.java,
7823         java/security/IdentityScope.java,
7824         java/security/Key.java,
7825         java/security/KeyPair.java,
7826         java/security/PrivateKey.java,
7827         java/security/Provider.java,
7828         java/security/PublicKey.java,
7829         java/security/SecureRandom.java,
7830         java/security/SecureRandomSpi.java,
7831         java/security/SignedObject.java,
7832         java/security/Signer.java,
7833         java/security/cert/Certificate.java,
7834         java/security/cert/PKIXCertPathBuilderResult.java,
7835         java/security/cert/X509Certificate.java:
7836         New versions from classpath.
7837
7838 2003-05-09  Tom Tromey  <tromey@redhat.com>
7839
7840         * Makefile.in: Rebuilt.
7841         * Makefile.am (nat_source_files): Removed old files.
7842         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
7843         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
7844         * gnu/java/nio/natIntBufferImpl.cc: Removed.
7845         * gnu/java/nio/natLongBufferImpl.cc: Removed.
7846         * gnu/java/nio/natShortBufferImpl.cc: Removed.
7847
7848 2003-05-09  Michael Koch  <konqueror@gmx.de>
7849
7850         * gnu/java/nio/ByteBufferImpl.java
7851         (nio_cast): Removed.
7852         (ByteBufferImpl): Removed.
7853         (nio_get_Byte): Removed.
7854         (nio_put_Byte): Removed.
7855         (asByteBuffer): Removed.
7856         (asCharBuffer): Removed implementation and throw exception.
7857         (asShortBuffer): Likewise.
7858         (asIntBuffer): Likewise.
7859         (asLongBuffer): Likewise.
7860         (asFloatBuffer): Likewise.
7861         (asDoubleBuffer): Likewise.
7862         * gnu/java/nio/CharBufferImpl.java
7863         (CharBufferImpl): Removed.
7864         (nio_get_Byte): Removed.
7865         (nio_put_Byte): Removed.
7866         (asByteBuffer): Removed.
7867         * gnu/java/nio/DoubleBufferImpl.java
7868         (DoubleBufferImpl): Removed.
7869         (nio_get_Byte): Removed.
7870         (nio_put_Byte): Removed.
7871         (asByteBuffer): Removed.
7872         * gnu/java/nio/FloatBufferImpl.java
7873         (FloatBufferImpl): Removed.
7874         (nio_get_Byte): Removed.
7875         (nio_put_Byte): Removed.
7876         (asByteBuffer): Removed.
7877         * gnu/java/nio/IntBufferImpl.java
7878         (IntBufferImpl): Removed.
7879         (nio_get_Byte): Removed.
7880         (nio_put_Byte): Removed.
7881         (asByteBuffer): Removed.
7882         * gnu/java/nio/LongBufferImpl.java
7883         (LongBufferImpl): Removed.
7884         (nio_get_Byte): Removed.
7885         (nio_put_Byte): Removed.
7886         (asByteBuffer): Removed.
7887         * gnu/java/nio/ShortBufferImpl.java
7888         (ShortBufferImpl): Removed.
7889         (nio_get_Byte): Removed.
7890         (nio_put_Byte): Removed.
7891         (asByteBuffer): Removed.
7892         * gnu/java/nio/natByteBufferImpl.cc
7893         (nio_cast): Removed.
7894         (nio_get_Byte): Removed.
7895         (nio_put_Byte): Removed.
7896         * gnu/java/nio/natCharBufferImpl.cc
7897         (nio_get_Byte): Removed.
7898         (nio_put_Byte): Removed.
7899
7900 2003-05-09  Michael Koch  <konqueror@gmx.de>
7901
7902         * java/net/JarURLConnection.java
7903         (getJarEntry): Merged documentation from classpath.
7904         (getJarFile): Likewise.
7905         (getMainAttributes): Likewise.
7906         (getAttributes): Likewise.
7907         (getManifest): Likewise.
7908         (getCertificates): Reformatted.
7909         * java/net/URLConnection.java:
7910         Little classpath merge.
7911
7912 2003-05-09  Michael Koch  <konqueror@gmx.de>
7913
7914         * java/io/DataOutputStream.java
7915         (writeShort): Made it synchronized.
7916         (writeChar): Likewise.
7917         (writeInt): Likewise.
7918         (writeLong): Liekwise.
7919         (writeUTF): Made it synchronized, renamed argument to match classpath.
7920         * java/io/InputStreamReader.java
7921         (converter): Added documentation.
7922         (read): Merged documentation from classpath.
7923         * java/io/OutputStreamWriter.java
7924         (OutputStreamWriter): Merged documentation from classpath.
7925         (close): Reformatted.
7926         (getEncoding): Likewise.
7927         (flush): Likewise.
7928         (write): Merged documentation from classpath, reformatted.
7929
7930 2003-05-08  Tom Tromey  <tromey@redhat.com>
7931
7932         * configure.host <powerpc64*-*>: Set with_libffi_default and
7933         libgcj_interpreter to "yes".
7934
7935 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
7936
7937         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
7938         
7939 2003-05-06  Tom Tromey  <tromey@redhat.com>
7940
7941         * verify.cc: Reverted previous patch.
7942
7943 2003-05-06  Michael Koch  <konqueror@gmx.de>
7944
7945         * java/io/DataOutputStream.java
7946         (write): Renamed argument to "value", merged documentation from
7947         classpath.
7948         (writeBoolean): Likewise.
7949         (writeByte): Likewise.
7950         (writeShort): Likewise.
7951         (writeChar): Likewise.
7952         (writeInt): Likewise.
7953         (writeLong): Likewise.
7954         (writeFloat): Likewise.
7955         (writeDouble): Likewise.
7956         (writeBytes): Likewise.
7957         (writeChars): Likewise.
7958         (writeUTF): Likewise.
7959         * java/io/File.java
7960         (performDelete): Added documentation.
7961         (performList): Likewise.
7962         (performMkdir): Likewise.
7963         (performSetReadOnly): Likewise.
7964         (performRenameTo): Likewise.
7965         (performSetLastModified): Likewise.
7966         (delete): Made it sychronized.
7967         (renameTo): Made it sychronized.
7968         (equals): Reformatted.
7969         (isHidden): Likewise.
7970         (listFiles): Likewise.
7971         (setReadOnly): Likewise.
7972         (listRoots): Likewise.
7973         (setLastModified): Likewise.
7974         (checkRead): Likewise.
7975         (checkWrite): Likewise.
7976         * java/io/FileInputStream.java
7977         (skip): Made it sychronized, merged from classpath.
7978         * java/io/FileOutputStream.java
7979         (write): Merged from classpath.
7980         * java/io/InputStreamReader.java:
7981         (InputStreamReader): Merged documentation from classpath.
7982
7983 2003-05-05  Michael Koch  <konqueror@gmx.de>
7984
7985         * java/net/NetworkInterface.java
7986         (networkInterfaces): Removed.
7987         (getByName): Use getRealNetworkInterfaces() instead of
7988         networkInterfaces.
7989         (getByInetAddress): Likewise.
7990         (getNetworkInterfaces): Likewise.
7991         (toString): Fix output of addresses of an interface.
7992
7993 2003-05-05  Michael Koch  <konqueror@gmx.de>
7994
7995         * java/io/DataInputStream.java:
7996         Merged new documentation from classpath.
7997
7998 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
7999
8000         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
8001         "version".
8002         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
8003         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
8004         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
8005         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
8006         * gnu/awt/gtk/GtkMainThread.java: Likewise.
8007         * gnu/awt/gtk/GtkToolkit.java: Likewise.
8008         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
8009         * java/security/Key.java: Likewise.
8010         * java/security/PrivateKey.java: Likewise.
8011         * java/security/Provider.java: Likewise.
8012         * java/security/PublicKey.java: Likewise.
8013
8014 2003-05-02  Michael Koch  <konqueror@gmx.de>
8015
8016         * java/net/URI.java
8017         (create): Doesnt throws any exceptions.
8018         * java/net/URLConnection.java
8019         (URLConnection): Commend added.
8020         (getExpiration): The header field is called "expires" not
8021         "expiration".
8022         (getHeaderField): Merged documentation with classpath.
8023         (getHeaderFieldInt): Likewise.
8024         (getHeaderFieldDate): Likewise.
8025         (getHeaderFieldKey): Likewise.
8026         (getPermission): Likewise.
8027         (setDefaultUseCaches): Likewise.
8028         (setRequestProperty): Likewise.
8029         (addRequestProperty): Likewise.
8030         (getRequestProperty): Likewise.
8031         (getRequestProperties): Likewise.
8032         (setDefaultRequestProperty): Likewise.
8033         (getDefaultRequestProperty): Likewise.
8034         (guessContentTypeFromStream): Likewise.
8035         (getFileNameMap): Likewise.
8036         (setFileNameMap): Likewise.
8037         (setDoInput): Merged implementation and documentation with classpath.
8038         (setDoOutput): Likewise.
8039         (setAllowUserInteraction): Likewise.
8040         (setDefaultAllowUserInteraction): Likewise.
8041         (setContentHandlerFactory): Made it synchronized, merged documentation
8042         with classpath.
8043         (guessContentTypeFromName): Renamed argument fname to filename to
8044         match classpath, merged documentation with classpath.
8045
8046 2003-05-02  Michael Koch  <konqueror@gmx.de>
8047
8048         * java/net/JarURLConnection.java
8049         (JarURLConnection): Class documentation merged with classpath.
8050         (getJarFileURL): Moved and documentation merged with classpath.
8051         (getEntryName): Likewise.
8052         (JarURLConnection): Documentation merged with classpath.
8053         (getJarEntry): Likewise.
8054         (getJarFile): Likewise.
8055         * java/net/PlainDatagramSocketImpl.java:
8056         Class documentation moved.
8057         * java/net/URLConnection.java
8058         (fileNameMap): Moved and documentation merged with classpath.
8059         (factory): Likewise.
8060         (defaultAllowUserInteraction): Likewis.
8061         (defaultUseCaches): Likewise.
8062         (allowUserInteraction): Likewise.
8063         (connected): Likewise.
8064         (url): Likewise.
8065         (connect): Documentation merged with classpath.
8066         (getURL): Likewise.
8067         (getContentLength): Likewise.
8068         (getContentType): Likewise.
8069         (getContentEncoding): Likewise.
8070         (getExpiration): Likewise.
8071         (getDate): Likewise.
8072         (getLastModified): Likewise.
8073         (getHeaderField): Likewise.
8074         (getContent): Likewise.
8075         (getPermission): Likewise.
8076         (getInputStream): Likewise.
8077         (getOutputStream): Likewise.
8078         (toString): Likewise.
8079         (getDoInput): Likewise.
8080         (getDoOutput): Likewise.
8081         (setAllowUserInteraction): Likewise.
8082         (getAllowUserInteraction): Likewise.
8083         (setDefaultAllowUserInteraction): Likewise.
8084         (getDefaultAllowUserInteraction): Likewise.
8085         (setUseCaches): Likewise.
8086         (getUseCaches): Likewise.
8087         (setIfModifiedSince): Likewise.
8088         (getIfModifiedSince): Likewise.
8089         (setDefaultRequestProperty): Likewise.
8090         (getDefaultRequestProperty): Likewise.
8091         (setContentHandlerFactory): Likewise.
8092         (setFileNameMap): Likewise.
8093
8094 2003-05-02  Michael Koch  <konqueror@gmx.de>
8095
8096         * java/net/InetAddress.java:
8097         Merged class documentation with classpath.
8098         * java/net/JarURLConnection.java:
8099         Explicitely import all used classes.
8100         * java/net/URL.java:
8101         Reformatting.
8102         * java/net/ServerSocket.java,
8103         java/net/Socket.java:
8104         New versions from classpath.
8105
8106 2003-05-02  Michael Koch  <konqueror@gmx.de>
8107
8108         * gnu/java/nio/FileChannelImpl.java
8109         (read): New implementation.
8110         (implRead): New methods.
8111         (write): New implementation, call other write insteal of read method.
8112         (implWrite): New methods.
8113         (map): Added comment.
8114         (transferFrom): Implemented.
8115         (transferTo): Implemented.
8116         (lock): Added checks to throw exceptions.
8117         (truncate): Added check to throw exception.
8118         * gnu/java/nio/natFileChannelImpl.cc
8119         (implRead): New method.
8120         (implWrite): New method.
8121         * java/nio/ByteBuffer.java
8122         (hashCode): Fixed comment.
8123         (get): Fixed exception documentation.
8124         (put): Fixed exception documentation.
8125         * java/nio/CharBuffer.java:
8126         Added comment for later optimizations.
8127
8128 2003-04-30  Tom Tromey  <tromey@redhat.com>
8129
8130         PR libgcj/10582:
8131         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
8132         Removed.
8133         (type::compatible): Use _Jv_IsAssignableFrom.
8134         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
8135         (_Jv_IsAssignableFrom): Work even when source or target class is
8136         not prepared.
8137
8138 2003-04-30  Michael Koch  <konqueror@gmx.de>
8139
8140         * java/text/BreakIterator.java
8141         (clone): New method.
8142
8143 2003-04-30  Michael Koch  <konqueror@gmx.de>
8144
8145         * java/text/CollationElementIterator.java,
8146         java/text/CollationKey.java,
8147         java/text/RuleBasedCollator.java:
8148         Merged copyright and documentation from classpath and
8149         rearranged some code. No code changes done.
8150
8151 2003-04-30  Michael Koch  <konqueror@gmx.de>
8152
8153         * java/util/regex/Matcher.java
8154         (pattern): New member variable.
8155         (appendReplacement): New method.
8156         (appendTail): New method.
8157         (end): New method.
8158         (find): New method.
8159         (group): New method.
8160         (replaceFirst): Added documentation.
8161         (replaceAll): Added documentation.
8162         (groupCount): New method.
8163         (lookingAt): New method.
8164         (matches): New method.
8165         (reset): New method.
8166         (start): New method.
8167         * java/util/regex/Pattern.java
8168         (serialVersionUID): New constant.
8169         (CANON_EQ): New constant.
8170         (CASE_INSENSITIVE): New constant.
8171         (COMMENTS): New constant.
8172         (DOTALL): New constant.
8173         (MULTILINE): New constant.
8174         (UNICODE_CASE): New constant.
8175         (UNIX_LINES): New constant.
8176         (regex): New member variable.
8177         (flags): New member variable.
8178         (Pattern): New method.
8179         (compile): Documentation added.
8180         (flags): New method.
8181         (matches): Documentation added.
8182         (matcher): Documentation added.
8183         (split): Documentation added.
8184         (pattern): New method.
8185
8186 2003-04-30  Michael Koch  <konqueror@gmx.de>
8187
8188         * gnu/java/security/Engine.java,
8189         gnu/java/security/OID.java,
8190         gnu/java/security/der/BitString.java,
8191         gnu/java/security/der/DER.java,
8192         gnu/java/security/der/DERReader.java,
8193         gnu/java/security/der/DERValue.java,
8194         gnu/java/security/der/DERWriter.java,
8195         gnu/java/security/provider/DSAKeyFactory.java,
8196         gnu/java/security/provider/X509CertificateFactory.java,
8197         gnu/java/security/x509/X500DistinguishedName.java,
8198         gnu/java/security/x509/X509CRL.java,
8199         gnu/java/security/x509/X509CRLEntry.java,
8200         gnu/java/security/x509/X509Certificate.java,
8201         java/security/cert/CRLSelector.java,
8202         java/security/cert/CertPathBuilder.java,
8203         java/security/cert/CertPathBuilderResult.java,
8204         java/security/cert/CertPathBuilderSpi.java,
8205         java/security/cert/CertPathParameters.java,
8206         java/security/cert/CertPathValidator.java,
8207         java/security/cert/CertPathValidatorResult.java,
8208         java/security/cert/CertPathValidatorSpi.java,
8209         java/security/cert/CertSelector.java,
8210         java/security/cert/CertStore.java,
8211         java/security/cert/CertStoreParameters.java,
8212         java/security/cert/CertStoreSpi.java,
8213         java/security/cert/CollectionCertStoreParameters.java,
8214         java/security/cert/LDAPCertStoreParameters.java,
8215         java/security/cert/PKIXBuilderParameters.java,
8216         java/security/cert/PKIXCertPathBuilderResult.java,
8217         java/security/cert/PKIXCertPathChecker.java,
8218         java/security/cert/PKIXCertPathValidatorResult.java,
8219         java/security/cert/PKIXParameters.java,
8220         java/security/cert/PolicyNode.java,
8221         java/security/cert/PolicyQualifierInfo.java,
8222         java/security/cert/TrustAnchor.java,
8223         javax/security/auth/x500/X500Principal.java:
8224         New files from classpath.
8225         * gnu/java/io/ASN1ParsingException.java,
8226         gnu/java/io/Base64InputStream.java,
8227         gnu/java/security/der/DEREncodingException.java,
8228         gnu/java/security/provider/DSAParameters.java,
8229         gnu/java/security/provider/DSASignature.java,
8230         gnu/java/security/provider/Gnu.java,
8231         gnu/java/security/provider/GnuDSAPrivateKey.java,
8232         gnu/java/security/provider/GnuDSAPublicKey.java,
8233         java/security/AlgorithmParameterGenerator.java,
8234         java/security/AlgorithmParameters.java,
8235         java/security/KeyFactory.java,
8236         java/security/KeyPairGenerator.java,
8237         java/security/KeyStore.java,
8238         java/security/MessageDigest.java,
8239         java/security/SecureClassLoader.java,
8240         java/security/SecureRandom.java,
8241         java/security/Security.java,
8242         java/security/Signature.java,
8243         java/security/cert/Certificate.java,
8244         java/security/cert/CertificateFactory.java,
8245         java/security/cert/CertificateFactorySpi.java,
8246         java/security/cert/X509CRL.java,
8247         java/security/cert/X509Certificate.java,
8248         java/security/spec/DSAPublicKeySpec.java:
8249         New versions from classpath.
8250         * gnu/java/security/provider/DERReader.java,
8251         gnu/java/security/provider/DERWriter.java,
8252         java/security/Engine.java: Removed.
8253         * Makefile.am
8254         (java_source_files, javax_source_files): Added new files.
8255         * Makefile.in: Regenerated.
8256
8257 2003-04-29  Michael Koch  <konqueror@gmx.de>
8258
8259         * javax/swing/JTable.java
8260         (AUTO_RESIZE_ALL_COLUMNS): New constant.
8261         (AUTO_RESIZE_LAST_COLUMN): New constant.
8262         (AUTO_RESIZE_NEXT_COLUMN): New constant.
8263         (AUTO_RESIZE_OFF): New constant.
8264         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
8265         (JTable): New method.
8266         (columnAdded): New method.
8267         (columnMarginChanged): New method.
8268         (columnMoved): New method.
8269         (columnRemoved): New method.
8270         (columnSelectionChanged): New method.
8271         (editingCanceled): New method.
8272         (editingStopped): New method.
8273         (getColumnModel): New method.
8274         (getPreferredScrollableViewportSize): New method.
8275         (getScrollableBlockIncrement): New method.
8276         (getScrollableTracksViewportHeight): New method.
8277         (getScrollableTracksViewportWidth): New method.
8278         (getScrollableUnitIncrement): New method.
8279         (getSelectedRow): New method.
8280         (getSelectionModel): New method.
8281         (tableChanged): New method.
8282         (setModel): New method.
8283         (setSelectionMode): New method.
8284         (setSelectionModel): New method.
8285         (setShowGrid): New method.
8286         (valueChanged): New method.
8287         * javax/swing/text/DefaultEditorKit.java
8288         (backwardAction): New constant.
8289         (beepAction): New constant.
8290         (beginAction): New constant.
8291         (beginLineAction): New constant.
8292         (beginParagraphAction): New constant.
8293         (beginWordAction): New constant.
8294         (copyAction): New constant.
8295         (cutAction): New constant.
8296         (defaultKeyTypedAction): New constant.
8297         (deleteNextCharAction): New constant.
8298         (deletePrevCharAction): New constant.
8299         (downAction): New constant.
8300         (endAction): New constant.
8301         (endLineAction): New constant.
8302         (endOfLineStringProperty): New constant.
8303         (endParagraphAction): New constant.
8304         (endWordAction): New constant.
8305         (forwardAction): New constant.
8306         (insertBreakAction): New constant.
8307         (insertContentAction): New constant.
8308         (insertTabAction): New constant.
8309         (nextWordAction): New constant.
8310         (pageDownAction): New constant.
8311         (pageUpAction): New constant.
8312         (pasteAction): New constant.
8313         (previousWordAction): New constant.
8314         (readOnlyAction): New constant.
8315         (selectAllAction): New constant.
8316         (selectionBackwardAction): New constant.
8317         (selectionBeginAction): New constant.
8318         (selectionBeginLineAction): New constant.
8319         (selectionBeginParagraphAction): New constant.
8320         (selectionBeginWordAction): New constant.
8321         (selectionDownAction): New constant.
8322         (selectionEndAction): New constant.
8323         (selectionEndLineAction): New constant.
8324         (selectionEndParagraphAction): New constant.
8325         (selectionEndWordAction): New constant.
8326         (selectionForwardAction): New constant.
8327         (selectionNextWordAction): New constant.
8328         (selectionPreviousWordAction): New constant.
8329         (selectionUpAction): New constant.
8330         (selectLineAction): New constant.
8331         (selectParagraphAction): New constant.
8332         (selectWordAction): New constant.
8333         (upAction): New constant.
8334         (writableAction): New constant.
8335
8336 2003-04-29  Michael Koch  <konqueror@gmx.de>
8337
8338         * java/util/PropertyPermission.java:
8339         New version from classpath
8340         * java/util/ResourceBundle.java:
8341         Partly merged from classpath
8342         (getObject): Reformated.
8343         (tryBundle): Set foundBundle = null if no bundle found.
8344
8345 2003-04-29  Michael Koch  <konqueror@gmx.de>
8346
8347         * javax/swing/AbstractListModel.java,
8348         javax/swing/DefaultBoundedRangeModel.java,
8349         javax/swing/DefaultSingleSelectionModel.java:
8350         New Versions from classpath.
8351
8352 2003-04-29  Michael Koch  <konqueror@gmx.de>
8353
8354         * java/awt/Window.java
8355         (show): Call super.show() instead of setVisible() to avoid endless
8356         loop.
8357         (hide): Call super.hide() instead of setVisible() to avoid endless
8358         loop.
8359
8360 2003-04-29  Michael Koch  <konqueror@gmx.de>
8361
8362         * java/util/zip/Deflater.java,
8363         java/util/zip/DeflaterOutputStream.java:
8364         Partly merged with classpath.
8365
8366 2003-04-27  Tom Tromey  <tromey@redhat.com>
8367
8368         * java/lang/natString.cc (_Jv_AllocString): Initialize
8369         cachedHashCode.
8370         (init): Likewise.
8371         (_Jv_NewStringUtf8Const): Likewise.
8372
8373 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
8374
8375         * include/jvm.h: (_Jv_GetNbArgs) added
8376         (_Jv_GetSafeArg) added
8377         (_Jv_SetArgs) added
8378         * prims.cc: (_Jv_GetNbArgs) implemented
8379         (_Jv_GetSafeArg) implemented
8380         (_Jv_SetArgs) implemented
8381         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
8382         setting _Jv_argc and _Jv_argv
8383         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
8384         instead of _Jv_argv
8385         * java/lang/natRuntime.cc: (insertSystemProperties) use
8386         _Jv_GetSafeArg() instead of _Jv_argv
8387
8388 2003-04-23  Tom Tromey  <tromey@redhat.com>
8389
8390         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
8391         required by this object.  Search superclasses to find required
8392         alignment.
8393         (get_alignment_from_class): Use alignment of type as it appears
8394         in a struct.
8395         (ALIGNOF): New macro.
8396         (struct aligner): New helper structure.
8397
8398 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
8399
8400         * java/awt/Container.java (addImpl): Enable paint events if adding
8401         a lightweight to a heavyweight.
8402         (addNotify): Ensure that peer is created before
8403         addNotifyContainerChildren.
8404         (addNotifyContainerChildren): Enable paint events if a heavyweight
8405         container contains a lightweight.
8406
8407 2003-04-20  Tom Tromey  <tromey@redhat.com>
8408
8409         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
8410         java/io/DataInput.java, java/io/DataOutput.java: Imports from
8411         Classpath.
8412
8413 2003-04-19  Tom Tromey  <tromey@redhat.com>
8414
8415         * java/sql/Date.java, java/sql/DriverManager.java,
8416         java/sql/Time.java, java/sql/Timestamp.java: New versions from
8417         Classpath.
8418
8419         * Makefile.in: Rebuilt.
8420         * Makefile.am (ordinary_java_source_files): Added new files.
8421         * java/security/AlgorithmParameterGenerator.java,
8422         java/security/AlgorithmParameters.java, java/security/Engine.java,
8423         java/security/Identity.java, java/security/IdentityScope.java,
8424         java/security/KeyFactory.java,
8425         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
8426         java/security/MessageDigest.java, java/security/Policy.java,
8427         java/security/ProtectionDomain.java,
8428         java/security/SecureRandom.java, java/security/Security.java,
8429         java/security/Signature.java, java/security/SignatureSpi.java,
8430         java/security/SignedObject.java, java/security/Signer.java,
8431         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
8432         java/security/spec/PSSParameterSpec.java,
8433         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
8434         java/security/spec/RSAOtherPrimeInfo.java: New versions from
8435         Classpath.
8436
8437 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
8438
8439         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
8440         (dispose): Null metrics.
8441         * gnu/awt/xlib/XToolkit.java (sync): Implement.
8442         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
8443         finalize.
8444         (finalize): Call dispose.
8445         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
8446         (gcCachedCount): New field.
8447         (finalize): New method.
8448         (putGCInCache): New method.
8449         (getGCFromCache): New method.
8450         * gnu/gcj/xlib/GC.java (GC): Make protected.
8451         (clone): Get new GC from cache if possible.
8452         (create): New static method.
8453         (dispose): Save old GC in cache.
8454         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
8455         deleting.
8456         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
8457         is null.
8458         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
8459         * java/awt/Container.java (visitChild): Dispose gfx2 when
8460         finished.
8461
8462 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
8463
8464         * java/math/BigInteger.java (probablePrime): New.
8465         * java/math/BigDecimal.java (unscaledValue): New.
8466
8467 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
8468
8469         * java/io/File.java (getAbsolutePath): On Windows, take care
8470         of paths like "C:", "G:foo\bar", etc.
8471         (getName): Make it work correctly on Windows.
8472         (getParent): Make it work correctly on Windows. For UNIX,
8473         fix bug that causes "/" to be returned as the parent of "/",
8474         instead of null as returned by Sun's JRE.
8475
8476         * java/io/natFileWin32.cc: Change copyright owner to FSF.
8477
8478 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
8479
8480         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
8481         inner class.
8482         (CACHE_SIZE_PER_DISPLAY): New field
8483         (fontMetricsCache): New field
8484         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
8485         loading ISO10646-1 fonts.
8486
8487 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
8488
8489         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
8490         characters.
8491         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
8492         characters.
8493
8494 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
8495
8496         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
8497         floating point.
8498
8499 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
8500
8501         * configure.host (*-linux*): Don't set slow_pthread_self if primary
8502         installed libpthread is either linuxthreads with floating stacks or
8503         NPTL.
8504
8505 2003-04-14  Tom Tromey  <tromey@redhat.com>
8506
8507         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
8508         of alignment.
8509
8510 2003-04-10  Tom Tromey  <tromey@redhat.com>
8511
8512         * verify.cc (pop64): Removed.
8513         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
8514         exception if top-of-stack is narrow.
8515         (initialize_stack): Check to ensure that <init> is not static and
8516         <clinit> is.
8517
8518 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
8519
8520         * java/io/ObjectStreamException
8521         * java/io/FileFilter
8522         * java/io/FilenameFilter
8523         * java/io/ObjectInput
8524         * java/io/ObjectOutput
8525         * java/io/ObjectStreamConstants
8526         Minor doc fixes, format fixes, spelling corrections, etc.
8527         * java/io/DataInput
8528         Corrected code samples in Javadocs to match reality
8529         * java/io/DataOutput
8530         * java/io/ObjectInputValidation
8531         Major documentation fixes - all Javadocs re-written or updated
8532
8533 2003-04-06  Michael Koch  <konqueror@gmx.de>
8534
8535         * java/net/URLConnection.java:
8536         Import classes directly.
8537         (URLConnection): Merged class documentation with classpath.
8538         (url): Moved, documentation from classpath added.
8539         (doInput): Moved, documentation from classpath added.
8540         (doOutput): Moved, documentation from classpath added.
8541         (allowUserInteraction): Moved.
8542         (useCaches): Moved, documentation from classpath added.
8543         (ifModifiedSince): Moved, documentation from classpath added.
8544         (connected): Moved, documentation from classpath added.
8545
8546 2003-04-06  Michael Koch  <konqueror@gmx.de>
8547
8548         * java/io/FileInputStream.java
8549         (skip): Renamed some variables to match classpath, added
8550         checks from classpath.
8551
8552 2003-03-31  Michael Koch  <konqueror@gmx.de>
8553
8554         * javax/swing/AbstractAction.java
8555         (AbstractAction): Reformatted.
8556         (serialVersionUID): New private member variable.
8557         * javax/swing/plaf/BorderUIResource.java
8558         (serialVersionUID): New private member variable.
8559         * javax/swing/plaf/basic/BasicLookAndFeel.java
8560         (serialVersionUID): New private member variable.
8561
8562 2003-03-31  Michael Koch  <konqueror@gmx.de>
8563
8564         * java/sql/Date.java
8565         (valueOf): Deprecated, reformatted.
8566         (toString): Deprecated, reformatted.
8567         * java/sql/Time.java
8568         (valueOf): Deprecated, reformatted.
8569         (toString): Deprecated, reformatted.
8570
8571 2003-03-31  Michael Koch  <konqueror@gmx.de>
8572
8573         * java/rmi/dgc/VMID.java
8574         (isUnique): Deprecated.
8575
8576 2003-03-31  Michael Koch  <konqueror@gmx.de>
8577
8578         * java/io/File.java
8579         (separator): Merged documentation from classpath.
8580         (separatorChar): Merged documentation from classpath.
8581         (pathSeparator): Merged documentation from classpath.
8582         (pathSeparatorChar): Merged documentation from classpath.
8583         (path): Merged documentation from classpath.
8584         (canRead): Merged documentation from classpath.
8585         (canWrite): Merged documentation from classpath.
8586         (createNewFile): Merged documentation from classpath.
8587         (delete): Merged documentation from classpath.
8588         (equals): Merged documentation from classpath.
8589         (exists): Merged documentation from classpath.
8590         (File): Renamed p to name to match classpath, merged documentation
8591         from classpath.
8592         (getAbsolutePath): Merged documentation from classpath.
8593         (getCanonicalPath): Merged documentation from classpath.
8594         (getCanonicalFile): Merged documentation from classpath.
8595         (getName): Merged documentation from classpath.
8596         (getParent): Merged documentation from classpath.
8597         (getParentFile): Merged documentation from classpath.
8598         (getPath): Merged documentation from classpath.
8599         (hashCode): Merged documentation from classpath.
8600         (isAbsolute): Merged documentation from classpath.
8601         (isDirectory): Merged documentation from classpath.
8602         (isFile): Merged documentation from classpath.
8603         (isHidden): Merged documentation from classpath.
8604         (lastModified): Merged documentation from classpath.
8605         (length): Merged documentation from classpath.
8606         (list): Merged documentation from classpath.
8607         (listFiles): Merged documentation from classpath.
8608         (toString): Merged documentation from classpath.
8609         (toURL): Merged documentation from classpath.
8610         (mkdir): Merged documentation from classpath.
8611         (mkdirs): Merged documentation from classpath.
8612         (createTempFile): Merged documentation from classpath.
8613         (setReadOnly): Merged documentation from classpath.
8614         (listRoots): Merged documentation from classpath.
8615         (compareTo): Merged documentation from classpath.
8616         (renameTo): Merged documentation from classpath.
8617         (setLastModified): Merged documentation from classpath.
8618         * java/io/PrintStream.java
8619         (auto_flush): Merged documentation from classpath.
8620         (PrintStream): Merged documentation from classpath.
8621         (checkError): Merged documentation from classpath.
8622         (setError): Merged documentation from classpath.
8623         (close): Merged documentation from classpath.
8624         (flush): Merged documentation from classpath.
8625         (print): Merged documentation from classpath.
8626         (println):  Merged documentation from classpath.
8627         (write): Renamed count to len to match classpath,
8628         merged documentation from classpath.
8629         * java/io/RandomAccessFile.java
8630         (readShort): Merged documentation from classpath.
8631         (readUnsignedByte): Merged documentation from classpath.
8632         (readUnsignedShort): Merged documentation from classpath.
8633         (readUTF): Merged documentation from classpath.
8634         (seek): Reformatted, merged documentation from classpath.
8635         (skipBytes): Renamed some variables to match classpath, reformatted,
8636         merged documentation from classpath.
8637         (write): Merged documentation from classpath.
8638         (writeBoolean): Merged documentation from classpath.
8639         (writeByte): Merged documentation from classpath.
8640         (writeShort): Merged documentation from classpath.
8641         (writeChar): Merged documentation from classpath.
8642         (writeInt): Merged documentation from classpath.
8643         (writeLong): Merged documentation from classpath.
8644         (writeFloat): Merged documentation from classpath.
8645         (writeDouble): Merged documentation from classpath.
8646         (writeBytes): Merged documentation from classpath.
8647         (writeChars): Merged documentation from classpath.
8648         (writeUTF): Reformatted.
8649         (getChannel): Reformatted.
8650
8651 2003-03-31  Michael Koch  <konqueror@gmx.de>
8652
8653         * java/awt/font/TextAttribute.java
8654         (readResolve): Throws java.io.InvalidObjectException.
8655
8656 2003-03-31  Michael Koch  <konqueror@gmx.de>
8657
8658         * java/rmi/server/LoaderHandler.java
8659         (loadClass): Deprecated.
8660         (getSecurityContext): Deprecated.
8661         * java/rmi/server/LogStream.java
8662         (getDefaultStream): Deprecated.
8663         (setDefaultStream): Deprecated.
8664         (getOutputStream): Deprecated.
8665         (setOutputStream): Deprecated.
8666         (write): Deprecated.
8667         (toString): Deprecated.
8668         (parseLevel): Deprecated.
8669         * java/rmi/server/Operation.java
8670         (Operation): Deprecated.
8671         (getOperation): Deprecated.
8672         (toString): Deprecated.
8673         * java/rmi/server/RemoteCall.java
8674         (getOutputStream): Deprecated.
8675         (releaseOutputStream): Deprecated.
8676         (getInputStream): Deprecated.
8677         (releaseInputStream): Deprecated.
8678         (getResultStream): Deprecated.
8679         (executeCall): Deprecated.
8680         (done): Deprecated.
8681         * java/rmi/server/RemoteRef.java
8682         (invoke): Deprecated.
8683         (newCall): Deprecated.
8684         (done): Deprecated.
8685         * java/rmi/server/RemoteStub.java
8686         (setRef): Deprecated.
8687         * java/rmi/server/Skeleton.java:
8688         No need to import java.lang.Exception explicitly.
8689         (dispatch): Deprecated.
8690         (getOperations): Deprecated.
8691
8692 2003-03-31  Michael Koch  <konqueror@gmx.de>
8693
8694         * java/rmi/dgc/VMID.java,
8695         java/rmi/registry/RegistryHandler.java,
8696         java/rmi/server/LogStream.java,
8697         java/rmi/server/Operation.java,
8698         java/rmi/server/RemoteCall.java,
8699         java/rmi/server/RemoteRef.java,
8700         java/rmi/server/RemoteStub.java:
8701         Reformatted.
8702
8703 2003-03-31  Michael Koch  <konqueror@gmx.de>
8704
8705         * javax/swing/AbstractCellEditor.java,
8706         javax/swing/AbstractListModel.java,
8707         javax/swing/ActionMap.java,
8708         javax/swing/BorderFactory.java,
8709         javax/swing/ButtonGroup.java,
8710         javax/swing/DefaultBoundedRangeModel.java,
8711         javax/swing/DefaultButtonModel.java,
8712         javax/swing/DefaultCellEditor.java,
8713         javax/swing/DefaultComboBoxModel.java,
8714         javax/swing/DefaultDesktopManager.java,
8715         javax/swing/DefaultListCellRenderer.java,
8716         javax/swing/DefaultSingleSelectionModel.java,
8717         javax/swing/InputMap.java,
8718         javax/swing/JComponent.java,
8719         javax/swing/JMenu.java,
8720         javax/swing/JSlider.java,
8721         javax/swing/KeyStroke.java,
8722         javax/swing/OverlayLayout.java,
8723         javax/swing/ScrollPaneLayout.java,
8724         javax/swing/SizeRequirements.java,
8725         javax/swing/UIManager.java,
8726         javax/swing/ViewportLayout.java,
8727         javax/swing/border/AbstractBorder.java,
8728         javax/swing/colorchooser/DefaultColorSelectionModel.java,
8729         javax/swing/event/EventListenerList.java,
8730         javax/swing/table/AbstractTableModel.java,
8731         javax/swing/table/DefaultTableCellRenderer.java,
8732         javax/swing/table/DefaultTableColumnModel.java,
8733         javax/swing/table/DefaultTableModel.java,
8734         javax/swing/table/TableColumn.java,
8735         javax/swing/text/StyledEditorKit.java,
8736         javax/swing/tree/DefaultMutableTreeNode.java,
8737         javax/swing/tree/DefaultTreeModel.java,
8738         javax/swing/tree/DefaultTreeSelectionModel.java,
8739         javax/swing/tree/TreePath.java,
8740         javax/swing/undo/AbstractUndoableEdit.java,
8741         javax/swing/undo/StateEdit.java,
8742         javax/swing/undo/StateEditable.java,
8743         javax/swing/undo/UndoableEditSupport.java:
8744         Merges from classpath.
8745
8746 2003-03-30  Tom Tromey  <tromey@redhat.com>
8747
8748         * java/lang/String.java (data, boffset, count): Documented.
8749         (String(byte[],String)): Reformatted.
8750         (String(byte[])): Likewise.
8751         (lastIndexOf(int)): Likewise.
8752         (lastIndexOf(String)): Likewise.
8753         (substring(int)): Renamed argument to match Classpath.
8754         (String(StringBuffer)): Don't share buffer if it is nearly empty.
8755
8756         * java/lang/String.java: Miscellaneous minor formatting changes
8757         to match Classpath more closely.
8758
8759 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
8760             Tom Tromey  <tromey@redhat.com>
8761
8762         * java/lang/natString.cc (hashCode): Use cachedHashCode.
8763         (init()): Removed.
8764         (charAt): Put index in exception.
8765         (contentEquals): New method.
8766         Include StringBuffer.h.
8767         * java/lang/String.java (cachedHashCode): New field.
8768         (String()): Follow classpath implementation.
8769         (init()): Removed.
8770         (contentEquals): Declare.
8771         (subSequence): Don't declare IndexOutIfBoundsException in throws
8772         clause.
8773         (matches, replaceFirst, replaceAll, split): New methods from
8774         Classpath.
8775
8776 2003-03-29  Tom Tromey  <tromey@redhat.com>
8777
8778         * java/lang/String.java: Reordered to follow Classpath; merged in
8779         javadoc.
8780
8781         * java/text/MessageFormat.java: Removed some whitespace.
8782
8783         * Makefile.in: Rebuilt.
8784         * Makefile.am (awt_java_source_files): Added new files.
8785         * gnu/javax/rmi/PortableServer.java,
8786         gnu/javax/rmi/CORBA/DelegateFactory.java,
8787         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
8788         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
8789         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
8790         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
8791         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
8792         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
8793         javax/rmi/PortableRemoteObject.java,
8794         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
8795         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
8796         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
8797         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
8798         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
8799         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
8800
8801         * java/lang/natClass.cc (newInstance): Put method name in
8802         exception.
8803         (getConstructor): Likewise.
8804         (getDeclaredConstructor): Likewise.
8805         (getPrivateMethod): Likewise.
8806
8807 2003-03-28  Tom Tromey  <tromey@redhat.com>
8808
8809         * java/lang/reflect/Proxy.java: New version from Classpath.
8810         * java/lang/Package.java: New version from Classpath.
8811
8812 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
8813
8814         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
8815         * configure: Regenerate.
8816
8817 2003-03-28  Michael Koch  <konqueror@gmx.de>
8818
8819         * java/io/File.java:
8820         Import needed classes instead of whole packages, merged class
8821         documentation with classpath, moved constants and variables to top of
8822         class.
8823         * java/io/PrintStream.java:
8824         Merged class documentation with classpath, moved constants and
8825         variables to top of class.
8826         * java/io/RandomAccessFile.java
8827         (RandomAccessFile): Merged with classpath.
8828         (read): Merged with classpath).
8829         (read*): Reformatted.
8830
8831 2003-03-28  Michael Koch  <konqueror@gmx.de>
8832
8833         * java/io/FileDescriptor.java
8834         (finalize): Throws Throwable, not IOException.
8835         * java/io/ObjectOutputStream.java
8836         (PutField.put): Doesnt throws anything.
8837
8838 2003­03-28  Michael Koch  <konqueror@gmx.de>
8839
8840         * java/io/FileOutputStream.java:
8841         Merged class documentation and authors with classpath.
8842         (FileOutputStream): Partly merged with classpath.
8843         (write): Merged with classpath.
8844         (getChannel): Make it synchronized instead of explicit block in this
8845         method.
8846         * java/io/RandomAccessFile.java:
8847         Merged class documentation and authors with classpath.
8848
8849 2003-03-26  Tom Tromey  <tromey@redhat.com>
8850
8851         * java/lang/natRuntime.cc (insertSystemProperties): Set
8852         gnu.classpath.home.url.
8853         * Makefile.in: Rebuilt.
8854         * Makefile.am: Define LIBDIR.
8855
8856 2003-03-25  Michael Koch  <konqueror@gmx.de>
8857
8858         * java/io/FileInputStream.java
8859         (read): Renamed b to buf and off to offset.
8860         * java/io/FileOutputStream.java
8861         (ch): Documentation added.
8862         (FileOutputStream): Documentation added.
8863         (getFD): Documentation added.
8864         (write): Documentation added.
8865         (close): Documentation added.
8866         (getChannel): Documentation added.
8867
8868 2003-03-24  Michael Koch  <konqueror@gmx.de>
8869
8870         * java/io/DataOutputStream.java
8871         (write): Merged from classpath.
8872         * java/io/File.java:
8873         Merged copyrigth with classpath.
8874         * java/io/FileInputStream.java
8875         (getChannel): Made it synchronized instead of using a synchronized
8876         block.
8877         * java/io/FileOutputStream.java: Reformatted.
8878         * java/io/InputStreamReader.java
8879         (InputStreamReader): Renamed enc to encoding_name.
8880         (close): Merged documentation from classpath.
8881         (getEncoding): Merged documentation from classpath.
8882         (ready): Merged documentation from classpath.
8883         (read): Merged documentation from classpath.
8884         * java/io/LineNumberReader.java
8885         (lineNumber): Made it private.
8886         (LineNumberReader): Use Constant instead of a direct value.
8887         * java/io/OutputStreamWriter.java
8888         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
8889         documentation from classpath.
8890         (close): Merged documentation from classpath.
8891         (flush): Merged documentation from classpath.
8892         (write): Merged documentation from classpath.
8893         * java/io/PrintStream.java: Reformatted.
8894
8895 2003-03-24  Michael Koch  <konqueror@gmx.de>
8896
8897         * javax/swing/text/ComponentView.java
8898         (getComponent): Must be final.
8899         * javax/swing/tree/DefaultTreeCellRenderer.java:
8900         Reformatted.
8901         * javax/swing/undo/StateEditable.java:
8902         Reformatted.
8903
8904 2003-03-24  Michael Koch  <konqueror@gmx.de>
8905
8906         * java/rmi/activation/ActivationInstantiator.java:
8907         Reformatted.
8908         * java/rmi/activation/Activator.java:
8909         Reformatted.
8910         * java/rmi/registry/RegistryHandler.java:
8911         Remerged from classpath.
8912
8913 2003-03-24  Michael Koch  <konqueror@gmx.de>
8914
8915         * java/util/Date.java:
8916         Fixed documentation starting tag to make javadoc happy.
8917         * java/util/regex/Pattern.java
8918         (Pattern): Implements Serializable.
8919         * java/util/PatternSyntaxException.java
8920         (serialVersionUID): New member variable.
8921
8922 2003-03-24  Michael Koch  <koqnueror@gmx.de>
8923
8924         * java/awt/ContainerOrderFocusTraversalPolicy.java
8925         (getFirstComponent): Implemented.
8926         (getLastComponent): Implemented.
8927         (getDefaultComponent): Implemented.
8928         (setImplicitDownCycleTraversal): Fixed implementation.
8929         * java/awt/Robot.java
8930         (Robot): Added documentation.
8931         * java/awt/Toolkit.java
8932         (getFontList): Deprecated.
8933         (getFontMetrics): Deprecated.
8934         (getPrintJob): Added documentation.
8935         (getSystemSelection): Added documentation.
8936         (getLockingKeyState): Added documentation.
8937         (setLockingKeyState): Added documentation.
8938         (createCustomCursor): Added documentation.
8939         (getBestCursorSize): Added documentation.
8940         (getMaximumCursorColors): Added documentation.
8941         (isFrameStateSupported): Added documentation.
8942
8943 2003-03-24  Michael Koch  <konqueror@gmx.de>
8944
8945         * java/io/RandomAccessFile.java:
8946         More little merges with classpath. No code changes.
8947
8948 2003-03-24  Michael Koch  <konqueror@gmx.de>
8949
8950         * java/net/natInetAddressNoNet.cc:
8951         Include stddef.h.
8952         * java/net/natPlainDatagramSocketImplNoNet.cc:
8953         Fixed inlcude of java/net/DatagramPacket.h.
8954         * java/net/natPlainSocketImplNoNet.cc:
8955         Include some missing classes.
8956
8957 2003-03-24  Michael Koch  <konqueror@gmx.de>
8958
8959         * java/awt/dnd/DropTarget.java
8960         (DropTargetAutoScroller): According to the online documentation, this
8961         is protected, but in reality it is public.
8962         * java/awt/dnd/DropTargetContext.java
8963         (TransferableProxy): According to the online documentation, this
8964         is protected, but in reality it is public.
8965
8966 2003-03-24  Michael Koch  <konqueror@gmx.de>
8967
8968         * java/io/DataInputStream.java
8969         (): Wrapped documentation line.
8970         (): Fixed @return tag.
8971         * java/io/DataOutputStream.java
8972         (written): Moved to top of class.
8973         (all methods): Merged documentation from classpath.
8974         * java/io/File.java:
8975         Merged copyright year with classpath.
8976         * java/io/FileInputStream.java
8977         (all methods): Merged documentation from classpath.
8978         * java/io/LineNumberReader.java
8979         (getLineNumber): Fixed @return tag.
8980         * java/io/ObjectInputStream.java.
8981         Reformatted.
8982         * java/io/ObjectOutputStream.java:
8983         Reformatted, fixed some @see tags.
8984         * java/io/OutputStreamWriter.java:
8985         Deleted empty line.
8986         * java/io/Writer.java:
8987         Reformatted.
8988
8989 2003-03-24  Michael Koch  <konqueror@gmx.de>
8990
8991         * java/awt/Frame.java
8992         (DEFAULT_CURSOR): Fixed @deprecated tag.
8993         (setCursor): Fixed @deprecated tag.
8994
8995 2003-03-24  Michael Koch  <konqueror@gmx.de>
8996
8997         * java/beans/beancontext/BeanContextEvent.java:
8998         Reformated.
8999
9000 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
9001
9002         * java/lang/natStringBuffer.cc (regionMatches): New function.
9003         * java/lang/String.java (count): Now package-private.
9004         * java/lang/StringBuffer.java: Merged with Classpath.
9005
9006 2003-03-23  Michael Koch  <konqueror@gmx.de>
9007
9008         * java/io/BufferedOutputStream.java:
9009         Reformated.
9010         * java/io/BufferedReader.java:
9011         Reformated.
9012         * java/io/ByteArrayOutputStream.java
9013         (size): Fixed @see tag.
9014         * java/io/CharArrayWriter.java
9015         (size): Fixed @see tag.
9016         * java/io/DataInput.java:
9017         Reformated.
9018         * java/io/DataOutput.java:
9019         Reformated.
9020         * java/io/DataOutputStream.java:
9021         Merged copyright years with classpath.
9022         * java/io/Externalizable.java:
9023         Reformated.
9024         * java/io/FileFilter.java:
9025         Reformated.
9026         * java/io/FileInputStream.java:
9027         Merged copyright years with classpath.
9028         * java/io/FileOutputStream.java:
9029         Merged copyright years with classpath.
9030         * java/io/FilePermission.java
9031         (FilePermission): Replaced @XXX with FIXME:.
9032         * java/io/FileWriter.java:
9033         Reformated.
9034         * java/io/FilenameFilter.java:
9035         Reformated.
9036         * java/io/FilterInputStream.java:
9037         Reformated.
9038         * java/io/FilterOutputStream.java:
9039         Reformated.
9040         * java/io/FilterReader.java:
9041         Reformated.
9042         * java/io/FilterWriter.java:
9043         Reformated.
9044         * java/io/LineNumberInputStream.java
9045         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
9046         happy.
9047         (getLineNumber): Fixed @return tag.
9048         * java/io/ObjectInput.java:
9049         Reformated.
9050         * java/io/ObjectOutput.java:
9051         Reformated.
9052         * java/io/ObjectStreamClass.java:
9053         Reformated.
9054         * java/io/PrintStream.java:
9055         Merged copyright years with classpath.
9056         * java/io/PushbackReader.java
9057         (PushbackReader): Replaced @code with @param.
9058         * java/io/SerializablePermission.java:
9059         Reformated.
9060         * java/io/StreamTokenizer.java
9061         (resetSyntax): Fixed @see tag.
9062
9063 2003-03-22  Richard Henderson  <rth@redhat.com>
9064
9065         * sysdep/ia64/locks.h: Include ia64intrin.h.
9066         (compare_and_swap): Use __sync_bool_compare_and_swap.
9067         (compare_and_swap_release): Expose ar.ccv assignment.
9068
9069 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
9070
9071         * include/posix.h: Add suffix for darwin dynamic libraries.
9072
9073 2003-03-21  Michael Koch  <konqueror@gmx.de>
9074
9075         * javax/swing/Action.java
9076         (ACCELERATOR_KEY): New constant.
9077         (ACTION_COMMAND_KEY): Likewise.
9078         (MNEMONIC_KEY): Likewise.
9079         * javax/swing/UnsupportedLookAndFeelException.java
9080         (UnsupportedLookAndFeelException): Must be public.
9081         * javax/swing/WindowConstants.java
9082         (EXIT_ON_CLOSE): New constant.
9083         * javax/swing/text/BadLocationException.java
9084         (offset): New member variable.
9085         (BadLocationException): New implementation, documentation added.
9086         (offsetRequested): New method.
9087         * javax/swing/text/Caret.java:
9088         Reformated.
9089         * javax/swing/text/Document.java:
9090         Reformated.
9091
9092 2003-03-21  Michael Koch  <konqueror@gmx.de>
9093
9094         * java/rmi/activation/Activatable.java
9095         (serialVersionUID): New member variable.
9096         * java/rmi/activation/ActivationGroup.java
9097         (serialVersionUID): New member variable.
9098         * java/rmi/activation/ActivationGroupDesc.java
9099         (serialVersionUID): New member variable.
9100         * java/rmi/registry/Registry.java:
9101         Reformated.
9102         (Registry): Deprecated.
9103         * java/rmi/server/LoaderHandler.java
9104         Reformated.
9105         (LoaderHandler): Deprecated.
9106         * java/rmi/server/LogStream.java
9107         Reformated.
9108         (LogStream): Deprecated.
9109         * java/rmi/server/Operation.java
9110         (Operation): Deprecated.
9111         * java/rmi/server/RMIFailureHandler.java:
9112         Reformated.
9113         * java/rmi/server/RMISocketFactory.java:
9114         Reformated.
9115         * java/rmi/server/RemoteCall.java
9116         (RemoteCall): Deprecated.
9117         * java/rmi/server/RemoteStub.java:
9118         Reformated.
9119         * java/rmi/server/Skeleton.java
9120         Reformated.
9121         (Skeleton): Deprecated.
9122
9123 2003-03-21  Michael Koch  <konqueror@gmx.de>
9124
9125         * java/io/LineNumberReader.java
9126         (LineNumberReader): Merged documentation with classpath.
9127         (getLineNumber): Likewise.
9128         (setLineNumber): Likewise.
9129         (mark): Likewise.
9130         (reset): Likewise.
9131         (read): Likewise.
9132         (readLine): Likewise.
9133         (skip): Likewise.
9134
9135 2003-03-21  Michael Koch  <konqueror@gmx.de>
9136
9137         * java/rmi/RMISecurityManager.java
9138         (checkAccept): Removed.
9139         (checkAccess): Likewise.
9140         (checkAccess): Likewise.
9141         (checkAwtEventQueueAccess): Likewise.
9142         (checkConnect): Likewise.
9143         (checkCreateClassLoader): Likewise.
9144         (checkDelete): Likewise.
9145         (checkExec): Likewise.
9146         (checkExit): Likewise.
9147         (checkLink): Likewise.
9148         (checkListen): Likewise.
9149         (checkMemberAccess): Likewise.
9150         (checkMulticast): Likewise.
9151         (checkPackageAccess): Likewise.
9152         (checkPackageDefinition): Likewise.
9153         (checkPermission): Likewise.
9154         (checkPrintJobAccess): Likewise.
9155         (checkPropertiesAccess): Likewise.
9156         (checkPropertyAccess): Likewise.
9157         (checkRead): Likewise.
9158         (checkSecurityAccess): Likewise.
9159         (checkSetFactory): Likewise.
9160         (checkSystemClipboardAccess): Likewise.
9161         (checkTopLevelWindow): Likewise.
9162         (checkWrite): Likewise.
9163
9164 2003-03-20  Michael Koch  <konqueror@gmx.de>
9165
9166         * gnu/java/nio/FileChannelImpl.java
9167         (address): Removed.
9168         (map_address): New member variable.
9169         (length): Make it package private.
9170         (fd): Make it package private.
9171         (buf): Make it package private.
9172         (file_obj): Make it package private.
9173         (FileChannelImpl): New constructor.
9174         (nio_mmap_file): Use RawData instead of long.
9175         (nio_munmap_file): Use RawData instead of long.
9176         (nio_msync): Use RawData instead of long.
9177         (implCloseChannel): New implementation using map_address.
9178         (read): Reformated.
9179         (map): Implemented.
9180         (create_direct_mapped_buffer): Implemented, use RawData, throws
9181         IOException.
9182         (force): Use map_address instead of address.
9183         * gnu/java/nio/MappedByteFileBuffer.java
9184         (address): Removed.
9185         (map_address): New member variable.
9186         (MappedByteFileBuffer): Use map_address instead of address, reformated.
9187         (several methods): Use map_address instead of address, replaced long
9188         with RawData where appropriate.
9189         * gnu/java/nio/natFileChannelImpl.cc
9190         (nio_mmap_file): Replaced long with RawData.
9191         (nio_munmap_file): Replaced long with RawData.
9192         (nio_msync): Replaced long with RawData.
9193         * gnu/java/nio/natMappedByteFileBuffer.cc
9194         (several methods): Replaced long with RawData where appropriate.
9195
9196 2003-03-20  Michael Koch  <konqueror@gmx.de>
9197
9198         * java/net/InetAddress.java,
9199         java/net/JarURLConnection.java,
9200         java/net/PlainDatagramSocketImpl.java,
9201         java/net/PlainSocketImpl.java,
9202         java/net/URLConnection.java:
9203         Merged copyright statements with classpath for easier merging.
9204
9205 2003-03-20  Michael Koch  <konqueror@gmx.de>
9206
9207         * java/io/FileInputStream.java
9208         (getChannel): New implementation.
9209         * java/io/FileOutputStream.java
9210         (ch): New member variable.
9211         (getChannel): Implemented.
9212         * java/io/RandomAccessFile.java
9213         (RandomAccessFile): Throws FileNotFoundException instead of
9214         IOException.
9215         (getChannel): New method.
9216         (ch): New member variable.
9217
9218 2003-03-20  Michael Koch  <konqueror@gmx.de>
9219
9220         * java/io/DataOutputStream.java,
9221         java/io/File.java,
9222         java/io/FileInputStream.java,
9223         java/io/FileOutputStream.java,
9224         java/io/InputStreamReader.java,
9225         java/io/LineNumberReader.java,
9226         java/io/OutputStreamWriter.java,
9227         java/io/PrintStream.java,
9228         java/io/RandomAccessFile.java:
9229         Merged copyright statements with classpath for easier merging.
9230
9231 2003-03-19  Michael Koch  <konqueror@gmx.de>
9232
9233         * java/lang/Process.java:
9234         Merged from classpath.
9235
9236 2003-03-19  Michael Koch  <konqueror@gmx.de>
9237
9238         * java/io/FileOutputStream.java
9239         (FileOutputStream): New constructor, merged from classpath.
9240         * java/io/FileWriter.java
9241         (FileWriter): New constructor, merged from classpath.
9242
9243 2003-03-18  Michael Koch  <konqueror@gmx.de>
9244
9245         * java/awt/ScrollPane.java
9246         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
9247         (getViewportSize): Likewise.
9248         (addNotify): Likewise.
9249         (removeNotify): Likewise.
9250         * java/awt/ScrollPaneAdjustable.java
9251         (ScrollPaneAdjustable): No longer extends Scrollbar.
9252         * java/beans/beancontext/BeanContextServices.java:
9253         Reformated.
9254         (getService): Added throws TooManyListenersException;
9255         * java/beans/beancontext/BeanContextServicesSupport.java:
9256         Reformated.
9257
9258 2003-03-18  Michael Koch  <konqueror@gmx.de>
9259
9260         * java/io/BufferedOutputStream.java,
9261         java/io/DataInput.java,
9262         java/io/DataInputStream.java,
9263         java/io/DataOutput.java,
9264         java/io/Externalizable.java:
9265         More merges from classpath.
9266
9267 2003-03-18  Michael Koch  <konqueror@gmx.de>
9268
9269         * configure.in: Fixed links to platform dependant java.net files.
9270         * configure: Regenerated.
9271         * java/net/natInetAddress.cc,
9272         java/net/natNetworkInterface.cc,
9273         java/net/natPlainDatagramSocketImpl.cc,
9274         java/net/natPlainSocketImpl.cc:
9275         Removed.
9276
9277 2003-03-18  Michael Koch  <konqueror@gmx.de>
9278
9279         * configure.in: Create links to architecture dependent files,
9280         introduced PLATFORMNET variable (set to NoNet for newlib usage).
9281         * configure: Regenerated.
9282         * java/net/natInetAddressNoNet.cc,
9283         java/net/natInetAddressPosix.cc,
9284         java/net/natInetAddressWin32.cc,
9285         java/net/natNetworkInterfaceNoNet.cc,
9286         java/net/natNetworkInterfacePosix.cc,
9287         java/net/natNetworkInterfaceWin32.cc,
9288         java/net/natPlainDatagramSocketImplNoNet.cc,
9289         java/net/natPlainDatagramSocketImplPosix.cc,
9290         java/net/natPlainDatagramSocketImplWin32.cc,
9291         java/net/natPlainSocketImplNoNet.cc,
9292         java/net/natPlainSocketImplPosix.cc,
9293         java/net/natPlainSocketImplWin32.cc: New files.
9294
9295 2003-03-18  Michael Koch  <konqueror@gmx.de>
9296
9297         * java/io/BufferedReader.java,
9298         java/io/BufferedWriter.java,
9299         java/io/ByteArrayOutputStream.java,
9300         java/io/FileFilter.java,
9301         java/io/FilePermission.java,
9302         java/io/FileReader.java,
9303         java/io/FileWriter.java,
9304         java/io/FilenameFilter.java,
9305         java/io/FilterInputStream.java,
9306         java/io/FilterOutputStream.java,
9307         java/io/FilterReader.java,
9308         java/io/FilterWriter.java,
9309         java/io/ObjectInput.java,
9310         java/io/ObjectInputValidation.java,
9311         java/io/ObjectOutput.java,
9312         java/io/ObjectStreamField.java,
9313         java/io/PipedInputStream.java,
9314         java/io/PipedReader.java,
9315         java/io/PrintWriter.java,
9316         java/io/PushbackReader.java,
9317         java/io/Reader.java,
9318         java/io/SerializablePermission.java,
9319         java/io/StringReader.java,
9320         java/io/Writer.java:
9321         Merged from classpath.
9322
9323 2003-03-17  Michael Koch  <konqueror@gmx.de>
9324
9325         * java/awt/ScrollPaneAdjustable.java:
9326         Compile fixes.
9327         
9328 2003-03-17  Michael Koch  <konqueror@gmx.de>
9329
9330         * java/net/DatagramSocket.java
9331         (connect): Fixed comment.
9332         * java/nio/ByteBuffer.java
9333         (hasArray): Fixed comment.
9334
9335 2003-03-17  Michael Koch  <konqueror@gmx.de>
9336
9337         * java/beans/Beans.java:
9338         Explicitely import classes not packages.
9339         * java/beans/FeatureDescriptor.java
9340         (preferred): New member variable.
9341         (isPreferred): New method.
9342         (setPreferred): New method.
9343         * java/beans/PropertyEditorManager.java:
9344         Explicitely import used classes.
9345         * java/beans/beancontext/BeanContextChild.java:
9346         Added line wrapping.
9347         * java/beans/beancontext/BeanContextChildSupport.java:
9348         Reindented.
9349         * java/beans/beancontext/BeanContextEvent.java:
9350         Reindented.
9351
9352 2003-03-17  Michael Koch  <konqueror@gmx.de>
9353
9354         * java/awt/Dialog.java
9355         (Dialog): New constructor, changed implementations, added
9356         documentation.
9357         * java/awt/ScrollPaneAdjustable.java
9358         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
9359         Serializable.
9360         (serialVersionUID): New member variable.
9361         (sp): New member variable.
9362         (orientation): New member variable.
9363         (value): New member variable.
9364         (minimum): New member variable.
9365         (maximum): New member variable.
9366         (visibleAmount): New member variable.
9367         (unitIncrement): New member variable.
9368         (blockIncrement): New member variable.
9369         (AdjustmentListener): New member variable.
9370         (ScrollPaneAdjustable): New implementation.
9371         (addAdjustmentListener): New method.
9372         (removeAdjustmentListener): New method.
9373         (getAdjustmentListeners): New method.
9374         (getBlockIncrement): New method.
9375         (getMaximum): New method.
9376         (getMinimum): New method.
9377         (getOrientation): New method.
9378         (getUnitIncrement): New method.
9379         (getValue): New method.
9380         (getVisibleAmount): New method.
9381         (setBlockIncrement): New method.
9382         (setMaximum): Implemented.
9383         (setMinimum): Implemented.
9384         (setUnitIncrement): New method.
9385         (setValue): New method.
9386         (setVisibleAmount): Implemented. 
9387         (paramString): New stubbed method.
9388         * java/awt/Window.java
9389         (show): Call setVisible().
9390         (hide): Call setVisible().
9391         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
9392         and WINDOW_STATE_CHANGED.
9393         (processWindowFocusEvent): New method.
9394         (processWindowStateEvent): New method.
9395         (postEvent): Deprecated.
9396         (applyResourceBundle): Deprecated.
9397         * java/awt/datatransfer/DataFlavor.java
9398         (DataFlavor): Doesn't thow ClassNotFoundException.
9399
9400 2003-03-17  Michael Koch
9401
9402         * javax/print/attribute/Attribute.java,
9403         javax/print/attribute/AttributeSet.java,
9404         javax/print/attribute/PrintRequestAttributeSet.java:
9405         New files.
9406         * Makefile.am
9407         (javax_source_files): Added new files:
9408         javax/print/attribute/Attribute.java
9409         javax/print/attribute/AttributeSet.java
9410         javax/print/attribute/PrintRequestAttributeSet.java
9411         * Makefile.in: Regenerated.
9412
9413 2003-03-17  Michael Koch
9414
9415         * javax/print/attribute/Attribute.java,
9416         javax/print/attribute/AttributeSet.java,
9417         javax/print/attribute/PrintRequestAttributeSet.java:
9418         New files.
9419         * Makefile.am
9420         (awt_java_source_files): Added new files:
9421         javax/print/attribute/Attribute.java
9422         javax/print/attribute/AttributeSet.java
9423         javax/print/attribute/PrintRequestAttributeSet.java
9424         * Makefile.in: Regenerated.
9425
9426 2003-03-16  Tom Tromey  <tromey@redhat.com>
9427
9428         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
9429         Include platform.h.
9430         * java/lang/natRuntime.cc (insertSystemProperties): Use
9431         _Jv_platform_path_separator.
9432         (nativeGetLibname): Use _Jv_platform_file_separator.
9433         (_load): Use _Jv_platform_onload_names.
9434         (onload_names): New global.
9435         * include/win32.h (_Jv_platform_file_separator): New define.
9436         (_Jv_platform_path_separator): Likewise.
9437         (_Jv_platform_onload_names): Likewise.
9438         (_Jv_platform_ffi_abi): Likewise.
9439         * include/posix.h (_Jv_platform_file_separator): New define.
9440         (_Jv_platform_path_separator): Likewise.
9441         (_Jv_platform_onload_names): Likewise.
9442         (_Jv_platform_ffi_abi): Likewise.
9443
9444 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
9445
9446         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
9447
9448 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
9449
9450         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
9451         hierarchy loop.
9452         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
9453         list to Object,ObjectStreamClass, moved callReadMethod code up into
9454         readObject and added Class argument to all setXxxField calls.
9455         (callReadMethod): Changed Class argument to ObjectStreamClass to be
9456         consistent with ObjectOutputStream and to facilitate caching the
9457         Method in the future.
9458         (setBooleanField): Added Class argument.
9459         (setByteField): Likewise.
9460         (setCharField): Likewise.
9461         (setDoubleField): Likewise.
9462         (setFloatField): Likewise.
9463         (setIntField): Likewise.
9464         (setLongField): Likewise.
9465         (setShortField): Likewise.
9466         (setObjectField): Likewise.
9467         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
9468         class hierarchy loop.
9469         (defaultWriteObject): Call writeFields with new argument list.
9470         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
9471         list to Object,ObjectStreamClass, moved callWriteMethod up into
9472         writeObject and added Class argument to all getXxxField calls.
9473         (callWriteMethod): Added ObjectStreamClass argument to be able to
9474         get the proper class to call getMethod on (each class can have (or
9475         not have) its own writeObject method).
9476         (getBooleanField): Added Class argument.
9477         (getByteField): Likewise.
9478         (getCharField): Likewise.
9479         (getDoubleField): Likewise.
9480         (getFloatField): Likewise.
9481         (getIntField): Likewise.
9482         (getLongField): Likewise.
9483         (getShortField): Likewise.
9484         (getObjectField): Likewise.
9485         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
9486         facilitate caching the Method object in the future.
9487
9488 2003-03-12  Andreas Schwab  <schwab@suse.de>
9489
9490         * configure.in: Avoid trailing /. in toolexeclibdir.
9491         * configure: Rebuilt.
9492
9493 2003-03-11  Michael Koch  <konqueror@gmx.de>
9494
9495         * gnu/java/nio/ByteBufferImpl.java
9496         (putInt): Use limit() instead of limit.
9497         * gnu/java/nio/CharBufferImpl.java
9498         (slice): Fixed implementation.
9499         (subSequence): Better bounds checking.
9500         * gnu/java/nio/MappedByteFileBuffer.java:
9501         Import all needed classes directly.
9502         * java/nio/ByteBuffer.java
9503         (hashCode): New dummy method.
9504         * java/nio/CharBuffer.java
9505         (array_offset): New member variable.
9506         (hasArray): Fixed documentation.
9507         (arrayOffset): Return array_offset.
9508
9509 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
9510
9511         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
9512         setter; made return value of getter const char* instead of char*
9513         * prims.cc: removed all references to _Jv_ThisExecutable().
9514         These are in the platform-specific sections now.
9515         * posix.cc: define platform-specific _Jv_ThisExecutable().
9516         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
9517         * win32.cc: define platform-specific _Jv_ThisExecutable()
9518         using GetModuleFilename()
9519         * java/lang/natRuntime.cc: set gnu.gcj.progname property
9520         to argv[0] instead of _Jv_ThisExecutable()
9521
9522 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
9523
9524         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
9525         that is set if we are using addr2name.awk instead of addr2line.
9526         (NameFinder): Set usingAddr2name if using addr2name.awk.
9527         (getExternalLabel): New native method to convert a method 
9528         name to an external label.
9529         (lookup): Convert name given by addr2line to an external label
9530         before demangling.
9531
9532         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
9533         constant representing the prefix attached to method names to
9534         convert them to an external label.
9535         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
9536         using LABEL_PREFIX.
9537
9538 2003-03-10  Tom Tromey  <tromey@redhat.com>
9539
9540         * Makefile.in: Rebuilt.
9541         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
9542         (JC1FLAGS): Removed -Wno-deprecated.
9543
9544 2003-03-10  Michael Koch  <konqueror@gmx.de>
9545
9546         * java/nio/ByteOrder.java
9547         (nativeOrder): Working implementation, added documentation.
9548         (toString): Added documentation.
9549
9550 2003-03-10  Michael Koch  <konqueror@gmx.de>
9551
9552         * java/net/DatagramSocket.java,
9553         java/net/MulticastSocket.java,
9554         java/net/Socket.java,
9555         java/net/URL.java,
9556         java/net/URLConnection.java:
9557         Fixed some documentation tags to make javadoc and friends happy.
9558
9559 2003-03-10  Michael Koch  <koqnueror@gmx.de>
9560
9561         * java/beans/beancontext/BeanContextServicesSupport.java,
9562         java/beans/beancontext/BeanContextSupport.java: New files.
9563         * Makefile.am
9564         (awt_source_files): Added new files.
9565         * Makefile.in: Regenerated.
9566
9567 2003-03-10  Michael Koch  <konqueror@gmx.de>
9568
9569         * java/awt/FocusTraversalPolicy.java
9570         (FocusTraversalPolicy): Documentation added.
9571         (getComponentAfter): Documentation added.
9572         (getComponentBefore): Documentation added.
9573         (getFirstComponent): Documentation added.
9574         (getLastComponent): Documentation added.
9575         (getDefaultComponent): Documentation added.
9576         (getInitialComponent): Documentation added.
9577         * java/awt/ScrollPaneAdjustable.java
9578         (sp): New member variable.
9579         (orientation): New member variable.
9580         (value): New member variable.
9581         (minimum): New member variable.
9582         (maximum): New member variable.
9583         (visibleAmount): New member variable.
9584         (unitIncrement): New member variable.
9585         (blockIncrement): New member variable.
9586         (adjustmentListener): New member variable.
9587         (ScrollPaneAdjustable): Rewrote.
9588         (addAdjustmentListener): New method.
9589         (removeAdjustmentListener): New method.
9590         (getAdjustmentListeners): New method.
9591         (getBlockIncrement): New method.
9592         (getMaximum): New method.
9593         (getMinimum): New method.
9594         (getOrientation): New method.
9595         (getUnitIncrement): New method.
9596         (getValue): New method.
9597         (getVisibleAmount): New method.
9598         (setBlockIncrement): New method.
9599         (setUnitIncrement): New method.
9600         (setMaximum): Implemented.
9601         (setMinimum): Implemented.
9602         (setValue): New method.
9603         (setVisibleAmount): Implemented.
9604         (paramString): New method.
9605         * java/awt/Window.java
9606         (show): Use setVisible(true) instead of super.show().
9607         (hide): Use sevVisible(false) instead of super.hide().
9608         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
9609         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
9610         (postEvent): Deprecated.
9611         (applyResourceBundle): Deprecated.
9612         (processWindowFocusEvent): New method.
9613         (processWindowStateEvent): New method.
9614         * java/awt/datatransfer/DataFlavor.java: Reindented.
9615         * java/awt/font/TextHitInfo.java
9616         (charIndex): New member variable.
9617         (leadingEdge): New member variable.
9618         (TextHitInfo): New constructor.
9619         (getCharIndex): Implemented.
9620         (isLeadingEdge): Implemented.
9621         (getInsertionIndex): Implemented.
9622         (hashCode): Access charIndex directly.
9623         (equals): Reformated.
9624         (leading): Implemented.
9625         (trailing): Implemented.
9626         (beforeOffset): Implemented.
9627         (afterOffset): Implemented.
9628         (getOtherHit): Implemented.
9629         (getOffsetHit): Implemented.
9630         (toString): Implemented.
9631         * java/awt/image/BufferedImage.java
9632         (BufferedImage): Implements WritableRenderedImage.
9633         (observers): New member variable.
9634         (addTileObserver): New method.
9635         (removeTileObserver): New method.
9636
9637 2003-03-09  Tom Tromey  <tromey@redhat.com>
9638
9639         PR libgcj/9934:
9640         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
9641         to lseek.  Return 0 if we can't compute the value.
9642
9643 2003-03-03  Michael Koch  <konqueror@gmx.de>
9644
9645         * java/net/NetworkInterface.java: Merged with classpath.
9646
9647 2003-03-03  Tom Tromey  <tromey@redhat.com>
9648
9649         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
9650         of bytecode.
9651         (handle_ret_insn): Fail if returning to jsr that appears at end of
9652         bytecode.
9653
9654 2003-03-03  Michael Koch  <konqueror@gmx.de>
9655
9656         * Makefile.am
9657         (ordinary_java_source_files):
9658         Added gnu/java/nio/MappedByteFileBuffer.java.
9659         (nat_source_files):
9660         Added gnu/java/nio/natMappedByteFileBuffer.cc.
9661         * Makefile.in: Regenerated.
9662
9663 2003-03-03  Michael Koch  <konqueror@gmx.de>
9664
9665         * java/net/DatagramSocket.java
9666         (connect): Merged comment from classpath.
9667         (receive): Merged documentation from classpath.
9668         * java/net/Socket.java
9669         (setSoTimeout): Clarified documentation.
9670         * java/net/URL.java
9671         (getPath): Merged from classpath.
9672         (getUserInfo): Merged from classpath.
9673         (getQuery): Merged from classpath.
9674         * java/net/URLStreamHandler.java
9675         (toExternalForm): Merged from classpath.
9676
9677 2003-03-02  Mark Wielaard  <mark@klomp.org>
9678
9679         * java/util/Properties.java (load): Only skip line if the first
9680         character is a comment, whitespaces don't count.
9681
9682 2003-03-02  Michael Koch  <konqueror@gmx.de>
9683
9684         * java/net/NetPermission.java:
9685         Merged copyright with classpath.
9686
9687 2003-03-02  Michael Koch  <konqueror@gmx.de>
9688
9689         * java/lang/Package.java:
9690         Remerged from classpath.
9691
9692 2003-03-02  Michael Koch  <konqueror@gmx.de>
9693
9694         * java/net/HttpURLConnection.java
9695         (HTTP_SERVER_ERROR): Deprecated.
9696         * java/net/MulticastSocket.java
9697         (send): Replaced checkMulticast with appropriate checkPermission call,
9698         deprecated.
9699         * java/net/URLDecoder.java
9700         (decode): Deprecated.
9701         * java/net/URLEncoder.java
9702         (encode): Deprecated.
9703
9704 2003-03-02  Michael Koch  <konqueror@gmx.de>
9705
9706         * javax/swing/text/Caret.java
9707         (getMagicCaretPosition): Fixed typo in method name.
9708         * javax/swing/text/DefaultCaret.java
9709         (getMagicCaretPosition): Fixed typo in method name.
9710
9711 2003-03-02  Michael Koch  <konqueror@gmx.de>
9712
9713         * java/awt/List.java
9714         (setMultipleSelections): Deprecated.
9715         (delItem): Deprecated.
9716         * java/awt/MenuComponent.java
9717         (getPeer): Deprecated.
9718         * java/awt/ScrollPane.java
9719         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
9720         * java/awt/dnd/MouseDragGestureRecognizer.java
9721         (mouseClicked): Added comment.
9722         (mousePressed): Added comment.
9723         (mouseReleased): Added comment.
9724         (mouseEntered): Added comment.
9725         (mouseExited): Added comment.
9726         (mouseDragged): Added comment.
9727         (mouseMoved): Added comment.
9728         * java/awt/event/KeyEvent.java
9729         (KeyEvent): Deprecated.
9730         (setModifiers): Deprecated.
9731         
9732 2003-03-02  Michael Koch  <konqueror@gmx.de>
9733
9734         * gnu/java/nio/FileChannelImpl.java
9735         (fd): Type FileDescriptor instead of int.
9736         (lengthInternal): Removed.
9737         (FileChannelImpl): Fixed arguments, check type of file object.
9738         (size): Made it native.
9739         (implPosition): New native method.
9740         (implTruncate): New native method.
9741         (position): Implemented.
9742         (truncate): Implemented.
9743         (nio_mmap_file): Changed arguments.
9744         (nio_munmap_file): Changed arguments.
9745         (nio_msync): Changed arguments.
9746         * gnu/java/nio/natFileChannelImpl.cc
9747         (lengthInternal): Removed.
9748         (size): New method.
9749         (implPosition): New method.
9750         (implTruncate): New method.
9751         (nio_mmap_file): Changed arguments.
9752         (nio_munmap_file): Changed arguments.
9753         (nio_msync): Changed arguments.
9754
9755 2003-03-02  Michael Koch  <konqueror@gmx.de>
9756
9757         * java/awt/dnd/DropTargetContext.java:
9758         Compile fix: Forgot to commit import.
9759         
9760 2003-03-02  Michael Koch  <konqueror@gmx.de>
9761
9762         * java/awt/Component.java,
9763         java/awt/ScrollPane.java:
9764         Fixed typos.
9765
9766 2003-03-02  Michael Koch  <konqueror@gmx.de>
9767
9768         * java/awt/dnd/DnDEventMulticaster.java: New file.
9769         * java/awt/dnd/DragSource.java
9770         (flavorMap): New member variable.
9771         (dragSourceListener): New member variable.
9772         (dragSourceMotionListener): New member variable.
9773         (getFlavorMap): Implemented.
9774         (createDragGestureRecognizer): Implemented.
9775         (addDragSourceListener): Implemented.
9776         (removeDragSourceListener): Implemented.
9777         (getDragSourceListeners): Implemented.
9778         (addDragSourceMotionListener): Implemented.
9779         (removeDragSourceMotionListener): Implemented.
9780         (getDragSourceMotionListeners): Implemented.
9781         (getListeners): Implemented.
9782         * java/awt/dnd/DragSourceContext.java
9783         (peer): New member variable.
9784         (cursor): New member variable.
9785         (transferable): New member variable.
9786         (trigger): New member variable.
9787         (dragSourceListener): New member variable.
9788         (image): New member variable.
9789         (offset): New member variable.
9790         (DragSourceContext): Implemented.
9791         (getDragSource): Implemented.
9792         (getComponent): Implemented.
9793         (getTrigger): Implemented.
9794         (getSourceActions): Implemented.
9795         (setCursor): Implemented.
9796         (getCursor): Implemented.
9797         (addDragSourceListener): Implemented.
9798         (removeDragSourceListener): Implemented.
9799         (getTransferable): Implemented.
9800         * java/awt/dnd/DropTarget.java
9801         (DropTargetAutoScroller.component): New member variable.
9802         (DropTargetAutoScroller.point): New member variable.
9803         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
9804         (DropTargetAutoScroller.updateLocation): Implemented.
9805         (active): Renamed from isActive, defaults to true now.
9806         (component): New member variable.
9807         (flavorMap): New member variable.
9808         (actions): New member variable.
9809         (dropTargetContext): New member variable.
9810         (dropTargetListener): New member variable.
9811         (DropTarget): Implemented.
9812         (getComponent): Implemented.
9813         (setComponent): Implemented.
9814         (setDefaultActions): Implemented.
9815         (getDefaultActions): Implemented.
9816         (setActive): Use active instead of isActive.
9817         (isActive): Use active instead of isActive.
9818         (addDropTargetListener): Implemented.
9819         (removeDropTargetListener): Implemented.
9820         (getFlavorMap): Implemented.
9821         (setFlavorMap): Implemented.
9822         (getDropTargetContext): Implemented.
9823         (createDropTargetContext): Implemented.
9824         (createDropTargetAutoScroller): Implemented.
9825         * java/awt/dnd/DropTargetContext.java
9826         (TransferableProxy.getTransferDataFlavors): Implemented.
9827         (TransferableProxy.isDataFlavorSupported): Implemented.
9828         (TransferableProxy.getTransferData): Implemented.
9829         (dropTarget):  New member variable.
9830         (dtcp): New member variable.
9831         (DropTargetContext): New package private constructor.
9832         (getDropTarget): Implemented.
9833         (getComponent): Implemented.
9834         (addNotify): Implemented.
9835         (removeNotify): Implemented.
9836         (getCurrentDataFlavorsAsList): Implemented.
9837         (isDataFlavorSupported): Implemented.
9838         * java/awt/dnd/MouseDragGestureRecognizer.java
9839         (registerListeners): Implemented.
9840         (unregisterListeners): Implemented.
9841         * Makefile.am
9842         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
9843         * Makefile.in: Regenerated.
9844
9845 2003-03-02  Michael Koch  <konqueror@gmx.de>
9846
9847         * java/awt/Component.java
9848         (eventTypeEnabled): New method.
9849         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
9850         * java/awt/Container.java
9851         (changeSupport): New member variable.
9852         (addPropertyChangeListener): New methods.
9853         * java/awt/ContainerOrderFocusTraversalPolicy.java
9854         (ContainerOrderFocusTraversalPolicy): Added comment.
9855         (getComponentAfter): Throw exception, documentation added.
9856         (getComponentBefore): Throw exception, documentation added.
9857         (getFirstComponent): Throw exception, documentation added.
9858         (getLastComponent): Throw exception, documentation added.
9859         (getDefaultComponent): Throw exception, documentation added.
9860         * java/awt/EventQueue.java: Reindented.
9861         * java/awt/FocusTraversalPolicy.java:
9862         (FocusTraversalPolicy): Added comment.
9863         (getComponentAfter): Documentation added.
9864         (getComponentBefore): Documentation added.
9865         (getFirstComponent): Documentation added.
9866         (getLastComponent): Documentation added.
9867         (getDefaultComponent): Documentation added.
9868         (getInitialComponent): Documentation added.
9869         * java/awt/ScrollPane.java
9870         (wheelScrollingEnabled): New member variable.
9871         (ScrollPane): Initialize wheelScollingEnabled.
9872         (eventTypeEnabled): New method.
9873         (isWheelScrollingEnabled): New method.
9874         (setWheelScrollingEnabled): New method.
9875
9876 2003-03-02  Michael Koch  <konqueror@gmx.de>
9877
9878         * java/net/DatagramSocket.java
9879         (closed): New member variable.
9880         (close): Use closed variable.
9881         (getInetAddress): No need to call isConnected().
9882         (getPort): No need to call isConnected().
9883         (disconnect): Reset remoteAddress and remotePort, fixed typo.
9884         (isClosed): Reimplemented.
9885         
9886 2003-03-02  Michael Koch  <konqueror@gmx.de>
9887
9888         * configure.in: Added check for memory mapping of files.
9889         * configure: Regenerated.
9890         * config.h.in: Regenerated.
9891
9892 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
9893
9894         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
9895         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
9896
9897 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
9898
9899         * java/io/File.java (normalizePath): Remove trailing separator
9900         on Windows only if path is not of the form "x:\".
9901
9902         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
9903         (java::io::File::attr): Change formatting a bit and use
9904         WIN32_EPOCH_MILLIS instead of magic numbers.
9905         (java::io::File::isAbsolute): Path must have at least 3 
9906         characters for a UNC network path.
9907         (java::io::File::init_native): Define.
9908         (java::io::File::performCreate): Likewise.
9909         (java::io::File::performSetReadOnly): Likewise.
9910         (java::io::File::performSetLastModified): Likewise.
9911         (java::io::File::performListRoots): Likewise.
9912
9913 2003-03-01  Tom Tromey  <tromey@redhat.com>
9914
9915         * java/lang/natObject.cc: Don't include assert.h.
9916         (heavy_lock_obj_finalization_proc): Use JvAssert.
9917         (remove_all_heavy): Likewise.
9918         (_Jv_MonitorEnter): Likewise.
9919         (_Jv_MonitorExit): Likewise.
9920         (wait): Likewise.
9921
9922 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
9923
9924         * java/io/File (getAbsolutePath): Prefix drive specifier on
9925         Windows for paths starting with a '\'.
9926         (toURL): Make URL more consistent with what Sun's JDK returns.
9927
9928         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
9929         true only if the path is a UNC network path or it starts with a
9930         drive specifier.
9931
9932         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
9933         Be prepared to handle either '/' or '\\' in the file path for
9934         Windows if using the "file" protocol.
9935         Canonicalise the file path if using a relative path in the given
9936         context and the "file" protocol.
9937
9938 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
9939
9940         * java/lang/natWin32Process.cc (startProcess): Double-quote each
9941         program array element passed to CreateProcess.
9942
9943 2003-03-01  Tom Tromey  <tromey@redhat.com>
9944
9945         * java/rmi/registry/RegistryHandler.java: Deprecate.
9946
9947 2003-03-01  Tom Tromey  <tromey@redhat.com>
9948
9949         * javax/accessibility/AccessibleEditableText.java,
9950         javax/accessibility/AccessibleHyperlink.java: New versions from
9951         Classpath.
9952
9953         * gnu/java/locale/LocaleInformation_af_ZA.java,
9954         gnu/java/locale/LocaleInformation_ar_AE.java,
9955         gnu/java/locale/LocaleInformation_ar_BH.java,
9956         gnu/java/locale/LocaleInformation_ar_DZ.java,
9957         gnu/java/locale/LocaleInformation_ar_EG.java,
9958         gnu/java/locale/LocaleInformation_ar_IN.java,
9959         gnu/java/locale/LocaleInformation_ar_IQ.java,
9960         gnu/java/locale/LocaleInformation_ar_JO.java,
9961         gnu/java/locale/LocaleInformation_ar_KW.java,
9962         gnu/java/locale/LocaleInformation_ar_LB.java,
9963         gnu/java/locale/LocaleInformation_ar_LY.java,
9964         gnu/java/locale/LocaleInformation_ar_MA.java,
9965         gnu/java/locale/LocaleInformation_ar_OM.java,
9966         gnu/java/locale/LocaleInformation_ar_QA.java,
9967         gnu/java/locale/LocaleInformation_ar_SD.java,
9968         gnu/java/locale/LocaleInformation_ar_SY.java,
9969         gnu/java/locale/LocaleInformation_ar_TN.java,
9970         gnu/java/locale/LocaleInformation_ar_YE.java,
9971         gnu/java/locale/LocaleInformation_be_BY.java,
9972         gnu/java/locale/LocaleInformation_bn_IN.java,
9973         gnu/java/locale/LocaleInformation_br_FR.java,
9974         gnu/java/locale/LocaleInformation_bs_BA.java,
9975         gnu/java/locale/LocaleInformation_ca_ES.java,
9976         gnu/java/locale/LocaleInformation_cs_CZ.java,
9977         gnu/java/locale/LocaleInformation_cy_GB.java,
9978         gnu/java/locale/LocaleInformation_da_DK.java,
9979         gnu/java/locale/LocaleInformation_de_AT.java,
9980         gnu/java/locale/LocaleInformation_de_BE.java,
9981         gnu/java/locale/LocaleInformation_de_CH.java,
9982         gnu/java/locale/LocaleInformation_de_DE.java,
9983         gnu/java/locale/LocaleInformation_de_LU.java,
9984         gnu/java/locale/LocaleInformation_el_GR.java,
9985         gnu/java/locale/LocaleInformation_en_AU.java,
9986         gnu/java/locale/LocaleInformation_en_BW.java,
9987         gnu/java/locale/LocaleInformation_en_CA.java,
9988         gnu/java/locale/LocaleInformation_en_DK.java,
9989         gnu/java/locale/LocaleInformation_en_GB.java,
9990         gnu/java/locale/LocaleInformation_en_HK.java,
9991         gnu/java/locale/LocaleInformation_en_IE.java,
9992         gnu/java/locale/LocaleInformation_en_IN.java,
9993         gnu/java/locale/LocaleInformation_en_NZ.java,
9994         gnu/java/locale/LocaleInformation_en_PH.java,
9995         gnu/java/locale/LocaleInformation_en_SG.java,
9996         gnu/java/locale/LocaleInformation_en_US.java,
9997         gnu/java/locale/LocaleInformation_en_ZA.java,
9998         gnu/java/locale/LocaleInformation_en_ZW.java,
9999         gnu/java/locale/LocaleInformation_es_AR.java,
10000         gnu/java/locale/LocaleInformation_es_BO.java,
10001         gnu/java/locale/LocaleInformation_es_CL.java,
10002         gnu/java/locale/LocaleInformation_es_CO.java,
10003         gnu/java/locale/LocaleInformation_es_CR.java,
10004         gnu/java/locale/LocaleInformation_es_DO.java,
10005         gnu/java/locale/LocaleInformation_es_EC.java,
10006         gnu/java/locale/LocaleInformation_es_ES.java,
10007         gnu/java/locale/LocaleInformation_es_GT.java,
10008         gnu/java/locale/LocaleInformation_es_HN.java,
10009         gnu/java/locale/LocaleInformation_es_MX.java,
10010         gnu/java/locale/LocaleInformation_es_NI.java,
10011         gnu/java/locale/LocaleInformation_es_PA.java,
10012         gnu/java/locale/LocaleInformation_es_PE.java,
10013         gnu/java/locale/LocaleInformation_es_PR.java,
10014         gnu/java/locale/LocaleInformation_es_PY.java,
10015         gnu/java/locale/LocaleInformation_es_SV.java,
10016         gnu/java/locale/LocaleInformation_es_US.java,
10017         gnu/java/locale/LocaleInformation_es_UY.java,
10018         gnu/java/locale/LocaleInformation_es_VE.java,
10019         gnu/java/locale/LocaleInformation_et_EE.java,
10020         gnu/java/locale/LocaleInformation_eu_ES.java,
10021         gnu/java/locale/LocaleInformation_fa_IR.java,
10022         gnu/java/locale/LocaleInformation_fi_FI.java,
10023         gnu/java/locale/LocaleInformation_fo_FO.java,
10024         gnu/java/locale/LocaleInformation_fr_BE.java,
10025         gnu/java/locale/LocaleInformation_fr_CA.java,
10026         gnu/java/locale/LocaleInformation_fr_CH.java,
10027         gnu/java/locale/LocaleInformation_fr_FR.java,
10028         gnu/java/locale/LocaleInformation_fr_LU.java,
10029         gnu/java/locale/LocaleInformation_ga_IE.java,
10030         gnu/java/locale/LocaleInformation_gd_GB.java,
10031         gnu/java/locale/LocaleInformation_gl_ES.java,
10032         gnu/java/locale/LocaleInformation_gv_GB.java,
10033         gnu/java/locale/LocaleInformation_he_IL.java,
10034         gnu/java/locale/LocaleInformation_hi_IN.java,
10035         gnu/java/locale/LocaleInformation_hr_HR.java,
10036         gnu/java/locale/LocaleInformation_hu_HU.java,
10037         gnu/java/locale/LocaleInformation_id_ID.java,
10038         gnu/java/locale/LocaleInformation_it_CH.java,
10039         gnu/java/locale/LocaleInformation_it_IT.java,
10040         gnu/java/locale/LocaleInformation_iw_IL.java,
10041         gnu/java/locale/LocaleInformation_ja_JP.java,
10042         gnu/java/locale/LocaleInformation_ka_GE.java,
10043         gnu/java/locale/LocaleInformation_kl_GL.java,
10044         gnu/java/locale/LocaleInformation_ko_KR.java,
10045         gnu/java/locale/LocaleInformation_kw_GB.java,
10046         gnu/java/locale/LocaleInformation_lt_LT.java,
10047         gnu/java/locale/LocaleInformation_lv_LV.java,
10048         gnu/java/locale/LocaleInformation_mi_NZ.java,
10049         gnu/java/locale/LocaleInformation_mk_MK.java,
10050         gnu/java/locale/LocaleInformation_mr_IN.java,
10051         gnu/java/locale/LocaleInformation_mt_MT.java,
10052         gnu/java/locale/LocaleInformation_nl_BE.java,
10053         gnu/java/locale/LocaleInformation_nl_NL.java,
10054         gnu/java/locale/LocaleInformation_nn_NO.java,
10055         gnu/java/locale/LocaleInformation_no_NO.java,
10056         gnu/java/locale/LocaleInformation_oc_FR.java,
10057         gnu/java/locale/LocaleInformation_pl_PL.java,
10058         gnu/java/locale/LocaleInformation_pt_BR.java,
10059         gnu/java/locale/LocaleInformation_pt_PT.java,
10060         gnu/java/locale/LocaleInformation_ro_RO.java,
10061         gnu/java/locale/LocaleInformation_ru_RU.java,
10062         gnu/java/locale/LocaleInformation_ru_UA.java,
10063         gnu/java/locale/LocaleInformation_se_NO.java,
10064         gnu/java/locale/LocaleInformation_sk_SK.java,
10065         gnu/java/locale/LocaleInformation_sl_SI.java,
10066         gnu/java/locale/LocaleInformation_sq_AL.java,
10067         gnu/java/locale/LocaleInformation_sr_YU.java,
10068         gnu/java/locale/LocaleInformation_sv_FI.java,
10069         gnu/java/locale/LocaleInformation_sv_SE.java,
10070         gnu/java/locale/LocaleInformation_ta_IN.java,
10071         gnu/java/locale/LocaleInformation_te_IN.java,
10072         gnu/java/locale/LocaleInformation_tg_TJ.java,
10073         gnu/java/locale/LocaleInformation_tl_PH.java,
10074         gnu/java/locale/LocaleInformation_tr_TR.java,
10075         gnu/java/locale/LocaleInformation_uk_UA.java,
10076         gnu/java/locale/LocaleInformation_ur_PK.java,
10077         gnu/java/locale/LocaleInformation_uz_UZ.java,
10078         gnu/java/locale/LocaleInformation_vi_VN.java,
10079         gnu/java/locale/LocaleInformation_yi_US.java,
10080         gnu/java/locale/LocaleInformation_zh_CN.java,
10081         gnu/java/locale/LocaleInformation_zh_HK.java,
10082         gnu/java/locale/LocaleInformation_zh_SG.java,
10083         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
10084         info; from Classpath.
10085
10086         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
10087         isPaintPending): New methods.
10088         * gnu/awt/xlib/XFramePeer.java (getState, setState,
10089         setMaximizedBounds): New methods.
10090         (beginLayout, endLayout, isPaintPending): Likewise.
10091         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
10092         (requestFocus): Likewise.
10093         (isObscured): Likewise.
10094         (canDetermineObscurity): Likewise.
10095         (coalescePaintEvent): Likewise.
10096         (updateCursorImmediately): Likewise.
10097         (createVolatileImage): Likewise.
10098         (handlesWheelScrolling): Likewise.
10099         (createBuffers): Likewise.
10100         (getBackBuffer): Likewise.
10101         (flip): Likewise.
10102         (destroyBuffers): Likewise.
10103
10104         * Makefile.in: Rebuilt.
10105         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
10106         RobotPeer.java.
10107         * gnu/java/awt/GLightweightPeer.java,
10108         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
10109         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
10110         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
10111         gnu/java/awt/peer/gtk/GtkFramePeer.java,
10112         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
10113         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
10114         java/awt/dnd/peer/DragSourceContextPeer.java,
10115         java/awt/dnd/peer/DropTargetContextPeer.java,
10116         java/awt/peer/ButtonPeer.java,
10117         java/awt/peer/CheckboxMenuItemPeer.java,
10118         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
10119         java/awt/peer/ComponentPeer.java,
10120         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
10121         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
10122         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
10123         java/awt/peer/MenuBarPeer.java,
10124         java/awt/peer/MenuComponentPeer.java,
10125         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
10126         java/awt/peer/PopupMenuPeer.java,
10127         java/awt/peer/ScrollPanePeer.java,
10128         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
10129         java/awt/peer/TextComponentPeer.java,
10130         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
10131         New versions from Classpath.
10132         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
10133         * java/awt/peer/RobotPeer.java: Likewise.
10134
10135 2003-03-01  Mark Wielaard  <mark@klomp.org>
10136
10137         * java/io/ObjectInputStream.java: Reindent.
10138         * java/io/ObjectOutputStream.java: Likewise.
10139
10140 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
10141
10142         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
10143         jvalue for each argument. Simplify.
10144         * testsuite/libjava.jni/calls.c (docall),
10145         testsuite/libjava.jni/calls.java (longpb_f): check for argument
10146         misalignment.
10147
10148 2003-02-28  Mark Wielaard  <mark@klomp.org>
10149
10150         * Makefile.am (nat_source_files): Remove
10151         java/io/natObjectOutputStream.cc.
10152         * Makefile.in: Regenerated.
10153         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
10154         * java/io/ObjectStreamField.java (typename): New field.
10155         (ObjectStreamField(String, Class)): Initialize new field.
10156         (ObjectStreamField(String, String)): New Constructor.
10157         (getTypeCode): Use new field.
10158         (getTypeString): Use new field.
10159         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
10160         ObjectStreamExceptions. Remember and reset old BlockDataMode.
10161         Handle reading of Proxy classes. Never drain(), just write
10162         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
10163         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
10164         (flush): Call flush(), not just drain().
10165         (writeBoolean): Always use blockDataOutput.
10166         (writeByte): Likewise.
10167         (writeShort): Likewise.
10168         (writeChar): Likewise.
10169         (writeInt): Likewise.
10170         (writeLong): Likewise.
10171         (writeFloat): Likewise.
10172         (writeDouble): Likewise.
10173         (writeBytes): Likewise.
10174         (putfield (put(String,Object))): Throw IllegalArgumentException if
10175         field cannot be found.
10176         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
10177         (writeArraySizeAndElements): Write byte[] in one go.
10178         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
10179         set BlockDataMode to false.
10180         (annotateProxyClass): New method.
10181         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
10182         (getField): No longer native.
10183         (getMethod): Likewise.
10184         (setBlockDataMode): Always drain() on switch, return old mode.
10185         (static): New static code block.
10186         * java/io/natObjectOutputStream.cc: Removed.
10187         * java/io/ObjectInputStream.java (getField): No longer native.
10188         (getMethod): Likewise.
10189         (readObject): Remember and reset old BlockDataMode. Track whether
10190         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
10191         TC_LONGSTRING.
10192         (defaultReadObject): Set BlockDataMode to false during readFields.
10193         (resolveClass): Create new SecurityManager if necessary.
10194         Use Class.forName() if null ClassLoader found.
10195         (read(byte[],int,int): Copy remaining bytes to data before calling
10196         readNextBlock().
10197         (readFields): Set and reset BlockDataMode on call_read_method.
10198         Catch NoSuchFieldErrors.
10199         (setBlockDataMode): Return old mode.
10200         (static): New static code block.
10201         * java/io/natObjectInputStream.cc (getField): Removed.
10202         (getMethod): Likewise.
10203
10204 2003-02-27  Michael Koch  <konqueror@gmx.de>
10205
10206         * java/beans/Beans.java,
10207         java/beans/FeatureDescriptor.java
10208         java/beans/PropertyEditorManager.java:
10209         Reformated to GNU style.
10210
10211 2003-02-25  Michael Koch  <konqueror@gmx.de>
10212
10213         * gnu/java/nio/MappedByteFileBuffer.java,
10214         gnu/java/nio/natMappedByteFileBuffer.cc:
10215         New files, both are not compiled yet to get not noncompiling CVS.
10216
10217 2003-02-24  Tom Tromey  <tromey@redhat.com>
10218
10219         * java/util/prefs/AbstractPreferences.java (isUserNode):
10220         Implemented.
10221
10222 2003-02-24  Tom Tromey  <tromey@redhat.com>
10223
10224         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
10225         Deprecate.
10226         * java/lang/Thread.java (resume): Deprecate.
10227         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
10228         in @deprecated.
10229
10230 2003-02-23  Tom Tromey  <tromey@redhat.com>
10231
10232         * Makefile.in: Rebuilt.
10233         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
10234
10235 2003-02-23  Tom Tromey  <tromey@redhat.com>
10236
10237         * java/lang/natRuntime.cc (libraries_size, libraries_count,
10238         libraries): Removed.
10239         (add_library): Removed.
10240         (_load): Don't call add_library.
10241         (loadLibraryInternal): Likewise.
10242         (init): Likewise.
10243         (lookup_data): New struct.
10244         (find_symbol): New function.
10245         (_Jv_FindSymbolInExecutable): Use it.
10246
10247 2002-02-21  Anthony Green  <green@redhat.com>
10248
10249         * java/lang/Thread.java (Thread): New constructor taking stack
10250         size parameter (ignored for now).
10251         * Many methods: Merged GNU Classpath documentation.
10252
10253         * java/lang/Class.java (finalize): throws a Throwable.
10254
10255 2003-02-21  Mark Wielaard  <mark@klomp.org>
10256
10257         * java/util/zip/ZipEntry.java (setComment): Don't check length when
10258         argument is null.
10259
10260 2003-02-21  Mark Wielaard  <mark@klomp.org>
10261
10262         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
10263         then 65535 chars throw IllegalArgumentException.
10264
10265 2003-02-21  Mark Wielaard  <mark@klomp.org>
10266
10267         * java/util/zip/ZipFile.java (finalize): New method.
10268
10269 2003-02-21  Michael Koch  <konqueror@gmx.de>
10270
10271         * gnu/java/nio/natSocketChannelImpl.cc:
10272         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
10273         <cato@df.lth.se> for pointing to it.
10274
10275 2003-02-20  Raif S. Naffah <raif@fl.net.au>
10276
10277         * java/math/BigInteger.java (euclidInv): Take result array as an
10278         argument.  Updated all callers.
10279         (modInverse): Removed unused variables.
10280
10281 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
10282
10283         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
10284         config.status.
10285         * configure: Rebuilt.
10286
10287 2003-02-19  Michael Koch  <konqueror@gmx.de>
10288
10289         * gnu/java/nio/natSocketChannelImpl.cc:
10290         Added support for platforms without network support.
10291
10292 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10293
10294         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
10295         after config.h.  Use <> for consistency.
10296         * java/lang/natObject.cc: Likewise.
10297         * java/lang/natRuntime.cc: Likewise.
10298         * java/lang/natSystem.cc: Likewise.
10299         * java/util/natTimeZone.cc: Likewise.
10300         * win32.cc: Likewise.
10301         * include/posix.h (fcntl, socket, connect, close, bind, accept,
10302         listen, write, read): Undef to avoid interference from OS macros.
10303
10304 2003-02-19  Michael Koch  <konqueror@gmx.de>
10305
10306         * gnu/java/nio/ByteBufferImpl.java
10307         (ByteBufferImpl): Renamed two variables.
10308         * gnu/java/nio/CharBufferImpl.java
10309         (CharBufferImpl): Renamed two variables.
10310         * gnu/java/nio/DoubleBufferImpl.java
10311         (DoubleBufferImpl): Renamed two variables.
10312         * gnu/java/nio/FloatBufferImpl.java
10313         (FloatBufferImpl): Renamed two variables.
10314         * gnu/java/nio/IntBufferImpl.java
10315         (IntBufferImpl): Renamed two variables.
10316         * gnu/java/nio/LongBufferImpl.java
10317         (LongBufferImpl): Renamed two variables.
10318         * gnu/java/nio/ShortBufferImpl.java
10319         (ShortBufferImpl): Renamed two variables.
10320         * java/nio/CharBuffer.java
10321         (wrap): Fixed arguments to CharBufferImpl constructor.
10322         (hasArray): Only not read-only buffers have backing arrays.
10323         (length): Documentation added.
10324         (subSequence): Documentation added.
10325         * java/nio/DoubleBuffer.java
10326         (hasArray): Only not read-only buffers have backing arrays.
10327         * java/nio/FloatBuffer.java
10328         (hasArray): Only not read-only buffers have backing arrays.
10329         * java/nio/IntBuffer.java
10330         (hasArray): Only not read-only buffers have backing arrays.
10331         * java/nio/LongBuffer.java
10332         (hasArray): Only not read-only buffers have backing arrays.
10333         * java/nio/ShortBuffer.java
10334         (hasArray): Only not read-only buffers have backing arrays.
10335         
10336 2003-02-19  Michael Koch  <konqueror@gmx.de>
10337
10338         * javax/accessibility/AccessibleContext.java
10339         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
10340
10341 2003-02-19  Michael Koch  <konqueror@gmx.de>
10342
10343         * java/awt/ScrollPaneAdjustable.java: Reformated.
10344
10345 2003-02-19  Michael Koch <konqueror@gmx.de>
10346
10347         * gnu/awt/j2d/Graphics2DImpl.java
10348         (getFontRenderContext): New method.
10349         (drawGlyphVector): New method.
10350         * java/awt/Graphics2D.java
10351         (getFontRenderContext): New abstract method.
10352         (drawGlyphVector): New abstract method.
10353         
10354 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
10355
10356         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
10357         if necessary.
10358         
10359         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
10360         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
10361         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
10362         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
10363         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
10364         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
10365         (setFont, gtkSetFont): add.
10366         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
10367         Propagate font to peer.  (setFont): add FIXME comment.
10368
10369         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
10370         (gtkTextGetSize): fix height, width computation.
10371
10372         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
10373         Make X font name a bit less bogus.
10374
10375         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
10376         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
10377
10378         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
10379         (processAdjustmentEvent): Adjust value.
10380
10381         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
10382         logic errors.
10383
10384         * java/awt/Component.java (setVisible, show, hide): Call show and
10385         hide methods in subclasses.
10386         (getPreferredSize): don't set prefSize before we have peer.
10387
10388         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
10389         Guess (0,0) if we don't have peer.
10390
10391
10392 2003-02-18  Michael Koch  <konqueror@gmx.de>
10393
10394         * java/nio/channels/FileChannel.java
10395         (toString): New implementation, added documentation.
10396         (map): Added exception documentation.
10397         (size): Added exception documentation.
10398         (write): New methods, documentation work.
10399         (read): New methods, documentation work.
10400         (implCloseChannel): Rewrote exception documentation.
10401         (force): Throws IOException, added documentation.
10402         (lock): New methods.
10403         (tryLock): New methods.
10404         (position): New methods.
10405         (transferTo): New method.
10406         (transferFrom): New method.
10407         (truncate): New method.
10408         * java/nio/channels/spi/SelectorProvider.java
10409         (provider): Implemented.
10410         * Makefile.am
10411         (ordinary_java_source_files): Added the following files:
10412         gnu/java/nio/DatagramChannelImpl.java
10413         gnu/java/nio/FileChannelImpl.java
10414         gnu/java/nio/PipeImpl.java
10415         gnu/java/nio/SelectionKeyImpl.java
10416         gnu/java/nio/SelectorImpl.java
10417         gnu/java/nio/SelectorProviderImpl.java
10418         gnu/java/nio/ServerSocketChannelImpl.java
10419         gnu/java/nio/SocketChannelImpl.java
10420         java/nio/channels/FileLock.java
10421         (nat_java_source_files): Added the following files:
10422         gnu/java/nio/natFileChannelImpl.cc
10423         gnu/java/nio/natSelectorImpl.cc
10424         gnu/java/nio/natSocketChannelImpl.cc
10425         * Makefile.in: Regenerated.
10426
10427 2003-02-17  Tom Tromey  <tromey@redhat.com>
10428
10429         * java/awt/image/ColorModel.java: Re-merged with Classpath.
10430         * java/awt/image/ImageFilter.java: Likewise.
10431
10432 2003-02-17  Raif S. Naffah <raif@fl.net.au>
10433
10434         * java/math/BigInteger.java (euclidInv): Return array of
10435         `BigInteger's.  Changed all callers.
10436
10437 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
10438
10439         * java/util/Properties.java (store): Move the code formerly in
10440         list(), into this method.
10441         (list (PrintStream)): Just call list (PrintWriter) with a 
10442         PrintWriter object constructed from the given PrintStream object.
10443         (list (PrintWriter)): Emulate the output of Properties.list()
10444         as found in JDK 1.3/1.4.
10445
10446 2003-02-17  Michael Koch  <konqueror@gmx.de>
10447
10448         * java/net/DatagramSocket.java
10449         (connect): Merged with classpath.
10450         (disconnect): Merged documentation with classpath.
10451         (receice): Merged documentation with classpath.
10452         (send): Merged documentation with classpath.
10453         
10454 2003-02-17  Michael Koch  <konqueror@gmx.de>
10455
10456         * java/awt/dnd/DragSourceContext.java
10457         (addDragSourceListener): Added documentation.
10458         * java/awt/dnd/DragSourceDragEvent.java
10459         (serialVersionUID): New member variable.
10460         (getDropAction): Reformated.
10461         * java/awt/dnd/DragSourceDropEvent.java
10462         (serialVersionUID): New member variable.
10463         (dropSuccess): Renamed from success for serialization issues.
10464         * java/awt/dnd/DragSourceEvent.java
10465         (serialVersionUID): New member variable.
10466         * java/awt/dnd/DropTarget.java
10467         (serialVersionUID): New member variable.
10468         (DropTarget): Implemented, documentation reworked.
10469         (setComponent): Documentation added.
10470         (getComponent): Documentation added.
10471         (setDefaultActions): Documentation added.
10472         (getDefaultActions): Documentation added.
10473         (addDropTargetListener): Documentation added.
10474         * java/awt/dnd/DropTargetContext.java
10475         (DropTargetContext): Documentation added.
10476         (TransferableProxy.TransferableProxy): New method.
10477         (dropComplete): Fixed documentation.
10478         (getTransferable): Fixed documentation.
10479         (createTransferableProxy): Implemented.
10480         * java/awt/dnd/DropTargetDragEvent.java
10481         (DropTargetDragEvent): Documentation added.
10482         (serialVersionUID): New member variable.
10483         (DropTargetDragEvent): Throw exceptions, documentation added.
10484         (acceptDrag): Implemented.
10485         (getCurrentDataFlavors): Implemented.3yy
10486         (getCurrentDataFlavorsAsList): Implemented.
10487         (isDataFlavorSupported): Implemented.
10488         (rejectDrag): Implemented.
10489         * java/awt/dnd/DropTargetDropEvent.java
10490         (DropTargetDropEvent): Documentation added.
10491         (serialVersionUID): New member variable.
10492         (actions): Renamed from srcActions for serialization issues.
10493         (isLocalTx): Renamed from isLocalTx for serialization issues.
10494         (DropTargetDropEvent): New implementation, throw exceptions,
10495         documentation added.
10496         (getCurrentDataFlavors): Implemented.
10497         (getCurrentDataFlavorsAsList): Implemented.
10498         (isDataFlavorSupported): Implemented.
10499         (getSourceActions): Implemented.
10500         (getDropAction): Implemented.
10501         (getTransferable): Implemented.
10502         (acceptDrop): Implemented.
10503         (rejectDrop): Implemented.
10504         * java/awt/dnd/DropTargetListener.java
10505         (drop): Fixed documentation.
10506         * java/awt/dnd/MouseDragGestureRecognizer.java
10507         (MouseDragGestureRecognizer): Documentation added.
10508
10509 2003-02-17  Michael Koch  <konqueror@gmx.de>
10510
10511         * java/awt/font/FontRenderContext.java,
10512         java/awt/font/ShapeGraphicAttribute.java,
10513         java/awt/font/MultipleMaster.java,
10514         java/awt/font/TransformAttribute.java,
10515         java/awt/font/GlyphJustificationInfo.java,
10516         java/awt/font/LineBreakMeasurer.java,
10517         java/awt/font/TextMeasurer.java,
10518         java/awt/font/TextLayout.java,
10519         java/awt/font/LineMetrics.java,
10520         java/awt/font/TextAttribute.java,
10521         java/awt/font/GlyphMetrics.java,
10522         java/awt/font/OpenType.java,
10523         java/awt/font/GlyphVector.java,
10524         java/awt/font/GraphicAttribute.java,
10525         java/awt/font/ImageGraphicAttribute.java,
10526         java/awt/font/NumericShaper.java: New files.
10527         * Makefile.am
10528         (awt_java_source_files): Added the following files:
10529         java/awt/font/FontRenderContext.java
10530         java/awt/font/ShapeGraphicAttribute.java
10531         java/awt/font/MultipleMaster.java
10532         java/awt/font/TransformAttribute.java
10533         java/awt/font/GlyphJustificationInfo.java
10534         java/awt/font/LineBreakMeasurer.java
10535         java/awt/font/TextMeasurer.java
10536         java/awt/font/TextLayout.java
10537         java/awt/font/LineMetrics.java
10538         java/awt/font/TextAttribute.java
10539         java/awt/font/GlyphMetrics.java
10540         java/awt/font/OpenType.java
10541         java/awt/font/GlyphVector.java
10542         java/awt/font/GraphicAttribute.java
10543         java/awt/font/ImageGraphicAttribute.java
10544         java/awt/font/NumericShaper.java
10545         * Makefile.in: Regenerated.
10546
10547 2003-02-17  Michael Koch  <konqueror@gmx.de>
10548
10549         * java/awt/print/Paper.java
10550         (Paper): Implements Cloneable.
10551         * java/awt/print/PrinterJob.java
10552         (setJobName): Return value must be void.
10553         (print): Throws PrinterException.
10554         
10555 2003-02-16  Tom Tromey  <tromey@redhat.com>
10556
10557         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
10558         variable.
10559
10560 2003-02-15  Michael Koch  <konqueror@gmx.de>
10561
10562         * java/awt/datatransfer/DataFlavor.java
10563         (isRepresentationClassByteBuffer): Removed try-catch block.
10564         (isRepresentationClassCharBuffer): Removed try-catch block.
10565         (isRepresentationClassReader): Removed try-catch block.
10566
10567 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
10568
10569         * java/nio/charset/Charset.java
10570         (isRegistered): Fixed method args and implementation.
10571         * java/nio/charset/CharsetEncoder.java
10572         (unmappableCharacterAction): New method.
10573
10574 2003-02-15  Michael Koch  <konqueror@gmx.de>
10575
10576         * java/awt/CheckboxMenuItem.java
10577         (CheckBoxMenuItem): Dont implement Serializable.
10578         (getListeners): New method,
10579         (getItemListeners): New method.
10580         * java/awt/Choice.java
10581         (getListeners): New method,
10582         (getItemListeners): New method.
10583         * java/awt/Container.java
10584         (getListeners): Added exception documentation.
10585         (setFocusTraversalKeys): Throw exceptions, added documentattion.
10586         (getFocusTraversalKeys): Added documentation.
10587         (areFocusTraversalKeysSet): Added documentation.
10588         (applyComponentOrientation): Added documentation.
10589         * java/awt/ContainerOrderFocusTraversalPolicy.java
10590         (implicitDownCycleTraversal): Renamed from downCycle for
10591         serialization.
10592         (ContainerOrderFocusTraversalPolicy): Added documentation.
10593         (accept): Reformated.
10594         * java/awt/Dialog.java
10595         (Dialog): Dont implement Serializable.
10596         (Dialog): Added documentation.
10597         * java/awt/Font.java
10598         (Font): Dont use absolute class name.
10599         * java/awt/Frame.java
10600         (Frame): Font implement Serializable.
10601         * java/awt/List.java
10602         (getListeners): New method,
10603         (getActionListeners): New method.       
10604         (getItemListeners): New method.
10605         * java/awt/Menu.java
10606         (countItems): New deprecated method.
10607         * java/awt/Scrollbar.java
10608         (getListeners): New method,
10609         (getAdjustmentListeners): New method,
10610         * java/awt/TextComponent.java
10611         (getListeners): New method,
10612         (getTextListeners): New method,
10613         * java/awt/TextField.java
10614         (getListeners): New method,
10615         (getActionListeners): New method.       
10616         * java/awt/Window.java
10617         (windowFocusListener): New member variable.
10618         (windowStateListener): New member variable.
10619         (getWindowFocusListeners): New method.
10620         (getWindowStateListeners): New method.
10621         (addWindowFocusListener): New method.
10622         (addWindowStateListener): New method.
10623         (removeWindowFocusListener): New method.
10624         (removeWindowStateListener): New method.
10625         * java/awt/datatransfer/DataFlavor.java
10626         (isRepresentationClassByteBuffer): New method.
10627         (isRepresentationClassCharBuffer): New method.
10628         (isRepresentationClassReader): New method.
10629
10630 2003-02-14  Mark Wielaard  <mark@klomp.org>
10631
10632         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
10633         zero when there is an exponent and the significant is zero.
10634         (divide): Always set scale to newScale even in special ZERO case.
10635
10636 2003-02-14  Tom Tromey  <tromey@redhat.com>
10637
10638         * java/lang/System.java (properties): Use Properties.clone.
10639         (setProperties): Likewise.
10640
10641 2003-02-14  Michael Koch  <konqueror@gmx.de>
10642
10643         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
10644         * gnu/java/nio/ServerSocketChannelImpl.java
10645         (SocketAccept): Removed.
10646         (accept): Commented out use of SocketAccept.
10647
10648 2003-02-13  Tom Tromey  <tromey@redhat.com>
10649
10650         * verify.cc (state::seen_subrs): New field.
10651         (state::state): Initialize it.
10652         (state::clean_subrs): New method.
10653         (state::~state): Call it.
10654         (state::copy): Copy subroutine list.
10655         (state::add_subr): New method.
10656         (state::merge): Only register a change if the current subroutine
10657         hasn't yet been noted.
10658
10659 2003-02-13  Mark Wielaard  <mark@klomp.org>
10660
10661         * java/io/InputStreamReader.java (getEncoding): Return null when
10662         closed.
10663         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
10664
10665 2003-02-13  Mark Wielaard  <mark@klomp.org>
10666  
10667         * java/util/zip/InflaterInputStream.java (read): Return zero when len
10668         is zero.
10669
10670 2003-02-13  Mark Wielaard  <mark@klomp.org>
10671
10672         * java/io/BufferedOutputStream.java (write(int)): Only flush when
10673         next byte cannot be buffered.
10674
10675 2003-02-13  Michael Koch  <konqueror@gmx.de>
10676  
10677         * java/awt/Label.java
10678         (Label): Don't implement Serializable directly.
10679         (addNotify): Fixed typo in documentation.
10680         * java/awt/List.java
10681         (List): Don't implement Serializable directly.
10682         * java/awt/PopupMenu.java
10683         (PopupMenu): Don't implement Serializable directly.
10684         * java/awt/ScrollPane.java
10685         (ScrollPane): Don't implement Serializable directly.
10686         * java/awt/Scrollbar.java
10687         (Scrollbar): Don't implement Serializable directly.
10688         * java/awt/TextArea.java
10689         (preferredSize): Fixed method arguments.
10690         * java/awt/TextField.java
10691         (TextField): Don't implement Serializable directly.
10692         * java/awt/color/ICC_ColorSpace.java
10693         (fromCIOXYZ): Documentation added.
10694         (getMinValue): Documentation added.
10695         (getMaxValue): Documentation added.
10696         * java/awt/datatransfer/DataFlavor.java
10697         (isMimeTypeEqual): May not be final.
10698         (clone): Throws CloneNotSupportedException.
10699         (getReaderForText): Don't throws UnsupportedEncodingException.
10700
10701 2003-02-13  Michael Koch  <konqueror@gmx.de>
10702  
10703         * gnu/java/awt/peer/gtk/GdkGraphics.java
10704         (drawString): New stubbed method.
10705         * java/awt/Graphics.java
10706         (drawString): New method.
10707
10708 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
10709
10710         PR libgcj/9271:
10711         * java/security/SecureRandom.java (next): Avoid bias in results.
10712
10713 2003-02-13  Michael  <konqueror@gmx.de>
10714
10715         * gnu/java/nio/FileChannelImpl.java
10716         (lengthInternal): Must be native.
10717         (size): Check if channel is already closed.
10718         (implCloseChannel): Reformated.
10719         (read): w was unused, removed it.
10720         (read): Removed.
10721         (read): New method.
10722         (write): New method.
10723         (map): Check arguments.
10724         (force): Throws IOException, check if channel is closed.
10725         (transferTo): New method.
10726         (transferFrom): New method.
10727         (lock): New method.
10728         (tryLock): New method.
10729         (position): New method.
10730         (truncate): New method.
10731         (nio_mmap_file): Uncommented.
10732         (nio_munmap_file): Uncommented.
10733         (nio_msync): Uncommented.
10734         * gnu/java/nio/natFileChannelImpl.cc: New file.
10735         
10736 2003-02-13  Michael Koch  <konqueror@gmx.de>
10737
10738         * java/nio/ByteBuffer.java
10739         (endian): New member variable.
10740         (get): New methods.
10741         (equals): New method.
10742         (compareTo): New method.
10743         (order): New methods.
10744         (compact): New method.
10745         (isDirect): New method.
10746         (slice): New method.
10747         (duplicate): New method.
10748         (asReadOnlyBuffer): New method.
10749         (asCharBuffer): New method.
10750         (asDoubleBuffer): New method.
10751         (asFloatBuffer): New method.
10752         (asIntBuffer): New method.
10753         (asLongBuffer): New method.
10754         (asShortBuffer): New method.
10755         (get*): New methods.
10756         (put*): New methods.
10757         (toString): New method.
10758         * java/nio/CharBuffer.java
10759         (CharBuffer): Implement Comparable instead of Cloneable.
10760         (get): May not be final.
10761         (put): May not be final.
10762         
10763 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
10764
10765         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
10766         lastIndexOf( ) instead of indexOf( ) to find the colon before
10767         the line number, because Win32 file names might contain a 
10768         drive letter and a colon at the start of an absolute path.
10769
10770 2003-02-13  Michael Koch  <konqueror@gmx.de>
10771
10772         * gnu/java/nio/natSocketChannelImpl.cc
10773         (SocketConnect): This is not implemented yet.
10774         (SocketBind): This is not implemented yet.
10775
10776 2003-02-13  Michael Koch  <konqueror@gmx.de>
10777
10778         * gnu/java/nio/natByteBufferImpl.cc,
10779         gnu/java/nio/natCharBufferImpl.cc,
10780         gnu/java/nio/natDoubleBufferImpl.cc,
10781         gnu/java/nio/natFloatBufferImpl.cc,
10782         gnu/java/nio/natIntBufferImpl.cc,
10783         gnu/java/nio/natLongBufferImpl.cc,
10784         gnu/java/nio/natShortBufferImpl.cc:
10785         Added copyright and license.
10786         * java/nio/DoubleBuffer.java,
10787         java/nio/FloatBuffer.java,
10788         java/nio/IntBuffer.java,
10789         java/nio/LongBuffer.java,
10790         java/nio/ShortBuffer.java
10791         (array): Throw exceptions.
10792         (arrayOffset): Throw exceptions.
10793
10794 2003-02-13  Michael Koch  <konqueror@gmx.de>
10795  
10796         * gnu/java/util/prefs/FileBasedFactory.java,
10797         gnu/java/util/prefs/MemmoryBasedFactory.java,
10798         gnu/java/util/prefs/MemoryBasedPreferences.java,
10799         gnu/java/util/prefs/NodeReader.java,
10800         gnu/java/util/prefs/NodeWriter.java,
10801         java/util/prefs/AbstractPreferences.java,
10802         java/util/prefs/BackingStoreException.java,
10803         java/util/prefs/InvalidPreferencesFormatException.java,
10804         java/util/prefs/NodeChangeEvent.java,
10805         java/util/prefs/NodeChangeListener.java,
10806         java/util/prefs/PreferenceChangeEvent.java,
10807         java/util/prefs/PreferenceChangeListener.java,
10808         java/util/prefs/Preferences.java,
10809         java/util/prefs/PreferencesFactory.java:
10810         New files, all merged from classpath.
10811         * Makefile.am
10812         (ordinary_java_source_files): Added the following files:
10813         gnu/java/util/prefs/FileBasedFactory.java,
10814         gnu/java/util/prefs/MemmoryBasedFactory.java,
10815         gnu/java/util/prefs/MemoryBasedPreferences.java,
10816         gnu/java/util/prefs/NodeReader.java,
10817         gnu/java/util/prefs/NodeWriter.java,
10818         (core_java_source_files): Added the following files:
10819         java/util/prefs/AbstractPreferences.java,
10820         java/util/prefs/BackingStoreException.java,
10821         java/util/prefs/InvalidPreferencesFormatException.java,
10822         java/util/prefs/NodeChangeEvent.java,
10823         java/util/prefs/NodeChangeListener.java,
10824         java/util/prefs/PreferenceChangeEvent.java,
10825         java/util/prefs/PreferenceChangeListener.java,
10826         java/util/prefs/Preferences.java,
10827         java/util/prefs/PreferencesFactory.java
10828         * Makefile.in: Regenerated.
10829  
10830 2003-02-13  Michael Koch  <konqueror@gmx.de>
10831
10832         * java/net/NetPermission.java
10833         (NetPermission): Make doucmentation match the method declaration.
10834         * java/net/NetworkInterface.java
10835         (equals): Reformated for GNU coding style.
10836         * java/net/ServerSocket.java: Merged with classpath.
10837         * java/net/Socket.java: Partly merged with classpath (Added some @since).
10838         * java/net/SocketImpl.java
10839         (localPort): Merged with classpath (initialize with -1).
10840         * java/net/SocketPermission.java: Merged with classpath (reindented).
10841         * java/net/URLDecoder.java: Merged with classpath (reindented).
10842
10843 2003-02-13  Michael Koch  <konqueror@gmx.de>
10844
10845         * java/awt/GridBagConstraints.java
10846         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
10847         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
10848         * java/awt/KeyboardFocusManager.java
10849         (setGlobalCurrentFocusCycleRoot): Must be public.
10850         * java/awt/MenuComponent.java
10851         (MenuComponent): Must be public.
10852         * java/awt/Toolkit.java:
10853         Added some empty lines to make documentation more readable.
10854         (getFontPeer): Added @deprecated.
10855         (getColorModel): Added exception documentation.
10856         (getProperty): Fixed documentation.
10857  
10858 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
10859
10860         * configure.host (alpha*-*): Default to -mieee.
10861         * configure.in (IEEESPEC): New.
10862         * libgcj.spec.in (jc1): Add IEEESPEC.
10863         * configure: Rebuild.
10864
10865 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
10866
10867         * include/win32.h: Include ws2tcpip.h instead of
10868         winsock.h to obtain definition of the socklen_t type.
10869         Remove IP_TOS definition - not needed with ws2tcpip.h
10870         (_Jv_connect): Correct slight formatting error.
10871
10872 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
10873
10874         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
10875         size of the arguments for a JNI function. For Win32,
10876         modify to search for all forms of possible exported
10877         names of an stdcall JNI function.
10878         (_Jv_JNIMethod::call): Modify to calculate the size
10879         of the arguments passed to a JNI function and pass
10880         it to _Jv_LookupJNIMethod.
10881
10882 2003-02-12  Michael Koch  <konqueror@gmx.de>
10883
10884         * java/nio/channels/Channels.java: New file.
10885         * Makefile.am
10886         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
10887         * Makefile.in: Regenerated.
10888
10889 2003-02-12  Michael Koch  <konqueror@gmx.de>
10890
10891         * java/nio/ByteBuffer.java
10892         (allocate): Implemented.
10893         (wrap): Implemented.
10894         * java/nio/CharBuffer.java:
10895         Some documentation added and reworked.
10896         (endian): Removed.
10897         (allocate): Implemented.
10898         (wrap): Implemented.
10899         (array): Throw exceptions.
10900         (arrayOffset): Throw exceptions.
10901         (toString): Implemented.
10902         (length): Implemented.
10903         (put): Implemented.
10904         (charAt): Implemented.
10905
10906 2003-02-11  John Leuner  <jewel@debian.org>
10907
10908         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
10909         reads from end of file.
10910
10911 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
10912
10913         * java/io/natFileDescriptorWin32.cc 
10914         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
10915         returns with Win32 error code ERROR_BROKEN_PIPE.
10916
10917 2003-02-11  Michael Koch  <konqueror@gmx.de>
10918
10919         * Makefile.in
10920         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
10921
10922 2003-02-11  Michael Koch  <konqueror@gmx.de>
10923
10924         * gnu/java/nio/ByteBufferImpl.java:
10925         Reformated and removed some code.
10926         (backing_buffer): Removed.      
10927         (array_offset): Removed.
10928         (ro): Renamed to readOnly.
10929         (ByteBufferImpl): Use parent constructor, initialize readOnly.
10930         * gnu/java/nio/CharBufferImpl.java:
10931         Reformated and removed some code.
10932         (array_offset): Removed.
10933         (ro): Renamed to readOnly.
10934         (CharBufferImpl): Use parent constructor, initialize readOnly.
10935         (inc_pos): Removed.
10936         (order): New method.
10937         * gnu/java/nio/DoubleBufferImpl.java:
10938         Reformated and removed some code.
10939         (array_offset): Removed.
10940         (ro): Renamed to readOnly.
10941         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
10942         (inc_pos): Removed.
10943         (order): New method.
10944         * gnu/java/nio/FloatBufferImpl.java:
10945         Reformated and removed some code.
10946         (array_offset): Removed.
10947         (ro): Renamed to readOnly.
10948         (FloatBufferImpl): Use parent constructor, initialize readOnly.
10949         (inc_pos): Removed.
10950         (order): New method.
10951         * gnu/java/nio/IntBufferImpl.java:
10952         Reformated and removed some code.
10953         (array_offset): Removed.
10954         (ro): Renamed to readOnly.
10955         (IntBufferImpl): Use parent constructor, initialize readOnly.
10956         (inc_pos): Removed.
10957         (order): New method.
10958         * gnu/java/nio/LongBufferImpl.java:
10959         Reformated and removed some code.
10960         (array_offset): Removed.
10961         (ro): Renamed to readOnly.
10962         (LongBufferImpl): Use parent constructor, initialize readOnly.
10963         (inc_pos): Removed.
10964         (order): New method.
10965         * gnu/java/nio/ShortBufferImpl.java:
10966         Reformated and removed some code.
10967         (array_offset): Removed.
10968         (ro): Renamed to readOnly.
10969         (ShortBufferImpl): Use parent constructor, initialize readOnly.
10970         (inc_pos): Removed.
10971         (order): New method.
10972         * Makefile.am
10973         (ordinary_java_source_files): Added the following files:
10974         gnu/java/nio/ByteBufferImpl.java
10975         gnu/java/nio/CharBufferImpl.java
10976         gnu/java/nio/DoubleBufferImpl.java
10977         gnu/java/nio/FloatBufferImpl.java
10978         gnu/java/nio/IntBufferImpl.java
10979         gnu/java/nio/LongBufferImpl.java
10980         gnu/java/nio/ShortBufferImpl.java
10981         java/nio/DoubleBuffer.java
10982         java/nio/FloatBuffer.java
10983         java/nio/IntBuffer.java
10984         java/nio/LongBuffer.java
10985         java/nio/ShortBuffer.java
10986         (nat_source_files): Added the following files:
10987         gnu/java/nio/natByteBufferImpl.cc
10988         gnu/java/nio/natCharBufferImpl.cc
10989         gnu/java/nio/natDoubleBufferImpl.cc
10990         gnu/java/nio/natFloatBufferImpl.cc
10991         gnu/java/nio/natIntBufferImpl.cc
10992         gnu/java/nio/natLongBufferImpl.cc
10993         gnu/java/nio/natShortBufferImpl.cc
10994         * Makefile.in: Regenerated.
10995
10996 2003-02-11  Michael Koch  <konqueror@gmx.de>
10997
10998         * gnu/java/nio/natCharBufferImpl.cc
10999         (nio_cast): Removed.
11000         (nio_put_*): Removed.
11001         (nio_get_*): Removed.
11002         * gnu/java/nio/natDoubleBufferImpl.cc
11003         (nio_cast): Removed.
11004         (nio_put_*): Removed.
11005         (nio_get_*): Removed.
11006         * gnu/java/nio/natFloatBufferImpl.cc
11007         (nio_cast): Removed.
11008         (nio_put_*): Removed.
11009         (nio_get_*): Removed.
11010         * gnu/java/nio/natIntBufferImpl.cc
11011         (nio_cast): Removed.
11012         (nio_put_*): Removed.
11013         (nio_get_*): Removed.
11014         * gnu/java/nio/natLongBufferImpl.cc
11015         (nio_cast): Removed.
11016         (nio_put_*): Removed.
11017         (nio_get_*): Removed.
11018         * gnu/java/nio/natShortBufferImpl.cc
11019         (nio_cast): Removed.
11020         (nio_put_*): Removed.
11021         (nio_get_*): Removed.
11022         * gnu/java/nio/SelectorProviderImpl.java
11023         (openDatagramChannel): Throws IOException.
11024         (openPipe): Throws IOException.
11025         (openSelector): Throws IOException.
11026         (openServerSocketChannel): Throws IOException.
11027         (openSocketChannel): Throws IOException.
11028         * gnu/java/nio/ServerSocketChannelImpl.java
11029         (ServerSocketChannelImpl): Throws IOException.
11030         (implCloseSelectableChannel): Throws IOException.
11031         (implConfigureBlocking): Throws IOException.
11032         * java/nio/ByteBuffer.java
11033         (readOnly): Removed.
11034         (hasArray): Use isReadOnly() instead of readOnly.
11035         (array): Use isReadOnly() instead of readOnly.
11036         (arrayOffset): Use isReadOnly() instead of readOnly.
11037         * java/nio/CharBuffer.java
11038         (CharBuffer): Implements Cloneable and CharSequence.
11039
11040 2003-02-11  Michael Koch  <konqueror@gmx.de>
11041
11042         * java/nio/DoubleBuffer.java
11043         (DoubleBuffer): Implements Comparable.
11044         (endian): Removed.
11045         (array_offset): New member variable.
11046         (DoubleBuffer): New constuctor.
11047         (get): May not be final.
11048         (put): May not be final.
11049         (arrayOffset): Implemented.
11050         (order): Made abstract.
11051         (order): Removed.
11052         (as*Buffer): Removed.
11053         (get*): Removed.
11054         (put*): Removed.
11055         * java/nio/FloatBuffer.java
11056         (FloatBuffer): Implements Comparable.
11057         (endian): Removed.
11058         (array_offset): New member variable.
11059         (FloatBuffer): New constuctor.
11060         (get): May not be final.
11061         (put): May not be final.
11062         (arrayOffset): Implemented.
11063         (order): Made abstract.
11064         (order): Removed.
11065         (as*Buffer): Removed.
11066         (get*): Removed.
11067         (put*): Removed.
11068         * java/nio/IntBuffer.java
11069         (IntBuffer): Implements Comparable.
11070         (endian): Removed.
11071         (array_offset): New member variable.
11072         (IntBuffer): New constuctor.
11073         (get): May not be final.
11074         (put): May not be final.
11075         (arrayOffset): Implemented.
11076         (order): Made abstract.
11077         (order): Removed.
11078         (as*Buffer): Removed.
11079         (get*): Removed.
11080         (put*): Removed.
11081         * java/nio/LongBuffer.java
11082         (LongBuffer): Implements Comparable.
11083         (endian): Removed.
11084         (array_offset): New member variable.
11085         (LongBuffer): New constuctor.
11086         (get): May not be final.
11087         (put): May not be final.
11088         (arrayOffset): Implemented.
11089         (order): Made abstract.
11090         (order): Removed.
11091         (as*Buffer): Removed.
11092         (get*): Removed.
11093         (put*): Removed.
11094         * java/nio/ShortBuffer.java
11095         (ShortBuffer): Implements Comparable.
11096         (endian): Removed.
11097         (array_offset): New member variable.
11098         (ShortBuffer): New constuctor.
11099         (get): May not be final.
11100         (put): May not be final.
11101         (arrayOffset): Implemented.
11102         (order): Made abstract.
11103         (order): Removed.
11104         (as*Buffer): Removed.
11105         (get*): Removed.
11106         (put*): Removed.
11107
11108 2003-02-11   Michael Koch  <konqueror@gmx.de>
11109
11110         * java/nio/channels/SelectionKey.java
11111         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
11112         values.
11113
11114 2003-02-11  Michael Koch  <konqueror@gmx.de>
11115
11116         * java/nio/channels/DatagramChannel.java
11117         (write): Throws IOException.
11118         (connect): Throws IOException.
11119         (disconnect): Throws IOException.
11120         (read): Throws IOException.
11121         (receive): Throws IOException.
11122         (send): Throws IOException.
11123         * java/nio/channels/Pipe.java
11124         (open): Throws IOException.
11125         * java/nio/channels/SelectableChannel.java
11126         (configureBlocking): Throws IOException.
11127         * java/nio/channels/ServerSocketChannel.java
11128         (accept): Throws IOException.
11129         * java/nio/channels/SocketChannel.java
11130         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
11131         GatheringByteChannel.
11132         (read): Throws IOException.
11133         (write): Throws IOException.
11134         (finishConnect): Throws IOException.
11135         * java/nio/channels/spi/AbstractInterruptibleChannel.java
11136         (end): Throws AsynchronousCloseException.
11137         * java/nio/channels/spi/AbstractSelectableChannel.java
11138         (configureBlocking): Throws IOException.
11139         (implCloseChannel): Throws IOException.
11140         (implCloseSelectableChannel): Throws IOException.
11141         (implConfigureBlocking): Throws IOException.
11142         * java/nio/channels/spi/SelectorProvider.java
11143         (openDatagramChannel): Throws IOException.
11144         (openPipe): Throws IOException.
11145         (openSelector): Throws IOException.
11146         (openServerSocketChannel): Throws IOException.
11147         (openSocketChannel): Throws IOException.
11148
11149 2003-02-11  Michael Koch  <konqueror@gmx.de>
11150
11151         * gnu/java/nio/FileLockImpl.java,
11152         java/nio/channels/FileLock.java: New files.
11153
11154 2003-02-11  Michael Koch  <konqueror@gmx.de>
11155
11156         * java/nio/charset/IllegalCharsetNameException.java
11157         (serialVersionUID): New member variable.
11158         (charsetName): New member variable.
11159         (IllegalCharsetException): New implementation.
11160         (getCharsetName): New implementation.
11161         * java/nio/charset/UnsupportedCharsetException.java
11162         (serialVersionUID): New member variable.
11163         (charsetName): New member variable.
11164         (UnsupportedCharsetException): New implementation.
11165         (getCharsetName): New implementation.
11166
11167 2003-02-10  Tom Tromey  <tromey@redhat.com>
11168
11169         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
11170         (ex): Renamed from sqlException.
11171
11172 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
11173
11174         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
11175         method used to ensure seeding has occurred and that a specific 
11176         seed can be set and used.
11177
11178 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
11179
11180         * java/lang/Win32Process.java (destroy): Declare as native.
11181         (hasExited): New native method.
11182         (exitValue): Define.
11183         (getErrorStream): Likewise.
11184         (getInputStream): Likewise.
11185         (getOutputStream): Likewise.
11186         (waitFor): Declare as native.
11187         (startProcess): New native method.
11188         (cleanup): Likewise.
11189         (ConcreteProcess): Define.
11190         (outputStream, inputStream, errorStream): New members.
11191         (procHandle, exitCode): Likewise.
11192
11193         * java/lang/natWin32Process.cc
11194         (java::lang::ConcreteProcess::cleanup): Define.
11195         (java::lang::ConcreteProcess::destroy): Likewise.
11196         (java::lang::ConcreteProcess::hasExited): Likewise.
11197         (java::lang::ConcreteProcess::waitFor): Likewise.
11198         (new_string): Likewise.
11199         (java::lang::ConcreteProcess::startProcess): Likewise.
11200
11201 2003-02-10  Raif S. Naffah <raif@fl.net.au>
11202
11203         * java/math/BigInteger.java:
11204         Updated notice to include years 2002 and 3.
11205         Added 2 private (int) arrays with values from the HAC (Handbook of
11206         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
11207         and t[] that contains nbr. of tests --used in isProbablePrime().
11208
11209         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
11210
11211         * java/math/BigInteger.java (make(int[],int), add(int,int),
11212         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
11213         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
11214         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
11215         make(long).
11216
11217         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
11218         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
11219         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
11220         BIs and returns void.
11221         (modInverse(BI)): Use new signatures of euclidInv().
11222
11223         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
11224         static small primes instead of remainder().
11225         Use pre-computed max nbr of trials based on bitlength of BI to test.
11226         Use pre-computed small primes for the trial tests instead of random
11227         numbers.
11228
11229         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
11230         not used.
11231
11232         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
11233         invoacation of MPN.chars_per_word().  not used.
11234
11235         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
11236         local var and used where needed.
11237
11238         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
11239         Combined declaration with initialisation of locals.
11240         Removed unused var.
11241
11242         * java/math/BigInteger.java: Style changes
11243         (pow(int)): Removed 'else' keyword.
11244         (toString(int)): idem.
11245         (doubleValue()): idem.
11246         (bitLength()): idem.
11247         (equals(Object)): Use static methods name in same class w/o prepending
11248         class name.
11249         (doubleValue()): idem.
11250         (setNegative(BI)): idem.
11251         (negate()): idem.
11252         (and(BI,int)): idem.
11253         (and(BI)): idem.
11254         (gcd(BI)): idem.
11255         (byteArrayToIntArray()): Removed casting to (int). this is
11256         std. behaviour.
11257         (canonicalize()): idem.
11258         (alloc(int)): Always instantiate a new BI.
11259
11260 2003-02-10  Tom Tromey  <tromey@redhat.com>
11261
11262         * java/sql/Timestamp.java (compareTo(Object)): New method.
11263         (compareTo(Timestamp)): Likewise.
11264         (serialVersionUID): Updated.
11265
11266 2003-02-07  Mark Wielaard  <mark@klomp.org>
11267
11268         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
11269         when verify is true.
11270         (JarFile(File, boolean)): Likewise.
11271         (manifestRead): Set manifestRead field correctly.
11272
11273 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
11274
11275         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
11276         tests; see patch #1016 on Savannah.
11277
11278 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
11279
11280         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
11281         (toString): do not return Strings starting with . and - erroneously.
11282         Improves Mauve results to 12 of 600 instead of 16 of 338 on
11283         DiagBigDecimal.
11284
11285 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
11286
11287         * java/beans/PropertyDescriptor.java
11288         (PropertyDescriptor(String, Class)): Sanity check getter and setter
11289         methods.
11290         (PropertyDescriptor(String, Class, String, String)): Likewise.
11291         (PropertyDescriptor(String, Method, Method): Factor out getter and
11292         setter method sanity checks into new method.
11293         (findMethods): Don't do parameter sanity checking of get method here.
11294         (checkMethods): New method.
11295
11296 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
11297
11298         * java/beans/PropertyDescriptor.java: Reformat.
11299
11300 2003-02-04  Tom Tromey  <tromey@redhat.com>
11301
11302         * java/io/PipedOutputStream.java (flush): Declare as throwing
11303         IOException.
11304         (close): Likewise.
11305         * java/io/PipedWriter.java (close): Declare as throwing
11306         IOException.
11307         * java/io/StringWriter.java (close): Declare as throwing
11308         IOException.
11309
11310 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
11311
11312         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
11313         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
11314         could also have been exported as "JNI_OnLoad@8" (MinGW) or
11315         "_JNI_OnLoad@8" (MSVC).
11316
11317 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
11318
11319         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
11320         convention on Win32 to invoke native JNI methods.
11321
11322 2003-02-03  Andrew Haley  <aph@redhat.com>
11323
11324         * configure.host (x86_64): Enable interpreter.
11325
11326 2003-02-03  Andrew Haley  <aph@redhat.com>
11327
11328         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
11329         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
11330         * configure.in (BACKTRACESPEC): New.
11331         * configure: Regenerate.
11332
11333 2003-02-02  Tom Tromey  <tromey@redhat.com>
11334
11335         * configure: Rebuilt.
11336         * configure.in (TOOLKIT) [xlib]: Set correctly.
11337
11338         * Makefile.in: Rebuilt.
11339         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
11340         libstdc++.
11341
11342 2003-01-31  Mark WIelaard  <mark@klomp.org>
11343
11344         * Makefile.in: Rebuilt.
11345         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
11346
11347 2003-01-31  Tom Tromey  <tromey@redhat.com>
11348
11349         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
11350         cast to element type.
11351         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
11352         (_Jv_JNI_GetObjectArrayElement): Likewise.
11353
11354         * Makefile.in: Rebuilt.
11355         * Makefile.am (cond_x_ltlibrary): Renamed library to
11356         lib-gnu-awt-xlib.la.
11357         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
11358         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
11359         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
11360         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
11361         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
11362         (lib_gnu_awt_xlib_la_LINK): Likewise.
11363         (install-exec-hook): Removed.
11364         (lib-gnu-awt-xlib.la): Renamed.
11365
11366 2003-01-31  Tom Tromey  <tromey@redhat.com>
11367
11368         * aclocal.m4, configure, include/config.h.in: Rebuilt.
11369         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
11370         aclocal.m4 and lost in some merge.
11371
11372         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
11373         Don't try to find graphics configuration.
11374         * java/awt/Toolkit.java (default_toolkit_name): Use new
11375         Configuration entry.
11376         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
11377         New global.
11378         * configure: Rebuilt.
11379         * configure.in (TOOLKIT): New subst.
11380         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
11381         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
11382         directory.  Make output directories for .c files.
11383         * Makefile.in: Rebuilt.
11384         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
11385         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
11386         (all_java_source_files): Added new sources.
11387         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
11388         (gtk_c_files): New macro.
11389         (gtk_c_source_files): New macro.
11390         (cond_gtk_ltlibrary): New macro.
11391         ($(gtk_c_files)): New target.
11392         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
11393         (gtk_awt_peer_sources): New macro.
11394         (gtk_c_headers): New macro.
11395         ($(gtk_c_headers)): New target.
11396         (ACLOCAL_AMFLAGS): New macro.
11397         * gtk.m4, glib.m4, libart.m4: New files.
11398         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
11399         gnu/java/awt/peer/gtk/GdkGraphics.java,
11400         gnu/java/awt/peer/gtk/GtkArg.java,
11401         gnu/java/awt/peer/gtk/GtkArgList.java,
11402         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
11403         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
11404         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
11405         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
11406         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
11407         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
11408         gnu/java/awt/peer/gtk/GtkClipboard.java,
11409         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11410         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
11411         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
11412         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
11413         gnu/java/awt/peer/gtk/GtkFontPeer.java,
11414         gnu/java/awt/peer/gtk/GtkFramePeer.java,
11415         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
11416         gnu/java/awt/peer/gtk/GtkImage.java,
11417         gnu/java/awt/peer/gtk/GtkImagePainter.java,
11418         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
11419         gnu/java/awt/peer/gtk/GtkListPeer.java,
11420         gnu/java/awt/peer/gtk/GtkMainThread.java,
11421         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
11422         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
11423         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
11424         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
11425         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
11426         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
11427         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
11428         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
11429         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
11430         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11431         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
11432         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
11433         gnu/java/awt/peer/gtk/GtkToolkit.java,
11434         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11435         gnu/java/awt/peer/gtk/TestAWT.java,
11436         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
11437         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
11438         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
11439         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
11440         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
11441         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
11442         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
11443         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
11444         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
11445         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
11446         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
11447         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
11448         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
11449         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
11450         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
11451         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
11452         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
11453         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
11454         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
11455         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
11456         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
11457         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
11458         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
11459         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
11460         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
11461         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
11462         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
11463         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
11464         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
11465         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
11466         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
11467         jni/classpath/native_state.c, jni/classpath/native_state.h,
11468         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
11469
11470 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
11471
11472         * java/util/Properties.java (load): Ignore backslash before EOF.
11473
11474 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
11475
11476         * java/lang/natClass.cc (initializeClass): Check tables when
11477         (state == JV_STATE_IN_PROGRESS).
11478         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
11479         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
11480         interpreted classes.
11481         (linkClass0): Use _Jv_WaitForState.
11482
11483 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
11484
11485         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
11486         object when finished.
11487
11488 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
11489
11490         * libjava/configure.host: Disable can_unwind_signal on darwin.
11491
11492 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
11493
11494         Fixes PR java/9254:
11495         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
11496         additionally containing id of the owner thread as well as
11497         the number of nested times the thread has acquired the mutex.
11498         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
11499         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
11500         (_Jv_MutexUnlock): Check if really the owner thread, reset
11501         owner thread id to 0 before leaving, if leaving for the last
11502         time.
11503         (_Jv_MutexLock): Set owner thread id in the mutex and increment
11504         refcount.
11505         (_Jv_ThreadYield): Yield using a call to Sleep(0).
11506         * win32-threads.cc (_Jv_CondWait): Check if really owner of
11507         the passed mutex.
11508         Pass handle of the broadcast event, instead of a pointer to it
11509         in Win32 ResetEvent( ) call.
11510         Remove incorrect return values.
11511         (_Jv_CondDestroy): Close both event handles and delete
11512         critical section.
11513         (_Jv_CondNotify): Check if really the owner thread.
11514         (_Jv_CondNotifyAll): Check if really the owner thread.
11515         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
11516         (really_start): Use SetEvent( ) to signal daemon_cond.
11517         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
11518         WaitForSingleObject( ) instead to wait for daemon_cond to be
11519         signalled.
11520
11521 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
11522
11523         * configure.in: Specifically define HAVE_BACKTRACE if building
11524         for MinGW.
11525         * include/win32.h: Remove HAVE_BACKTRACE definition.
11526         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
11527         * configure: Rebuilt.
11528
11529 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
11530
11531         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
11532         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
11533         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
11534         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
11535         * Makefile.in, configure: Rebuilt.
11536
11537 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
11538
11539         Fixes PR java/9253:
11540         * java/io/natFileWin32.cc (performList): Append only "*.*"
11541         if the canonical file path already has a "\" at the end.
11542
11543 2003-01-24  Tom Tromey  <tromey@redhat.com>
11544
11545         * defineclass.cc (handleMethodsEnd): Precompute code for static
11546         method.
11547         (handleCodeAttribute): Likewise.
11548         * resolve.cc (ncode): Use run_class for unsynchronized static
11549         methods.
11550         * include/java-interp.h (class _Jv_InterpMethod): Declare
11551         run_class.
11552         * interpret.cc (run_synch_class): Initialize class.
11553         (run) [insn_invokestatic]: Don't initialize class.
11554         [insn_anewarray]: Likewise.
11555         [insn_multianewarray]: Likewise.
11556         (run_class): New function.
11557
11558 2003-01-24  Tom Tromey  <tromey@redhat.com>
11559
11560         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
11561         comment.
11562
11563 2003-01-22  Andrew Haley  <aph@redhat.com>
11564
11565         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
11566         * configure.host (CHECKREFSPEC): Define for x86_64.
11567
11568 2003-01-21  Tom Tromey  <tromey@redhat.com>
11569
11570         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
11571         search at 2, not 3.
11572
11573 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
11574
11575         * java/io/natFileWin32.cc (isAbsolute): Check path length before
11576         looking at any characters.
11577         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
11578         be used.
11579         (isAbsolute): Check path's length as well.
11580
11581 2003-01-17  Mark Wielaard  <mark@klomp.org>
11582
11583         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
11584         (nat_source_files): Add natVMObjectStreamClass.cc.
11585         * Makefile.in: Regenerated.
11586         * gcj/javaprims.h (namespace java): Regenerated.
11587         * java/io/ObjectStreamClass.java (getClassUID): Call
11588         VMObjectStreamClass.hasClassInitializer().
11589         (hasClassInitializer): Removed.
11590         * java/io/VMObjectStreamClass.java: New class.
11591         * java/io/natVMObjectStreamClass.cc: New file.
11592         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
11593
11594 2003-01-16  Mark Wielaard  <mark@klomp.org>
11595
11596         * java/net/SocketImpl.java (toString): Don't explicitly call
11597         toString() on possible null address.
11598
11599 2003-01-16  Michael Koch  <konqueror@gmx.de>
11600
11601         * java/net/MulticastSocket.java
11602         (setInterface): Reindented.
11603
11604 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
11605
11606         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
11607         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
11608         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
11609         translateY arguments.  Implement.
11610         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
11611         down translation arguments.
11612         (drawPolyline, drawPolygon): Fix incorrect tests.
11613         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
11614         translateX and translateY arguments.
11615
11616 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
11617
11618         * Makefile.in: Rebuilt.
11619         * Makefile.am (xlib_includes): New macro.
11620         (INCLUDES): Use it.
11621
11622 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
11623
11624         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
11625         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
11626         16-bit display mode.
11627
11628 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
11629
11630         * java/awt/CardLayout.java (show): Rewrote.
11631         (gotoComponent): Removed `target' argument.  Simplified code.
11632         Don't pre-compute `choice' unless `what' is FIRST or LAST.
11633         Changed all callers.
11634         (NONE): Removed.
11635         
11636 2003-01-14  Michael Koch  <konqueror@gmx.de>
11637
11638         * java/net/InetSocketAddress.java
11639         (serialVersionUID): New member variable.
11640         * java/net/NetPermission.java
11641         (NetPermission): Dont implement java.io.Serialization directly.
11642         * java/net/SocketAddress.java:
11643         (serialVersionUID): Documentation added.
11644         
11645 2003-01-14  Michael Koch  <konqueror@gmx.de>
11646
11647         * java/awt/Label.java
11648         (Label): Implements javax.accessibility.Accessible;
11649         * java/awt/List.java
11650         (List): Implements javax.accessibility.Accessible;
11651         * java/awt/ScrollPane.java
11652         (ScrollPane): Implements javax.accessibility.Accessible;
11653         * java/awt/Scrollbar.java
11654         (Scrollbar): Implements javax.accessibility.Accessible;
11655         * java/awt/TextComponent.java
11656         (setCaretPosition): Throw exception, documentation added.
11657         * java/awt/Toolkit.java:
11658         Added some newlines in method documentations.
11659         (createButton): Exception documentation added.
11660         (createTextField): Exception documentation added.
11661         (createLabel): Exception documentation added.
11662         (createList): Exception documentation added.
11663         (createCheckbox): Exception documentation added.
11664         (createScrollbar): Exception documentation added.
11665         (createScrollPane): Exception documentation added.
11666         (createTextArea): Exception documentation added.
11667         (createChoice): Exception documentation added.
11668         (createFrame): Exception documentation added.
11669         (createWindow): Exception documentation added.
11670         (createDialog): Exception documentation added.
11671         (createMenuBar): Exception documentation added.
11672         (createMenu): Exception documentation added.
11673         (createMenuItem): Exception documentation added.
11674         (createFileDialog): Exception documentation added.
11675         (createCheckboxMenuItem): Exception documentation added.
11676         (loadSystemColors): Exception documentation added.
11677         (setDynamicLayout): Exception documentation added.
11678         (isDynamicLayoutSet): Exception documentation added.
11679         (isDynamicLayoutActive): Exception documentation added.
11680         (getScreenSize): Exception documentation added.
11681         (getScreenResolution): Exception documentation added.
11682         (getScreenInsets): Exception documentation added.
11683         (getColorModel): Exception documentation added.
11684         (getSystemClipboard): Exception documentation added.
11685         (getSystemSelection): Exception documentation added.
11686         (getMenuShortcutKeyMask): Exception documentation added.
11687         (getSystemEventQueue): Exception documentation added.
11688         * java/awt/Window.java:
11689         Reindented some code.
11690         (Window): Centralized implementation, documentation added.
11691         (finalize): Documentation added.
11692         (hide): Fixed typo in comment.
11693         (getWindowListeners): Documentation added.
11694         * java/awt/color/ColorSpace.java
11695         (toRGB): Documentation added.
11696         * java/awt/color/ICC_ColorSpace.java
11697         (ICC_ColorSpace): Documentation added.
11698         (toRGB): Throw exception, documentation added.
11699         (fromRGB): Throw exception, documentation added.
11700         (toCIEXYZ): Documentation added.
11701         (fromCIEXYZ): Documentation added.
11702         (getMinValue): Documentation added.
11703         (getMaxValue): Documentation added.
11704         * java/awt/geom/Dimension2D.java
11705         (clone): Documentation added.
11706         * java/awt/geom/GeneralPath.java
11707         (clone): Documentation added.
11708         * java/awt/geom/Line2D.java
11709         (clone): Documentation added.
11710         * java/awt/geom/QuadCurve2D.java
11711         (clone): Documentation added.
11712         * java/awt/image/ColorModel.java
11713         (ColorModel): Throw exception, documentation added.
11714         * java/awt/image/ImageFilter.java
11715         (clone): Doesnt throw CloneNotSupportedException.
11716
11717 2003-01-14  Andrew Haley  <aph@redhat.com>
11718
11719         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
11720         in a try block.
11721
11722 2003-01-10  Andrew Haley  <aph@redhat.com>
11723
11724         * include/dwarf2-signal.h: Remove x86_64.
11725         * configure.host (x86_64 DIVIDESPEC): Remove.
11726         * include/x86_64-signal.h: New file.
11727         * configure.in: Regenerate.
11728
11729 2003-01-10  Michael Koch  <konqueror@gmx.de>
11730
11731         * java/net/DatagramSocket.java
11732         (ch): Description added.
11733         (remotePort): Initialize with -1.
11734         (connect): Doesnt throws SocketException.
11735         * java/net/MulticastSocket.java
11736         (setInterface): Merge with Classpath.
11737         * java/net/ServerSocket.java
11738         (closed): New member variable.
11739         (bind): Check if socket is closed.
11740         (close): Close an associated channel too, set new value to closed.
11741         (isBound): Reindented.
11742         (isClosed): Implemented.
11743         * java/net/Socket.java
11744         (closed): New member variable.
11745         (bind): Check if socket is closed.
11746         (connect): Check if socket is closed.
11747         (close): Close an associated channel too, set new value to closed.
11748         (isClosed): Implemented.
11749
11750 2003-01-10  Michael Koch  <konqueror@gmx.de>
11751
11752         * java/awt/DisplayMode.java
11753         (equals): Fixed argument type and implementation.
11754
11755 2003-01-07  Tom Tromey  <tromey@redhat.com>
11756
11757         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
11758         JV_HASH_SYNCHRONIZATION.
11759         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
11760         JV_HASH_SYNCHRONIZATION.
11761
11762 2003-01-07  Michael Koch  <konqueror@gmx.de>
11763  
11764         * java/net/DatagramSocket.java:
11765         Added classpath license info.
11766         (DatagramSocket): Merged description with classpath.
11767         (close): Merged description with classpath.
11768         (getChannel): Merged description with classpath.
11769         (getInetAddress): Merged description with classpath.
11770         (getPort): Merged description with classpath.
11771         (getLocalAddress): Merged description with classpath.
11772         (getLocalPort): Merged description with classpath.
11773         (getSoTimeout): Merged description with classpath.
11774         (setSoTimeout): Merged description with classpath.
11775         (getSendBufferSize): Merged description with classpath.
11776         (setSendBufferSize): Merged description with classpath.
11777         (getReceiveBufferSize): Merged description with classpath.
11778         (setReceiveBufferSize): Merged description with classpath.
11779         
11780 2003-01-04  Tom Tromey  <tromey@redhat.com>
11781
11782         * java/awt/List.java: Merged with Classpath.
11783
11784 2003-01-03  Mark Wielaard  <mark@klomp.org>
11785
11786         * java/io/FileDescriptor.java (position): New private field.
11787         * java/io/natFileDescriptorPosix.cc (write): Up position.
11788         (setLength): Use and set position.
11789         (seek): Set position.
11790         (getFilePointer): Return position.
11791         (read): Up position.
11792
11793 2003-01-03  Mark Wielaard  <mark@klomp.org>
11794
11795         Merge with Classpath:
11796         * java/io/ObjectStreamClass.java (lookup): Split method and call
11797         lookupForClassObject().
11798         (lookupForClassObject): New method.
11799         (isProxyClass): New field.
11800         (setClass): Set isProxyClass, add object to classLookupTable, set
11801         superClass and calculateOffsets.
11802         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
11803         and not a proxy class.
11804         (setFields): Set accessible true for serialPersistentFields.
11805         (getClassUID): Same for suid. And check if suid is of type long.
11806         (hasClassInitializer): Don't throw NoSuchMethodError.
11807
11808 2003-01-03  Mark Wielaard  <mark@klomp.org>
11809
11810         * java/io/FileInputStream.java (finalize): Don't explicitly
11811         finalize FileDescriptor.
11812
11813 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
11814
11815         * configure.host (sparc*-*): Enable bytecode interpreter.
11816
11817 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
11818
11819         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
11820         Don't throw RemoteException.
11821         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
11822         throw RemoteException.
11823
11824 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
11825
11826         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
11827         proxyHost): New static fields.
11828         (<clinit>): Initialize new fields.
11829         (connect): Use proxy if necessary.
11830         (usingProxy): Implement.
11831
11832 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
11833
11834         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
11835         (TreeIterator.remove): Prefer IllegalStateException over
11836         ConcurrentModificationException, to match Sun.
11837
11838 2002-12-22  Anthony Green  <green@redhat.com>
11839
11840         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
11841
11842 2003-01-02  Mark Wielaard  <mark@klomp.org>
11843
11844         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
11845         public.
11846         (HTTP_USE_PROXY): Add field.
11847         (getResponseVals): Only set responseCode when not yet explicitly
11848         set by subclass.
11849
11850 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
11851             Mark Wielaard  <mark@klomp.org>
11852
11853         * java/util/zip/ZipFile.java (entries): Now HashMap.
11854         (readLeShort(DataInput, byte[])): Read from given byte array.
11855         (readLeInt(DataInput, byte[]): Likewise.
11856         (readLeShort(byte[] b, int off)): New method.
11857         (readLeInt(byte[] b, int off)): Likewise.
11858         (readEntries): Use byte arrays to read info in bigger chunks.
11859         (getEntries): Return HashMap.
11860         (getEntry): Use HashMap.
11861         (locBuf): New private field.
11862         (checkLocalHeader): Use locBuf to read info in one chunk.
11863         (getInputStream): Use entries HashMap, wrap PartialInputStream
11864         in BufferedInputStream.
11865         (ZipEntryEnumeration): Use HashMap and Interator.
11866
11867 2003-01-02  Mark Wielaard  <mark@klomp.org>
11868             Jeroen Frijters  <jeroen@sumatra.nl>
11869
11870         * java/net/URLClassLoader.java (Resource.getCodeSource):
11871         Fix check certs == null.
11872         (getCanonicalFileURL): Removed method.
11873         (JarURLLoader): Don't call removed method.
11874         (FileURLLoader): Likewise.
11875         (FileURLLoader.getResource): Don't canonicalize file name.
11876
11877 2003-01-01  Tom Tromey  <tromey@redhat.com>
11878
11879         * Makefile.in: Rebuilt.
11880         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
11881         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
11882         java/awt/BufferCapabilities.java, java/awt/Button.java,
11883         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
11884         java/awt/Container.java, java/awt/Cursor.java,
11885         java/awt/EventQueue.java, java/awt/FileDialog.java,
11886         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
11887         java/awt/MenuBar.java, java/awt/MenuComponent.java,
11888         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
11889         java/awt/Scrollbar.java, java/awt/TextArea.java,
11890         java/awt/TextField.java, java/awt/color/CMMException.java,
11891         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
11892         java/awt/color/ProfileDataException.java,
11893         java/awt/datatransfer/Clipboard.java,
11894         java/awt/datatransfer/DataFlavor.java,
11895         java/awt/datatransfer/FlavorMap.java,
11896         java/awt/datatransfer/SystemFlavorMap.java,
11897         java/awt/dnd/DragGestureEvent.java,
11898         java/awt/dnd/DragGestureRecognizer.java,
11899         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
11900         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
11901         java/awt/im/InputMethodHighlight.java,
11902         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
11903         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
11904
11905         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
11906         `op' to BufferedImageOp.
11907
11908 2002-12-31  Tom Tromey  <tromey@redhat.com>
11909
11910         Fix for PR libgcj/7416:
11911         * javax/naming/InitialContext.java (init): Use
11912         gnu.classpath.home.url.
11913         * java/security/Security.java: Use new properties.
11914         (loadProviders): Accept base url; use it.
11915         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
11916         gnu.classpath.home.url.
11917         (gnu.classpath.home.url): Define.
11918         (gnu.classpath.vm.shortname): Likewise.
11919
11920 2002-12-31  Tom Tromey  <tromey@redhat.com>
11921             Ranjit Mathew  <rmathew@hotmail.com>
11922
11923         Fix for PR libgcj/8997:
11924         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
11925         Include platform.h.
11926         * include/posix.h (_Jv_platform_usleep): New function.
11927         * include/win32.h (_Jv_platform_usleep): New function.
11928
11929 2002-12-29  Tom Tromey  <tromey@redhat.com>
11930
11931         * gcj/javaprims.h: Updated.
11932         * scripts/classes.pl (scan): Removed stray semicolon.
11933
11934 2002-12-30  Mark Wielaard  <mark@klomp.org>
11935
11936         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
11937         if zero or smaller.
11938
11939 2002-12-30  Mark Wielaard  <mark@klomp.org>
11940
11941         * java/util/Properties (formatForOutput): Don't fall through to
11942         default case after escaping character.
11943
11944 2002-12-30  Mark Wielaard  <mark@klomp.org>
11945
11946         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
11947         against count.
11948
11949 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
11950
11951         * boehm.cc: Remove stray semicolon.
11952         * interpret.cc: Likewise.
11953         * prims.cc: Likewise.
11954         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
11955         earlier to ensure default arguments are processed.
11956         * gcj/array.h (JArray): Add forward declaration.
11957         (elements): Likewise.
11958         * gcj/javaprim.h: Remove stray semicolons.
11959         * include/bohm-gc.h: Likewise.
11960         * include/jni.h: Likewise.
11961         * include/jvm.h: Likewise.
11962         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
11963         
11964 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
11965
11966         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
11967         of catch_type.
11968         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
11969         idt tables after initializing superclass.
11970         * java/lang/natClassLoader.cc (uaddr): New typedef.
11971         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
11972         if they are constant pool indicies.  Don't link vtable, otable yet.
11973
11974 2002-12-21  Anthony Green  <green@redhat.com>
11975
11976         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
11977         libraries.
11978         * Makefile.in: Rebuilt.
11979
11980 2002-12-19  Anthony Green  <green@redhat.com>
11981
11982         * Makefile.am (ordinary_java_source_files): Add
11983         org/xml/sax/helpers/NewInstance.java.
11984         * Makefile.in: Rebuilt.
11985         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
11986         org/xml/sax/helpers/package.html: New files.
11987         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
11988         http://www.saxproject.org.
11989
11990 2002-12-19  Andrew Haley  <aph@redhat.com>
11991
11992         * java/util/natResourceBundle.cc: Include
11993         ArrayIndexOutOfBoundsException.h.
11994         (getCallingClassLoader): Don't put upper bound on stack search.
11995         Catch ArrayIndexOutOfBoundsException.
11996
11997 2002-12-19  Tom Tromey  <tromey@redhat.com>
11998
11999         * libtool-version: Increased `current'.
12000
12001 2002-12-19  Tom Tromey  <tromey@redhat.com>
12002
12003         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
12004         comment.
12005         * java/lang/ClassLoader.java (defineClass): Use chained
12006         exception when rethrowing.
12007         * defineclass.cc (handleClassBegin): Mark class as interpreted.
12008         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
12009         constants.
12010         * resolve.cc (_Jv_PrepareMissingMethods): New function.
12011         (_Jv_PrepareClass): Use it.
12012         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
12013         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
12014         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
12015         (Class): _Jv_PrepareMissingMethods now friend.
12016         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
12017         Record `NULL' for system class loader.
12018         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
12019         system class loader.
12020         (_Jv_FindClassInCache): Likewise.
12021         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
12022         (_Jv_FindClass): Special case system class loader.
12023         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
12024         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
12025         vtable slots.
12026         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
12027         in a final class.
12028         (_getDeclaredMethod): Don't return synthetic methods.
12029         (getDeclaredMethods): Likewise.
12030         (_getMethod): Likewise.
12031         (_getMethods): Likewise.
12032
12033 2002-12-18  Raif Naffah  <raif@fl.net.au>
12034
12035         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
12036         canonical form after divide().
12037         (modInverse): Likewise.
12038
12039 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
12040             Mark Wielaard  <mark@klomp.org>
12041
12042         * java/security/SecurityRandom (digest): Removed field.
12043         (SecureRandom): Check all providers for case-insensitive SecureRandom
12044         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
12045         if necessary.
12046         (getInstance(String,Provider,boolean): New method.
12047         (getInstance(String)): Use new method.
12048         (getInstance(String,String)): Likewise.
12049         (getInstance(String,Provider)): Likewise.
12050
12051 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
12052
12053         * java/security/Security.java (loadProviders): Increment i only once.
12054
12055 2002-12-12  Mark Wielaard  <mark@klomp.org>
12056
12057         * java/lang/ClassLoader.java (resolveClass0): Transform
12058         ClassNotFoundException to NoClassDefFoundError. Transform all other
12059         throwables to LinkageError.
12060
12061 2002-12-11  Tom Tromey  <tromey@redhat.com>
12062
12063         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
12064
12065         * java/lang/ClassLoader.java (loadedClasses): New field.
12066         (defineClass): Fixed indentation.  Put new class in
12067         loadedClasses.
12068         (findLoadedClass): Implement here.
12069         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
12070
12071 2002-12-10  Tom Tromey  <tromey@redhat.com>
12072
12073         * Makefile.in: Rebuilt.
12074         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
12075         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
12076         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
12077         * java/lang/natClassLoader.cc
12078         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
12079
12080 2002-12-10  Mark Wielaard  <mark@klomp.org>
12081             Tom Tromey  <tromey@redhat.com>
12082
12083         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
12084         (JarURLLoader): Use it.
12085         (FileURLLoader): Likewise.
12086         (JarURLResource.getURL): Use chained exception.
12087         (FileResource.getURL): Likewise.
12088         (FileURLLoader.getResource): Use canonical file name.
12089         (addURL): Indentation fix.
12090
12091 2002-12-10  Tom Tromey  <tromey@redhat.com>
12092
12093         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
12094         From Laurent Bardet <l.bardet@magic.fr>.
12095
12096 2002-12-09  Tom Tromey  <tromey@redhat.com>
12097
12098         * include/win32.h (_Jv_platform_solib_prefix): New define.
12099         (_Jv_platform_solib_suffix): Likewise.
12100         * include/posix.h (_Jv_platform_solib_prefix): New define.
12101         (_Jv_platform_solib_suffix): Likewise.
12102         * java/lang/natRuntime.cc: Include StackTrace.h.
12103         (_load): Use findLibrary and new platform defines.
12104         (nativeGetLibname): Use new platform defines.
12105
12106         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
12107         `t' won't be null.
12108
12109 2002-12-08  Mark Wielaard  <mark@klomp.org>
12110
12111         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
12112         cache remote jar files.
12113         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
12114         add File.separator to URL when it is a directory.
12115         * java/lang/ClassLoader.java: Add Classpath javadoc.
12116         (parent): final.
12117         (getParent): Add (disabled) security check.
12118         (findLibrary): New default method.
12119         * java/net/JarURLConnection.java (getManifest): Implement.
12120         (getInputStream): Only create InputStream when entry exists.
12121         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
12122         when they exist.
12123         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
12124
12125 2002-12-08  Mark Wielaard  <mark@klomp.org>
12126
12127         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
12128         (lastDefaultLocale): New field.
12129         (getBundle): When Locale.getDefault != lastDefaultLocale reset
12130         resourceBundleCache.
12131
12132 2002-12-06  Mark Wielaard  <mark@klomp.org>
12133
12134         * java/net/InetAddress.java (toString): Use hostname when not null,
12135         don't do an explicit reverse getHostName() lookup.
12136         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
12137         NullPointerException.
12138
12139 2002-12-06  Tom Tromey  <tromey@redhat.com>
12140
12141         * include/java-interp.h (class _Jv_InterpMethod): Added
12142         JV_MARKOBJ_DECL.
12143         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
12144         mark `prepared' field of interpreted method.
12145         * interpret.cc (compile): Use _Jv_AllocBytes.
12146
12147 2002-12-05  Andrew Haley  <aph@redhat.com>
12148
12149         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
12150         #ifdef (HAVE_BACKTRACE) around the whole function body.
12151
12152 2002-12-05  Tom Tromey  <tromey@redhat.com>
12153
12154         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
12155         * resolve.cc: Don't include AbstractMethodError.h.
12156         (_Jv_abstractMethodError): Removed.
12157         * defineclass.cc (handleMethodsBegin): Initialize method index to
12158         -1.
12159         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
12160         method index for "new" final method.
12161         (_Jv_SetVTableEntries): Compare index against -1 instead of using
12162         isVirtualMethod.  Added `flags' argument.
12163         (_Jv_MakeVTable): Throw exception for abstract method in concrete
12164         class.
12165
12166 2002-12-04  Tom Tromey  <tromey@redhat.com>
12167
12168         * java/net/SocketPermission.java (hashCode): Rewrote.
12169
12170 2002-12-04  Tom Tromey  <tromey@redhat.com>
12171
12172         * Makefile.in: Rebuilt.
12173         * Makefile.am (nat_source_files): Added natVMSecurityManager,
12174         natResourceBundle.
12175         * java/util/ResourceBundle.java (Security): Removed.
12176         (getCallingClassLoader): Now native.
12177         * java/util/natResourceBundle.cc: New file.
12178         * java/lang/natVMSecurityManager.cc: New file.
12179         * java/lang/VMSecurityManager.java (getClassContext): Now native.
12180
12181 2002-12-03  Mark Wielaard  <mark@klomp.org>
12182
12183         * java/util/jar/JarFile.java (manifest): Not final.
12184         (manifestRead): New field.
12185         (JarFile): Don't read Manifest in constructor.
12186         (getManifest): New method.
12187         (JarEnumeration.nextElement): Use new method.
12188         (getEntry): Likewise.
12189         * java/util/zip/ZipFile.java (name): Final.
12190         (raf): Likewsie.
12191         (entries): Change type to Hashtable.
12192         (closed): New field.
12193         (ZipFile): Don't read enties in constructor.
12194         (readEntries): Use Hashtable.
12195         (close): Set new close flag and set entries to null inside
12196         synchronized block.
12197         (entries): Contruct enumeration using new getEntries() method and
12198         entries Hashtable.
12199         (getEntryIndex): Removed.
12200         (getEntries): New method.
12201         (getEntry): Use new getEntries() method and entries Hastable.
12202         (getInputStream): Likewise.
12203         (size): Return getEntries().size().
12204         (ZipEntryEnumeration): Wrap entries Hashtable elements.
12205         * java/util/zip/ZipEntry.java (cal): Don't initialize.
12206         (time): Removed
12207         (dostime): New field.
12208         (zipFileIndex): Removed.
12209         (ZipEntry(ZipEntry)): Copy dostime.
12210         (setDOSTime): Now final and doesn't convert dos time.
12211         (getDOSTime): Likewise.
12212         (setTime): Convert dos time.
12213         (getTime): Likewise.
12214         (getCalendar): New method.
12215         (setExtra): Use setTime().
12216         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
12217
12218 2002-12-03  Tom Tromey  <tromey@redhat.com>
12219
12220         * java/lang/Character.java (forDigit): Formatting fix.
12221
12222 2002-12-03  Raif Naffah  <raif@fl.net.au>
12223
12224         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
12225         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
12226         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
12227
12228 2002-12-03  Andrew Haley  <aph@redhat.com>
12229
12230         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
12231         _Jv_PushClass.
12232         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
12233         (_Jv_PopClass): New.
12234         (_Jv_PushClass): New.
12235         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
12236         discover the ClassLoader of our caller.
12237         (_Jv_CheckArrayStore): Don't check that a class is assignment
12238         compatible with Object.
12239         * java/lang/natVMTHrowable.cc: Delete.
12240         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
12241         java.lang.VMThrowable.
12242         (StackTrace(), StackTrace(int)): New constructors.
12243         (classAt, methodAt, update, methodAtAddress): New methods.
12244         (map): New field.
12245         * java/lang/VMThrowable.java: Use StackTrace instead of
12246         natVMTHrowable.
12247         * java/lang/Class.h (getClassLoaderInternal): New.
12248         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
12249         Be friendly with gnu::gcj::runtime::StackTrace.
12250         (Object.chain): New field.
12251         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
12252         gnu::gcj::runtime::StackTrace.
12253         * gnu/gcj/runtime/natStackTrace.cc: New file.
12254         * gnu/gcj/runtime/MethodRef.java: New file.
12255         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
12256         instead of getClassLoader().
12257         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
12258         java::lang::VMThrowable.
12259         * Makefile.am (core_java_source_files): Add MethodRef.java,
12260         StackTrace.java.
12261         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
12262         * Makefile.in: Rebuild.
12263
12264 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
12265
12266         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
12267         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
12268         yes also for sh-linux* and sh[34]*-linux*.
12269         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
12270         set SIGNAL_HANDLER to use DWARF2 exception for them.
12271         * configure: Regenerate.
12272
12273 2002-12-02  Tom Tromey  <tromey@redhat.com>
12274
12275         * jni.cc: Added `name' argument.
12276         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
12277         `const char *' argument.
12278         (class _Jv_JNIEnv) [DefineClass]: Likewise.
12279
12280 2002-12-01  Tom Tromey  <tromey@redhat.com>
12281
12282         Bug compatibility, for PR libgcj/8738:
12283         * java/io/CharArrayWriter.java (close): Do nothing.
12284         (flush): Likewise.
12285         (reset): Don't touch `closed'.
12286         (write(int)): Don't throw IOException.
12287         (write(char[],int,int)): Likewise.
12288         (write(String,int,int)): Likewise.
12289         (closed): Removed.
12290
12291 2002-12-01  Mark Wielaard  <mark@klomp.org>
12292
12293         * java/lang/SecurityManager.java: Remerge comments, indenting and
12294         checkXXX methods with Classpath.
12295
12296 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
12297
12298         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
12299         getNormalizedComponents): Fix calculation which was using one too
12300         many bits in the unnormalized format.
12301
12302 2002-11-29  Gary Benson  <gbenson@redhat.com>
12303
12304         For PR libgcj/8759:
12305         * java/beans/Introspector.java (flushCaches): New method.
12306         (flushFromCaches): Likewise.
12307
12308 2002-11-29  Michael Koch <konqueror@gmx.de>
12309
12310         * java/nio/channels/DatagramChannel.java
12311         (open): Added exception documentation.
12312         (write): Added exception documentation.
12313         (connect): Added exception documentation.
12314         (disconnect): Added exception documentation.
12315         (isConnected): Added exception documentation.
12316         (read): Added exception documentation.
12317         (receive): Added exception documentation.
12318         (send): Added exception documentation.
12319         (validOps): Added exception documentation.
12320         * java/nio/channels/SocketChannel.java
12321         (open): Added exception documentation.
12322         (read): Added exception documentation.
12323         (write): Added exception documentation.
12324         (connect): Added exception documentation.
12325         (finishConnect): Added exception documentation.
12326
12327 2002-11-29  Michael Koch <konqueror@gmx.de>
12328
12329         * gnu/java/nio/DatagramChannelImpl:
12330         (fd): New member variable to store file descriptor of socket.
12331         * gnu/java/nio/SelectionKeyImpl.java:
12332         (ops): Removed.
12333         (readyOps): New member variable.
12334         (interestOps): New member variable.
12335         (readyOps): Implemented.
12336         (readyOps): New method to set member variable readyOps.
12337         (interestOps): Replaced ops by interestOps.
12338         * gnu/java/nio/SelectorImpl.java:
12339         (SelectorImpl): Initialize key sets.
12340         (select): Call select with -1 instead of Long.MAX_VALUE).
12341         (java_do_select): Make it a native method.
12342         (getFDsAsArray): New helper method.
12343         (select): Remove canceled keys, give only interested file discriptors
12344         to java_do_select, set ready ops.
12345         (add): No need to initialize keys set here.
12346         (add_selected): No need to initialize selected set here.
12347         (deregisterCanceledKeys): New helper method.
12348         (register): Set interest ops, set attachments, added handling of datagram
12349         channels.
12350         * gnu/java/nio/ServerSocketChannelImpl:
12351         (SocketAccept): Renamed from NioSocketAccept.
12352         (implConfigureBlocking): Implemented.
12353         (accept): Use SocketAccept instead of NioSocketAccept.
12354         * gnu/java/nio/SocketChannelImpl:
12355         Reactivate native methods.
12356
12357 2002-11-29  Michael Koch <konqueror@gmx.de>
12358
12359         * gnu/java/nio/natByteBufferImpl.cc,
12360         gnu/java/nio/natCharBufferImpl.cc,
12361         gnu/java/nio/natDoubleBufferImpl.cc,
12362         gnu/java/nio/natFloatBufferImpl.cc,
12363         gnu/java/nio/natIntBufferImpl.cc,
12364         gnu/java/nio/natLongBufferImpl.cc,
12365         gnu/java/nio/natSelectorImpl.cc,
12366         gnu/java/nio/natServerSocketChannelImpl.cc,
12367         gnu/java/nio/natShortBufferImpl.cc,
12368         gnu/java/nio/natSocketChannelImpl.cc:
12369         New files that implement native functionalities.
12370
12371 2002-11-29  Michael Koch <konqueror@gmx.de>
12372
12373         * gnu/java/nio/ByteBufferImpl.java
12374         (ByteBufferImpl): Moved position() after limit.
12375         (nio_*): Use native implementation.
12376         * gnu/java/nio/CharBufferImpl.java:
12377         Reformated.
12378         (endian): New member variable string endianess of buffer.
12379         (CharBufferImpl): Moved position() after limit.
12380         (nio_*): Use native implementation.
12381         (subSequence): Implemented.
12382         * gnu/java/nio/DoubleBufferImpl.java
12383         (DoubleBufferImpl): Moved position() after limit.
12384         (nio_*): Use native implementation.
12385         * gnu/java/nio/FloatBufferImpl.java
12386         Reformated.
12387         (FloatBufferImpl): Moved position() after limit.
12388         (nio_*): Use native implementation.
12389         * gnu/java/nio/IntBufferImpl.java
12390         Added needed imports, Reformated.
12391         (IntBufferImpl): Moved position() after limit.
12392         (nio_*): Use native implementation.
12393         * gnu/java/nio/LongBufferImpl.java
12394         Reformated.
12395         (LongBufferImpl): Moved position() after limit.
12396         (nio_*): Use native implementation.
12397         * gnu/java/nio/ShortBufferImpl.java
12398         Reformated.
12399         (ShortBufferImpl): Moved position() after limit.
12400         (nio_*): Use native implementation.
12401
12402 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
12403
12404         * java/util/Locale.java (toString): Improve efficiency if country
12405         and variant are both empty.
12406
12407 2002-11-26  Tom Tromey  <tromey@redhat.com>
12408
12409         * verify.cc (pop_init_ref): New method.
12410         (verify_instructions_0) [op_iaload, op_laload, op_faload,
12411         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
12412         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
12413         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
12414         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
12415         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
12416         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
12417         let `this' argument be uninitialized.  Don't let `null' be passed
12418         as `this' to construtor.
12419
12420 2002-11-26  Mark Wielaard  <mark@klomp.org>
12421
12422         * javax/transaction/HeuristicCommitException.java: Classpath merge.
12423         * javax/transaction/HeuristicMixedException.java: Likewise.
12424         * javax/transaction/HeuristicRollbackException.java: Likewise.
12425         * javax/transaction/InvalidTransactionException.java: Likewise.
12426         * javax/transaction/NotSupportedException.java: Likewise.
12427         * javax/transaction/RollbackException.java: Likewise.
12428         * javax/transaction/Status.java: Likewise.
12429         * javax/transaction/Synchronization.java: Likewise.
12430         * javax/transaction/SystemException.java: Likewise.
12431         * javax/transaction/Transaction.java: Likewise.
12432         * javax/transaction/TransactionManager.java: Likewise.
12433         * javax/transaction/TransactionRequiredException.java: Likewise.
12434         * javax/transaction/TransactionRolledbackException.java: Likewise.
12435         * javax/transaction/UserTransaction.java: Likewise.
12436         * javax/transaction/xa/XAException.java: Likewise.
12437         * javax/transaction/xa/XAResource.java: Likewise.
12438         * javax/transaction/xa/Xid.java: Likewise.
12439
12440 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
12441
12442         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
12443         define.
12444         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
12445         * include/posix.h (socklen_t): Define if not already defined.
12446
12447 2002-11-25  Tom Tromey  <tromey@redhat.com>
12448
12449         * verify.cc (type::compatible): Backed out broken change.
12450
12451         * verify.cc (type::compatible): Check initialization status
12452         first.
12453         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
12454         Don't use NULLCHECK.
12455
12456 2002-11-23  H.J. Lu <hjl@gnu.org>
12457
12458         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
12459         Include ../config/accross.m4.
12460         * aclocal.m4; Rebuild.
12461         * configure: Likewise.
12462
12463 2002-11-23  Mark Wielaard  <mark@klomp.org>
12464
12465         * javax/naming/AuthenticationException.java: Update copyright header.
12466         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
12467         * javax/naming/Binding.java: Likewise.
12468         * javax/naming/CannotProceedException.java: Likewise.
12469         * javax/naming/CommunicationException.java: Likewise.
12470         * javax/naming/CompositeName.java: Likewise.
12471         * javax/naming/CompoundName.java: Likewise.
12472         * javax/naming/ConfigurationException.java: Likewise.
12473         * javax/naming/Context.java: Likewise.
12474         * javax/naming/ContextNotEmptyException.java: Likewise.
12475         * javax/naming/InitialContext.java: Likewise.
12476         * javax/naming/InsufficientResourcesException.java: Likewise.
12477         * javax/naming/InterruptedNamingException.java: Likewise.
12478         * javax/naming/LimitExceededException.java: Likewise.
12479         * javax/naming/LinkException.java: Likewise.
12480         * javax/naming/LinkLoopException.java: Likewise.
12481         * javax/naming/LinkRef.java: Likewise.
12482         * javax/naming/MalformedLinkException.java: Likewise.
12483         * javax/naming/NameAlreadyBoundException.java: Likewise.
12484         * javax/naming/NameClassPair.java: Likewise.
12485         * javax/naming/NameNotFoundException.java: Likewise.
12486         * javax/naming/NameParser.java: Likewise.
12487         * javax/naming/NamingEnumeration.java: Likewise.
12488         * javax/naming/NamingSecurityException.java: Likewise.
12489         * javax/naming/NoInitialContextException.java: Likewise.
12490         * javax/naming/NoPermissionException.java: Likewise.
12491         * javax/naming/NotContextException.java: Likewise.
12492         * javax/naming/OperationNotSupportedException.java: Likewise.
12493         * javax/naming/PartialResultException.java: Likewise.
12494         * javax/naming/Reference.java: Likewise.
12495         * javax/naming/Referenceable.java: Likewise.
12496         * javax/naming/ReferralException.java: Likewise.
12497         * javax/naming/ServiceUnavailableException.java: Likewise.
12498         * javax/naming/SizeLimitExceededException.java: Likewise.
12499         * javax/naming/TimeLimitExceededException.java: Likewise.
12500         * javax/naming/directory/Attribute.java: Likewise.
12501         * javax/naming/directory/AttributeInUseException.java: Likewise.
12502         * javax/naming/directory/AttributeModificationException.java: Likewise.
12503         * javax/naming/directory/Attributes.java: Likewise.
12504         * javax/naming/directory/BasicAttribute.java: Likewise.
12505         * javax/naming/directory/BasicAttributes.java: Likewise.
12506         * javax/naming/directory/DirContext.java: Likewise.
12507         * javax/naming/directory/InitialDirContext.java: Likewise.
12508         * javax/naming/directory/InvalidAttributeIdentifierException.java:
12509         Likewise.
12510         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
12511         * javax/naming/directory/InvalidAttributesException.java: Likewise.
12512         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
12513         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
12514         * javax/naming/directory/ModificationItem.java: Likewise.
12515         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
12516         * javax/naming/directory/SchemaViolationException.java: Likewise.
12517         * javax/naming/directory/SearchControls.java: Likewise.
12518         * javax/naming/directory/SearchResult.java: Likewise.
12519         * javax/naming/event/EventContext.java: Likewise.
12520         * javax/naming/event/EventDirContext.java: Likewise.
12521         * javax/naming/event/NamespaceChangeListener.java: Likewise.
12522         * javax/naming/event/NamingEvent.java: Likewise.
12523         * javax/naming/event/NamingExceptionEvent.java: Likewise.
12524         * javax/naming/event/NamingListener.java: Likewise.
12525         * javax/naming/event/ObjectChangeListener.java: Likewise.
12526         * javax/naming/ldap/Control.java: Likewise.
12527         * javax/naming/ldap/ControlFactory.java: Likewise.
12528         * javax/naming/ldap/ExtendedRequest.java: Likewise.
12529         * javax/naming/ldap/ExtendedResponse.java: Likewise.
12530         * javax/naming/ldap/HasControls.java: Likewise.
12531         * javax/naming/ldap/InitialLdapContext.java: Likewise.
12532         * javax/naming/ldap/LdapContext.java: Likewise.
12533         * javax/naming/ldap/LdapReferralException.java: Likewise.
12534         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
12535         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
12536         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
12537         * javax/naming/spi/DirObjectFactory.java: Likewise.
12538         * javax/naming/spi/DirStateFactory.java: Likewise.
12539         * javax/naming/spi/DirectoryManager.java: Likewise.
12540         * javax/naming/spi/InitialContextFactory.java: Likewise.
12541         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
12542         * javax/naming/spi/NamingManager.java: Likewise.
12543         * javax/naming/spi/ObjectFactory.java: Likewise.
12544         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
12545         * javax/naming/spi/ResolveResult.java: Likewise.
12546         * javax/naming/spi/Resolver.java: Likewise.
12547         * javax/naming/spi/StateFactory.java: Likewise.
12548
12549         * javax/naming/spi/NamingManager.java (ofb): Package private.
12550
12551 2002-11-21  Mark Wielaard  <mark@klomp.org>
12552
12553         * java/net/URL.java: Merge with Classpath (partly).
12554         * java/net/URLStreamHandler: Merge with Classpath.
12555
12556 2002-11-22  Michael Koch <konqueror@gmx.de>
12557
12558         * include/posix.h:
12559         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
12560         * include/win32.h:
12561         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
12562         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
12563
12564 2002-11-21  Michael Koch <konqueror@gmx.de>
12565
12566         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
12567         Only the new network functions should be in it.
12568
12569 2002-11-21  Michael Koch <konqueror@gmx.de>
12570
12571         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
12572         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
12573
12574 2002-11-21  Michael Koch <konqueror@gmx.de>
12575
12576         * java/nio/channels/AsynchronousCloseException.java,
12577         java/nio/channels/CancelledKeyException.java,
12578         java/nio/channels/ClosedByInterruptException.java,
12579         java/nio/channels/ConnectionPendingException.java,
12580         java/nio/channels/FileLockInterruptionException.java,
12581         java/nio/channels/IllegalSelectorException.java,
12582         java/nio/channels/NoConnectionPendingException.java,
12583         java/nio/channels/NonReadableChannelException.java,
12584         java/nio/channels/NonWritableChannelException.java,
12585         java/nio/channels/NotYetBoundException.java,
12586         java/nio/channels/NotYetConnectedException.java,
12587         java/nio/channels/OverlappingFileLockException.java,
12588         java/nio/channels/UnresolvedAddressException.java,
12589         java/nio/channels/UnsupportedAddressTypeException.java:
12590         New files.
12591         * Makefile.am (ordinary_java_source_files): Added new files.
12592         * Makefile.in: Regenerated.
12593
12594 2002-11-21  Michael Koch <konqueror@gmx.de>
12595
12596         * include/posix.h
12597         (_Jv_socket): New method.
12598         (_Jv_connect): New method.
12599         (_Jv_close): New method.
12600         (_Jv_platform_close_on_exec): Prefixed system function with "::".
12601         (_Jv_bind): New method.
12602         (_Jv_listen): New method.
12603         (_Jv_write): New method.
12604         (_Jv_read): New method.
12605         * include/win32.h
12606         (_Jv_socket): New method.
12607         (_Jv_connect): New method.
12608         (_Jv_close): New method.
12609         (_Jv_bind): New method.
12610         (_Jv_listen): New method.
12611         (_Jv_write): New method.
12612         (_Jv_read): New method.
12613         * java/net/natNetworkInterface.cc:
12614         Include platform.h, removed inclusion of socket.h
12615         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
12616         ::close() by _Jv_close().
12617         * java/net/natPlainDatagramSocketImpl.cc:
12618         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
12619         added some new lines to make code more readable.
12620         (create): Replaced ::socket() by _Jv_socket().
12621         (close): Replaced NATIVE_CLOSE() by _Jv_close().
12622         * java/net/natPlainSocketImpl.cc:
12623         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
12624         removed include of socket.h, removed some windows defines
12625         (now in include/win32.h).
12626         (create): Replaced ::socket() by _Jv_socket().
12627         (close): Replaced NATIVE_CLOSE() by _Jv_close().
12628         (write): Replaced ::read by _Jv_write().
12629         (read): Replaced ::read by _Jv_read().
12630
12631 2002-11-20  Michael Koch <konqueror@gmx.de>
12632
12633         * Makefile.am (ordinary_java_source_files):
12634         Added java/nio/channels/FileChannel.java.
12635         * Makefile.in: Regenerated.
12636
12637 2002-11-20  Michael Koch <konqueror@gmx.de>
12638
12639         * java/io/FileInputStream.java
12640         (getChannel): New method.
12641         * java/io/FileOutputStream.java
12642         (getChannel): New method.
12643         * java/net/ServerSocket.java
12644         (bind): Removed duplicate code and called another bind method instead.
12645         * java/nio/channels/SelectionKey.java
12646         (isValid): Removed wrong exception documentation.
12647         * java/nio/channels/ServerSocketChannel.java
12648         (accept): Added exception documentation.
12649         (open): Fixed typo, added exception documentation.
12650         * java/nio/channels/spi/AbstractSelectableChannel.java
12651         (implCloseChannel): Added exception documentation.
12652         (add): Reformated.
12653         (register): Added exception documentation.
12654
12655 2002-11-20  Andreas Jaeger  <aj@suse.de>
12656
12657         * configure: Regenerated with new libtool.m4.
12658
12659 2002-11-19  Tom Tromey  <tromey@redhat.com>
12660
12661         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
12662         `referent'.
12663         (finalize_referred_to_object): Don't modify `referent' or `copy'
12664         fields.
12665         (add_to_hash): Correctly set `n->next' when updating list.
12666         * java/lang/ref/Reference.java (enqueue): Return false if already
12667         enqueued.
12668
12669 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
12670
12671         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
12672         to function and function pointer declarations in accordance with
12673         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
12674         based on whether __GCJ_JNI_IMPL__ has been defined or not.
12675         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
12676         JNI function definitions.
12677
12678 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
12679
12680         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
12681         that was causing CoderResults to be cached, not WeakReferences
12682         to CoderResults.
12683
12684 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
12685
12686         * java/security/KeyStore.java (getInstance): Fix
12687         comment and throw IllegalArgumentException if
12688         given provider is null.
12689         (getInstance): New method for jdk1.4 compatibility.
12690
12691 2002-11-18  Michael Koch <konqueror@gmx.de>
12692
12693         * java/net/PlainSocketImpl.java: Fix imports.
12694
12695 2002-11-18  Michael Koch <konqueror@gmx.de>
12696
12697         * java/nio/channels/SelectionKey.java
12698         (isValid): Added exception documentation.
12699         * java/nio/channels/Selector.java
12700         (open): Declare "throws IOException".
12701
12702 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
12703
12704         * java/nio/charset/Charset.java
12705         (<clinit>): New method.
12706         (encode): Synchronize use of cached encoder object.
12707         (decode): Synchronize use of cached encoder object.
12708
12709 2002-11-18  Michael Koch <konqueror@gmx.de>
12710
12711         * gnu/java/nio/ByteBufferImpl.java,
12712         gnu/java/nio/CharBufferImpl.java,
12713         gnu/java/nio/DatagramChannelImpl.java,
12714         gnu/java/nio/DoubleBufferImpl.java,
12715         gnu/java/nio/FileChannelImpl.java,
12716         gnu/java/nio/FloatBufferImpl.java,
12717         gnu/java/nio/IntBufferImpl.java,
12718         gnu/java/nio/LongBufferImpl.java,
12719         gnu/java/nio/PipeImpl.java,
12720         gnu/java/nio/SelectionKeyImpl.java,
12721         gnu/java/nio/SelectorImpl.java,
12722         gnu/java/nio/SelectorProviderImpl.java,
12723         gnu/java/nio/ServerSocketChannelImpl.java,
12724         gnu/java/nio/ShortBufferImpl.java,
12725         gnu/java/nio/SocketChannelImpl.java,
12726         java/nio/DoubleBuffer.java,
12727         java/nio/FloatBuffer.java,
12728         java/nio/IntBuffer.java,
12729         java/nio/LongBuffer.java,
12730         java/nio/ShortBuffer.java,
12731         java/nio/channels/FileChannel.java: New files.
12732
12733 2002-11-18  Michael Koch <konqueror@gmx.de>
12734
12735         * Makefile.am (ordinary_java_source_files):
12736         Added java/nio/ReadOnlyBufferException.java and
12737         java/nio/channels/ClosedSelectorException.java.
12738         * Makefile.in: Regenerated.
12739
12740 2002-11-18  Michael Koch <konqueror@gmx.de>
12741
12742         * java/net/PlainSocketImpl.java: Reworked imports.
12743         * java/net/ServerSocket.java
12744         (ServerSocket): Create socket.
12745         * java/net/SocketAddress.java: Documentation added.
12746         * java/net/natPlainSocketImpl.cc: Reindented.
12747         * java/nio/ReadOnlyBufferException.java: New file
12748         * java/nio/channels/ClosedChannelException.java: Documentation added.
12749         * java/nio/channels/ClosedSelectorException.java: New file.
12750
12751 2002-11-17  Mark Wielaard  <mark@klomp.org>
12752
12753         * java/net/HttpURLConnection.java ((getPermission): Take port
12754         into consideration.
12755         (getErrorStream): Implement.
12756
12757 2002-11-17  Mark Wielaard  <mark@klomp.org>
12758
12759         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
12760
12761 2002-11-16  Mark Wielaard  <mark@klomp.org>
12762
12763         Integrate work by Raif S. Naffah (raif@fl.net.au)
12764         * java/security/DummyKeyPairGenerator.java (clone): New method.
12765         * java/security/DummyMessageDigest.java (clone): New method.
12766         (engineUpdate): Now public.
12767         (engineReset): Likewise.
12768         (engineDigest): Likewise.
12769         (engineGetDigestLength): New method.
12770         * java/security/DummySignature.java (clone): New method.
12771         * java/security/KeyPairGenerator.java (provider): Now package private.
12772         (getInstance(String)): Use getInstance(String,Provider).
12773         (getInstance(String,String): Use getInstance(String,Provider)
12774         (getInstance(String,Provider): New method.
12775         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
12776         * java/security/KeyPairGeneratorSpi.java (clone): New method.
12777         * java/security/MessageDigest.java (provider): Now package private.
12778         (getInstance(String): Use getInstance(String,Provider).
12779         (getInstance(String,String): Use getInstance(String,Provider)
12780         (getInstance(String,Provider): New method.
12781         * java/security/Provider.java (toCanonicalKey): New method.
12782         (get): New method that uses toCanonicalKey().
12783         (put): Use toCanonicalKey().
12784         (remove): Likewise.
12785         * java/security/Security.java (insertProviderAt): Provider index is one
12786         based, not zero based.
12787         (addProvider): Likewise.
12788         (removeProvider): Likewise.
12789         * java/security/Signature.java (provider): Now package private.
12790         (getInstance(String)): Use getInstance(String,Provider).
12791         (getInstance(String,String): Use getInstance(String,Provider)
12792         (getInstance(String,Provider): New method.
12793         (getInstance(String,String,Provider): Don't cast DummySignature.
12794
12795 2002-11-15  Tom Tromey  <tromey@redhat.com>
12796
12797         For PR libgcj/8593:
12798         * java/util/zip/GZIPInputStream.java (read): Check file size.
12799         Look in inflater for remaining input bytes.
12800         (read4): Added buf and offset arguments.
12801
12802 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
12803
12804         * java/applet/AppletContext.java: Fix typo and remove redundant
12805         modifiers.
12806
12807 2002-11-14  Tom Tromey  <tromey@redhat.com>
12808
12809         * java/lang/natRuntime.cc (insertSystemProperties): Set
12810         gnu.classpath.home.
12811
12812 2002-11-13  Michael Koch <konqueror@gmx.de>
12813
12814         * java/nio/ByteBuffer.java
12815         (allocate): New method.
12816         (wrap): New method.
12817         (put): New method.
12818         (get): New method.
12819
12820 2002-11-13  Michael Koch <konqueror@gmx.de>
12821
12822         * java/nio/channels/AlreadyConnectedException.java:
12823         Removed unneeded import.
12824         (AlreadyConnectedException): Documentation added.
12825         * java/nio/channels/Pipe.java
12826         (SinkChannel.SinkChannel): Documentation added.
12827         (SinkChannel.validOps): New method.
12828         (SourceChannel.SourceChannel): Documentation added.
12829         (SourceChannel.validOps): New method.
12830         (Pipe): Documentation added.
12831         (open): Documentation added.
12832         (SinkChannel.channel): Documentation added.
12833         (SourceChannel.channel): Documentation added.
12834         * java/nio/channel/SelectableChannel.java
12835         (SelectableChannel): Documentation added.
12836         (blockingLock): Documentation added.
12837         (configureBlocking):Documentation added.
12838         (isBlocking):Documentation added.
12839         (isRegistered):Documentation added.
12840         (keyFor):Documentation added.
12841         (provider):Documentation added.
12842         (register): Documentation added.
12843         (validOps): Documentation added.
12844         * jaba/nio/channels/SelectionKey.java
12845         (SelectionKey): Documentation added.
12846         (attach): Documentation added.
12847         (attachment): Documentation added.
12848         (isAcceptable): Documentation added.
12849         (isConnetable): Documentation added.
12850         (isReadable): Documentation added.
12851         (isWritable): Documentation added.
12852         (cancel): Documentation added.
12853         (channel): Documentation added.
12854         (interestOps): Documentation added.
12855         (isValid): Documentation added.
12856         (readyOps): Documentation added.
12857         (selector): Documentation added.
12858         * jaba/nio/channels/Selector.java
12859         (Selector): Documentation added.
12860         (open): Documentation added.
12861         (close): Documentation added.
12862         (isOpen): Documentation added.
12863         (keys): Documentation added.
12864         (provider): Documentation added.
12865         (select): Documentation added.
12866         (selectedKeys): Documentation added.
12867         (selectNow): Documentation added.
12868         (wakeup): Documentation added.
12869         * java/nio/channels/spi/AbstractInterruptibleChannel.java
12870         (AbstractInterruptibleChannel): Documentation added.
12871         (opened): Default to true;
12872         (begin): Documentation added.
12873         (close): Set opened to false, documentation added.
12874         (isOpen): Documentation added.
12875         * java/nio/channels/spi/AbstractSelectionKey.java
12876         (AbstractSelectionKey): Documentation added.
12877         (cancel): Documentation added.
12878         (isValid): Documentation added.
12879         * java/nio/channels/spi/AbstractSelector.java
12880         (AbstractSelector): Documentation added.
12881         (begin): Documentation added.
12882         (close): Documentation added.
12883         (isOpen): Documentation added.
12884         (deregister): Documentation added.
12885         (end): Documentation added.
12886         (provider): Documentation added.
12887         (implCloseSelector): Documentation added.
12888         (register): Documentation added.
12889         * java/nio/channels/spi/SelectorProvider.java
12890         (SelectorProvider): Documentation added.
12891         (openDatagramChannel): Documentation added.
12892         (openPipe): Documentation added.
12893         (openSelector): Documentation added.
12894         (openServerSocketChannel): Documentation added.
12895         (openSocketChannel): Documentation added.
12896         (provider): Documentation added.
12897
12898 2002-11-12  Michael Koch <konqueror@gmx.de>
12899
12900         * java/nio/Buffer.java: Implemented.
12901         * java/nio/CharBuffer.java: New file.
12902         * java/nio/InvalidMarkException.java: New file.
12903         * java/nio/channels/DatagramChannel.java: Implemented.
12904         * java/nio/channels/ServerSocketChannel.java: Implemented.
12905         * java/nio/channels/SocketChannel.java: Implemented.
12906         * java/nio/channels/spi/AbstractChannel.java: Removed.
12907         * java/nio/channels/spi/AbstractSelectableChannel.java:
12908         Implemented.
12909         * java/nio/charset/Charset.java:
12910         Merge from Classpath.
12911         * java/nio/charset/CharsetDecoder.java: New file.
12912         * java/nio/charset/CharsetEncoder.java: New file.
12913         * java/nio/charset/CoderResult.java: New file.
12914         * Makefile.am (ordinary_java_source_files): Added new files.
12915         * Makefile.in: Regenerated.
12916
12917 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12918
12919         * gnu/java/nio/charset/ISO_8859_1.java,
12920         gnu/java/nio/charset/Provider.java,
12921         gnu/java/nio/charset/US_ASCII.java,
12922         gnu/java/nio/charset/UTF_16.java,
12923         gnu/java/nio/charset/UTF_16BE.java,
12924         gnu/java/nio/charset/UTF_16Decoder.java,
12925         gnu/java/nio/charset/UTF_16Encoder.java,
12926         gnu/java/nio/charset/UTF_16LE.java,
12927         gnu/java/nio/charset/UTF_8.java: New files.
12928
12929 2002-11-11  Michael Koch <konqueror@gmx.de>
12930
12931         * java/nio/charset/CharacterCodingException.java:
12932         This class must be public.
12933         * java/nio/charset/CoderMalfunctionError.java:
12934         This class must be public.
12935         * java/nio/charset/CodingErrorAction.java:
12936         This class must be public.
12937         * java/nio/charset/IllegalCharsetNameException.java:
12938         This class must be public, better implementation.
12939         * java/nio/charset/MalformedInputException.java:
12940         This class must be public, better implementation.
12941         * java/nio/charset/UnmappableCharacterException.java:
12942         This class must be public, better implementation.
12943         * java/nio/charset/UnsupportedCharsetException.java:
12944         This class must be public, better implementation.
12945
12946 2002-11-11  Michael Koch <konqueror@gmx.de>
12947
12948         * java/nio/BufferOverflowException.java,
12949         java/nio/BufferUnderflowException.java: New file.
12950         * Makefile.am (ordinary_java_source_files):
12951         Added new files.
12952         * Makefile.in: Regenerated.
12953
12954 2002-11-10  Tom Tromey  <tromey@redhat.com>
12955
12956         * java/awt/Container.java (validate): Use tree lock.
12957         (getComponent): Likewise.
12958         (getComponents): Likewise.
12959         (addImpl): Likewise.
12960         (remove): Likewise.
12961         (removeAll): Likewise.
12962         (processEvent): Fixed indentation.
12963         (getComponentAt): Use tree lock.
12964         (findComponentAt): Likewise.
12965         (removeNotify): Likewise.
12966         (isAncestorOf): Likewise.
12967         (list): Likewise.
12968         (visitChildren): Likewise.
12969         (findNextFocusComponent): Likewise.
12970         (addNotifyContainerChildren): Likewise.
12971         (getAccessibleChildrenCount): Likewise.
12972         (getAccessibleChild): Likewise.
12973
12974         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
12975         (getSize): Likewise.
12976         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
12977         (getSize): Likewise.
12978         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
12979         (calcSize): Likewise.
12980         * java/awt/CardLayout.java (getSize): Use tree lock.
12981         (gotoComponent): Likewise.
12982         (layoutContainer): Likewise.
12983
12984         * java/io/natFileDescriptorWin32.cc (read): Handle case where
12985         count is 0.
12986         * java/io/natFileDescriptorPosix.cc (read): Handle case where
12987         count is 0.
12988
12989         * java/io/Externalizable.java, java/io/FilePermission.java,
12990         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
12991         java/io/SerializablePermission.java, java/text/Format.java,
12992         java/util/AbstractMap.java, java/util/HashMap.java,
12993         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
12994         versions from Classpath.
12995
12996 2002-11-10  Anthony Green  <green@redhat.com>
12997
12998         * java/util/jar/Attributes.java (Name): Fix name check.
12999
13000 2002-11-10  Mark Wielaard  <mark@klomp.org>
13001
13002         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
13003         with getName() as message.
13004         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
13005         type as message.
13006
13007         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
13008         unused.
13009
13010 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
13011
13012         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
13013         for Win32. JNICALL has been defined to __stdcall to be compatible
13014         with Sun's JDKs.
13015
13016 2002-11-10  Tom Tromey  <tromey@redhat.com>
13017
13018         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
13019         (setRows): Check newRows, not rows.
13020
13021         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
13022
13023 2002-11-09  Tom Tromey  <tromey@redhat.com>
13024
13025         * java/applet/Applet.java, java/applet/AppletContext.java,
13026         java/applet/AppletStub.java, java/applet/AudioClip.java,
13027         java/awt/CardLayout.java,
13028         java/awt/ContainerOrderFocusTraversalPolicy.java,
13029         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
13030         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
13031         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
13032         java/awt/color/ICC_ColorSpace.java,
13033         java/awt/color/ICC_Profile.java,
13034         java/awt/color/ICC_ProfileGray.java,
13035         java/awt/color/ICC_ProfileRGB.java,
13036         java/awt/datatransfer/DataFlavor.java,
13037         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
13038         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
13039         New versions from Classpath.
13040         * Makefile.in: Rebuilt.
13041         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
13042         ICC_ProfileRGB.
13043
13044         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
13045         display policy.
13046
13047         * java/awt/List.java (processEvent): Added missing `else's.
13048
13049         * java/awt/Window.java (show): validate() before showing.  Make
13050         parent displayable.
13051         (isDisplayable): New method.
13052
13053 2002-11-07  Mark Wielaard  <mark@klomp.org>
13054
13055         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
13056         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
13057
13058         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
13059         annotation.
13060         (loadClass): Take String as codebases.
13061         (getClassAnnotation): Use MyClassLoader annotations.
13062         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
13063         call exportObject(this).
13064
13065         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
13066         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
13067         (setAnnotation): Don't set locBytesStream and locStream.
13068         (replaceObject): Removed.
13069         (flush): Don't test locStream.
13070         (getLocBytes): LikeWise.
13071         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
13072         (leaseCache): New field.
13073         (dirty): Use leaseCache.
13074         (LeaseRecord): New inner class.
13075         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
13076         explicitly call exportObject().
13077         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
13078         false to communicate with Sun JDK130.
13079         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
13080         * gnu/java/rmi/server/RMIObjectInputStream.java
13081         (UnicastConnectionManager): Removed field.
13082         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
13083         Use UnicastServer.getExportedRef().
13084         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
13085         (expireTime): Likewise.
13086         (CONNECTION_TIMEOUT): Likewise.
13087         (disconnect): Call sock.close().
13088         (isExpired): New method.
13089         (resetTime): Likewise.
13090         (run): Use do while loop and catch Exception for discardConnection().
13091         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
13092         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
13093         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
13094         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
13095         (exportObject): Use refcache.
13096         (unexportObject): Likewise.
13097         (getExportedRef): New method.
13098         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
13099         constructor.
13100         (exportObject): Save manager.serverobj.
13101         (getStub): New method.
13102
13103 2002-11-07  Mark Wielaard  <mark@klomp.org>
13104
13105         * java/lang/reflect/natField.cc (getBoolean): Use getType().
13106         (getByte): Likewise.
13107         (getShort): Likewise.
13108         (getInt): Likewise.
13109         (getLong): Likewise.
13110         (getFloat): Likewise.
13111         (getDouble): Likewise.
13112         (get): Likewise.
13113         (setChar): Likewise.
13114         (setByte): Likewise.
13115         (setShort): Likewise.
13116         (setInt): Likewise.
13117         (setLong): Likewise.
13118         (setFloat): Likewise.
13119         (setDouble): Likewise.
13120
13121 2002-11-07  Michael Koch <konqueror@gmx.de>
13122
13123         * java/awt/Choice.java,
13124         java/awt/Container.java,
13125         java/awt/GridBagLayout.java:
13126         Fixed documentation.
13127         * java/awt/peer/ContainerPeer.java:
13128         Reindented.
13129
13130 2002-11-07  Michael Koch <konqueror@gmx.de>
13131
13132         * java/awt/color/ICC_Profile.java:
13133         Added missing constants.
13134         * java/awt/color/ICC_ColorSpace.java
13135         (getMinValue): Added dummy implementation.
13136         (getMaxValue): Added dummy implementation.
13137         * java/awt/datatransfer/DataFlavor.java
13138         (imageFlavor): Added.
13139         (isMimeTypeEqual): Must be final.
13140         (getDefaultRepresentationClass): Must be non-static.
13141         (getDefaultRepresentationClassAsString): Must be non-static.
13142         * java/awt/dnd/DragSourceContext.java
13143         (dragExit): Corrected argument.
13144         (dragDropEnd): Corrected argument.
13145         * java/awt/dnd/DragSourceListener.java.java
13146         (dragExit): Corrected argument.
13147         (dragDropEnd): Corrected argument.
13148         * java/awt/font/TextHitInfo.java
13149         (toString): Added stubbed implementation.
13150         * java/awt/geom/PathIterator.java:
13151         The constants must be static.
13152         * java/awt/image/VolatileImage.java
13153         (IMAGE_INCOMPATIBLE): Fixed typo.
13154         * java/awt/image/renderable/RenderableImage.java
13155         (HINTS_OBSERVED): Must be static.
13156         * java/beans/BeanInfo.java:
13157         Constants must be final.
13158
13159 2002-11-06  Tom Tromey  <tromey@redhat.com>
13160
13161         From svens@it.uu.se.  For PR libgcj/8481.
13162         * java/util/Random.java (nextInt(int)): Only use 31 bits.
13163
13164 2002-11-06  Tom Tromey  <tromey@redhat.com>
13165
13166         * jni.cc (array_from_valist): Assume that jlong won't be
13167         promoted.
13168
13169 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
13170
13171         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
13172         Return 20.
13173         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
13174         Return 16.
13175
13176 2002-11-03  Tom Tromey  <tromey@redhat.com>
13177
13178         * java/lang/ClassLoader.java (loadClass): Call loadClass on
13179         VMClassLoader, not findClass.
13180
13181 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
13182
13183         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
13184         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
13185         _Jv_DetermineVTableIndex, to determine vtable offset.
13186         (_Jv_DetermineVTableIndex): Remove.
13187         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
13188
13189         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
13190
13191 2002-11-03  Tom Tromey  <tromey@redhat.com>
13192
13193         * java/nio/channels/AlreadyConnectedException.java: Extend
13194         IllegalStateException, per spec.
13195
13196 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
13197
13198         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
13199
13200 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
13201
13202         * java/util/ArrayList.java (readObject, writeObject): Only read/write
13203         size items.
13204
13205 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
13206
13207         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
13208         initial estimated size to avoid enlarge buffer frequently.
13209
13210 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
13211
13212         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
13213         ClassLoader when null.
13214         (ProxyType.hashCode): Loader null check no longer needed.
13215         (ProxyType.sameTypes): New method.
13216         (ProxyType.equals): Use new method.
13217
13218 2002-10-31  Mark Wielaard  <mark@klomp.org>
13219
13220         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
13221         length of String.
13222         * java/net/URLEncoder.java (encode): Likewise.
13223
13224 2002-10-31  Mark Wielaard  <mark@klomp.org>
13225
13226         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
13227         when stream is closed.
13228         (closeEntry): Likewise.
13229         (read): Likewise.
13230         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
13231         ZipException when no entry active.
13232         (closeEntry): Likewise.
13233         (write): Likewise.
13234
13235 2002-11-02  Tom Tromey  <tromey@redhat.com>
13236
13237         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
13238         * java/lang/natClass.cc (initializeClass): Don't return just
13239         because self==thread.
13240
13241         For PR java/8415:
13242         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
13243         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
13244
13245 2002-11-02  Andreas Schwab  <schwab@suse.de>
13246
13247         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
13248         pass GCJFLAGS.
13249         (FLAGS_TO_PASS): Define.
13250         * Makefile.in: Regenerated.
13251
13252 2002-11-01  Michael Koch  <konqueror@gmx.de>
13253
13254         * java/nio/ByteOrder.java: New file.
13255         * java/nio/channels/DatagramChannel.java:
13256         (DatagramChannel): New constructor.
13257         * java/nio/channels/Pipe.java: New file.
13258         * java/nio/channels/SelectableChannel.java: New file.
13259         * java/nio/channels/SelectionKey.java: New file.
13260         * java/nio/channels/Selector.java: New file.
13261         * java/nio/channels/ServerSocketChannel.java
13262         (ServerSocketChannel): New constructor.
13263         * java/nio/channels/SocketChannel.java
13264         (SocketChannel): New constructor.
13265         * java/nio/channels/Pipe.java: New file.
13266         * java/nio/channels/spi/AbstractChannel.java: New file.
13267         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
13268         * java/nio/channels/spi/AbstractSelectableChannel.java:
13269         License added
13270         (AbstractSelectableChannel): New stubbed method.
13271         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
13272         * java/nio/channels/spi/AbstractSelector.java: New file.
13273         * java/nio/channels/spi/SelectorProvider.java: New file.
13274         * java/nio/charset/Charset.java: New file.
13275         * java/nio/charset/CoderMalfunctionError.java: New file.
13276         * java/nio/charset/CodingErrorAction.java: New file.
13277         * java/nio/charset/spi/CharsetProvider.java
13278         (charsetForName): Uncommented.
13279         * Makefile.am (java_native_source_files): Added new files.
13280         * Makefile.in: Regenerated.
13281
13282 2002-11-01  Michael Koch  <konqueror@gmx.de>
13283
13284         * java/net/InetAddress.java:
13285         (isAnyLocalAddress): Implemented.
13286         (isLoopbackAddress): Implemented, comment added.
13287         (isLinkLocalAddress): Implemented, documentation added.
13288         (isSiteLocalAddress): Implemented, documentation added.
13289         (isMCGlobal): Implemented, documentation added.
13290         (isMCNodeLocal): Implemented, documentation added.
13291         (isMCLinkLocal): Implemented, documentation added.
13292         (isMCSiteLocal): Implemented, documentation added.
13293         (isMCOrgLocal): Implemented, documentation added.
13294         (getHostName): Documentation added.
13295         (getCanonicalHostName): Implemented, documentation added.
13296         (getAddress): Documentation added.
13297         (hashCode): Documentation added.
13298         (equals): Documentation added.
13299         (toString): Fixed implementation.
13300         (getByAddress): Use Inet4Address and Inet6Address.
13301         (lookup): New linewrap.
13302         (getByName): SecurityManager check added, support Inet4Address and
13303         Inet6address, comments added.
13304         (getAllByName): SecurityManager check added, comments added.
13305         * java/net/Inet6Address.java:
13306         (Inet6Address): Initialize parent class with addr instead of null.
13307         * java/net/URL.java
13308         (equals): Documentation added.
13309         (getFile): Documentation added.
13310         (hashCode): Documentation added.
13311         * java/net/natInetAddress.cc:
13312         (aton): Fix IPv6 support.
13313         * java/net/natPlainDatagramSocketImpl.cc:
13314         (peek): Throw PortUnreachableException when suitable.
13315         (peekData): Throw PortUnreachableException when suitable.
13316         (send): Throw PortUnreachableException when suitable.
13317         (receive): Throw PortUnreachableException when suitable.
13318
13319 2002-10-27  Mark Wielaard  <mark@klomp.org>
13320
13321         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
13322         argument.
13323         (readLeShort): Likewise and use byte[].
13324         (readLeInt): Likewise.
13325         (readEntries): Use new versions of methods and use byte[] for reading
13326         a complete zip entry. Add ZipFile name to exceptions.
13327         (entries): Add ZipFile name to exceptions.
13328         (getEntry): Likewise.
13329         (checkLocalHeader): Use new versions of methods and add ZipFile name
13330         to exceptions.
13331
13332 2002-10-31  Mark Anderson  <mark@panonet.net>
13333
13334         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
13335         added
13336
13337 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
13338
13339         * configure.in: Disable hash sync when not using threads.
13340         * configure: Regenerated.
13341
13342 2002-10-24  Tom Tromey  <tromey@redhat.com>
13343
13344         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
13345         (_Jv_FindSymbolInExecutable): Removed argument name.
13346         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
13347         java.library.path is set.
13348
13349         * gij.cc (help): Document --showversion.
13350         (version): Don't exit.
13351         (main): Handle --showversion.  Exit if --version given.
13352
13353 2002-10-23  Tom Tromey  <tromey@redhat.com>
13354
13355         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
13356         (array_from_valist): Correctly handle promotion for jint, jlong,
13357         jfloat, and jdouble.
13358
13359 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
13360
13361         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
13362         GetFileAttributesEx( ) to find file length and modification times,
13363         as the latter is not present on Windows 95.
13364
13365 2002-10-21  Michael Koch  <konqueror@gmx.de>
13366
13367         * java/net/URL.java
13368         (URL): Activate SecurityManager checks.
13369         (equals): Use URLStreamHandler implementation instead of doing it
13370         alone. This allows special protocol stream handlers to change default
13371         behaviour.
13372         (hashCode): Use URLStreamHandler implementation instead of doing it
13373         alone. This allows special protocol stream handlers to change default
13374         behaviour.
13375         * java/net/URLStreamHandler.java
13376         (equals): Implemented default URL equality check.
13377         (hostsEqual): Implemented default URL equality check.
13378         (hashCode): Implemented default URL hashCode algorithm.
13379         * java/net/natPlainDatagramSocketImpl.cc:
13380         No lines longer then 80 characters.
13381
13382 2002-10-20  Adam Megacz <adam@xwt.org>
13383
13384         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
13385         * configure.in: enabled hash sync on Win32
13386         * include/win32-threads.h (_Jv_ThreadId_t): added.
13387         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
13388         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
13389         removed some posix-isms, use Thread::sleep() instead of usleep,
13390         added code to clear bottom three bits if platform has a broken
13391         linker.
13392         * include/win32-threads.h (_Jv_ThreadId_t): added.
13393
13394 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
13395
13396         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
13397         runtime property "gnu.gcj.progname" containing the name used to
13398         invoke the current Java program (similar to argv[0] for C
13399         programs).
13400
13401 2002-10-15  Tom Tromey  <tromey@redhat.com>
13402
13403         Fix for PR libgcj/8234:
13404         * java/util/zip/natInflater.cc (reset): Reset avail_in.
13405         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
13406
13407 2002-10-13  Mark Wielaard  <mark@klomp.org>
13408
13409         * mauve-libgcj: Enable Mauve tests that compile now.
13410
13411 2002-10-11  Mark Wielaard  <mark@klomp.org>
13412
13413         Fix for PR libgcj/8142
13414         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
13415         loading native modules.
13416
13417 2002-10-10  Michael Koch  <konqueror@gmx.de>
13418
13419         * javax/swing/AbstractListModel.java
13420         (getListDataListeners): New stubbed method.
13421         javax/swing/DefaultBoundedRangeModel.java
13422         (getChangeListeners): New stubbed method.
13423         javax/swing/DefaultSingleSelectionModel.java
13424         (getChangeListeners): New stubbed method.
13425
13426 2002-10-10  Michael Koch  <konqueror@gmx.de>
13427
13428         * gcj/.cvsignore: New file to ignore files generated during build.
13429         * include/.cvsignore: New file to ignore files generated during build.
13430
13431 2002-10-10  Michael Koch  <konqueror@gmx.de>
13432
13433         * java/net/HttpURLConnection.java
13434         (getPermission): New method.
13435         (getErrorStream): New stub method.
13436         (getHeaderFieldDate): New stub method.
13437         * java/net/Inet4Address.java:
13438         (isLinkLocalAddress): Typo fixed.
13439         * java/net/InetAddress.java:
13440         (readResolve): New stubbed method (for serialization).
13441         (isAnyLocalAddress): New stubbed method.
13442         (isLoopbackAddress): New stubbed method.
13443         (isLinkLocalAddress): New stubbed method.
13444         (isSiteLocalAddress): New stubbed method.
13445         (isMCGlobal): New stubbed method.
13446         (isMCNodeGlobal): New stubbed method.
13447         (isMCLinkLocal): New stubbed method.
13448         (isMCSiteLocal): New stubbed method.
13449         (isMCOrgLocal): New stubbed method.
13450         (getCanonicalHostName): New stubbed method.
13451         (getByAddress): Create instances of Inet4Address/Inet6Address,
13452         instead of InetAddress, documentation added.
13453         * java/net/MulticastSocket.java
13454         (getInterface): Removed FIXME.
13455         (getNetworkInterface): New method.
13456         (setNetworkInterface): New method.
13457         * java/net/NetworkInterface.java:
13458         (toString): Use property "line.separator" instead of "\n".
13459         * java/net/URLConnection.java
13460         (getContent): New stubbed method.
13461         * java/net/URLStreamHandler.java:
13462         (equals): New stubbed method.
13463         (hostsEqual): New stubbed method.
13464         (hashCode): New stubbed method.
13465         * java/net/natNetworkInterface.cc:
13466         (getRealNetworkInterfaces): Create Inet4Address object
13467         instead of InetAddress.
13468
13469 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
13470
13471         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
13472         unsigned long temporary to implement insn_iushr shifts.
13473
13474 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
13475
13476         * configure.host [s390*-*]: Enable Java interpreter.
13477         Enable hash synchronization.  Add sysdeps dir.
13478         * sysdep/s390/locks.h: New file.
13479
13480 2002-10-06  Mark Wielaard  <mark@klomp.org>
13481
13482         * java/lang/Thread.java (setDaemon): Check startable_flag,
13483         not isAlive().
13484
13485 2002-10-07  Michael Koch  <konqueror@gmx.de>
13486
13487         * java/nio/Buffer.java: New stub file.
13488         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
13489         of class Charset.
13490         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
13491         * Makefile.in: Regenerated.
13492
13493 2002-10-07  Michael Koch  <konqueror@gmx.de>
13494
13495         * java/nio/ByteBuffer.java:
13496         removed import of not commited class.
13497
13498 2002-10-07  Michael Koch  <konqueror@gmx.de>
13499
13500         * java/nio/ByteBuffer.java,
13501         java/nio/MappedByteBuffer.java:
13502         New files, forgot to add these dummies.
13503         * Makefile.am (java_native_source_files): Added new files.
13504         * Makefile.in: Regenerated.
13505
13506 2002-10-07  Michael Koch  <konqueror@gmx.de>
13507
13508         * java/nio/channels/AlreadyConnectedException.java,
13509         java/nio/channels/ClosedChannelException.java,
13510         java/nio/channels/ReadableByteChannel.java,
13511         java/nio/channels/InterruptibleChannel.java,
13512         java/nio/channels/Channel.java,
13513         java/nio/channels/ByteChannel.java,
13514         java/nio/channels/GatheringByteChannel.java,
13515         java/nio/channels/ScatteringByteChannel.java,
13516         java/nio/channels/WritableByteChannel.java,
13517         java/nio/charset/CharacterCodingException.java,
13518         java/nio/charset/IllegalCharsetNameException.java,
13519         java/nio/charset/MalformedInputException.java,
13520         java/nio/charset/UnmappableCharacterException.java,
13521         java/nio/charset/UnsupportedCharsetException.java,
13522         java/nio/charset/spi/CharsetProvider.java: New file.
13523         These files are exceptions or interfaces,
13524         no real or abstract classes.
13525         * Makefile.am (java_native_source_files): Added new files.
13526         * Makefile.in: Regenerated.
13527
13528 2002-10-05  Michael Koch  <konqueror@gmx.de>
13529
13530         * java/net/InetAddress.java
13531         (getByAddress): Fixed documentation.
13532         (getByAddress): New method.
13533         * java/net/Inet4Address.java: New file.
13534         * java/net/URL.java
13535         (URL): Documentation added.
13536         (getContent): Documentation added.
13537         (getContent): New stubbed method.
13538         (getQuery): New method.
13539         (openConnection): Documentation added.
13540         (openStream): Documentation added.
13541         (setURLStreamHandlerFactory): Documentation added.
13542         * java/net/URI.java: New stub file.
13543         * Makefile.am
13544         (java_native_source_files): Added java/net/Inet4Address.java,
13545         java/net/Inet6Address.java and java/net/URI.java.
13546         * Makefile.in: Regenerated.
13547
13548 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
13549
13550         * java/lang/ProtectionDomain.java (linesep): Remove field.
13551         (toString): Use System.getProperty("line.separator").
13552
13553 2002-10-04  Michael Koch  <konqueror@gmx.de>
13554
13555         * java/security/Identity.java: Added serialVersionUID.
13556         * java/security/KeyPair.java: Added serialVersionUID.
13557         * java/security/Provider.java: Added serialVersionUID.
13558         * java/security/SecureRandom.java: Added serialVersionUID.
13559         * java/security/SecureRandomSpi.java: Added serialVersionUID.
13560         * java/security/SignedObject.java: Added serialVersionUID.
13561         * java/security/cert/Certificate.java: Added serialVersionUID.
13562
13563 2002-10-04  Mark Wielaard <mark@klomp.org>
13564
13565         * java/security/Security.java: Use java.home or gnu.classpath.home
13566         to load providers.
13567         (loadProviders): Extra dir argument.
13568         (getProvider): Return null when not found.
13569
13570 2002-10-04  Mark Wielaard  <mark@klomp.org>
13571
13572         * java/lang/Throwable.java: Remerge with Classpath.
13573
13574 2002-10-04  Michael Koch  <konqueror@gmx.de>
13575
13576         * java/net/InetAddress.java:
13577         (isMulticastAddress): Added documentation.
13578         (getHostAddress): Added documentation.
13579         (toString): Added documentation.
13580         (getByAddress): Fixed documentation.
13581         (getByName): Added documentation.
13582         (getAllByName): Added documentation.
13583         (getLocalHost): Added documentation.
13584
13585 2002-10-04  Michael Koch  <konqueror@gmx.de>
13586
13587         * java/beans/beancontext/BeanContextChildSupport.java:
13588         Added serialVersionUID.
13589         * java/text/Collator.java: (compare): Made documentation HTML-aware.
13590         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
13591         * javax/naming/Name.java: Added serialVersionUID.
13592
13593 2002-10-03  Adam Megacz <adam@xwt.org>
13594
13595         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
13596         some functionality that isn't supported yet on WIN32.
13597
13598 2002-10-03  Tom Tromey  <tromey@redhat.com>
13599
13600         * Makefile.in: Rebuilt.
13601         * Makefile.am (awt_java_source_files): Added new files.
13602
13603 2002-10-03  Michael Koch  <konqueror@gmx.de>
13604
13605         * java/net/InetAddress.java
13606         (class InetAddress): Removed final keyword.
13607         (equals): Fixed typo.
13608         (getByAddress): New method.
13609
13610 2002-10-03  Michael Koch  <konqueror@gmx.de>
13611
13612         * java/awt/dnd/Autoscroll.java:
13613         New file, merge from Classpath.
13614         * java/awt/dnd/DragSourceAdapter.java:
13615         (dragExit): Fixed typos in argument type.
13616         (dragDropEnd): Fixed typos in argument type.
13617         * java/awt/dnd/DragSourceDropEvent.java:
13618         New file, merge from Classpath.
13619         * java/awt/dnd/DropTarget.java:
13620         Added stubs, merge from Classpath.
13621         * java/awt/dnd/DropTargetAdapter.java:
13622         New file, merge from Classpath.
13623         * java/awt/dnd/DropTargetContext.java:
13624         New file, merge from Classpath.
13625         * java/awt/dnd/DropTargetDragEvent.java:
13626         New file, merge from Classpath.
13627         * java/awt/dnd/DropTargetDropEvent.java:
13628         New file, merge from Classpath.
13629         * java/awt/dnd/DropTargetEvent.java:
13630         New file, merge from Classpath.
13631         * java/awt/dnd/DropTargetListener.java:
13632         New file, merge from Classpath.
13633         * java/awt/dnd/MouseDragGestureRecognizer.java:
13634         New file, merge from Classpath.
13635         * java/awt/dnd/peer/DropTargetContextPeer.java:
13636         New file, merge from Classpath.
13637
13638 2002-10-03  Michael Koch  <konqueror@gmx.de>
13639
13640         * java/net/DatagramPacket.java
13641         (setLength): Fixed typo and be HTML-aware.
13642         * java/net/InetSocketAddress.java
13643         (InetSocketAddress): Correct initialization of hostname, fixed typo.
13644         (equals): Added comment about equality of InetSocketAddress objects.
13645         * java/net/ServerSocket.java
13646         (accept): Added checks.
13647         (isClosed): New stubbed method.
13648         * java/net/SocketOptions.java: Reindention.
13649         * java/net/SocketPermission
13650         (SocketPermission): Documentation fixed.
13651
13652 2002-10-03  Michael Koch  <konqueror@gmx.de>
13653
13654         * java/net/DatagramSocket.java
13655         (receive): Check with SecurityManager AFTER the packet is received,
13656         check if connected to multicast address, documentation added.
13657         (send): Only check SecurityManager if connected, check address of
13658         packet to send.
13659         (connect): Implemented, documentation added.
13660         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
13661         * java/net/InetSocketAddress.java
13662         (whole file): Reindented.
13663         (hostname): New attribute.
13664         (InetSocketAddress): Initialize new attribute.
13665         (getAddress): Documentation added.
13666         (getHostName): Documentation added.
13667         (getPort): Documentation added.
13668         (hashCode): Documentation added.
13669         (isUnresolved): Documentation added.
13670         (toString): Conform to output of JDK 1.4.1, documentation added.
13671         * java/net/MulticastSocket.java
13672         (joinGroup): Removed FIXME, documentation added.
13673         (leaveGroup): Removed FIXME, documentation added.
13674         (send): Documentation added.
13675         * java/net/Socket.java
13676         (inputShutdown): New variable.
13677         (outputShutdown): New variable.
13678         (Socket): Initialize new variables.
13679         (getRemoteSocketAddress): Check if connected.
13680         (shutdownInput): Set new variable.
13681         (shutdownOutput): Set new variable.
13682         (isConnected): New method.
13683         (isClosed): New method.
13684         (isInputShutdown): New method.
13685         (isOutputShutdown): New method.
13686         * java/net/URLStreamHandler.java
13687         (URLStreamHandler): New method.
13688         (openConnection): Added documentation.
13689         (parseURL): Added documentation.
13690         (getHostAddress): New method.
13691         (getDefaultPort): New method.
13692
13693 2002-10-02  Tom Tromey  <tromey@redhat.com>
13694
13695         * java/rmi/activation/ActivationDesc.java,
13696         java/rmi/activation/ActivationGroupDesc.java,
13697         java/rmi/activation/ActivationGroupID.java,
13698         java/rmi/activation/ActivationID.java: New versions from
13699         Classpath.
13700
13701 2002-09-30  Bo Thorsen  <bo@suse.de>
13702
13703         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
13704
13705 2002-09-30  Tom Tromey  <tromey@redhat.com>
13706
13707         * java/io/ObjectInputStream.java (resolveProxyClass): New method
13708         from Classpath.
13709         * Makefile.in: Rebuilt.
13710         * Makefile.am (rmi_java_source_files): Added new files.
13711         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
13712         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
13713         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
13714         Classpath.
13715         * gnu/java/rmi/dgc/DGCImpl.java,
13716         gnu/java/rmi/dgc/DGCImpl_Skel.java,
13717         gnu/java/rmi/dgc/DGCImpl_Stub.java,
13718         gnu/java/rmi/registry/RegistryImpl_Skel.java,
13719         gnu/java/rmi/registry/RegistryImpl_Stub.java,
13720         gnu/java/rmi/server/RMIHashes.java,
13721         gnu/java/rmi/server/RMIObjectInputStream.java,
13722         gnu/java/rmi/server/RMIObjectOutputStream.java,
13723         gnu/java/rmi/server/UnicastConnection.java,
13724         gnu/java/rmi/server/UnicastConnectionManager.java,
13725         gnu/java/rmi/server/UnicastRef.java,
13726         gnu/java/rmi/server/UnicastServer.java,
13727         gnu/java/rmi/server/UnicastServerRef.java,
13728         java/rmi/MarshalledObject.java,
13729         java/rmi/server/RMIClassLoader.java,
13730         java/rmi/server/RemoteObject.java,
13731         java/rmi/server/UnicastRemoteObject.java,
13732         java/security/SecureClassLoader.java: Merged from Classpath.
13733
13734 2002-09-29  Anthony Green  <green@redhat.com>
13735
13736         * java/lang/reflect/UndeclaredThrowableException.java: New file.
13737         Imported from GNU Classpath.
13738         * java/lang/reflect/natProxy.cc: New file.
13739         * java/lang/reflect/InvocationHandler.java: New file.  Imported
13740         from GNU Classpath.
13741         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
13742         Classpath.
13743         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
13744         Classpath.
13745         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
13746         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
13747         New statics.
13748         * gcj/javaprims.h ("Java"): Add new classes.
13749         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
13750         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
13751         java/lang/reflect/Proxy$$ProxyType.h): And this.
13752         (inner_nat_headers): Add these new headers.
13753         (ordinary_java_source_files): Add new files.
13754         (nat_source_files): Add new file.
13755         * Makefile.in: Rebuilt.
13756
13757 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
13758
13759         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
13760         a single configuration.
13761
13762 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13763
13764         * java/util/TimeZone.java (getDSTSavings): New method.
13765         Fixes PR libgcj/7786.
13766
13767 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13768
13769         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
13770         to see if `the_method == 0' before looking up vtable index.
13771         Fixes PR libgcj/7709.
13772
13773 2002-09-25  Tom Tromey  <tromey@redhat.com>
13774
13775         * java/lang/natClassLoader.cc:
13776         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
13777         * resolve.cc: Include NoClassDefFoundError.h, not
13778         ClassNotFoundException.h.
13779         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
13780
13781         * defineclass.cc: Don't include ClassNotFoundException.h.
13782
13783         * resolve.cc: Include StringBuffer.
13784         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
13785
13786         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
13787         allocated but not initialized.
13788
13789 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13790
13791         Fix for PR libgcj/7766:
13792         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
13793         (getNextEntry): Set it.
13794         (closeEntry): Likewise.
13795         (read): Likewise.
13796         (close): Likewise.
13797         (available): Use it.
13798
13799 2002-09-25  Michael Koch  <konqueror@gmx.de>
13800
13801         * java/net/DatagramSocket.java
13802         (DatagramSocket): Initialize new instance variables.
13803         (close): Reset new instance variables.
13804         (getLocalAddress): Remove unneeded SecurityManager usage.
13805         (getLocalPort): Check if socket is already bound.
13806         (isConnected): New method.
13807         (getInetAddress): Implemented.
13808         (getPort): Better Implementation, documentation fixed.
13809         (getRemoteSocketAddress): New method.
13810         * java/net/JarURLConnection.java
13811         (element): Typo fixed.
13812         (getMainAttributes): New method.
13813         (getAttributes): New method (stub only).
13814         (getManifest): New method (stub only).
13815         * java/net/NetPermission.java: Added serialVersionsUID.
13816         * java/net/Socket.java
13817         (connect): Check blocking mode of associated channel,
13818         documentation added.
13819         (getLocalSocketAddress): Better implementation.
13820         (getRemoteSocketAddress): Implemented.
13821         (isBound): New method.
13822         (setSendBufferSize): Documentation added.
13823         * java/net/SocketAddress.java: Added serialVersionsUID.
13824         * java/net/SocketPermission.java: Added serialVersionsUID.
13825         * java/net/URL.java
13826         (URL): Wrap for shorter lines, initialize new instance variables,
13827         documentation added.
13828         (equals): Check new instance variables too.
13829         (getContent): Documentation added.
13830         (getPath): Documentation added.
13831         (getAuthority): New method.
13832         (getHost): Documentation added.
13833         (getPort): Documentation added.
13834         (getDefaultPort): New method.
13835         (getProtocol): Documentation added.
13836         (getUserInfo): Documentation added.
13837         (set): Initialize new instance variables, documentation added.
13838         * java/net/URLStreamHandler.java
13839         (setURL): New method.
13840         * java/net/natPlainDatagramSocketImpl.cc
13841         (connect): Fix exception name.
13842         (disconnect): Fix exception name.
13843
13844 2002-09-25  Michael Koch  <konqueror@gmx.de>
13845
13846         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
13847         * java/nio/channels/DatagramChannel.java:
13848         extends AbstractSelectableChannel
13849         * java/nio/channels/ServerSocketChannel.java:
13850         extends AbstractSelectableChannel
13851         * java/nio/channels/SocketChannel.java:
13852         extends AbstractSelectableChannel
13853         * Makefile.am (ordinary_java_source_files):
13854         java/nio/channels/spi/AbstractSelectableChannel.java added.
13855         * Makefile.in: Regenerated.
13856
13857 2002-09-25  Michael Koch  <konqueror@gmx.de>
13858
13859         * java/net/DatagramSocket.java
13860         (DatagramSocket): Exception documentation added.
13861         (bind): Exception documentation added, addded SecurityManager check,
13862         added SocketAddress type check.
13863         (getSoTimeout): Check impl.
13864         (receive): Fix SecurityManager check, check impl, documentation added.
13865         (send): Check channel mode, documentation added.
13866         (connect): New method.
13867         (disconnect): Implemented.
13868         (getLocalSocketAddress): New method.
13869         (getReceiveBufferSize): Check impl.
13870         (setReuseAddress): Check impl.
13871         (getReuseAddress): Check impl.
13872         (setBroadcast): Check impl.
13873         (getBroadcast): Check impl.
13874         (setTrafficClass): Check impl, Documentation cleared.
13875         (getTrafficClass): Check impl.
13876         (getSendBufferSize): Check impl.
13877         (setReceiveBufferSize): Check impl, documentation added.
13878         (setSendBufferSize): Documentation added.
13879         (setDatagramSocketImplFactory): New method.
13880         * java/net/HttpURLConnection.java
13881         (HTTP_INTERNAL_ERROR): The correct code is 500.
13882         (HTTP_NOT_IMPLEMENTED): Added new constant.
13883         (setFollowRedirects): Documentation added.
13884         (getInstanceFollowRedirects): New method.
13885         (setInstanceFollowRedirects): New method.
13886         (setRequestMethod): Documentation added.
13887         (getResponseCode): Documentation added.
13888         (getResponseMessage): Documentation added.
13889         * java/net/JarURLConnection.java
13890         (JarURLConnection): protected since JDK 1.4.
13891         (getJarEntry): java.io.IOException to IOException, documentation added.
13892         (getJarFile): Documentation added.
13893         * java/net/ServerSocket.java
13894         (ServerSocket): Private to public, exception added.
13895         (ServerSocket): java.io.IOException to IOException, documentation added.
13896         (bind): Check socket address type, documentation added.
13897         (bind): java.io.IOException to IOException, documentation added.
13898         (accept): Documentation added.
13899         (implAccept): Check ch is not non-blocking, documentation added.
13900         (setSoTimeout): Documentation fixed.
13901         (setReceiveBufferSize): Documentation added.
13902         * java/net/Socket.java
13903         (Socket): Documentation added.
13904         (bind): Documentation added.
13905         (connect): Check socket address type, documentation added.
13906         (getRemoteSocketAddress): New method.
13907         (getLocalSocketAddress): New method.
13908         (setSoLinger): Documentation added.
13909         (getReuseAddress): New method.
13910         (setReuseAddress): New method.
13911         (getTrafficClass): New method.
13912         (setTrafficClass): New method.
13913         * java/net/URLStreamHandler.java
13914         (openConnection): java.io.IOException to IOException.
13915         (parseURL): Documentation added.
13916         (sameFile): public to protected, documentation added.
13917         (setURL): Documentation added.
13918         * java/nio/IllegalBlockingModeException.java: New file.
13919         * Makefile.am (ordinary_java_source_files):
13920         added java/nio/IllegalBlockingModeException.java
13921         * Makefile.in: Regenerated.
13922
13923 2002-09-25  Michael Koch  <konqueror@gmx.de>
13924
13925         * java/net/DatagramPacket
13926         (DatagramPacket): Exception documentation added.
13927         (setData): Likewise.
13928         (setSocketAddress): Likewise.
13929         * java/net/DatagramSocketImpl.java
13930         (peek): Documentation addded.
13931         (peekData): Documentation addded.
13932         (send): Documentation addded.
13933         (receive): Documentation addded.
13934         (connect): New method.
13935         (disconnect): New method.
13936         (joinGroup): New abstract method.
13937         (leaveGroup): New abstract method.
13938         * java/net/InetSocketAddress.java
13939         (InetSocketAddress): Documentation added.
13940         (equals): final keyword added.
13941         (getAddress): final keyword added.
13942         (getHostName): final keyword added.
13943         (getPort): final keyword added.
13944         (hashCode): final keyword added.
13945         (isUnresolved): final keyword added.
13946         * java/net/MulticastSocket.java
13947         (MulticastSocket): Documentation added.
13948         (MulticastSocket): New method.
13949         (joinGroup): Documentation added.
13950         (joinGroup): New method.
13951         (leaveGroup): Documentation added.
13952         (leaveGroup): New method.
13953         (send): Documentation added.
13954         * java/net/NetworkInterface.java
13955         (getByName): Documentation added.
13956         (getByInetAddress): Documentation added.
13957         (getNetworkInterfaces): Documentation added.
13958         * java/net/PlainDatagramSocketImpl.java
13959         (connect): New method.
13960         (disconnect): New method.
13961         * java/net/SocketImpl.java
13962         (create): Documentation added.
13963         (shutdownInput): Convert public to protected, as it always was.
13964         (shutdownOutput): Convert public to protected, as it always was.
13965         * java/net/SocketOptions.java
13966         (whole file): Reintented.
13967         * java/net/URLClassLoader.java
13968         (URLClassLoader): SecurityManager check added, documentation added.
13969         (findResources): Documentation added.
13970         (findClass): Documentation added.
13971         (newInstance): More correct method arguments.
13972         * java/net/URLConnection.java
13973         (connect): Documentation added.
13974         (getContent): Documentation added.
13975         (getPermission): Documentation added.
13976         (getInputStream): Documentation added.
13977         (getOutputStream): Documentation added.
13978         (setDoInput): Throw correct exception, documentation added.
13979         (setDoOutput): Throw correct exception, documentation added.
13980         (setAllowUserInteraction): Throw correct exception, documentation added.
13981         (setUseCaches): Throw correct exception, documentation added.
13982         (setIfModifiedSince): Throw correct exception, documentation added.
13983         (setRequestProperty): Throw exception, documentation added.
13984         (addRequestProperty): Throw exception, documentation added.
13985         (getRequestProperty): Throw exception, documentation added.
13986         (getRequestProperties): Documentation added.
13987         (setContentHandlerFactory): Documentation added.
13988         (guessContentTypeFromName): protected to public.
13989         (setFileNameMap): Documentation added.
13990         * java/net/URLDecoder.java
13991         (URLDecoder): New method.
13992         (decode): Documentation added.
13993         (whole file): Reindented.
13994         * java/net/URLEncoder.java
13995         (encode): Documentation added.
13996         * java/net/natPlainDatagramSocketImpl.cc
13997         (connect): New method.
13998         (disconnect): New method.
13999         * javax/naming/RefAddr:
14000         (addrType): addrType was never final.
14001         (equals): Fix typo in method name.
14002         * javax/naming/BinaryRefAddr:
14003         (equals): Fix typo in method name.
14004
14005 2002-09-22  Tom Tromey  <tromey@redhat.com>
14006
14007         Fix for PR libgcj/6576:
14008         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
14009         didn't find a given bundle.
14010         (getBundle): Don't require base bundle.
14011         (setParent): Removed old comment.
14012         (tryLocalBundle): Try components even if preceding components were
14013         empty.
14014
14015 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14016
14017         * Makefile.am (all-multi): Fix multilib parallel build.
14018
14019 2002-09-21  Michael Koch  <konqueror@gmx.de>
14020
14021         * java/net/Socket.java
14022         (sendUrgentData): New method.
14023         (getChannel): New method.
14024         * java/net/ServerSocket.java
14025         (getChannel): New method.
14026         (isBound): New method.
14027         * java/net/DatagramSocket.java
14028         (DatagramSocket): Two new methods.
14029         (bind): New method.
14030         (getChannel): New method.
14031         (isBound): New method.
14032         (send): Added newline to to make shorter lines.
14033         * java/net/PlainDatagramSocketImpl.java
14034         (mcastGrp): Added argument.
14035         (join): Use new mcastGrp.
14036         (leave): Use new mcastGrp.
14037         (joinGroup): New method.
14038         (leaveGroup): New method.
14039         * java/net/natPlainDatagramSocketImpl.cc
14040         (mcastGrp): Added argument, no yet really implemented.
14041         (getOption): Added newline for shorter lines.
14042         * java/net/natPlainSocketImpl.cc
14043         (read, setOption, getOption): Added newline for shorter lines.
14044
14045 2002-09-19  Tom Tromey  <tromey@redhat.com>
14046
14047        * java/lang/ClassLoader.java (resolveClass0): Set cause for
14048        newly-created exception.
14049
14050 2002-09-18  Michael Koch  <konqueror@gmx.de>
14051
14052         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
14053         java/util/regex/PatternSyntaxException.java:
14054         Merge with classpath, new files.
14055         * Makefile.am (core_java_source_files):
14056         Added java/util/regex/Matcher.java,
14057         java/util/regex/Pattern.java,
14058         java/util/regex/PatternSyntaxException.java
14059         * Makefile.in: Regenerated.
14060         * include/config.h.in: Added HAVE_NET_IF_H.
14061         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
14062         Removed #if 0 ... #endif.
14063
14064 2002-09-17  Michael Koch  <konqueror@gmx.de>
14065
14066         * java/net/natNetworkInterface.cc:
14067         Removed unneed and yet wrong includes.
14068
14069 2002-09-17  Michael Koch  <konqueror@gmx.de>
14070
14071         * java/net/NetworkInterface.java: New file.
14072         * java/net/natNetworkInterface.java: New file.
14073         * configure.in: Added check for net/if.h.
14074         * configure: Regenerated.
14075         * Makefile.am
14076         (ordinary_java_source_files): Added NetworkInterface.java.
14077         (nat_source_files): Added natNetworkInterface.cc.
14078         * Makefile.in: Regenerated.
14079
14080 2002-09-16  Tom Tromey  <tromey@redhat.com>
14081
14082         * java/net/URLClassLoader.java (findClass): Code source for a
14083         class from a jar is not necessarily a jar: URL.
14084
14085 2002-09-16  Michael Koch  <konqueror@gmx.de>
14086
14087         * java/lang/AssertionError.java:
14088         Merge with classpath, fixes HTML.
14089         * java/rmi/server/LogStream.java:
14090         Merge with classpath, fixes some constants.
14091         * java/net/server/RemoteServer.java:
14092         Merge with classpath, adds serialVersionUID.
14093         * javax/naming/BinaryRefAddr.java:
14094         Merge with classpath, s/equal/equals/.
14095         * javax/naming/NamingException.java:
14096         Merge with classpath, fixed typo.
14097         * javax/naming/RefAddr.java:
14098         Merge with classpath, s/equal/equals/.
14099         * java/awt/Toolkit.java:
14100         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
14101         and typo fixed.
14102
14103 2002-09-15  Adam Megacz <adam@xwt.org>
14104
14105         * java/net/natPlainSocketImpl.cc: fixed typo.
14106
14107 2002-09-15  Adam Megacz <adam@xwt.org>
14108
14109         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
14110         which don't work on Win32 (yet).
14111
14112 2002-09-14  Adam Megacz <adam@xwt.org>
14113
14114         * java/net/natPlainDatagramSocket.cc: removed #include
14115         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
14116         * include/win32.h: included definition for IP_TOS to satisfy
14117         natPlainDatagramSocket.cc
14118
14119 2002-09-13  Michael Koch  <konqueror@gmx.de>
14120
14121         * java/net/DatagramPacket.java (DatagramPacket):
14122         Added linebreak for 80 chars per line.
14123         * java/net/JarURLConection.java
14124         (getInputStreami, getJarEntry): Likewise.
14125         * java/net/SocketPErmission.java
14126         (SocketPermission class docu, implies): Likewise.
14127         * java/net/URLClassLoader.java (findResources): Likewise.
14128         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
14129
14130 2002-09-13  Michael Koch  <konqueror@gmx.de>
14131
14132         * java/nio/channels/DatagramChannel.java,
14133         java/nio/channels/ServerSocketChannel.java
14134         java/nio/channels/SocketChannel.java:
14135         New dummy files to make java.net fully JDK 1.4 compatible
14136         * Makefile.am (ordinary_java_source_files): Added
14137         java/net/DatagramSocketImplFactory.java (long forgotten),
14138         java/nio/SocketChannel.java,
14139         java/nio/ServerSocketChannel.java,
14140         java/nio/DatagramChannel.java
14141         * Makefile.in: Regenrated.
14142
14143 2002-09-12  Michael Koch  <konqueror@gmx.de>
14144
14145         * java/net/DatagramSocketImpl.java
14146         (peekData): New method.
14147         * java/net/PlainDatagramSocketImpl.java
14148         (peekData): New method.
14149         * java/net/natPlainDatagramSocketImpl.cc
14150         (peekData): New method.
14151         * java/net/URLConnection
14152         (getPermission): New method.
14153         (addRequestProperty): New method.
14154         (getRequestProperties): New method.
14155         (guessContentTypeFromStream): New method, not really implemented.
14156         (URLConnection): Added/updated documentation.
14157         (connect): Added/updated documentation.
14158         (getURL): Added/updated documentation.
14159         (getContentLength): Added/updated documentation.
14160         (getContentType: Added/updated documentation.
14161         (getContentEncoding): Added/updated documentation.
14162         (getExpiration): Added/updated documentation.
14163         (getDate): Added/updated documentation.
14164         (getLastModified): Added/updated documentation.
14165         (getHeaderField): Added/updated documentation.
14166         (getHeaderFields): Added/updated documentation.
14167         (getHeaderFieldInt): Added/updated documentation.
14168         (getHeaderFieldDate): Added/updated documentation.
14169         (getHeaderFieldKey): Added/updated documentation.
14170         (getContent): Added/updated documentation.
14171         (getInputStream): Added/updated documentation.
14172         (getOutputStream): Added/updated documentation.
14173         (toString): Added/updated documentation.
14174         (setDoInput): Added/updated documentation.
14175         (getDoInput): Added/updated documentation.
14176         (setDoOutput): Added/updated documentation.
14177         (getDoOutput): Added/updated documentation.
14178         (setAllowUserInteraction): Added/updated documentation.
14179         (getAllowUserInteraction): Added/updated documentation.
14180         (setDefaultAllowUserInteraction): Added/updated documentation.
14181         (getDefaultAllowUserInteraction): Added/updated documentation.
14182         (setUseCaches): Added/updated documentation.
14183         (getUseCaches): Added/updated documentation.
14184         (setIfModifiedSince): Added/updated documentation.
14185         (getIfModifiedSince): Added/updated documentation.
14186         (getDefaultUseCaches): Added/updated documentation.
14187         (setDefaultUseCaches): Added/updated documentation.
14188         (setRequestProperty): Added/updated documentation.
14189         (getRequestProperty): Added/updated documentation.
14190         (setDefaultRequestProperty): Added/updated documentation.
14191         (getDefaultRequestProperty): Added/updated documentation.
14192         (setContentHandlerFactory): Added/updated documentation.
14193         (guessContentTypeFromName): Added/updated documentation.
14194         (getFileNameMap): Added/updated documentation.
14195         (setFileNameMap): Added/updated documentation.
14196
14197 2002-09-11  Michael Koch  <konqueror@gmx.de>
14198
14199         * java/net/Socket.java
14200         (Socket): protected to public (since JDK 1.4). Added @specnote.
14201         (bind): New method.
14202         (connect): Two new methods.
14203         (getKeepalive): Get correct socket option.
14204         (setKeepalive): Set correct socket option.
14205         (getOOBInline): New method.
14206         (setOOBInline): New method.
14207         * java/net/ServerSocket.java
14208         (bind): Two new methods.
14209         (getInetAddress): Reimplemented, catch exception.
14210         (getLocalSocketAddress): New method.
14211         (setReuseAddress): New method.
14212         (getReuseAdress): New method.
14213         (setReceiveBufferSize): New method.
14214         (getReceiveBufferSize): New method.
14215         (toString): Made string JDK 1.4 compliant.
14216
14217 2002-09-10  Michael Koch  <konqueror@gmx.de>
14218
14219         * java/net/SocketImpl.java
14220         (connect): New method.
14221         (supportsUrgentData): New method.
14222         (sendUrgentData): New method.
14223         * java/net/PlainSocketImpl.java
14224         (connect): One new method and two new implementation.
14225         (sendUrgentData): New method.
14226         * java/natPlainSocketImpl.cc
14227         (connect): Arguments changed, added support for timeouts.
14228         (getOption): Another __java_boolean to jboolean.
14229
14230 2002-09-07  Adam Megacz <adam@xwt.org>
14231
14232         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
14233         definition of IP_TOS.
14234
14235 2002-09-04  Michael Koch  <konqueror@gmx.de>
14236
14237         * java/net/DatagramSocket.java
14238         (DatagramSocket): Added documentation.
14239         (close): Likewise.
14240         (getLocalAddress): Likewise.
14241         (getLocalPort): Likewise.
14242         (receive): Likewise.
14243         (send): Likewise.
14244         (setSoTimeout): Likewise.
14245         (connect): New method.
14246         (disconnect): New method.
14247         (getInetAddress): New method (FIXME)
14248         (getPort): New method.
14249         (setReuseAddress): New method.
14250         (getReuseAddress): New method.
14251         (setBroadcast): New method.
14252         (getBroadcast): New method.
14253         (setTrafficClass): New method.
14254         (getTrafficClass): New method.
14255         * java/net/MulticastSocket.java):
14256         (getTTL): Added @see in documentation.
14257         (setTTL): Added @see in documentation.
14258         (setLoopbackMode): New method.
14259         (getLoopbackMode): New method.
14260         * java/net/PlainSocketImpl.java:
14261         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
14262         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14263         * java/net/PlainDatagramSocketImpl.java
14264         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
14265         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14266         * java/net/natPlainSocketImpl.cc
14267         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
14268         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14269         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
14270         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14271         This should also fix SO_KEEPALIVE
14272         * java/net/natPlainDatagramSocketImpl.cc
14273         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
14274         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14275         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
14276         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14277
14278 2002-09-04  Michael Koch  <konqueror@gmx.de>
14279
14280         * java/net/SocketOptions.java: added static variables to be JDK 1.4
14281         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
14282         IP_MULTICAST_LOOP, IP_TOS
14283
14284 2002-09-03  Tom Tromey  <tromey@redhat.com>
14285
14286         * java/lang/Class.h (_getDeclaredMethod): Declare.
14287         (_getMethod): Now private.
14288         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
14289         getDeclaredMethod.  Now returns NULL on failure.
14290         * java/lang/Class.java (_getDeclaredMethod): Declare.
14291         (getDeclaredMethod): No longer native; implements access checks.
14292
14293 2002-09-01  Mark Wielaard  <mark@klomp.org>
14294
14295         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
14296         (sanitizeStack): Correctly reset unknown and interpreter counters,
14297         detect interpreter runtime frames.
14298         (demangleInterpreterMethod): New method.
14299         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
14300         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
14301         filling in addrs[].
14302
14303 2002-09-02  Michael Koch  <konqueror@gmx.de>
14304
14305         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
14306         re-indented documentation.
14307
14308 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
14309
14310         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
14311         public, per 1.4 spec.  Fixes PR libgcj/7785.
14312
14313 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
14314
14315         * Makefile.in: Rebuilt.
14316         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
14317
14318 2002-08-29  Tom Tromey  <tromey@redhat.com>
14319
14320         * java/net/JarURLConnection.java (getCertificates): New method
14321         from Classpath.
14322         * java/net/URLClassLoader.java (URLClassLoader): Extends
14323         SecureClassLoader.
14324         (definePackage): New method from Classpath.
14325         (getPermissions): Likewise.
14326         (newInstance): Likewise.
14327         (findClass): Construct CodeSource for new class (from Classpath).
14328         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
14329         methods.
14330         * java/net/URL.java (getUserInfo): New method.
14331         (set(String,String,int,String,String,String,String,String)): New
14332         method.
14333         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
14334         (shutdownInput, shutdownOutput): Declare.
14335         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
14336         Define.
14337         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
14338         (getOption): Likewise.
14339         (shutdownInput): New method.
14340         (shutdownOutput): Likewise.
14341         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
14342         keepalive.
14343         (getOption): Likewise.
14344         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
14345         * java/net/Socket.java (setKeepAlive): New method.
14346         (getKeepAlive): Likewise.
14347         (shutdownInput, shutdownOutput): New methods.
14348
14349 2002-08-29  Michael Koch  <konqueror@gmx.de>
14350
14351         * java/net/DatagramPacket.java: updated to JDK 1.4 API
14352         new methods are:
14353         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
14354           address),
14355         DatagramPacket(byte[] buf, int length, SocketAddress address),
14356         void setSocketAddress(SocketAddress address)
14357         public SocketAddress getSocketAddress()
14358
14359 2002-08-29  Tom Tromey  <tromey@redhat.com>
14360
14361         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
14362         ftruncate is missing.
14363         * configure, include/config.h.in: Rebuilt.
14364         * acconfig.h (HAVE_FTRUNCATE): Mention.
14365         * configure.in: Check for ftruncate.
14366
14367 2002-08-29  Tom Tromey  <tromey@redhat.com>
14368
14369         * include/jvm.h (struct _Jv_frame_info): New structure.
14370         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
14371         java-interp.h.
14372         (lookupInterp): New method.
14373         (getAddrAsString): Use _Jv_frame_info.
14374         (dladdrLookup): Likewise.
14375         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
14376         interpreted frame.
14377         (lookupInterp): Declare.
14378         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
14379         (fillInStackTrace): Collect information on interpreted frames.
14380         Use _Jv_frame_info.
14381         * interpret.cc: Include Thread.h.
14382         (run): Create and push _Jv_MethodChain object.
14383         (_Jv_EndOfInterpreter): New global.
14384         * java/lang/Thread.java (interp_frame): New field.
14385         * include/java-interp.h (struct _Jv_MethodChain): New structure.
14386         Include NameFinder.h.
14387
14388 2002-08-28  Tom Tromey  <tromey@redhat.com>
14389
14390         * java/lang/Class.h: Include Package.h.
14391         (Class::getProtectionDomain): Declare.
14392         (Class::getPackage): Declare.
14393
14394 2002-08-28  Michael Koch <konqueror@gmx.de>
14395
14396         * java/net/InetSocketAddress.java: Added some documentation and argument
14397         checks for the port numbers.
14398         * java/net/DatagramSocketImplFactory.java: New file.
14399
14400 2002-08-28  Michael Koch <konqueror@gmx.de>
14401
14402         * java/net/Authenticator.java: added some documentation.
14403
14404 2002-08-27  Tom Tromey  <tromey@redhat.com>
14405
14406         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
14407         class.
14408         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
14409
14410 2002-08-27  Michael Koch <konqueror@gmx.de>
14411
14412         * java/net/BindException.java,
14413         java/net/JarURLConnection.java,
14414         java/net/FileNameMap.java,
14415         java/net/HttpURLConnection.java,
14416         java/net/InetSocketAddress.java,
14417         java/net/DatagramPacket.java,
14418         java/net/DatagramSocket.java,
14419         java/net/DatagramSocketImpl.java,
14420         java/net/MulticastSocket.java,
14421         java/net/PasswordAuthentication.java,
14422         java/net/ServerSocket.java,
14423         java/net/Socket.java,
14424         java/net/URLClassLoader.java,
14425         java/net/URLConnection.java: add/update of some @since/@deprecated
14426
14427 2002-08-27  Tony Kimball <alk@pobox.com>
14428             Tom Tromey  <tromey@redhat.com>
14429
14430         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
14431         define.
14432         (::close): Removed.
14433         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
14434         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
14435         (::close): Removed.
14436         (PlainSocketImpl::close): Use NATIVE_CLOSE.
14437         * include/win32.h (getcwd): Removed declaration.  Include io.h.
14438
14439 2002-08-25  Adam Megacz <adam@xwt.org>
14440
14441         * include/win32.h (getcwd): copied function declaration as
14442         temporary fix for header confusion.
14443
14444 2002-08-24  Mark Wielaard <mark@klomp.org>
14445
14446         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
14447         (core_java_source_files): Add VMThrowable.java and NameFinder.java
14448         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
14449         and natNameFinder.cc.
14450         * Makefile.in: Regenerate.
14451         * prims.cc: Use trace_enabled from VMThrowable.
14452         * name-finder.cc: Removed.
14453         * gcj/javaprims.h: Add class VMThrowable.
14454         * gnu/gcj/runtime/NameFinder.java: New file.
14455         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
14456         * include/name-finder.h: Removed.
14457         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
14458         method stackTraceString().
14459         (printStackTrace (PrintWriter)): Likewise.
14460         (stackTraceString): Complete rewrite of old printStackTrace using
14461         StringBuffer.
14462         (stackTraceStringBuffer): New helper method for stackTraceString().
14463         (fillInStackTrace): Delegate to VMTrowable.
14464         (getStackTrace): Likewise.
14465         (getStackTrace0): Removed.
14466         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
14467         (setStackTrace): Copy given array.
14468         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
14469         * java/lang/VMThrowable.java: New class.
14470         * java/lang/natVMThrowable.cc: New file.
14471
14472 2003-08-23  Michael Koch  <konqueror@gmx.de>
14473
14474         * java/net/URLConnection.java,
14475         java/netJarURLConnection.java,
14476         gnu/gcj/protocol/core/Connection.java,
14477         gnu/gcj/protocol/file/Connection.java,
14478         gnu/gcj/protocol/http/Connection.java: Added implementation of
14479         getHeaderFields().
14480
14481 2002-08-22  Tom Tromey  <tromey@redhat.com>
14482
14483         * gij.cc (help): Document -cp and -classpath.
14484         (main): Handle -classpath.
14485
14486 2002-08-21  Tom Tromey  <tromey@redhat.com>
14487
14488         * Makefile.in: Rebuilt.
14489         * Makefile.am (ordinary_java_source_files): Added
14490         SocketAddress.java, InetSocketAddress.java.
14491         * java/net/PortUnreachableException.java: Merged with Classpath.
14492         * java/net/SocketTimeoutException.java: Likewise.
14493         * java/net/URISyntaxException.java: Likewise.
14494         * java/net/SocketAddress.java: New class from Classpath.
14495         * java/net/InetSocketAddress.java: Likewise.
14496
14497 2003-08-21  Michael Koch  <konqueror@gmx.de>
14498
14499         * java/net/Authenticator.java: updated JDK 1.4
14500         * java/net/ContentHandler.java: updated JDK 1.4
14501
14502 2002-08-20  Michael Koch  <konqueror@gmx.de>
14503
14504         * java/net/URISyntaxException.java: New file.
14505         * java/net/SocketTimeoutException.java: New file.
14506         * java/net/PortUnreachableException.java: New file.
14507         * Makefile.am: Updated.
14508         * Makefile.in: Rebuilt.
14509
14510 2002-08-18  Mark Wielaard  <mark@klomp.org>
14511
14512         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
14513         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
14514         MessageDigestSpi (fixes Classpath bug #783).
14515
14516 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
14517
14518         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
14519         (startProcess): Allocate path for chdir in async-signal-safe way.
14520
14521 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
14522
14523         Fix for PR libgcj/7570 and PR libgcj/7578:
14524         * java/lang/natPosixProcess.cc: Include java/io/File.h.
14525         (startProcess): Handle new `dir' argument.
14526         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
14527         argument.
14528         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
14529         argument.
14530         (startProcess): Likewise.
14531         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
14532         argument.
14533         * java/lang/Runtime.java (execInternal): Added `dir' argument.
14534         (exec): Don't create new environment if ENV==null.  Pass DIR to
14535         execInternal.
14536         * java/lang/natRuntime.cc: Include java/io/File.h.
14537         (execInternal): Added `dir' argument.
14538
14539 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
14540
14541         * java/io/RandomAccessFile.java (skipBytes): Return number of
14542         bytes skipped.
14543
14544 2002-08-01  Mark Wielaard  <mark@klomp.org>
14545
14546         Reenable patch since shared library troubles on powerpc are solved:
14547         * gnu/java/security/provider/Gnu.java: Reference all implementation
14548         classes by using Class.getName().
14549         * gnu/java/security/der/DEREncodingException.java,
14550         gnu/java/security/provider/DERReader.java,
14551         gnu/java/security/provider/DERWriter.java,
14552         gnu/java/security/provider/DSAKeyPairGenerator.java,
14553         gnu/java/security/provider/DSAParameterGenerator.java,
14554         gnu/java/security/provider/DSAParameters.java,
14555         gnu/java/security/provider/DSASignature.java,
14556         gnu/java/security/provider/GnuDSAPrivateKey.java,
14557         gnu/java/security/provider/GnuDSAPublicKey.java,
14558         gnu/java/security/provider/MD5.java,
14559         gnu/java/security/util/Prime.java: New classes
14560         * Makefile.am (ordinary_java_source_files): Add above files.
14561         * Makefile.in: Regenerate.
14562         * gnu/java/security/provider/DefaultPolicy.java
14563         (getPermissions): Don't maintain static class variable of Permissions.
14564         * gnu/java/security/provider/SHA.java
14565         (engineUpdate): algorithm change.
14566         (engineDigest): algorithm change.
14567
14568 2002-08-09  Mark Wielaard  <mark@klomp.org>
14569
14570         * java/awt/image/MemoryImageSource.java: Change constructor to take
14571         int[] not byte[].
14572         * java/awt/Graphics2D.java: Uncomment methods that can now be
14573         compiled.
14574         * java/awt/GridBagLayout.java: New stub implementation.
14575         * javax/swing/text/html/HTML.java: Stub implementation.
14576         * javax/swing/text/html/parser/ParserDelegator.java: New stub
14577         implementation.
14578
14579         * Makefile.am: Add new files.
14580         * Makefile.in: Rebuilt.
14581
14582 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14583
14584         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
14585         methods in Graphics2D.
14586
14587 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14588
14589         AWT/Swing merge from GNU Classpath.
14590
14591         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
14592         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
14593         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
14594         java/awt/color/ProfileDataException.java,
14595         java/awt/CompositeContext.java, java/awt/Composite.java,
14596         java/awt/ContainerOrderFocusTraversalPolicy.java,
14597         java/awt/datatransfer/FlavorTable.java,
14598         java/awt/DefaultFocusTraversalPolicy.java,
14599         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
14600         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
14601         java/awt/dnd/DragGestureListener.java,
14602         java/awt/dnd/DragGestureRecognizer.java,
14603         java/awt/dnd/DragSourceAdapter.java,
14604         java/awt/dnd/DragSourceContext.java,
14605         java/awt/dnd/DragSourceDragEvent.java,
14606         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
14607         java/awt/dnd/DragSourceListener.java,
14608         java/awt/dnd/DragSourceMotionListener.java,
14609         java/awt/dnd/DropTarget.java,
14610         java/awt/dnd/InvalidDnDOperationException.java,
14611         java/awt/dnd/peer/DragSourceContextPeer.java,
14612         java/awt/event/AWTEventListenerProxy.java,
14613         java/awt/event/MouseWheelEvent.java,
14614         java/awt/event/MouseWheelListener.java,
14615         java/awt/event/WindowFocusListener.java,
14616         java/awt/event/WindowStateListener.java,
14617         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
14618         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
14619         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
14620         java/awt/geom/FlatteningPathIterator.java,
14621         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
14622         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
14623         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
14624         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
14625         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
14626         java/awt/image/ImagingOpException.java,
14627         java/awt/image/RasterFormatException.java,
14628         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
14629         java/awt/image/VolatileImage.java,
14630         java/awt/image/WritableRenderedImage.java,
14631         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
14632         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
14633         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
14634         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
14635         java/awt/PageAttributes.java, java/awt/print/Book.java,
14636         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
14637         java/awt/print/Paper.java, java/awt/print/Printable.java,
14638         java/awt/print/PrinterAbortException.java,
14639         java/awt/print/PrinterException.java,
14640         java/awt/print/PrinterGraphics.java,
14641         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
14642         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
14643         java/awt/Stroke.java, java/awt/TexturePaint.java,
14644         javax/accessibility/AccessibleAction.java,
14645         javax/accessibility/AccessibleBundle.java,
14646         javax/accessibility/AccessibleComponent.java,
14647         javax/accessibility/AccessibleContext.java,
14648         javax/accessibility/AccessibleEditableText.java,
14649         javax/accessibility/AccessibleExtendedComponent.java,
14650         javax/accessibility/AccessibleExtendedTable.java,
14651         javax/accessibility/AccessibleHyperlink.java,
14652         javax/accessibility/AccessibleHypertext.java,
14653         javax/accessibility/AccessibleIcon.java,
14654         javax/accessibility/Accessible.java,
14655         javax/accessibility/AccessibleKeyBinding.java,
14656         javax/accessibility/AccessibleRelation.java,
14657         javax/accessibility/AccessibleRelationSet.java,
14658         javax/accessibility/AccessibleResourceBundle.java,
14659         javax/accessibility/AccessibleRole.java,
14660         javax/accessibility/AccessibleSelection.java,
14661         javax/accessibility/AccessibleState.java,
14662         javax/accessibility/AccessibleStateSet.java,
14663         javax/accessibility/AccessibleTable.java,
14664         javax/accessibility/AccessibleTableModelChange.java,
14665         javax/accessibility/AccessibleText.java,
14666         javax/accessibility/AccessibleValue.java,
14667         javax/swing/AbstractAction.java,
14668         javax/swing/AbstractButton.java,
14669         javax/swing/AbstractCellEditor.java,
14670         javax/swing/AbstractListModel.java,
14671         javax/swing/AbstractSet.java, javax/swing/Action.java,
14672         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
14673         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
14674         javax/swing/border/CompoundBorder.java,
14675         javax/swing/border/EmptyBorder.java,
14676         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
14677         javax/swing/border/LineBorder.java,
14678         javax/swing/border/MatteBorder.java,
14679         javax/swing/border/TitledBorder.java,
14680         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
14681         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
14682         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
14683         javax/swing/CellRendererPane.java,
14684         javax/swing/colorchooser/AbstractColorChooserPanel.java,
14685         javax/swing/colorchooser/ColorChooserComponentFactory.java,
14686         javax/swing/colorchooser/ColorSelectionModel.java,
14687         javax/swing/colorchooser/DefaultColorSelectionModel.java,
14688         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
14689         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
14690         javax/swing/DefaultBoundedRangeModel.java,
14691         javax/swing/DefaultButtonModel.java,
14692         javax/swing/DefaultCellEditor.java,
14693         javax/swing/DefaultCellRenderer.java,
14694         javax/swing/DefaultComboBoxModel.java,
14695         javax/swing/DefaultDesktopManager.java,
14696         javax/swing/DefaultFocusManager.java,
14697         javax/swing/DefaultListCellRenderer.java,
14698         javax/swing/DefaultListModel.java,
14699         javax/swing/DefaultListSelectionModel.java,
14700         javax/swing/DefaultSingleSelectionModel.java,
14701         javax/swing/DesktopManager.java,
14702         javax/swing/event/AncestorEvent.java,
14703         javax/swing/event/AncestorListener.java,
14704         javax/swing/event/CaretEvent.java,
14705         javax/swing/event/CaretListener.java,
14706         javax/swing/event/CellEditorListener.java,
14707         javax/swing/event/ChangeEvent.java,
14708         javax/swing/event/ChangeListener.java,
14709         javax/swing/event/DocumentEvent.java,
14710         javax/swing/event/DocumentListener.java,
14711         javax/swing/event/EventListenerList.java,
14712         javax/swing/event/HyperlinkEvent.java,
14713         javax/swing/event/HyperlinkListener.java,
14714         javax/swing/event/InternalFrameAdapter.java,
14715         javax/swing/event/InternalFrameEvent.java,
14716         javax/swing/event/InternalFrameListener.java,
14717         javax/swing/event/ListDataEvent.java,
14718         javax/swing/event/ListDataListener.java,
14719         javax/swing/event/ListSelectionEvent.java,
14720         javax/swing/event/ListSelectionListener.java,
14721         javax/swing/event/MenuDragMouseEvent.java,
14722         javax/swing/event/MenuDragMouseListener.java,
14723         javax/swing/event/MenuEvent.java,
14724         javax/swing/event/MenuKeyEvent.java,
14725         javax/swing/event/MenuKeyListener.java,
14726         javax/swing/event/MenuListener.java,
14727         javax/swing/event/MouseInputAdapter.java,
14728         javax/swing/event/MouseInputListener.java,
14729         javax/swing/event/PopupMenuEvent.java,
14730         javax/swing/event/PopupMenuListener.java,
14731         javax/swing/event/SwingPropertyChangeSupport.java,
14732         javax/swing/event/TableColumnModelEvent.java,
14733         javax/swing/event/TableColumnModelListener.java,
14734         javax/swing/event/TableModelEvent.java,
14735         javax/swing/event/TableModelListener.java,
14736         javax/swing/event/TreeExpansionEvent.java,
14737         javax/swing/event/TreeExpansionListener.java,
14738         javax/swing/event/TreeModelEvent.java,
14739         javax/swing/event/TreeModelListener.java,
14740         javax/swing/event/TreeSelectionEvent.java,
14741         javax/swing/event/TreeSelectionListener.java,
14742         javax/swing/event/TreeWillExpandListener.java,
14743         javax/swing/event/UndoableEditEvent.java,
14744         javax/swing/event/UndoableEditListener.java,
14745         javax/swing/filechooser/FileFilter.java,
14746         javax/swing/filechooser/FileSystemView.java,
14747         javax/swing/filechooser/FileView.java,
14748         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
14749         javax/swing/Icon.java, javax/swing/ImageIcon.java,
14750         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
14751         javax/swing/JApplet.java, javax/swing/JButton.java,
14752         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
14753         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
14754         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
14755         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
14756         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
14757         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
14758         javax/swing/JLayeredPane.java, javax/swing/JList.java,
14759         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
14760         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
14761         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
14762         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
14763         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
14764         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
14765         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
14766         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
14767         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
14768         javax/swing/JTextField.java, javax/swing/JTextPane.java,
14769         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
14770         javax/swing/JToolTip.java, javax/swing/JTree.java,
14771         javax/swing/JViewport.java, javax/swing/JWindow.java,
14772         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
14773         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
14774         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
14775         javax/swing/MenuSelectionManager.java,
14776         javax/swing/MutableComboBoxModel.java,
14777         javax/swing/OverlayLayout.java,
14778         javax/swing/plaf/ActionMapUIResource.java,
14779         javax/swing/plaf/basic/BasicBorders.java,
14780         javax/swing/plaf/basic/BasicButtonUI.java,
14781         javax/swing/plaf/basic/BasicCheckBoxUI.java,
14782         javax/swing/plaf/basic/BasicDefaults.java,
14783         javax/swing/plaf/basic/BasicGraphicsUtils.java,
14784         javax/swing/plaf/basic/BasicIconFactory.java,
14785         javax/swing/plaf/basic/BasicLabelUI.java,
14786         javax/swing/plaf/basic/BasicListUI.java,
14787         javax/swing/plaf/basic/BasicLookAndFeel.java,
14788         javax/swing/plaf/basic/BasicOptionPaneUI.java,
14789         javax/swing/plaf/basic/BasicPanelUI.java,
14790         javax/swing/plaf/basic/BasicRadioButtonUI.java,
14791         javax/swing/plaf/basic/BasicScrollPaneUI.java,
14792         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
14793         javax/swing/plaf/basic/BasicTextUI.java,
14794         javax/swing/plaf/basic/BasicToggleButtonUI.java,
14795         javax/swing/plaf/basic/BasicTreeUI.java,
14796         javax/swing/plaf/basic/BasicViewportUI.java,
14797         javax/swing/plaf/BorderUIResource.java,
14798         javax/swing/plaf/ButtonUI.java,
14799         javax/swing/plaf/ColorChooserUI.java,
14800         javax/swing/plaf/ColorUIResource.java,
14801         javax/swing/plaf/ComboBoxUI.java,
14802         javax/swing/plaf/ComponentInputMapUIResource.java,
14803         javax/swing/plaf/ComponentUI.java,
14804         javax/swing/plaf/DesktopIconUI.java,
14805         javax/swing/plaf/DesktopPaneUI.java,
14806         javax/swing/plaf/DimensionUIResource.java,
14807         javax/swing/plaf/FileChooserUI.java,
14808         javax/swing/plaf/FontUIResource.java,
14809         javax/swing/plaf/IconUIResource.java,
14810         javax/swing/plaf/InputMapUIResource.java,
14811         javax/swing/plaf/InsetsUIResource.java,
14812         javax/swing/plaf/InternalFrameUI.java,
14813         javax/swing/plaf/LabelUI.java,
14814         javax/swing/plaf/ListUI.java,
14815         javax/swing/plaf/MenuBarUI.java,
14816         javax/swing/plaf/MenuItemUI.java,
14817         javax/swing/plaf/OptionPaneUI.java,
14818         javax/swing/plaf/PanelUI.java,
14819         javax/swing/plaf/PopupMenuUI.java,
14820         javax/swing/plaf/ProgressBarUI.java,
14821         javax/swing/plaf/RootPaneUI.java,
14822         javax/swing/plaf/ScrollBarUI.java,
14823         javax/swing/plaf/ScrollPaneUI.java,
14824         javax/swing/plaf/SeparatorUI.java,
14825         javax/swing/plaf/SliderUI.java,
14826         javax/swing/plaf/SplitPaneUI.java,
14827         javax/swing/plaf/TabbedPaneUI.java,
14828         javax/swing/plaf/TableHeaderUI.java,
14829         javax/swing/plaf/TableUI.java,
14830         javax/swing/plaf/TextUI.java,
14831         javax/swing/plaf/ToolBarUI.java,
14832         javax/swing/plaf/ToolTipUI.java,
14833         javax/swing/plaf/TreeUI.java,
14834         javax/swing/plaf/UIResource.java,
14835         javax/swing/plaf/ViewportUI.java,
14836         javax/swing/ProgressMonitorInputStream.java,
14837         javax/swing/ProgressMonitor.java,
14838         javax/swing/Renderer.java,
14839         javax/swing/RepaintManager.java,
14840         javax/swing/RootPaneContainer.java,
14841         javax/swing/Scrollable.java,
14842         javax/swing/ScrollPaneConstants.java,
14843         javax/swing/ScrollPaneLayout.java,
14844         javax/swing/SingleSelectionModel.java,
14845         javax/swing/SizeRequirements.java,
14846         javax/swing/SizeSequence.java,
14847         javax/swing/SwingConstants.java,
14848         javax/swing/SwingUtilities.java,
14849         javax/swing/table/AbstractTableModel.java,
14850         javax/swing/table/DefaultTableCellRenderer.java,
14851         javax/swing/table/DefaultTableColumnModel.java,
14852         javax/swing/table/DefaultTableModel.java,
14853         javax/swing/table/TableCellEditor.java,
14854         javax/swing/table/TableCellRenderer.java,
14855         javax/swing/table/TableColumn.java,
14856         javax/swing/table/TableColumnModel.java,
14857         javax/swing/table/TableModel.java,
14858         javax/swing/text/AbstractDocument.java,
14859         javax/swing/text/AttributeSet.java,
14860         javax/swing/text/BadLocationException.java,
14861         javax/swing/text/Caret.java,
14862         javax/swing/text/CharacterIterator.java,
14863         javax/swing/text/ComponentView.java,
14864         javax/swing/text/DefaultCaret.java,
14865         javax/swing/text/DefaultEditorKit.java,
14866         javax/swing/text/Document.java,
14867         javax/swing/text/EditorKit.java,
14868         javax/swing/text/Element.java,
14869         javax/swing/text/GapContent.java,
14870         javax/swing/text/JTextComponent.java,
14871         javax/swing/text/Keymap.java,
14872         javax/swing/text/MutableAttributeSet.java,
14873         javax/swing/text/PlainDocument.java,
14874         javax/swing/text/PlainEditorKit.java,
14875         javax/swing/text/Position.java,
14876         javax/swing/text/Segment.java,
14877         javax/swing/text/StyledDocument.java,
14878         javax/swing/text/StyledEditorKit.java,
14879         javax/swing/text/Style.java,
14880         javax/swing/text/TextAction.java,
14881         javax/swing/text/ViewFactory.java,
14882         javax/swing/text/View.java,
14883         javax/swing/Timer.java,
14884         javax/swing/ToggleButtonModel.java,
14885         javax/swing/ToolTipManager.java,
14886         javax/swing/tree/AbstractLayoutCache.java,
14887         javax/swing/tree/DefaultMutableTreeNode.java,
14888         javax/swing/tree/DefaultTreeCellEditor.java,
14889         javax/swing/tree/DefaultTreeCellRenderer.java,
14890         javax/swing/tree/DefaultTreeModel.java,
14891         javax/swing/tree/DefaultTreeSelectionModel.java,
14892         javax/swing/tree/ExpandVetoException.java,
14893         javax/swing/tree/FixedHeightLayoutCache.java,
14894         javax/swing/tree/MutableTreeNode.java,
14895         javax/swing/tree/RowMapper.java,
14896         javax/swing/tree/TreeCellEditor.java,
14897         javax/swing/tree/TreeCellRenderer.java,
14898         javax/swing/tree/TreeModel.java,
14899         javax/swing/tree/TreeNode.java,
14900         javax/swing/tree/TreePath.java,
14901         javax/swing/tree/TreeSelectionModel.java,
14902         javax/swing/tree/VariableHeightLayoutCache.java,
14903         javax/swing/UIDefaults.java,
14904         javax/swing/UIManager.java,
14905         javax/swing/undo/AbstractUndoableEdit.java,
14906         javax/swing/undo/CannotRedoException.java,
14907         javax/swing/undo/CannotUndoException.java,
14908         javax/swing/undo/CompoundEdit.java,
14909         javax/swing/undo/StateEditable.java,
14910         javax/swing/undo/StateEdit.java,
14911         javax/swing/undo/UndoableEdit.java,
14912         javax/swing/undo/UndoableEditSupport.java,
14913         javax/swing/undo/UndoManager.java,
14914         javax/swing/UnsupportedLookAndFeelException.java,
14915         javax/swing/ViewportLayout.java,
14916         javax/swing/WindowConstants.java: New files, from GNU Classpath.
14917
14918         * java/awt/ActiveEvent.java,
14919         java/awt/Adjustable.java, java/awt/AWTError.java,
14920         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
14921         java/awt/AWTException.java, java/awt/AWTPermission.java,
14922         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
14923         java/awt/Color.java, java/awt/Component.java,
14924         java/awt/ComponentOrientation.java, java/awt/Container.java,
14925         java/awt/datatransfer/MimeTypeParseException.java,
14926         java/awt/datatransfer/Transferable.java,
14927         java/awt/datatransfer/UnsupportedFlavorException.java,
14928         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
14929         java/awt/event/ActionListener.java,
14930         java/awt/event/AdjustmentEvent.java,
14931         java/awt/event/AdjustmentListener.java,
14932         java/awt/event/AWTEventListener.java,
14933         java/awt/event/ComponentAdapter.java,
14934         java/awt/event/ComponentEvent.java,
14935         java/awt/event/ComponentListener.java,
14936         java/awt/event/ContainerAdapter.java,
14937         java/awt/event/ContainerEvent.java,
14938         java/awt/event/ContainerListener.java,
14939         java/awt/event/FocusAdapter.java,
14940         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
14941         java/awt/event/HierarchyBoundsAdapter.java,
14942         java/awt/event/HierarchyBoundsListener.java,
14943         java/awt/event/HierarchyEvent.java,
14944         java/awt/event/HierarchyListener.java,
14945         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
14946         java/awt/event/InputMethodListener.java,
14947         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
14948         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
14949         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
14950         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
14951         java/awt/event/MouseListener.java,
14952         java/awt/event/MouseMotionAdapter.java,
14953         java/awt/event/MouseMotionListener.java,
14954         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
14955         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
14956         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
14957         java/awt/event/WindowListener.java, java/awt/Font.java,
14958         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
14959         java/awt/geom/Ellipse2D.java,
14960         java/awt/geom/IllegalPathStateException.java,
14961         java/awt/geom/Line2D.java,
14962         java/awt/geom/NoninvertibleTransformException.java,
14963         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
14964         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
14965         java/awt/geom/RoundRectangle2D.java,
14966         java/awt/GraphicsConfiguration.java,
14967         java/awt/IllegalComponentStateException.java,
14968         java/awt/image/IndexColorModel.java,
14969         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
14970         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
14971         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
14972         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
14973         java/awt/MenuItem.java, java/awt/PaintContext.java,
14974         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
14975         java/awt/Polygon.java, java/awt/PrintGraphics.java,
14976         java/awt/PrintJob.java, java/awt/Rectangle.java,
14977         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
14978         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
14979         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
14980
14981         * java/awt/im/spi/InputMethod.java,
14982         java/awt/im/spi/InputMethodContext.java,
14983         java/awt/im/spi/InputMethodDescriptor.java,
14984         java/awt/image/renderable/ContextualRenderedImageFactory.java,
14985         java/awt/image/renderable/ParameterBlock.java,
14986         java/awt/image/renderable/RenderContext.java,
14987         java/awt/image/renderable/RenderableImage.java,
14988         java/awt/image/renderable/RenderableImageOp.java,
14989         java/awt/image/renderable/RenderableImageProducer.java,
14990         java/awt/image/renderable/RenderedImageFactory.java: New files from
14991         classpath.
14992
14993         * gnu/java/awt/EventModifier.java,
14994         gnu/java/awt/image/ImageDecoder.java,
14995         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
14996
14997         * gnu/awt/xlib/XGraphicsConfiguration.java,
14998         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
14999         API.
15000
15001         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
15002         GNU Classpath.
15003
15004         * Makefile.am: Add new files.
15005         * Makefile.in: Rebuilt.
15006
15007 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15008
15009         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
15010         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
15011         findResource, getResources, findResources): Add javadoc from classpath.
15012         (getSystemResources): Implemented.
15013
15014 2002-08-01  Mark Wielaard  <mark@klomp.org>
15015
15016         Revert patch that breaks libgcj shared library on powerpc:
15017         * gnu/java/security/provider/Gnu.java: Reverse referencing all
15018         implementation classes by using Class.getName(). Uses Strings again.
15019         * gnu/java/security/der/DEREncodingException.java,
15020         gnu/java/security/provider/DERReader.java,
15021         gnu/java/security/provider/DERWriter.java,
15022         gnu/java/security/provider/DSAKeyPairGenerator.java,
15023         gnu/java/security/provider/DSAParameterGenerator.java,
15024         gnu/java/security/provider/DSAParameters.java,
15025         gnu/java/security/provider/DSASignature.java,
15026         gnu/java/security/provider/GnuDSAPrivateKey.java,
15027         gnu/java/security/provider/GnuDSAPublicKey.java,
15028         gnu/java/security/provider/MD5.java,
15029         gnu/java/security/util/Prime.java: Removed.
15030         * Makefile.am (ordinary_java_source_files): Remove above files.
15031         * Makefile.in: Regenerate.
15032         * gnu/java/security/provider/DefaultPolicy.java
15033         (getPermissions): Revert to maintaining static class variable of
15034         Permissions.
15035         * gnu/java/security/provider/SHA.java
15036         (engineUpdate): Revert algorithm change.
15037         (engineDigest): Revert algorithm change.
15038
15039 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
15040
15041         * configure.host: Add SH support.
15042         * sysdep/sh/locks.h: New file.
15043
15044 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15045
15046         * java/awt/Frame.java (Frame): Remove println calls.
15047
15048 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
15049
15050         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
15051         * configure: Rebuilt.
15052
15053 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
15054
15055         * sysdep/powerpc/locks.h: Formatting.
15056         (_LARX): Define.
15057         (_STCX): Define.
15058         (compare_and_swap): Use _LARX and _STCX.
15059         (compare_and_swap_release): Likewise.
15060
15061 2002-07-26  Tom Tromey  <tromey@redhat.com>
15062
15063         * java/net/Authenticator.java: New version from Classpath.
15064         * java/net/DatagramSocketImpl.java: New version from Classpath.
15065
15066 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
15067
15068         * configure.host: Add powerpc64*-* entry.
15069
15070 2002-07-26  Tom Tromey  <tromey@redhat.com>
15071
15072         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
15073         fcntl.h.
15074
15075 2002-07-24  Tom Tromey  <tromey@redhat.com>
15076
15077         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
15078         argument to _load.
15079
15080 2002-07-24  Tom Tromey  <tromey@redhat.com>
15081             Tony Kimball <alk@pobox.com>
15082
15083         * java/io/natFileDescriptorWin32.cc (setLength): New method.
15084         * java/io/natFileDescriptorPosix.cc (setLength): New method.
15085         * java/io/RandomAccessFile.java (setLength): New method.
15086         * java/io/natFileDescriptorEcos.cc (setLength): New method.
15087         * java/io/FileDescriptor.java (setLength): New method.
15088
15089 2002-07-24  Mark Wielaard  <mark@klomp.org>
15090
15091         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
15092         * java/io/ObjectInputStream.java (setBooleanField): Before setting
15093         field call setAccessible(true).
15094         (setByteField): Likewise.
15095         (setCharField): Likewise.
15096         (setDoubleField): Likewise.
15097         (setFloatField): Likewise.
15098         (setIntField): Likewise.
15099         (setLongField): Likewise.
15100         (setShortField): Likewise.
15101         (setObjectField): Likewise.
15102
15103 2002-07-24  Tom Tromey  <tromey@redhat.com>
15104
15105         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
15106         use toString() to format array element.
15107
15108 2002-07-23  Mark Wielaard  <mark@klomp.org>
15109
15110         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
15111         MessageDigestSpi (fixes Classpath bug #783).
15112
15113 2002-07-21  Mark Wielaard  <mark@klomp.org>
15114
15115         * gnu/java/security/provider/Gnu.java: Reference all implementation
15116         classes by using Class.getName().
15117
15118 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
15119
15120         * java/lang/ieeefp.h: Add x86-64 support.
15121         * configure.in: Likewise.
15122         * configure.host: Likewise.
15123         * configure: Regenerated.
15124         * sysdep/x86-64/locks.h: New file with x86-64 locks.
15125
15126 2002-07-16  Mark Wielaard  <mark@klomp.org>
15127
15128         * java/io/StreamTokenizer.java (pushBack): Update documentation.
15129         (whitespaceChars): call resetChar().
15130
15131 2002-07-15  Tom Tromey  <tromey@redhat.com>
15132
15133         * Makefile.in: Rebuilt.
15134         * Makefile.am (awt_java_source_files): Added new files.
15135         * java/beans/ExceptionListener.java: Merged with Classpath.
15136         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
15137         * java/beans/PropertyChangeListener.java: Merged with Classpath.
15138         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
15139         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
15140         * java/beans/VetoableChangeListener.java: Merged with Classpath.
15141         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
15142         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
15143
15144 2002-07-14  Mark Wielaard  <mark@klomp.org>
15145
15146         * gnu/java/security/der/DEREncodingException.java,
15147         gnu/java/security/provider/DERReader.java,
15148         gnu/java/security/provider/DERWriter.java,
15149         gnu/java/security/provider/DSAKeyPairGenerator.java,
15150         gnu/java/security/provider/DSAParameterGenerator.java,
15151         gnu/java/security/provider/DSAParameters.java,
15152         gnu/java/security/provider/DSASignature.java,
15153         gnu/java/security/provider/GnuDSAPrivateKey.java,
15154         gnu/java/security/provider/GnuDSAPublicKey.java,
15155         gnu/java/security/provider/MD5.java,
15156         gnu/java/security/util/Prime.java: New files from Classpath.
15157         * Makefile.am (ordinary_java_source_files): Add new files.
15158         * Makefile.in: Regenerate.
15159
15160 2002-07-14  C. Brian Jones <cbj@gnu.org>
15161
15162         * gnu/java/security/provider/DefaultPolicy.java
15163         (getPermissions): do not maintain static class variable of
15164         Permissions
15165         * gnu/java/security/provider/SHA.java
15166         (engineUpdate): algorithm change
15167         (engineDigest): algorithm change
15168
15169 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
15170
15171         For PR libgcj/7292:
15172         * java/lang/Character.java (toString(char)): Now static.
15173
15174 2002-07-12  Mark Wielaard  <mark@klomp.org>
15175
15176         * java/lang/natThrowable.cc (printRawStackTrace): removed.
15177         (getStackTrace0): new method.
15178         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
15179         (printStackTrace(PrintWriter)): replace with pure java implementation.
15180         (printRawStackTrace): removed.
15181         (getStackTrace0): new method.
15182         * java/lang/StackTraceElement.java (toString): add extra whitespace.
15183         * gcj/javaprims.h: regenerate class list.
15184         * include/name-finder.h (lookup): new returns StackTraceElement*.
15185         (method_name, file_name): fields removed.
15186         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
15187         (~_Jv_name_finder): close new descriptors.
15188         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
15189         (createStackTraceElement): new method.
15190         (lookup): returns StackTraceElement*, uses createStackTraceElement().
15191
15192 2002-07-10  Tom Tromey  <tromey@redhat.com>
15193
15194         * configure: Rebuilt.
15195         * configure.in: Use `test' after `&&'.  From Chris Faylor.
15196
15197 2002-07-08  Mark Wielaard  <mark@klomp.org>
15198
15199         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
15200         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
15201         java.sql.DatabaseMetaData.TestJdbc20
15202
15203 2002-07-05  Tony Kimball  <alk@pobox.com>
15204
15205         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
15206
15207 2002-07-04  Tom Tromey  <tromey@redhat.com>
15208             Jeff Sturm  <jsturm@one-point.com>
15209
15210         Fix for PR libgcj/7060:
15211         * java/lang/Class.h (_getMethod): Renamed from getMethod.
15212         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
15213         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
15214         * java/lang/Class.java (getMethod): New Java implementation;
15215         complies with spec.
15216         (_getMethod): New native method.
15217
15218 2002-07-02  Tom Tromey  <tromey@redhat.com>
15219             David Hovemeyer  <daveho@cs.umd.edu>
15220
15221         * java/text/ChoiceFormat.java
15222         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
15223         in check loop.
15224         * java/text/MessageFormat.java
15225         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
15226         to MessageFormat.
15227
15228 2002-07-01  Tom Tromey  <tromey@redhat.com>
15229
15230         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
15231         StringTokenizer on null string.  For PR libgcj/7180.
15232         From daveho@cs.umd.edu.
15233
15234 2002-06-24  Tom Tromey  <tromey@redhat.com>
15235
15236         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
15237         (IntegerClass): Likewise.
15238         * java/lang/natClass.cc (CloneableClass): Removed.
15239         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
15240         ConstructorClass): Likewise.
15241         * java/lang/natClassLoader.cc (CloneableClass): Removed.
15242         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
15243         SerializableClass): Likewise.
15244         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
15245         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
15246         LongClass, FloatClass, DoubleClass): Likewise.
15247
15248         * verify.cc (branch_prepass): Updated for change to exception
15249         handler type.
15250         (verify_instructions_0): Likewise.
15251         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
15252         (handleExceptionTableEntry): Updated for change to exception
15253         handler type.
15254         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
15255         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
15256         (union _Jv_InterpPC): New.
15257         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
15258         (class _Jv_InterpMethod): Added new `prepared' field.
15259         (class _Jv_InterpMethod): Added `compile' method.  Removed
15260         `continue1' and `find_exception'.  Changed arguments to `run'.
15261         * interpret.cc (union insn_slot): New.
15262         (find_exception): Removed.
15263         (run_normal): Removed most logic.
15264         (run_synch_object): Likewise; also, use JvSynchronize.
15265         (run_synch_class): Likewise.
15266         (run): Removed.
15267         (continue1): Renamed as `run'.  Compile bytecode if required.
15268         Add new code to allow refinement of direct-threaded code at
15269         runtime.  Handle exceptions.
15270         (SAVE_PC): Removed.
15271         (compile): New method.
15272         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
15273         (NULLARRAYCHECK): Don't use SAVE_PC.
15274         (pc_t): New typedef.
15275         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
15276         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
15277
15278 2002-06-23  Tom Tromey  <tromey@redhat.com>
15279
15280         * configure: Rebuilt.
15281         * configure.in (INTERPRETER): New subst.
15282         (AM_RUNTESTFLAGS): Don't subst.
15283
15284         * Makefile.in: Rebuilt.
15285         * Makefile.am ($(srcdir)/java/lang/Object.h,
15286         $(srcdir)/java/lang/Class.h): Added dummy targets.
15287
15288 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15289
15290         Reformat JDBC classes and add new JDK 1.4 classes and methods.
15291
15292         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
15293         java/sql/Savepoint.java: New files.
15294         * java/sql/Array.java, java/sql/BatchUpdateException.java,
15295         java/sql/Blob.java, java/sql/CallableStatement.java,
15296         java/sql/Clob.java, java/sql/Connection.java,
15297         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
15298         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
15299         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
15300         java/sql/Ref.java, java/sql/ResultSet.java,
15301         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
15302         java/sql/SQLException.java, java/sql/SQLInput.java,
15303         java/sql/SQLOutput.java, java/sql/SQLWarning.java
15304         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
15305         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
15306         (JDK 1.4) specification.
15307         * javax/sql/ConnectionEvent.java,
15308         javax/sql/ConnectionEventListener.java,
15309         javax/sql/ConnectionPoolDataSource.java,
15310         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
15311         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
15312         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
15313         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
15314         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
15315         javax/sql/XADataSource.java: New files.
15316         * Makefile.am: Add new files.
15317         * Makefile.in: Rebuilt.
15318
15319 2002-06-20  Tom Tromey  <tromey@redhat.com>
15320
15321         For PR libgcj/7073:
15322         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
15323         exists.
15324         * defineclass.cc (handleClassBegin): Superclass for interface is
15325         `null'.
15326
15327 2002-06-18  Tom Tromey  <tromey@redhat.com>
15328
15329         * gcj/javaprims.h: Updated class declaration list.
15330         * Makefile.in: Rebuilt.
15331         * Makefile.am (core_java_source_files): Removed
15332         BasicMapEntry.java.
15333         * java/util/BasicMapEntry.java: Removed.
15334
15335 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
15336
15337         * java/net/natPlainDatagramSocketImpl.cc (receive):
15338         Check bounds of argument to FD_SET.
15339         (setOption): Throw exception if socket is closed.
15340
15341         * java/net/natPlainSocketImpl.cc (accept, read):
15342         Check bounds of argument to FD_SET.
15343         (setOption): Throw exception if socket is closed.
15344
15345 2002-06-18  Tom Tromey  <tromey@redhat.com>
15346
15347         * gcj/javaprims.h: Updated class declaration list.
15348         * Makefile.in: Rebuilt.
15349         * Makefile.am (core_java_source_files): Added
15350         PropertyPermissionCollection.java.
15351         * java/lang/Thread.java (group, name): Now package-private.
15352         * java/lang/ThreadGroup.java: Re-merge with Classpath.
15353         * java/util/AbstractList.java: Likewise.
15354         * java/util/AbstractMap.java: Likewise.
15355         * java/util/Calendar.java: Likewise.
15356         * java/util/Collections.java: Likewise.
15357         * java/util/HashMap.java: Likewise.
15358         * java/util/Hashtable.java: Likewise.
15359         * java/util/LinkedHashMap.java: Likewise.
15360         * java/util/LinkedList.java: Likewise.
15361         * java/util/List.java: Likewise.
15362         * java/util/ListResourceBundle.java: Likewise.
15363         * java/util/Map.java: Likewise.
15364         * java/util/Observable.java: Likewise.
15365         * java/util/Properties.java: Likewise.
15366         * java/util/PropertyPermission.java: Likewise.
15367         * java/util/PropertyPermissionCollection.java: Likewise.
15368         * java/util/PropertyResourceBundle.java: Likewise.
15369         * java/util/Random.java: Likewise.
15370         * java/util/SimpleTimeZone.java: Likewise.
15371         * java/util/StringTokenizer.java: Likewise.
15372         * java/util/TimerTask.java: Likewise.
15373         * java/util/TreeMap.java: Likewise.
15374         * java/util/WeakHashMap.java: Likewise.
15375         * java/util/jar/Attributes.java: Likewise.
15376         * java/util/jar/JarException.java: Likewise.
15377         * java/util/jar/Manifest.java: Likewise.
15378
15379 2002-06-17  Tom Tromey  <tromey@redhat.com>
15380
15381         * gcj/javaprims.h: Updated class declaration list.
15382         * Makefile.in: Rebuilt.
15383         * Makefile.am (core_java_source_files): Added new file.
15384         * java/util/EventListenerProxy.java: New file.
15385         * java/util/EventListener.java: Re-merge with Classpath.
15386         * java/util/EventObject.java: Re-merge with Classpath.
15387
15388 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
15389
15390         * java/lang/ClassNotFoundException.java: New Classpath version.
15391
15392 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
15393
15394         * java/rmi/activation/ActivateFailedException.java: Remerge from
15395         Classpath version.
15396         * java/rmi/activation/ActivationException.java: Ditto.
15397         * java/rmi/activation/UnknownGroupException.java: Ditto.
15398         * java/rmi/activation/UnknownObjectException.java: Ditto.
15399         * java/rmi/server/ExportException: Ditto.
15400         * java/rmi/server/ServerCloneException: Ditto.
15401         * java/rmi/server/ServerNotActiveException: Ditto.
15402         * java/rmi/server/SkeletonMismatchException: Ditto.
15403         * java/rmi/server/SkeletonNotFoundException: Ditto.
15404         * java/rmi/server/SocketSecurityException: Ditto.
15405
15406 2002-06-16  Tom Tromey  <tromey@redhat.com>
15407
15408         * gcj/javaprims.h: Updated class declaration list.
15409
15410         * java/io/LineNumberInputStream.java: Merged with Classpath.
15411
15412         * java/lang/RuntimeException.java: Re-merge with Classpath.
15413         * java/util/ArrayList.java: Likewise.
15414         * java/util/Arrays.java: Likewise.
15415         * java/util/BitSet.java: Likewise.
15416         * java/util/Dictionary.java: Likewise.
15417         * java/util/IdentityHashMap.java: Likewise.
15418         * java/util/MissingResourceException.java: Likewise.
15419         * java/util/Observer.java: Likewise.
15420         * java/util/TooManyListenersException.java: Likewise.
15421         * java/util/zip/DataFormatException.java: Likewise.
15422         * java/util/zip/ZipException.java: Likewise.
15423
15424 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
15425
15426         * java/rmi/AccessException.java: Remerge from Classpath.
15427         * java/rmi/AlreadyBoundException.java: Ditto.
15428         * java/rmi/ConnectException.java: Ditto.
15429         * java/rmi/ConnectIOException.java: Ditto.
15430         * java/rmi/MarshalException.java: Ditto.
15431         * java/rmi/NoSuchObjectException.java: Ditto.
15432         * java/rmi/NotBoundException.java: Ditto.
15433         * java/rmi/RemoteException.java: Ditto.
15434         * java/rmi/RMISecurityException.java: Ditto.
15435         * java/rmi/ServerError.java: Ditto.
15436         * java/rmi/ServerException.java: Ditto.
15437         * java/rmi/ServerRuntimeException.java: Ditto.
15438         * java/rmi/StubNotFoundException.java: Ditto.
15439         * java/rmi/UnexpectedExcpetion.java: Ditto.
15440         * java/rmi/UnknownHostException.java: Ditto.
15441         * java/rmi/UnmarshalException.java: Ditto.
15442
15443 2002-06-15  Tom Tromey  <tromey@redhat.com>
15444
15445         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
15446         * java/lang/ArithmeticException.java: Likewise.
15447         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
15448         * java/lang/ArrayStoreException.java: Likewise.
15449         * java/lang/Byte.java: Likewise.
15450         * java/lang/CharSequence.java: Likewise.
15451         * java/lang/ClassCastException.java: Likewise.
15452         * java/lang/ClassCircularityError.java: Likewise.
15453         * java/lang/ClassFormatError.java: Likewise.
15454         * java/lang/CloneNotSupportedException.java: Likewise.
15455         * java/lang/Cloneable.java: Likewise.
15456         * java/lang/Comparable.java: Likewise.
15457         * java/lang/Compiler.java: Likewise.
15458         * java/lang/Error.java: Likewise.
15459         * java/lang/ExceptionInInitializerError.java: Likewise.
15460         * java/lang/IllegalAccessError.java: Likewise.
15461         * java/lang/IllegalAccessException.java: Likewise.
15462         * java/lang/IllegalArgumentException.java: Likewise.
15463         * java/lang/IllegalMonitorStateException.java: Likewise.
15464         * java/lang/IllegalStateException.java: Likewise.
15465         * java/lang/IllegalThreadStateException.java: Likewise.
15466         * java/lang/IncompatibleClassChangeError.java: Likewise.
15467         * java/lang/IndexOutOfBoundsException.java: Likewise.
15468         * java/lang/InheritableThreadLocal.java: Likewise.
15469         * java/lang/InstantiationError.java: Likewise.
15470         * java/lang/InstantiationException.java: Likewise.
15471         * java/lang/InternalError.java: Likewise.
15472         * java/lang/InterruptedException.java: Likewise.
15473         * java/lang/LinkageError.java: Likewise.
15474         * java/lang/NegativeArraySizeException.java: Likewise.
15475         * java/lang/NoClassDefFoundError.java: Likewise.
15476         * java/lang/NoSuchFieldError.java: Likewise.
15477         * java/lang/NoSuchFieldException.java: Likewise.
15478         * java/lang/NoSuchMethodError.java: Likewise.
15479         * java/lang/NoSuchMethodException.java: Likewise.
15480         * java/lang/NullPointerException.java: Likewise.
15481         * java/lang/NumberFormatException.java: Likewise.
15482         * java/lang/OutOfMemoryError.java: Likewise.
15483         * java/lang/Process.java: Likewise.
15484         * java/lang/Runnable.java: Likewise.
15485         * java/lang/RuntimePermission.java: Likewise.
15486         * java/lang/SecurityException.java: Likewise.
15487         * java/lang/Short.java: Likewise.
15488         * java/lang/StackOverflowError.java: Likewise.
15489         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
15490         * java/lang/ThreadDeath.java: Likewise.
15491         * java/lang/ThreadLocal.java: Likewise.
15492         * java/lang/UnknownError.java: Likewise.
15493         * java/lang/UnsatisfiedLinkError.java: Likewise.
15494         * java/lang/UnsupportedClassVersionError.java: Likewise.
15495         * java/lang/UnsupportedOperationException.java: Likewise.
15496         * java/lang/VerifyError.java: Likewise.
15497         * java/lang/VirtualMachineError.java: Likewise.
15498         * java/lang/reflect/InvocationTargetException.java: Likewise.
15499         * java/net/BindException.java: Likewise.
15500         * java/net/ConnectException.java: Likewise.
15501         * java/net/MalformedURLException.java: Likewise.
15502         * java/net/NoRouteToHostException.java: Likewise.
15503         * java/net/ProtocolException.java: Likewise.
15504         * java/net/SocketException.java: Likewise.
15505         * java/net/UnknownHostException.java: Likewise.
15506         * java/net/UnknownServiceException.java: Likewise.
15507
15508         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
15509         * java/io/CharConversionException.java: Likewise.
15510         * java/io/EOFException.java: Likewise.
15511         * java/io/FileNotFoundException.java: Likewise.
15512         * java/io/IOException.java: Likewise.
15513         * java/io/InterruptedIOException.java: Likewise.
15514         * java/io/InvalidClassException.java: Likewise.
15515         * java/io/InvalidObjectException.java: Likewise.
15516         * java/io/NotActiveException.java: Likewise.
15517         * java/io/NotSerializableException.java: Likewise.
15518         * java/io/ObjectStreamException.java: Likewise.
15519         * java/io/ObjectStreamConstants.java: Likewise.
15520         * java/io/OptionalDataException.java: Likewise.
15521         * java/io/PipedInputStream.java: Likewise.
15522         * java/io/PushbackInputStream.java: Likewise.
15523         * java/io/StreamCorruptedException.java: Likewise.
15524         * java/io/SyncFailedException.java: Likewise.
15525         * java/io/UTFDataFormatException.java: Likewise.
15526         * java/io/UnsupportedEncodingException.java: Likewise.
15527         * java/io/WriteAbortedException.java: Likewise.
15528
15529 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
15530
15531         * java/text/ChoiceFormat.java: Update comments from Classpath.
15532         * java/text/ParseException.java (serialVersionUID): New
15533         field from Classpath.
15534         * java/text/ParseException.java: Update formatting & comments
15535         from Classpath.
15536
15537 2002-06-15  Tom Tromey  <tromey@redhat.com>
15538
15539         * java/util/zip/InflaterInputStream.java (read): Loop if data has
15540         been read but none output by inflater.
15541         * java/util/zip/natDeflater.cc (reset): Set is_finished.
15542         * java/util/zip/natInflater.cc (reset): Set dist_needed and
15543         is_finished.
15544         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
15545         version.
15546         * java/util/zip/ZipFile.java: Replaced with Classpath version.
15547         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
15548         * java/util/zip/ZipInputStream.java: Replaced with Classpath
15549         version.
15550         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
15551
15552 2002-06-13  Tom Tromey  <tromey@redhat.com>
15553
15554         * java/lang/natString.cc (init): Handle case where DONT_COPY is
15555         true and OFFSET!=0.
15556         * java/lang/String.java (String(char[],int,int,boolean): New
15557         constructor.
15558         * java/lang/Long.java: Imported new version from Classpath.
15559         * java/lang/Number.java: Likewise.
15560         * java/lang/Integer.java: Likewise.
15561         * java/lang/Long.java: Likewise.
15562         * java/lang/Float.java: Likewise.
15563         * java/lang/Boolean.java: Likewise.
15564         * java/lang/Double.java: Likewise.
15565         * java/lang/Void.java: Likewise.
15566
15567 2002-06-12  Tom Tromey  <tromey@redhat.com>
15568
15569         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
15570         Fixes PR libgcj/6652.
15571
15572 2002-06-10  Tom Tromey  <tromey@redhat.com>
15573
15574         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
15575         (Class::getPackagePortion): Likewise.
15576         * java/lang/Class.java (desiredAssertionStatus): New method from
15577         Classpath.
15578         (getPackagePortion): Likewise.
15579         * java/lang/VMClassLoader.java (defaultAssertionStatus,
15580         packageAssertionStatus, classAssertionStatus): New methods from
15581         Classpath.
15582         * java/lang/ClassLoader.java (defaultAssertionStatus,
15583         systemPackageAssertionStatus, packageAssertionStatus,
15584         systemClassAssertionStatus, classAssertionStatus): New fields from
15585         Classpath.
15586         (setDefaultAssertionStatus, setPackageAssertionStatus,
15587         setClassAssertionStatus, clearAssertionStatus): New methods from
15588         Classpath.
15589         * Makefile.in: Rebuilt.
15590         * Makefile.am (core_java_source_files): Added AssertionError.java.
15591         * java/lang/AssertionError.java: New from Classpath.
15592
15593 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15594
15595         * configure.host: Disable hash synchronization and slow_pthread_self
15596         for cygwin.
15597
15598 2002-06-06  Adam Megacz <adam@xwt.org>
15599
15600         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
15601         locking, just like the Sun JVM does.
15602
15603 2002-06-05  H.J. Lu  (hjl@gnu.org)
15604
15605         * Makefile.am (libgcj_convenience.la): Revert the last change.
15606         (libgcj.la): Likewise.
15607         * Makefile.in: Regenerated.
15608
15609 2002-06-04  H.J. Lu  (hjl@gnu.org)
15610
15611         * Makefile.am (libgcj_convenience.la): New target.
15612         (libgcj.la): Depend on libgcj_convenience.la.
15613         * Makefile.in: Regenerated.
15614
15615 2002-06-04  H.J. Lu  (hjl@gnu.org)
15616
15617         * configure.in (--with-newlib): New option:
15618         Check ${with_newlib} instead of ${with_cross_host} for newlib.
15619         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
15620         Linux.
15621         * configure: Regenerated.
15622
15623 2002-06-04  Tom Tromey  <tromey@redhat.com>
15624
15625         * java/util/natTimeZone.cc: Include <stdio.h>.
15626
15627 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
15628
15629         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
15630         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
15631         Set SIGNAL_HANDLER=include/s390-linux.h.
15632         * configure: Regenerate.
15633         * include/s390-linux.h: New file.
15634
15635 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15636
15637         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
15638         not "stackTrace".
15639
15640 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15641
15642         Merge JDK 1.4 java.security changes from classpath.
15643
15644         * java/security/AccessControlException.java: Merge from Classpath.
15645         * java/security/AccessController.java: Likewise.
15646         * java/security/AllPermission.java: Likewise.
15647         * java/security/BasicPermission.java: Likewise.
15648         * java/security/Certificate.java: Likewise.
15649         * java/security/CodeSource.java: Likewise.
15650         * java/security/DigestException.java: Likewise.
15651         * java/security/DigestOutputStream.java: Likewise.
15652         * java/security/DomainCombiner.java: Likewise.
15653         * java/security/GeneralSecurityException.java: Likewise.
15654         * java/security/Guard.java: Likewise.
15655         * java/security/GuardedObject.java: Likewise.
15656         * java/security/InvalidAlgorithmParameterException.java: Likewise.
15657         * java/security/InvalidKeyException.java: Likewise.
15658         * java/security/InvalidParameterException.java: Likewise.
15659         * java/security/Key.java: Likewise.
15660         * java/security/KeyException.java: Likewise.
15661         * java/security/KeyManagementException.java: Likewise.
15662         * java/security/KeyStoreException.java: Likewise.
15663         * java/security/MessageDigest.java: Likewise.
15664         * java/security/NoSuchAlgorithmException.java: Likewise.
15665         * java/security/NoSuchProviderException.java: Likewise.
15666         * java/security/Permission.java: Likewise.
15667         * java/security/PermissionCollection.java: Likewise.
15668         * java/security/Permissions.java: Likewise.
15669         * java/security/Policy.java: Likewise.
15670         * java/security/Principal.java: Likewise.
15671         * java/security/PrivateKey.java: Likewise.
15672         * java/security/PrivilegedAction.java: Likewise.
15673         * java/security/PrivilegedActionException.java: Likewise.
15674         * java/security/PrivilegedExceptionAction.java: Likewise.
15675         * java/security/ProtectionDomain.java: Likewise.
15676         * java/security/ProviderException.java: Likewise.
15677         * java/security/PublicKey.java: Likewise.
15678         * java/security/SecureClassLoader.java: Likewise.
15679         * java/security/SecurityPermission.java: Likewise.
15680         * java/security/SignatureException.java: Likewise.
15681         * java/security/UnrecoverableKeyException.java: Likewise.
15682         * java/security/UnresolvedPermission.java: Likewise.
15683         * java/security/acl/AclNotFoundException.java: Likewise.
15684         * java/security/acl/LastOwnerException.java: Likewise.
15685         * java/security/acl/NotOwnerException.java: Likewise.
15686         * java/security/cert/CRLException.java: Likewise.
15687         * java/security/cert/CertificateEncodingException.java: Likewise.
15688         * java/security/cert/CertificateException.java: Likewise.
15689         * java/security/cert/CertificateExpiredException.java: Likewise.
15690         * java/security/cert/CertificateFactory.java: Likewise.
15691         * java/security/cert/CertificateNotYetValidException.java: Likewise.
15692         * java/security/cert/CertificateParsingException.java: Likewise.
15693         * java/security/spec/InvalidKeySpecException.java: Likewise.
15694         * java/security/spec/InvalidParameterSpecException.java: Likewise.
15695
15696         * java/security/cert/CertPath.java: New file.
15697         * java/security/cert/CertPathBuilderException.java: New file.
15698         * java/security/cert/CertPathValidatorException.java: New file.
15699         * java/security/cert/CertStoreException.java: New file.
15700
15701         * Makefile.am: Add new CertPath classes.
15702         * Makefile.in: Rebuilt.
15703
15704         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
15705
15706 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15707
15708         Merge JDK 1.4 exception chaining support from classpath.
15709
15710         * java/lang/Throwable.java: Merge 1.4 support from classpath.
15711         (stackTraceBytes): Rename from stackTrace.
15712         * java/lang/Exception.java: Merge from classpath.
15713         * java/lang/StackTraceElement: New file from classpath.
15714         * gcj/javaprims.h: Rebuild CNI namespace declarations.
15715         * Makefile.am: Add StackTraceElement.
15716         * Makefile.in: Rebuilt.
15717
15718 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15719
15720         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
15721         they build first.
15722         * Makefile.in: Rebuilt.
15723
15724 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
15725
15726         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
15727         * configure.in: Likewise.
15728         * aclocal.m4: Regenerate.
15729         * configure: Regenerate.
15730
15731 2002-05-13  Tom Tromey  <tromey@redhat.com>
15732
15733         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
15734         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
15735         Include platform.h.
15736
15737         Fixes PR libgcj/6389:
15738         * Makefile.in: Rebuilt.
15739         * Makefile.am (nat_source_files): Added natTimeZone.cc.
15740         * java/util/natTimeZone.cc: New file.
15741         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
15742         * java/lang/System.java: Merged with Classpath.
15743         * java/lang/Runtime.java: Merged with Classpath.
15744         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
15745         security check.
15746         (setIn0): Renamed from setIn; don't run security check.
15747         (setOut0): Renamed from setOut; don't run security check.
15748         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
15749         init_properties): Moved to natRuntime.cc.
15750         Moved many includes to natRuntime.cc.
15751         (isWordsBigEndian): New method.
15752         * java/lang/natRuntime.cc: Include Long.h, also other includes
15753         previously in natSystem.cc.
15754         (maxMemory): New function.
15755         (exitInternal): Renamed from `_exit'.
15756         (exit): Removed.
15757         (init): Don't set finalize_on_exit.
15758         (exitInternal): Use `finalizeOnExit'.
15759         (file_encoding, getpwuid_adaptor): New functions from
15760         natSystem.cc.
15761         (insertSystemProperties): New method, renamed from
15762         System::init_properties.  Don't set user.timezone.
15763         (_load): Don't call checkLink.
15764         (execInternal): New method.
15765         (availableProcessors): Likewise.
15766         (nativeGetLibname): Likewise.
15767
15768 2002-05-11  Mark Wielaard  <mark@klomp.org>
15769
15770         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
15771         space characters.
15772         (previous_internal): Likewise.
15773
15774 2002-05-09  Tom Tromey  <tromey@redhat.com>
15775
15776         * jni.cc (_Jv_JNIFunctions): Fixed typo.
15777
15778         * java/util/ResourceBundle.java: New version from Classpath.
15779         * java/util/Locale.java: Likewise.
15780
15781 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
15782
15783         * testsuite/lib/libjava.exp (libjava_arguments): Append all
15784         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
15785         LD_LIBRARY_PATH.
15786
15787 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
15788
15789         * libjava/Makefile.am (all_java_source_files): New variable.
15790         (all_java_class_files): Likewise.
15791         .java.class: New rule.
15792         (CLEANFILES): Remove tmp-list.
15793         * libjava/Makefile.in: Regenerated.
15794
15795 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
15796
15797         * testsuite/lib/libjava.exp (test_libjava_from_javac):
15798         Append .exe to executable names.  Fix for cygwin.
15799
15800 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
15801
15802         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
15803         script entry, and set LD to it when configuring multilibs.
15804         * configure: Rebuilt.
15805
15806 2002-05-07  Tom Tromey  <tromey@redhat.com>
15807
15808         * java/lang/natString.cc (unintern): Fixed typo.
15809
15810 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
15811
15812         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
15813         with -no-install on *-*-cygwin*.
15814
15815 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
15816
15817         * testsuite/lib/libjava.exp (test_libjava_from_source):
15818         Add comment explaining last patch
15819
15820 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
15821
15822         * testsuite/lib/libjava.exp (test_libjava_from_source):
15823         Append .exe to executable names.  If no suffix is present,
15824         then ".exe" is added by default on win32.  Harmless
15825         elsewhere so always do it.
15826
15827 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
15828             Tom Tromey  <tromey@redhat.com>
15829
15830         * java/lang/natSystem.cc (getSystemTimeZone): Use
15831         HAVE_UNDERSCORE_TIMEZONE.
15832         * include/config.h.in: Rebuilt.
15833         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
15834         * aclocal.m4, configure: Rebuilt.
15835         * acinclude.m4: Run AC_EXEEXT.
15836         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
15837         Add test for `_timezone'.
15838
15839 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
15840
15841         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15842         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
15843         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
15844         * Makefile.in: Rebuilt.
15845
15846 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
15847
15848         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
15849         use sigaction instead of __libc_sigaction.
15850
15851 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
15852
15853         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
15854         (libjava_init): Use it to find libgcj.spec.
15855         (libjava_arguments): Likewise.
15856
15857 2002-05-02  David S. Miller  <davem@redhat.com>
15858
15859         PR bootstrap/6525
15860         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
15861         __libc_sigaction on Sparc.
15862
15863 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
15864
15865         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
15866         sys/filio.h, if present.
15867
15868 2002-04-30  Tom Tromey  <tromey@redhat.com>
15869
15870         * java/io/BufferedReader.java (fill): Handle case where markPos
15871         point to ignored \n.  Fixes PR libgcj/6301.
15872
15873 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
15874
15875         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
15876
15877 2002-04-29  Adam King <aking@dreammechanics.com>
15878
15879         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
15880         of file in APPEND mode.
15881
15882 2002-04-25  David S. Miller  <davem@redhat.com>
15883
15884         PR target/6422
15885         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
15886         program counter to next program counter minus 8.  Update
15887         comments in this macro to explain why.
15888
15889 2002-04-26  Tom Tromey  <tromey@redhat.com>
15890
15891         * verify.cc (construct_primitive_array_type) [void_type]: New
15892         case.
15893         (branch_prepass): Added dummy entries for unused instruction
15894         values.
15895         (verify_instructions_0): Likewise.
15896         * interpret.cc (continue1): Comment fix.
15897         * include/java-insns.h (op_xxxunusedxxx1): Removed.
15898         * Makefile.in: Rebuilt.
15899         * Makefile.am: Added -Wswitch-enum.
15900
15901 2002-04-24  Tom Tromey  <tromey@redhat.com>
15902
15903         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
15904         correct length of UTF-8 encoded name.  Strip leading `/'.
15905         (_Jv_RegisterResource): Use _Jv_Malloc.
15906
15907 2002-04-23  Adam Megacz <adam@xwt.org>
15908
15909         * win32.cc, include/win32.cc (backtrace): Added this function
15910         because Win32 does not supply it.
15911
15912 2002-04-21  David S. Miller  <davem@redhat.com>
15913
15914         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
15915         magic instruction reading sequence.
15916
15917 2002-04-21  Mark Wielaard  <mark@klomp.org>
15918
15919         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
15920
15921 2002-04-19  David S. Miller  <davem@redhat.com>
15922
15923         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
15924         arg.
15925         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
15926         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
15927         on Sparc too.
15928         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
15929         for 64-bit sparc.
15930         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
15931         * sysdeps/sparc/locks.h: New file.
15932         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
15933         on all sparc Solaris configurations.  Set to
15934         include/dwarf2-signal.h on sparc Linux.
15935         * configure: Regenerate
15936         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
15937
15938 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
15939
15940         * configure: Rebuilt.
15941         * configure.in (backtrace): Function doesn't work on IA-64.
15942
15943 2002-04-17  Adam King <aking@dreammechanics.com>
15944
15945         * java/io/File.java (normalizePath): Add Win32 support for auto
15946         conversion of a '/' path separator to Win32's '\' separator.
15947
15948 2002-04-16  Tom Tromey  <tromey@redhat.com>
15949
15950         Fix for PR libgcj/6081:
15951         * Makefile.in: Rebuilt.
15952         * Makefile.am (install-data-local): Use GNU make trick to avoid
15953         shell limit.
15954
15955 2002-04-16  Adam King <aking@dreammechanics.com>
15956             Tom Tromey  <tromey@redhat.com>
15957
15958         * java/io/natFileWin32.cc (performList): Return the correct array
15959         type.  Don't duplicate the creation of a File since it's already
15960         done earlier in the method and the existing code would cause a
15961         ArrayStoreException.  Don't use fixed-size array.
15962         (_access, _stat, attr, getCanonicalPath, performMkdir,
15963         performRenameTo): Don't use fixed-size array.
15964         (getCanonicalPath): Use throw, not _Jv_Throw.
15965
15966 2002-04-15  DJ Delorie  <dj@redhat.com>
15967
15968         * configure.in: Allow building in $srcdir.
15969         * configure: Regenerated.
15970
15971 2002-04-14  Mark Wielaard <mark@klomp.org>
15972
15973         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
15974         * java/net/natSocketImpl.cc (close): Likewise.
15975
15976 2002-04-14  Mark Wielaard <mark@klomp.org>
15977
15978         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
15979
15980 2002-04-13  Adam King <aking@dreammechanics.com>
15981
15982         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
15983         the f/F/d/D modifiers.
15984
15985 2002-04-12  Anthony Green  <green@redhat.com>
15986
15987         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
15988         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
15989         * Makefile.in: Rebuilt.
15990         * configure.in: Substitute gcc_version.
15991         * configure: Rebuilt.
15992
15993 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15994
15995         * configure.host: Set can_unwind_signal on hosts which support it.
15996         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
15997         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
15998         exceptions and can_unwind_signal isn't set.
15999         * configure: Rebuilt.
16000
16001 2002-04-11  Tom Tromey  <tromey@redhat.com>
16002
16003         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
16004
16005 2002-04-11  Adam King <aking@dreammechanics.com>
16006             Tom Tromey  <tromey@redhat.com>
16007
16008         * include/jvm.h (_Jv_ThrowBadArrayIndex,
16009         _Jv_ThrowNullPointerException): Mark as noreturn.
16010         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
16011         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
16012         fixes.
16013
16014 2002-04-10  Tom Tromey  <tromey@redhat.com>
16015
16016         * Makefile.in: Rebuilt.
16017         * Makefile.am (java/lang/Thread.h): Mark
16018         _Jv_AttachCurrentThreadAsDaemon as friend.
16019         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
16020         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
16021         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
16022         function.
16023         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
16024         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
16025         (_Jv_JNI_InvokeFunctions): Added
16026         _Jv_JNI_AttachCurrentThreadAsDaemon.
16027         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
16028         (JNI_GetDefaultJavaVMInitArgs): Likewise.
16029         (JNI_CreateJavaVM): Likewise.
16030         (_Jv_JNI_AttachCurrentThread): Likewise.
16031         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
16032         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
16033         (_Jv_JNIFunctions): Initialize new fields.
16034         (_Jv_JNI_NewDirectByteBuffer): New function.
16035         (_Jv_JNI_GetDirectBufferAddress): Likewise.
16036         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
16037         * include/jni.h (JNI_VERSION_1_4): New macro.
16038         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
16039         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
16040         (JNINativeInterface::NewDirectByteBuffer): New field.
16041         (JNINativeInterface::GetDirectBufferAddress): New field.
16042         (JNINativeInterface::GetDirectBufferCapacity): New field.
16043         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
16044         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
16045         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
16046
16047 2002-04-09  Tom Tromey  <tromey@redhat.com>
16048
16049         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
16050
16051 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
16052
16053         Fix for PR libgcj/6187:
16054         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
16055         distance.
16056
16057 2002-04-07  Mark Wielaard <mark@klomp.org>
16058
16059         * java/util/AbstractMap.java (putAll): Use entrySet size.
16060         (toString): Explicitly use getKey() and getValue().
16061
16062 2002-04-07  Mark Wielaard <mark@klomp.org>
16063
16064         * java/util/Hashtable.java (contains): Remove NullPointer check.
16065         (containsValue): Add NullPointer check.
16066         (remove): Always throw NullPointerException when key
16067         is null.
16068
16069 2002-04-07  Adam King <aking@dreammechanics.com>
16070
16071         * java/lang/natSystem.cc (init_properties): Call new function
16072         _Jv_platform_initProperties.
16073         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
16074         support for the System properties os.name, os.arch, os.version,
16075         user.name, user.home, and user.dir.
16076         * include/posix.h, include/win32.h, posix.cc: New function
16077         _Jv_platform_initProperties.
16078
16079 2002-04-06  Mark Wielaard <mark@klomp.org>
16080
16081         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
16082
16083 2002-04-06  Mark Wielaard <mark@klomp.org>
16084
16085         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
16086         all of the remaining elements.
16087         * java/util/Vector.java (addAll(int,Collection)): Likewise.
16088         (removeRange): If toIndex == fromIndex do
16089         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
16090         (removeAll): Always throw NullPointerException when collection is
16091         null.
16092         (retrainAll): Likewise.
16093
16094 2002-04-05  Mark Wielaard <mark@klomp.org>
16095
16096         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
16097         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
16098
16099 2002-04-05  Adam Megacz <adam@xwt.org>
16100
16101         * exception.cc (abort): added static modifier
16102
16103 2002-04-04  Adam Megacz <adam@xwt.org>
16104
16105         * include/win32.h (_Jv_platform_close_on_exec): added inline
16106         modifier.
16107
16108 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
16109
16110         * configure.host: Add case statement to support generic port
16111         properties.  Add *-*-freebsd* section.
16112
16113 2002-04-04  Mark Wielaard  <mark@klomp.org>
16114
16115         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
16116         test.
16117         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
16118         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
16119         that depend on awt code and BufferedByteOutputStream.interrupt.
16120
16121 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16122
16123         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
16124         incorrect "hi" value when count > 40.
16125
16126 2002-04-03  Mark Wielaard  <mark@klomp.org>
16127
16128         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
16129         ordering.
16130
16131 2002-04-02  Tom Tromey  <tromey@redhat.com>
16132
16133         * java/lang/natClassLoader.cc (findClass): Compare against `3',
16134         not `0'.
16135
16136 2002-04-02  Mark Wielaard  <mark@klomp.org>
16137
16138         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
16139         list of testsuite crashers.
16140
16141 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16142
16143         * java/util/IdentityHashMap.java (put): Set new threshold correctly
16144         when resizing table.
16145
16146 2002-04-01  Mark Wielaard  <mark@klomp.org>
16147
16148         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
16149         NegativeArraySizeException
16150         (clear(int)): Use sign extended shift.
16151         (flip(int)): Likewise.
16152         (get(int)): Likewise.
16153         (nextClearBit(int)): Likewise.
16154         (nextSetBit(int)): Likewise.
16155         (set(int)): Likewise.
16156
16157 2002-04-01  Mark Wielaard  <mark@klomp.org>
16158
16159         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
16160         that can be compiled now and add testsuite crashers to ignore list.
16161
16162 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
16163
16164         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
16165
16166         * libgcj.spec.in: Override libgcc, not lib.
16167         * libgcj-test.spec.in: Likewise.
16168
16169 2002-03-29  Tom Tromey  <tromey@redhat.com>
16170
16171         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
16172         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
16173
16174 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
16175
16176         * java/net/PlainDatagramSocketImpl.java
16177         (close): Use native implementation.
16178         (finalize): New method.
16179
16180         * java/net/PlainSocketImpl.java (finalize): New method.
16181
16182         * java/net/natPlainDatagramSocketImpl.cc
16183         (java/io/FileDescriptor.h): Don't include.
16184         (close): Implement method here.
16185         (create): Don't assign fd.
16186
16187         * java/net/natPlainSocketImpl.cc
16188         (java/io/FileDescriptor.h): Don't include.
16189         (create): Don't assign fd.
16190         (accept): Likewise.
16191         (close): Synchronize.
16192
16193 2002-03-27  Richard Henderson  <rth@redhat.com>
16194
16195         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
16196
16197 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
16198
16199         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
16200         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
16201         instead of syscall on IA-64.
16202         Add FIXME comment.
16203
16204 2002-03-27  Anthony Green  <green@redhat.com>
16205
16206         * libgcj.spec.in: Add CHECKREFSPEC.
16207         * configure.in: Ditto.
16208         * configure.host: Ditto.  Check references for xscale-elf.
16209         * configure: Rebuilt.
16210
16211 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
16212
16213         * include/dwarf2-signal.h: Temporarily back out last change.
16214
16215 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
16216
16217         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
16218
16219 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
16220
16221         * configure.in, configure: enable dwarf2-exception-style
16222         exception handling on IA-64.
16223         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
16224         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
16225         Add FIXME comment.
16226
16227 2002-03-25  Tom Tromey  <tromey@redhat.com>
16228
16229         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
16230         (jv_convert_LDFLAGS): Likewise.
16231         (gij_LDFLAGS): Likewise.
16232         (rmic_LDFLAGS): Likewise.
16233         (rmiregistry_LDFLAGS): Likewise.
16234         * configure.in (THREADLDFLAGS): New subst; set correctly for
16235         *BSD.
16236
16237 2002-03-25  Tom Tromey  <tromey@redhat.com>
16238
16239         For PR libgcj/5303:
16240         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
16241         and --version.
16242         (help): New method.
16243         (version): Likewise.
16244         * gnu/gcj/convert/Convert.java (version): Removed extraneous
16245         "GNU".
16246         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
16247         "GNU".
16248
16249 2002-03-25  Tom Tromey  <tromey@redhat.com>
16250
16251         * java/awt/Component.java (processEvent): Check ComponentEvent
16252         after KeyEvent.
16253
16254 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16255
16256         * java/io/PushbackReader.java: Reformat.
16257
16258         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
16259         calculate correct number of bytes skipped.
16260
16261         Based on patch from Intel's ORP team:
16262         * java/io/PushbackInputStream.java (available): Calculate correct
16263         number of bytes in buffer.
16264         (read): Remove redundant bound check. Return bytes from both the
16265         buffer and the stream.
16266
16267 2002-03-24  Tom Tromey  <tromey@redhat.com>
16268
16269         * java/awt/TextComponent.java (TextComponent): Editable by
16270         default.
16271
16272         * java/awt/MenuItem.java (eventMask): No longer private.
16273         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
16274         superclass if we didn't handle event.
16275         * java/awt/Checkbox.java (dispatchEventImpl): New method.
16276         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
16277         * java/awt/Choice.java (dispatchEventImpl): New method.
16278         * java/awt/List.java (dispatchEventImpl): New method.
16279         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
16280         * java/awt/TextComponent.java (dispatchEventImpl): New method.
16281         * java/awt/TextField.java (dispatchEventImpl): New method.
16282
16283 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
16284
16285         * java/beans/IntrospectionException.java: Update to 1.4.
16286         * java/beans/PropertyVetoException.java: Ditto.
16287
16288 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
16289
16290         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
16291         Arrays.equals instead of ArrayHelper.equalsArray.
16292
16293 2002-03-24  C. Brian Jones <cbj@gnu.org>
16294
16295         * java/beans/Introspector.java: added new static final fields
16296         introduced in 1.2, lots of other updates remain to be done
16297
16298 2002-03-24  C. Brian Jones <cbj@gnu.org>
16299
16300         * java/beans/Introspector.java: reformatting
16301
16302 2002-03-24  C. Brian Jones <cbj@gnu.org>
16303
16304         * java/beans/Introspector.java: default beanInfoSearchPath will
16305         not include sun.beans.infos given we provide no such package and
16306         the API doesn't really require it; gnu.java.beans.info is the
16307         default.
16308
16309 2002-03-24  Mark Wielaard  <mark@klomp.org>
16310
16311         Thanks to Orp developers
16312         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
16313         switch TRUE and FALSE return values.
16314
16315 2002-03-23  Tom Tromey  <tromey@redhat.com>
16316
16317         * include/name-finder.h (_Jv_name_finder::myclose): New method.
16318         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
16319
16320 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
16321
16322         * java/util/GregorianCalendar.java (minimums, maximums): Correct
16323         MONTH entry.  Fixes PR libgcj/6045.
16324
16325 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
16326
16327         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
16328
16329 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16330
16331         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
16332         not release_set.
16333         * sysdep/powerpc/locks.h (write_barrier): New function.
16334         * sysdep/i386/locks.h (write_barrier): New function.
16335
16336 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
16337
16338         * include/jni.h Use correct C comments.
16339
16340 2002-03-18  Tom Tromey  <tromey@redhat.com>
16341
16342         * include/jni.h (JNIIMPORT): New macro.
16343         (JNIEXPORT): Likewise.
16344         (JNICALL): Likewise.
16345
16346 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
16347
16348         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
16349         systems.
16350
16351 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
16352
16353         * include/i386-signal.h (old_i386_kernel_sigaction): New.
16354         INIT_SEGV: Use old_i386_kernel_sigaction.
16355         INIT_FP: Likewise.
16356
16357 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16358
16359         * java/lang/natSystem.cc (init_properties): Update VM version
16360         properties.
16361         * configure.in: Set GCJVERSION.
16362         * acconfig.h: Add GCJVERSION.
16363         * configure: Rebuilt.
16364         * include/config.h.in: Rebuilt.
16365
16366 2002-03-17  Anthony Green  <green@redhat.com>
16367
16368         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
16369
16370 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16371
16372         Build a single libgcj.so, without separate gc and zlib libraries.
16373         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
16374         SYS_ZLIBS if system zlib is used.
16375         * configure: Rebuilt.
16376         * Makefile.am: Use boehm-gc and zlib convenience libraries.
16377         * Makefile.in: Rebuilt.
16378         * libtool-version: Increment .so version number.
16379
16380         * Makefile.am: Escape quotes in echo.
16381         * Makefile.in: Rebuilt.
16382
16383 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16384
16385         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
16386         * Makefile.in: Rebuilt.
16387
16388 2002-03-15  Anthony Green  <green@redhat.com>
16389
16390         * configure.host (FILE): New macro for specifing File
16391         implementation.
16392         * configure: Rebuilt.
16393         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
16394
16395 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
16396
16397         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
16398         already implicitly brought in from libgcj.la.
16399         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
16400         * Makefile.in: Rebuilt.
16401
16402 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
16403
16404         * THANKS: Fix punctuation, alphabetization.
16405
16406 2002-03-15  Tom Tromey  <tromey@redhat.com>
16407             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16408
16409         Fix for PR libgcj/5944.
16410         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
16411
16412 2002-03-15  Anthony Green  <green@redhat.com>
16413
16414         * configure.in (tool_include_dir): Define.
16415         * configure: Rebuilt.
16416         * gcj/Makefile.am: Install libgcj-config.h relative to
16417         tool_include_dir.
16418         * gcj/Makefile: Rebuilt.
16419         * gcj/libgcj-config.h: Add warning comment.
16420
16421 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
16422
16423         * configure.host (powerpc*-darwin*): Enable interpreter.
16424
16425 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16426
16427         * include/posix.h: Add multiple include header protection.
16428         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
16429
16430 2002-03-10  Adam Megacz <adam@xwt.org>
16431
16432         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
16433
16434 2002-03-10  Tom Tromey  <tromey@redhat.com>
16435
16436         * java/awt/GridLayout.java (layoutContainer): Handle case where
16437         there are no items in container.
16438
16439         * java/lang/Win32Process.java: Added comment.
16440         * include/posix.h (_Jv_platform_close_on_exec): New function.
16441         Include fcntl.h.
16442         * include/win32.h (_Jv_platform_close_on_exec): New function.
16443         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
16444         flag.
16445         (accept): Likewise.
16446         * java/net/natPlainDatagramSocketImpl.cc (create): Set
16447         close-on-exec flag.
16448         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
16449         flag.
16450
16451 2002-03-09  Tom Tromey  <tromey@redhat.com>
16452
16453         * verify.cc (state::NO_STACK): New constant.
16454         (state::is_unmerged_ret_state): Handle case where stacktop is
16455         NO_STACK.
16456         (state::merge): Handle NO_STACK merges.
16457         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
16458         for instruction following jsr.
16459         (stacktop, stackdepth): Removed unused variables.
16460         (pop_jump): Ignore case where all remaining states are skipped.
16461
16462 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16463
16464         * java/awt/ImageMediaEntry: Removed.
16465         * java/awt/MediaEntry: Removed.
16466
16467 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16468
16469         Hashtable synchronization for PowerPC.
16470         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
16471         slow_pthread_self. Set up symlink for sysdeps directory.
16472         * configure: Rebuild.
16473         * configure.host: Document more shell variables. Set sysdeps_dir
16474         for most platforms. Set slow_pthread_self for i686. Set
16475         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
16476         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
16477         that memory barrier is emitted where required.
16478         * prims.cc: 64-bit align static primitive class instances.
16479         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
16480         read_barrier() to enforce ordering of reads.
16481         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
16482         primitives for PowerPC.
16483         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
16484         moved from natObject.cc.
16485         * sysdep/alpha/locks.h: Likewise.
16486         * sysdep/ia64/locks.h: Likewise.
16487         * sysdep/generic/locks.h: Likewise.
16488         * java/lang/natObject.cc: Move thread synchronization primitives to
16489         system-dependent headers.
16490
16491 2002-03-09  Adam Megacz  <adam@xwt.org>
16492
16493         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
16494         bytes read and no failure code returned.
16495
16496 2002-03-09  Adam Megacz  <adam@xwt.org>
16497
16498         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
16499         definitions to simulate -mthreads.
16500
16501 2002-03-09  Adam Megacz  <adam@xwt.org>
16502
16503         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
16504         avoid precision loss.
16505
16506 2002-03-09  Per Bothner  <per@bothner.com>
16507
16508         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
16509         * gnu/gcj/xlib/XImage.java:  Likewise.
16510         * gnu/gcj/xlib/XColor.java:  Likewise.
16511
16512 2002-03-09  Adam Megacz  <adam@xwt.org>
16513
16514         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
16515         IOException so that Throwable.printStackTrace fails correctly.
16516
16517 2002-03-08  Adam Megacz  <adam@xwt.org>
16518
16519         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
16520         fixed.
16521
16522 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16523
16524         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
16525         truncated to int.
16526
16527 2002-03-08  Tom Tromey  <tromey@redhat.com>
16528
16529         * include/jni.h: Include stdio.h.
16530
16531 2002-03-08  Tom Tromey  <tromey@redhat.com>
16532
16533         * posix.cc (internal_gettimeofday): New function.
16534         (_Jv_select): Use it.
16535
16536 2002-03-07  Adam Megacz  <adam@xwt.org>
16537
16538         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
16539         WIN32, and added thunks for read(), write(), and close().
16540         * java/net/natPlainSocketImpl.cc (accept, read, read):
16541         Disabled timeouts on WIN32 pending discussion.
16542
16543 2002-03-07  Adam Megacz  <adam@xwt.org>
16544
16545         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
16546         returns jlong. Added implementation
16547         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
16548         returns jlong.
16549         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
16550         returns jlong.
16551         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
16552         returns jlong.
16553         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
16554         _Jv_platform_gettimeofday signature.
16555
16556 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16557
16558         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
16559         (read): Call recv() directly, not _Jv_recv().
16560
16561 2002-03-06  Tom Tromey  <tromey@redhat.com>
16562
16563         * java/io/natFileDescriptorEcos.cc (init): Don't use
16564         GetStdHandle.
16565         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
16566         is negative.
16567         (init): Don't use GetStdHandle.
16568
16569         * include/config.h.in: Rebuilt.
16570         * configure: Rebuilt.
16571         * Makefile.in: Rebuilt.
16572
16573 2002-03-06  Adam Megacz  <adam@xwt.org>
16574
16575         * java/io/FileDescriptor.java: Initialize in/out/err in init().
16576         * java/io/natFileDescriptorWin32.cc (init()): Added function.
16577         * java/io/natFileDescriptorPosix.cc (init()): Added function.
16578         * java/io/natFileDescriptorEcos.cc (init()): Added function.
16579
16580 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
16581
16582         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
16583         the code for generating include/java-chartables.h.
16584         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
16585         merge with Classpath.
16586         * scripts/unicode-muncher.pl: Copy from Classpath.
16587         * scritps/MakeCharTables.java: New file.
16588         * gnu/gcj/convert/Blocks-3.txt: New file.
16589         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
16590         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
16591         * gnu/java/lang/CharData.java: Copy from Classpath.
16592         * Makefile.am (ordinary_java_source_files): Add
16593         gnu/java/lang/CharData.java.
16594         * configure.in: Remove --enable-fast-character option.
16595         * java/lang/Character.java: Merge algorithms and Javadoc with
16596         Classpath.
16597         * java/lang/natCharacter.cc: Implement Unicode lookup table more
16598         efficiently.
16599         * include/java-chardecomp.h: Regenerate.
16600         * include/java-chartables.h: Regenerate.
16601
16602 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16603
16604         * java/awt/MediaTracker.java: Implemented.
16605         * Makefile.am: Add MediaTracker.
16606         * Makefile.in: Rebuilt.
16607
16608 2002-03-05  Tom Tromey  <tromey@redhat.com>
16609
16610         * java/lang/natPosixProcess.cc (fail): Removed.
16611         (startProcess): Simplified error-handling.  Preserve
16612         LD_LIBRARY_PATH across exec.
16613
16614         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
16615         AbstractMethodError.
16616
16617 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16618
16619         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
16620         * Makefile.in: Rebuilt.
16621
16622 2002-03-03 Mark Wielaard <mark@klomp.org>
16623
16624         * java/util/Timer (TaskQueue.stop): set elements to zero.
16625
16626 2002-02-28  Anthony Green  <green@redhat.com>
16627
16628         * java/lang/reflect/natMethod.cc (result): Add void* element.
16629         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
16630         constructor test.
16631
16632 2002-02-27  Adam Megacz <adam@xwt.org>
16633
16634         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
16635         '#undef STRICT'.
16636
16637 2002-02-26  Tom Tromey  <tromey@redhat.com>
16638
16639         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
16640         * gij.cc (version): Use __VERSION__.
16641         * include/config.h.in: Rebuilt.
16642         * acconfig.h (GCJVERSION): Removed.
16643         * configure: Rebuilt.
16644         * configure.in (GCJVERSION): Removed.
16645
16646 2002-02-26  Andreas Schwab  <schwab@suse.de>
16647
16648         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
16649         glibcpp_CXX, since libjava uses even another CXX.
16650         * aclocal.m4, configure: Regenerated.
16651
16652 2002-02-26  Tom Tromey  <tromey@redhat.com>
16653
16654         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
16655         `1'.
16656
16657 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16658
16659         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
16660         dependency tracking for .java files.
16661         * Makefile.in: Rebuilt.
16662
16663 2002-02-24  Adam Megacz  <adam@xwt.org>
16664
16665         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
16666         typo. Sorry.
16667
16668 2002-02-24  Adam Megacz  <adam@xwt.org>
16669
16670         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
16671         for Win32, changed #ifdefs to check WIN32 instead of the
16672         (now-obsolete) USE_WINSOCK, and removed support for socket
16673         timeouts on Win32 pending further discussion.
16674
16675 2002-02-24  Adam Megacz  <adam@xwt.org>
16676
16677         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
16678         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
16679         delete
16680
16681 2002-02-24  Adam Megacz  <adam@xwt.org>
16682
16683         * java/lang/Win32Process.java: Created a dummy class to allow
16684         build process to run to completion.
16685
16686 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
16687
16688         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
16689         Define ffi_result union for ffi_call result.  Cast
16690         ffi_result members to jvalue.
16691
16692 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
16693
16694         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
16695         * testsuite/Makefile.in: Likewise.
16696
16697 2002-02-20  Per Bothner  <per@bothner.com>
16698
16699         * java/net/URL.java (getPath):  New JDK 1.3 method.
16700
16701         * java/net/URLStreamHandler.java (parseURL):
16702         It is wrong to prepend '/' to the file part of a relative url.
16703
16704         * java/net/URLStreamHandler.java (parseURL):
16705         Minor optizations - append '/' rather than "/".
16706
16707         * java/net/URLStreamHandler.java (parseURL):
16708         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
16709         We probably should canonicalize for a context-relative url, though.
16710         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
16711         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
16712         (sameFile):  New method.  Uses canonicalizeFilename.
16713
16714 2002-02-22  Tom Tromey  <tromey@redhat.com>
16715
16716         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
16717         java.vendor and java.vm.vendor.
16718         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
16719         recent copyright date.
16720         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
16721         * gij.cc (version): Print `Inc'.
16722
16723 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
16724
16725         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
16726         * aclocal.m4, configure: Rebuilt.
16727
16728 2002-02-20  Per Bothner  <per@bothner.com>
16729
16730         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
16731         and/or output streams immediately here, instead of using File.exists.
16732         (inputStream, outputStream):  New fields to save open streams.
16733         (getInputStream, getOutputStream):  Use already-opened streams.
16734
16735 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
16736
16737         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
16738         Use it.
16739         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
16740         * aclocal.m4, configure, Makefile.in: Rebuilt.
16741
16742 2002-02-19  Tom Tromey  <tromey@redhat.com>
16743
16744         Fix for PR libgcj/5696:
16745         * verify.cc (is_assignable_from_slow): Never call
16746         _Jv_IsAssignableFrom.
16747         (verify_instructions_0): Added new debug statement.
16748         (state::print): Print information about whether local has
16749         changed.
16750         (state::merge): Don't call note_variable when merging locals.
16751         (state::set_exception): Removed old FIXME comment.
16752
16753 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16754
16755         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
16756         enable SO_BROADCAST.
16757
16758 2002-02-18  Jason Merrill  <jason@redhat.com>
16759
16760         * name-finder.cc (toHex): Use word mode, not long long.
16761
16762         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
16763
16764 2002-02-15  Tom Tromey  <tromey@redhat.com>
16765
16766         Fix for PR libgcj/5695:
16767         * verify.cc (is_assignable_from_slow): Check to see if target is
16768         an Object before checking to see if source is an interface.
16769         (verify_instructions_0) [op_invokeinterface]: Handle case where
16770         we're making an interface call on Object.
16771
16772 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16773
16774         * Makefile.in: Rebuilt with Eric's change below.
16775
16776         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
16777         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
16778         Removed functions which are now implemented in Math.java.
16779
16780 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
16781
16782         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
16783         * Makefile.am (core_java_source_files): Add
16784         java/lang/StrictMath.java.
16785         * java/lang/Math.java: Merge with Classpath.
16786         * java/lang/StrictMath.java: New file - merge with Classpath.
16787
16788 2002-02-14  Mark Wielaard  <mark@klomp.org>
16789
16790         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
16791         package as a workaround for gcj 3.0.x
16792
16793 2002-02-14  Mark Wielaard <mark@klomp.org>
16794
16795         * java/security/BasicPermission.java: extends with fully qualified
16796         classname as workaround for gcj 3.0.4.
16797
16798 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
16799
16800         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
16801         around gcj bug of wrong emitted qualifier for inherited method.
16802         * java/net/SocketImpl.java (setOption, getOption): Ditto.
16803         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
16804         constructor to reduce amount of emitted bytecode. While this
16805         happens to work around a jikes 1.15 bug, it is still a useful
16806         patch even for correct compilers.
16807         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
16808         * gnu/java/rmi/server/UnicastRemoteCall.java
16809         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
16810
16811 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
16812
16813         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
16814         * java/net/SocketImpl.java: Ditto.
16815         * java/rmi/server/RMIClassLoader.java: Ditto.
16816         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
16817
16818 2002-02-14  Mark Wielaard <mark@klomp.org>
16819
16820         Thanks to Takashi Okamoto
16821         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
16822         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
16823         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
16824
16825 2002-02-13  Todd Stock  <toddastock@yahoo.com>
16826
16827         Fix for PR libgcj/5670:
16828         * verify.cc (is_assignable_from_slow): If `source' is interface,
16829         recursively look for merge with `target'.
16830
16831 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
16832
16833         * include/jni.h: Fix typo.
16834
16835 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
16836
16837         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
16838         correctly.
16839
16840 2002-02-13  Todd Stock  <toddastock@yahoo.com>
16841
16842         Fix for PR libgcj/5671:
16843         * verify.cc (state::merge): Handle case where we're merging
16844         against an interface.
16845
16846 2002-02-12  Tom Tromey  <tromey@redhat.com>
16847
16848         * exception.cc (std::abort): Mark as noreturn.
16849
16850 2002-02-12  Adam Megacz <adam@xwt.org>
16851
16852         * java/lang/Win32Process.java: Filled in a placeholder
16853         implementation so Win32 will build.
16854
16855 2002-02-12  Adam Megacz <adam@xwt.org>
16856
16857         * java/io/natFilePosix.cc: Copied this from natFile.cc.
16858         * java/io/natFile.cc: Removed from repository.
16859         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
16860
16861 2002-02-12  Adam Megacz <adam@xwt.org>
16862
16863         * win32.cc: Added two #includes to make win32.cc compile.
16864
16865 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16866
16867         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
16868         declarations.
16869         (_Jv_InitGC): Don't bother locking, as this is always called from a
16870         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
16871
16872 2002-02-11  Adam Megacz <adam@xwt.org>
16873
16874         * include/win32.h: Added _Jv_platform_gettimeofday.
16875         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
16876
16877 2002-02-11  Adam Megacz <adam@xwt.org>
16878
16879         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
16880         Added #undef STRICT to make windows.h and
16881         java/lang/reflect/Modifier.h cooperate.
16882
16883 2002-02-11  Adam Megacz <adam@xwt.org>
16884
16885         * java/io/natFileWin32.cc: Created a placeholder class with lots
16886         of FIXMEs.
16887
16888 2002-02-11  Adam Megacz <adam@xwt.org>
16889
16890         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
16891         std::abort() to simply abort(). Also added "fake" std::abort() so
16892         we can #include unwind-pe.h without having to link against
16893         libstdc++-v3.
16894
16895 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
16896
16897         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
16898
16899 2002-02-08  Tom Tromey  <tromey@redhat.com>
16900
16901         * interpret.cc (convert): New function.
16902         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
16903         convert.
16904         Include Long.h.
16905
16906 2002-02-08  Anthony Green  <green@redhat.com>
16907
16908         * configure.host: Add support for xscale-elf embedded target.
16909
16910 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
16911
16912         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
16913         dereferenced.
16914         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
16915         frame.
16916
16917 2002-02-07  Tom Tromey  <tromey@redhat.com>
16918
16919         * java/io/natFile.cc (_access): Use __builtin_alloca.
16920         (_stat): Likewise.
16921         (attr): Likewise.
16922         (getCanonicalPath): Likewise.
16923         (performList): Likewise.
16924         (performMkdir): Likewise.
16925         (performSetReadOnly): Likewise.
16926         (performRenameTo): Likewise.
16927         (performSetLastModified): Likewise.
16928         (performCreate): Likewise.
16929         (performDelete): Likewise.
16930
16931 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16932
16933         * HACKING: Fix URL for the automake-gcj.
16934
16935 2002-02-07  Tom Tromey  <tromey@redhat.com>
16936
16937         * java/lang/natThrowable.cc: Updated copyright.
16938         * java/io/natFileWin32.cc: Updated copyright.
16939         * java/io/natFileDescriptorWin32.cc: Updated copyright.
16940         * win32-threads.cc: Updated copyright.
16941         * name-finder.cc: Updated copyright.
16942         * include/name-finder.h: Updated copyright.
16943
16944         * include/name-finder.h: Conditionally include sys/wait.h.
16945         * include/config.h.in: Rebuilt.
16946
16947         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
16948         Size buffer based on real size of string.
16949         (_stat): Likewise.
16950         (attr): Likewise.
16951         (getCanonicalPath): Likewise.
16952         (performList): Likewise.
16953         (performMkdir): Likewise.
16954         (performSetReadOnly): Likewise.
16955         (unixroot): Removed.
16956         (performRenameTo): Likewise.
16957         (performSetLastModified): Likewise.
16958         (performCreate): Likewise.
16959         (performDelete): Likewise.
16960         (performListRoots): Always return new array.
16961
16962         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
16963         * win32.cc (win32_exception_handler): Now static.
16964         * include/win32.h (_Jv_platform_initialize): Declare.
16965         (win32_exception_handler): Don't declare.
16966         * java/lang/natSystem.cc (currentTimeMillis): Use
16967         _Jv_platform_gettimeofday.
16968         * posix.cc (_Jv_platform_gettimeofday): Renamed.
16969         (_Jv_select): Use new name.
16970         (_Jv_platform_initialize): New function.
16971         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
16972         _Jv_gettimeofday.
16973         (_Jv_platform_initialize): Declare.
16974
16975         * configure: Rebuilt.
16976         * configure.in: Removed unnecessary parens.
16977
16978 2002-02-06  Adam Megacz <adam@xwt.org>
16979
16980        * configure.in: Changed mingw) to *mingw*).
16981        * win32.cc: Created this file.
16982        * win32.h: Created this file.
16983        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
16984        win32_exception_handler from prims.cc to win32.cc, added
16985        header in win32.h.
16986        * prims.cc: removed some #ifdef-WIN32'd headers which are no
16987        longer needed now that we have platform.h
16988
16989 2002-02-06  Adam Megacz <adam@xwt.org>
16990
16991         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
16992         use uint<n>_t instead of LONG and BYTE
16993
16994 2002-02-06  Adam Megacz <adam@xwt.org>
16995
16996         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
16997
16998 2002-02-06  Anthony Green  <green@redhat.com>
16999
17000         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
17001         Implement missing method stubs.
17002         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
17003         targets.
17004         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
17005         concept of timezones.
17006         (init_properties): Don't refer to _Jv_Environment_Properties
17007         when this feature is not available.
17008         * include/config.h.in: Rebuilt.
17009         * acconfig.h: Add DISABLE_MAIN_ARGS.
17010         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
17011         * configure: Rebuilt.
17012         * configure.in: Add --disable-main-args option.  Test for
17013           opendir function.  Replace AC_CHECK_SIZEOF with
17014           AC_COMPILE_CHECK_SIZEOF.
17015         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
17016         * aclocal.m4: Rebuilt.
17017         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
17018
17019 2002-02-06  Tom Tromey  <tromey@redhat.com>
17020
17021         * verify.cc (require_array_type): If argument is a null array of
17022         references, return null as the element type.
17023
17024 2002-02-06  Mark Wielaard  <mark@klomp.org>
17025
17026         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
17027         duplicate of a wide type.
17028
17029 2002-02-06  Tom Tromey  <tromey@redhat.com>
17030
17031         * verify.cc (type::isnull): New method.
17032         (require_array_type): Handle case where array is null.
17033         (verify_instructions_0) [op_arraylength]: Likewise.
17034
17035 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
17036
17037         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
17038         Symlink PLATFORMH to platform.h.
17039         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
17040         PLATFORMOBJS.
17041         * java/lang/natSystem.cc: #include platform.h not posix.h.
17042         * Makefile.in: Rebuilt with libgcj automake.
17043         * configure: Rebuilt.
17044
17045 2002-02-05  Richard Henderson  <rth@redhat.com>
17046
17047         * Makefile.in: Undo munging last change.
17048
17049 2002-02-04  Adam Megacz <adam@xwt.org>
17050
17051         * win32.cc: Created it.
17052         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
17053         which is set to posix.cc or win32.cc.
17054         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
17055
17056 2002-02-04  Adam Megacz <adam@xwt.org>
17057
17058         * configure.in: Corrected mingw case branches; added * before
17059         and after.
17060
17061 2002-02-04  Adam Megacz <adam@xwt.org>
17062
17063         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
17064         if compiling for win32
17065
17066 2002-02-04  Adam Megacz <adam@xwt.org>
17067
17068         * win32-threads.cc: #undef STRICT after gc.h inclusion
17069
17070 2002-02-02  Tom Tromey  <tromey@redhat.com>
17071
17072         * Makefile.in: Rebuilt.
17073
17074 2002-02-02  Jason Merrill  <jason@redhat.com>
17075
17076         * Makefile.am (clean-nat): New target.
17077
17078 2002-02-02  Tom Tromey  <tromey@redhat.com>
17079
17080         * java/io/natFile.cc: Removed old "FIXME" comments.
17081
17082 2002-02-01  Tom Tromey  <tromey@redhat.com>
17083
17084         * java/lang/natPosixProcess.cc (myclose): New function.
17085         (fail): Use it.
17086         (startProcess): Likewise.
17087
17088 2002-02-01  Adam Megacz <adam@xwt.org>
17089
17090         * prims.cc: Added #undef STRICT after #include<windows.h>.
17091
17092 2002-02-01  Adam Megacz <adam@xwt.org>
17093
17094         * prims.cc
17095         (_Jv_CreateJavaVM): We now use WIN32 instead of
17096         USE_WIN32_SIGNALLING and USE_WINSOCK.
17097         (win32_exception_handler): Now throws an exception out of
17098         the signal handler; assumes SJLJ.
17099
17100 2002-02-01  Adam Megacz <adam@xwt.org>
17101
17102         * win32-threads.cc:
17103         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
17104         wait() algorithm to make it safe.
17105         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
17106         Added lazy creation of Win32 Events for better performance
17107         (really_start): This now uses GC_CreateThread so boehm-gc
17108         knows about new threads even when statically linked.
17109
17110 2002-02-01  Adam Megacz <adam@xwt.org>
17111
17112         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
17113         enable safer wait() algorithm.
17114         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
17115         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
17116         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
17117         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
17118         instead of mutex.
17119         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
17120
17121 2002-02-01  Adam Megacz <adam@xwt.org>
17122
17123         * configure.in: Added support for mingw.
17124         * java/lang/Win32Process.java: Created as empty file.
17125         * java/lang/natWin32Process.cc: Created as empty file.
17126
17127 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
17128
17129         PR java/4972
17130         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
17131         for libiconv in LIBICONV variable.
17132         * configure: Regenerated.
17133
17134 2002-01-31  Tom Tromey  <tromey@redhat.com>
17135
17136         * verify.cc (state::enter_subroutine): New method.
17137         (handle_jsr_insn): Use it.
17138         (state::merge): When processing a `ret', correctly use
17139         subroutine's state to determine which local variables have
17140         changed.
17141         (push_exception_jump): Don't let stack overflow.
17142
17143 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
17144
17145         * gnu/gcj/convert/Convert.java: Only include one copyright year in
17146         --version output.
17147
17148 2002-01-30  Tom Tromey  <tromey@redhat.com>
17149
17150         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
17151         parameter for `recv' return type.
17152
17153         * verify.cc (handle_ret_insn): Check for subroutine merge here...
17154         (state::merge): ... not here.
17155         (subr_entry_info): New structure.
17156         (entry_points): New field.
17157         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
17158         entry_points.
17159
17160 2002-01-29  Tom Tromey  <tromey@redhat.com>
17161
17162         * java/awt/List.java (addNotify): Correctly check to see if peer
17163         does not exist.
17164
17165         * java/awt/GridLayout.java (layoutContainer): Use number of rows
17166         to compute height of each cell, and number of columns to compute
17167         width of each cell.
17168         * java/awt/Window.java (getOwnedWindows): Don't return null.
17169         * java/awt/FlowLayout.java (layoutContainer): Set width and height
17170         of component.  Increment x using horizontal gap, not vertical
17171         gap.
17172
17173 2002-01-28  Tom Tromey  <tromey@redhat.com>
17174
17175         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
17176         `nargs' byte is number of words, not number of arguments.
17177
17178 2002-01-27  Tom Tromey  <tromey@redhat.com>
17179
17180         * java/awt/event/MouseEvent.java (modifiers): Removed field.
17181         (when): Likewise.
17182         * java/awt/event/InputEvent.java (modifiers, when): Now
17183         package-private.
17184
17185         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
17186         and to-do list.
17187         (state::merge): Use current class' class loader.
17188         (state::print): Print subroutine.
17189         (state::merge): Don't look at subroutine of unmerged `ret'.
17190
17191 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
17192
17193         * nogc.cc: Remove warnings.
17194         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
17195         New functions.
17196
17197 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
17198
17199         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
17200         int, int):  Remove empty "if" statement to work around compiler bug.
17201         (newPixels(int[], ColorModel, int, int): Likewise.
17202
17203 2002-01-25  Per Bothner  <per@bothner.com>
17204
17205         * verify.cc (verify_fail):  Change from being a top-level function
17206         to e method of _Jv_BytecodeVerifier.  Emit current method name.
17207         Pass the current verifier to type: and state: methods as needed,
17208         for better error messages, and for resolve.
17209         (resolve):  Pass current class's loader for Class.forName and
17210         _Jv_FindClassFromSignature, rather than using the default loader.
17211         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
17212         (get_type_val_for_signature):  Make non-static.
17213         (various methods):  Pass start_PC implicitly, not explicitly.
17214
17215 2002-01-25  Tom Tromey  <tromey@redhat.com>
17216
17217         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
17218         loop termination condition.
17219         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
17220         width.
17221
17222 2002-01-24  Tom Tromey  <tromey@redhat.com>
17223
17224         * java/awt/Shape.java: Merged with Classpath.
17225         * java/awt/Scrollbar.java: Merged with Classpath.
17226
17227         * java/awt/Container.java (addNotify): Unconditionally call
17228         addNotifyContainerChildren and superclass addNotify.
17229
17230         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
17231         getAlpha, not getBlue.
17232
17233 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
17234
17235         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
17236
17237         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
17238         (grabPixels(long)): Wait to be notified that the ImageProducer has
17239         completed.
17240
17241 2002-01-24  Per Bothner  <per@bothner.com>
17242
17243         * verify.cc (is_assignable_from_slow): If target is an interface,
17244         we must still check the source's superclass before giving up.
17245
17246 2002-01-24  Tom Tromey  <tromey@redhat.com>
17247
17248         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
17249
17250 2002-01-23  Tom Tromey  <tromey@redhat.com>
17251
17252         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
17253         `else'.
17254
17255         * Makefile.in: Rebuilt.
17256         * Makefile.am (awt_java_source_files): Added new files.
17257         * java/awt/Toolkit.java: Merged with Classpath.
17258         * java/awt/PrintGraphics.java: New file from Classpath.
17259         * java/awt/PrintJob.java: New file from Classpath.
17260         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
17261         * java/awt/datatransfer/ClipboardOwner.java: New file from
17262         Classpath.
17263         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
17264         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
17265         * java/awt/datatransfer/MimeTypeParseException.java: New file from
17266         Classpath.
17267         * java/awt/datatransfer/StringSelection.java: New file from
17268         Classpath.
17269         * java/awt/datatransfer/SystemFlavorMap.java: New file from
17270         Classpath.
17271         * java/awt/datatransfer/Transferable.java: New file from
17272         Classpath.
17273         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
17274         from Classpath.
17275
17276         * Makefile.in: Rebuilt.
17277         * Makefile.am (awt_java_source_files): Added new files.
17278         * java/awt/image/AreaAveragingScaleFilter.java: New file from
17279         Classpath.
17280         * java/awt/image/CropImageFilter.java: New file from Classpath.
17281         * java/awt/image/FilteredImageSource.java: New file from
17282         Classpath.
17283         * java/awt/image/ImageFilter.java: New file from Classpath.
17284         * java/awt/image/MemoryImageSource.java: New file from Classpath.
17285         * java/awt/image/PixelGrabber.java: New file from Classpath.
17286         * java/awt/image/RGBImageFilter.java: New file from Classpath.
17287         * java/awt/image/ReplicateScaleFilter.java: New file from
17288         Classpath.
17289         * java/awt/image/ImageProducer.java: Replaced with Classpath
17290         version.
17291         * java/awt/image/ImageObserver.java: Replaced with Classpath
17292         version.
17293         * java/awt/image/ImageConsumer.java: Replaced with Classpath
17294         version.
17295         * java/awt/GridBagConstraints.java (clone): Catch
17296         CloneNotSupportedException.
17297
17298 2002-01-23  Per Bothner  <per@bothner.com>
17299
17300         * java/lang/reflect/natField.cc (setAddr):  New function.
17301         Calls getAddr and then checks that the field isn't final.
17302         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
17303         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
17304         (set):  Call setAddr before check that new value has right type,
17305         to better match specified semantics.
17306
17307 2002-01-22  Tom Tromey  <tromey@redhat.com>
17308
17309         * java/awt/TextField.java: Replaced with Classpath version.
17310         * java/awt/TextArea.java: Replaced with Classpath version.
17311         * java/awt/TextComponent.java: Replaced with Classpath version.
17312
17313         * java/awt/GridBagConstraints.java: Updated copyright.
17314
17315 2002-01-22  Mark Wielaard <mark@klomp.org>
17316
17317         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
17318         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
17319         java/awt/Dialog.java java/awt/FileDialog.java
17320         java/awt/Font.java java/awt/FontMetrics.java
17321         java/awt/Image.java java/awt/ImageMediaEntry.java
17322         java/awt/Insets.java java/awt/List.java
17323         java/awt/MediaEntry.java java/awt/MediaTracker.java
17324         java/awt/Menu.java java/awt/MenuBar.java
17325         java/awt/MenuContainer.java java/awt/MenuShortcut.java
17326         java/awt/PaintContext.java java/awt/Panel.java
17327         java/awt/PopupMenu.java java/awt/SystemColor.java
17328         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
17329         java/awt/peer/CheckboxMenuItemPeer.java
17330         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
17331         java/awt/peer/ComponentPeer.java
17332         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
17333         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
17334         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
17335         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
17336         java/awt/peer/MenuBarPeer.java
17337         java/awt/peer/MenuComponentPeer.java
17338         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
17339         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
17340         java/awt/peer/ScrollPanePeer.java
17341         java/awt/peer/ScrollbarPeer.java
17342         java/awt/peer/TextAreaPeer.java
17343         java/awt/peer/TextComponentPeer.java
17344         java/awt/peer/TextFieldPeer.java
17345         java/awt/peer/WindowPeer.java: Add license clarification.
17346
17347 2002-01-22  Mark Wielaard <mark@klomp.org>
17348
17349         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
17350         gnu/gcj/runtime/StringBuffer.java
17351         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
17352         gnu/java/awt/ComponentDataBlitOp.java
17353         gnu/java/awt/GLightweightPeer.java
17354         gnu/java/beans/BeanInfoEmbryo.java
17355         gnu/java/beans/EmptyBeanInfo.java
17356         gnu/java/beans/ExplicitBeanInfo.java
17357         gnu/java/beans/IntrospectionIncubator.java
17358         gnu/java/beans/editors/ColorEditor.java
17359         gnu/java/beans/editors/FontEditor.java
17360         gnu/java/beans/editors/NativeBooleanEditor.java
17361         gnu/java/beans/editors/NativeByteEditor.java
17362         gnu/java/beans/editors/NativeDoubleEditor.java
17363         gnu/java/beans/editors/NativeFloatEditor.java
17364         gnu/java/beans/editors/NativeIntEditor.java
17365         gnu/java/beans/editors/NativeLongEditor.java
17366         gnu/java/beans/editors/NativeShortEditor.java
17367         gnu/java/beans/editors/StringEditor.java
17368         gnu/java/beans/info/ComponentBeanInfo.java
17369         gnu/java/io/ClassLoaderObjectInputStream.java
17370         gnu/java/io/NullOutputStream.java
17371         gnu/java/io/ObjectIdentityWrapper.java
17372         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
17373         gnu/java/lang/reflect/TypeSignature.java
17374         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
17375         gnu/java/locale/Calendar_en.java
17376         gnu/java/locale/Calendar_nl.java
17377         gnu/java/locale/LocaleInformation.java
17378         gnu/java/locale/LocaleInformation_de.java
17379         gnu/java/locale/LocaleInformation_en.java
17380         gnu/java/locale/LocaleInformation_nl.java
17381         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
17382         gnu/java/rmi/registry/RegistryImpl.java
17383         gnu/java/rmi/rmic/Compile_gcj.java
17384         gnu/java/rmi/rmic/Compiler.java
17385         gnu/java/rmi/rmic/CompilerProcess.java
17386         gnu/java/rmi/rmic/RMIC.java
17387         gnu/java/rmi/rmic/TabbedWriter.java
17388         gnu/java/rmi/server/ProtocolConstants.java
17389         gnu/java/rmi/server/RMIDefaultSocketFactory.java
17390         gnu/java/rmi/server/RMIHashes.java
17391         gnu/java/rmi/server/RMIObjectInputStream.java
17392         gnu/java/rmi/server/RMIObjectOutputStream.java
17393         gnu/java/rmi/server/UnicastConnection.java
17394         gnu/java/rmi/server/UnicastConnectionManager.java
17395         gnu/java/rmi/server/UnicastRef.java
17396         gnu/java/rmi/server/UnicastRemoteCall.java
17397         gnu/java/rmi/server/UnicastRemoteStub.java
17398         gnu/java/rmi/server/UnicastServer.java
17399         gnu/java/rmi/server/UnicastServerRef.java
17400         gnu/java/security/provider/DefaultPolicy.java
17401         gnu/java/security/provider/Gnu.java
17402         gnu/java/security/provider/SHA.java
17403         gnu/java/security/provider/SHA1PRNG.java
17404         gnu/java/text/BaseBreakIterator.java
17405         gnu/java/text/CharacterBreakIterator.java
17406         gnu/java/text/LineBreakIterator.java
17407         gnu/java/text/SentenceBreakIterator.java
17408         gnu/java/text/WordBreakIterator.java
17409         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
17410         java/applet/AppletContext.java java/applet/AppletStub.java
17411         java/applet/AudioClip.java java/awt/AWTError.java
17412         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
17413         java/awt/AWTException.java java/awt/AWTPermission.java
17414         java/awt/ActiveEvent.java java/awt/BorderLayout.java
17415         java/awt/Button.java java/awt/Canvas.java
17416         java/awt/CardLayout.java java/awt/Checkbox.java
17417         java/awt/CheckboxGroup.java java/awt/Component.java
17418         java/awt/ComponentOrientation.java java/awt/Container.java
17419         java/awt/Dimension.java java/awt/Event.java
17420         java/awt/EventDispatchThread.java java/awt/EventQueue.java
17421         java/awt/FlowLayout.java java/awt/Frame.java
17422         java/awt/Graphics.java java/awt/Graphics2D.java
17423         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
17424         java/awt/IllegalComponentStateException.java
17425         java/awt/ItemSelectable.java java/awt/Label.java
17426         java/awt/LayoutManager.java java/awt/LayoutManager2.java
17427         java/awt/MenuComponent.java java/awt/MenuItem.java
17428         java/awt/Paint.java java/awt/Point.java
17429         java/awt/Rectangle.java java/awt/RenderingHints.java
17430         java/awt/Transparency.java java/awt/Window.java
17431         java/awt/color/ColorSpace.java
17432         java/awt/color/ICC_ColorSpace.java
17433         java/awt/color/ICC_Profile.java
17434         java/awt/event/HierarchyBoundsAdapter.java
17435         java/awt/event/HierarchyBoundsListener.java
17436         java/awt/event/HierarchyEvent.java
17437         java/awt/event/HierarchyListener.java
17438         java/awt/geom/AffineTransform.java
17439         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
17440         java/awt/geom/IllegalPathStateException.java
17441         java/awt/geom/Line2D.java
17442         java/awt/geom/NoninvertibleTransformException.java
17443         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
17444         java/awt/geom/Rectangle2D.java
17445         java/awt/geom/RectangularShape.java
17446         java/awt/geom/RoundRectangle2D.java
17447         java/awt/image/BufferedImage.java
17448         java/awt/image/ColorModel.java
17449         java/awt/image/ComponentColorModel.java
17450         java/awt/image/ComponentSampleModel.java
17451         java/awt/image/DataBuffer.java
17452         java/awt/image/DataBufferByte.java
17453         java/awt/image/DataBufferInt.java
17454         java/awt/image/DataBufferUShort.java
17455         java/awt/image/DirectColorModel.java
17456         java/awt/image/PackedColorModel.java
17457         java/awt/image/Raster.java java/awt/image/RasterOp.java
17458         java/awt/image/SampleModel.java
17459         java/awt/image/SinglePixelPackedSampleModel.java
17460         java/awt/image/WritableRaster.java
17461         java/beans/AppletInitializer.java
17462         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
17463         java/beans/Beans.java java/beans/Customizer.java
17464         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
17465         java/beans/FeatureDescriptor.java
17466         java/beans/IndexedPropertyDescriptor.java
17467         java/beans/IntrospectionException.java
17468         java/beans/Introspector.java java/beans/MethodDescriptor.java
17469         java/beans/ParameterDescriptor.java
17470         java/beans/PropertyChangeEvent.java
17471         java/beans/PropertyChangeListener.java
17472         java/beans/PropertyChangeSupport.java
17473         java/beans/PropertyDescriptor.java
17474         java/beans/PropertyEditor.java
17475         java/beans/PropertyEditorManager.java
17476         java/beans/PropertyEditorSupport.java
17477         java/beans/PropertyVetoException.java
17478         java/beans/SimpleBeanInfo.java
17479         java/beans/VetoableChangeListener.java
17480         java/beans/VetoableChangeSupport.java
17481         java/beans/Visibility.java
17482         java/beans/beancontext/BeanContext.java
17483         java/beans/beancontext/BeanContextChild.java
17484         java/beans/beancontext/BeanContextChildComponentProxy.java
17485         java/beans/beancontext/BeanContextChildSupport.java
17486         java/beans/beancontext/BeanContextContainerProxy.java
17487         java/beans/beancontext/BeanContextEvent.java
17488         java/beans/beancontext/BeanContextMembershipEvent.java
17489         java/beans/beancontext/BeanContextMembershipListener.java
17490         java/beans/beancontext/BeanContextProxy.java
17491         java/beans/beancontext/BeanContextServiceAvailableEvent.java
17492         java/beans/beancontext/BeanContextServiceProvider.java
17493         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
17494         java/beans/beancontext/BeanContextServiceRevokedEvent.java
17495         java/beans/beancontext/BeanContextServiceRevokedListener.java
17496         java/beans/beancontext/BeanContextServices.java
17497         java/beans/beancontext/BeanContextServicesListener.java
17498         java/io/BufferedInputStream.java
17499         java/io/BufferedOutputStream.java java/io/BufferedReader.java
17500         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
17501         java/io/ByteArrayOutputStream.java
17502         java/io/CharArrayReader.java java/io/CharArrayWriter.java
17503         java/io/CharConversionException.java java/io/DataInput.java
17504         java/io/DataInputStream.java java/io/DataOutput.java
17505         java/io/EOFException.java java/io/Externalizable.java
17506         java/io/FileFilter.java java/io/FileNotFoundException.java
17507         java/io/FilePermission.java java/io/FileReader.java
17508         java/io/FileWriter.java java/io/FilenameFilter.java
17509         java/io/FilterInputStream.java java/io/FilterOutputStream.java
17510         java/io/FilterReader.java java/io/FilterWriter.java
17511         java/io/IOException.java java/io/InputStream.java
17512         java/io/InterruptedIOException.java
17513         java/io/InvalidClassException.java
17514         java/io/InvalidObjectException.java
17515         java/io/NotActiveException.java
17516         java/io/NotSerializableException.java java/io/ObjectInput.java
17517         java/io/ObjectInputStream.java
17518         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
17519         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
17520         java/io/ObjectStreamConstants.java
17521         java/io/ObjectStreamException.java
17522         java/io/ObjectStreamField.java
17523         java/io/OptionalDataException.java java/io/OutputStream.java
17524         java/io/PipedInputStream.java java/io/PipedOutputStream.java
17525         java/io/PipedReader.java java/io/PipedWriter.java
17526         java/io/PrintWriter.java java/io/PushbackInputStream.java
17527         java/io/PushbackReader.java java/io/Reader.java
17528         java/io/SequenceInputStream.java java/io/Serializable.java
17529         java/io/SerializablePermission.java
17530         java/io/StreamCorruptedException.java
17531         java/io/StreamTokenizer.java
17532         java/io/StringBufferInputStream.java java/io/StringReader.java
17533         java/io/StringWriter.java java/io/SyncFailedException.java
17534         java/io/UTFDataFormatException.java
17535         java/io/UnsupportedEncodingException.java
17536         java/io/WriteAbortedException.java java/io/Writer.java
17537         java/lang/AbstractMethodError.java
17538         java/lang/ArithmeticException.java
17539         java/lang/ArrayIndexOutOfBoundsException.java
17540         java/lang/ArrayStoreException.java java/lang/Boolean.java
17541         java/lang/Byte.java java/lang/CharSequence.java
17542         java/lang/ClassCastException.java
17543         java/lang/ClassCircularityError.java
17544         java/lang/ClassFormatError.java
17545         java/lang/ClassNotFoundException.java
17546         java/lang/CloneNotSupportedException.java
17547         java/lang/Cloneable.java java/lang/Comparable.java
17548         java/lang/Compiler.java java/lang/Double.java
17549         java/lang/Error.java java/lang/Exception.java
17550         java/lang/ExceptionInInitializerError.java
17551         java/lang/Float.java java/lang/IllegalAccessError.java
17552         java/lang/IllegalAccessException.java
17553         java/lang/IllegalArgumentException.java
17554         java/lang/IllegalMonitorStateException.java
17555         java/lang/IllegalStateException.java
17556         java/lang/IllegalThreadStateException.java
17557         java/lang/IncompatibleClassChangeError.java
17558         java/lang/IndexOutOfBoundsException.java
17559         java/lang/InheritableThreadLocal.java
17560         java/lang/InstantiationError.java
17561         java/lang/InstantiationException.java java/lang/Integer.java
17562         java/lang/InternalError.java
17563         java/lang/InterruptedException.java
17564         java/lang/LinkageError.java java/lang/Long.java
17565         java/lang/NegativeArraySizeException.java
17566         java/lang/NoClassDefFoundError.java
17567         java/lang/NoSuchFieldError.java
17568         java/lang/NoSuchFieldException.java
17569         java/lang/NoSuchMethodError.java
17570         java/lang/NoSuchMethodException.java
17571         java/lang/NullPointerException.java java/lang/Number.java
17572         java/lang/NumberFormatException.java
17573         java/lang/OutOfMemoryError.java java/lang/Package.java
17574         java/lang/Process.java java/lang/Runnable.java
17575         java/lang/RuntimeException.java
17576         java/lang/RuntimePermission.java
17577         java/lang/SecurityException.java
17578         java/lang/SecurityManager.java java/lang/Short.java
17579         java/lang/StackOverflowError.java java/lang/StringBuffer.java
17580         java/lang/StringIndexOutOfBoundsException.java
17581         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
17582         java/lang/ThreadLocal.java java/lang/UnknownError.java
17583         java/lang/UnsatisfiedLinkError.java
17584         java/lang/UnsupportedClassVersionError.java
17585         java/lang/UnsupportedOperationException.java
17586         java/lang/VerifyError.java java/lang/VirtualMachineError.java
17587         java/lang/Void.java java/lang/ref/PhantomReference.java
17588         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
17589         java/lang/ref/SoftReference.java
17590         java/lang/ref/WeakReference.java
17591         java/lang/reflect/AccessibleObject.java
17592         java/lang/reflect/InvocationTargetException.java
17593         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
17594         java/lang/reflect/ReflectPermission.java
17595         java/math/BigDecimal.java java/math/BigInteger.java
17596         java/net/Authenticator.java java/net/BindException.java
17597         java/net/ConnectException.java java/net/ContentHandler.java
17598         java/net/ContentHandlerFactory.java
17599         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
17600         java/net/FileNameMap.java java/net/MalformedURLException.java
17601         java/net/MulticastSocket.java java/net/NetPermission.java
17602         java/net/NoRouteToHostException.java
17603         java/net/PasswordAuthentication.java
17604         java/net/ProtocolException.java java/net/ServerSocket.java
17605         java/net/Socket.java java/net/SocketException.java
17606         java/net/SocketImpl.java java/net/SocketImplFactory.java
17607         java/net/SocketOptions.java java/net/SocketPermission.java
17608         java/net/URLDecoder.java java/net/URLEncoder.java
17609         java/net/URLStreamHandlerFactory.java
17610         java/net/UnknownHostException.java
17611         java/net/UnknownServiceException.java
17612         java/rmi/AccessException.java
17613         java/rmi/AlreadyBoundException.java
17614         java/rmi/ConnectException.java
17615         java/rmi/ConnectIOException.java
17616         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
17617         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
17618         java/rmi/NotBoundException.java
17619         java/rmi/RMISecurityException.java
17620         java/rmi/RMISecurityManager.java java/rmi/Remote.java
17621         java/rmi/RemoteException.java java/rmi/ServerError.java
17622         java/rmi/ServerException.java
17623         java/rmi/ServerRuntimeException.java
17624         java/rmi/StubNotFoundException.java
17625         java/rmi/UnexpectedException.java
17626         java/rmi/UnknownHostException.java
17627         java/rmi/UnmarshalException.java
17628         java/rmi/activation/Activatable.java
17629         java/rmi/activation/ActivateFailedException.java
17630         java/rmi/activation/ActivationDesc.java
17631         java/rmi/activation/ActivationException.java
17632         java/rmi/activation/ActivationGroup.java
17633         java/rmi/activation/ActivationGroupDesc.java
17634         java/rmi/activation/ActivationGroupID.java
17635         java/rmi/activation/ActivationID.java
17636         java/rmi/activation/ActivationInstantiator.java
17637         java/rmi/activation/ActivationMonitor.java
17638         java/rmi/activation/ActivationSystem.java
17639         java/rmi/activation/Activator.java
17640         java/rmi/activation/UnknownGroupException.java
17641         java/rmi/activation/UnknownObjectException.java
17642         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
17643         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
17644         java/rmi/registry/Registry.java
17645         java/rmi/registry/RegistryHandler.java
17646         java/rmi/server/ExportException.java
17647         java/rmi/server/LoaderHandler.java
17648         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
17649         java/rmi/server/Operation.java
17650         java/rmi/server/RMIClassLoader.java
17651         java/rmi/server/RMIClientSocketFactory.java
17652         java/rmi/server/RMIFailureHandler.java
17653         java/rmi/server/RMIServerSocketFactory.java
17654         java/rmi/server/RMISocketFactory.java
17655         java/rmi/server/RemoteCall.java
17656         java/rmi/server/RemoteObject.java
17657         java/rmi/server/RemoteRef.java
17658         java/rmi/server/RemoteServer.java
17659         java/rmi/server/RemoteStub.java
17660         java/rmi/server/ServerCloneException.java
17661         java/rmi/server/ServerNotActiveException.java
17662         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
17663         java/rmi/server/SkeletonMismatchException.java
17664         java/rmi/server/SkeletonNotFoundException.java
17665         java/rmi/server/SocketSecurityException.java
17666         java/rmi/server/UID.java
17667         java/rmi/server/UnicastRemoteObject.java
17668         java/rmi/server/Unreferenced.java
17669         java/security/AccessControlContext.java
17670         java/security/AccessControlException.java
17671         java/security/AccessController.java
17672         java/security/AlgorithmParameterGenerator.java
17673         java/security/AlgorithmParameterGeneratorSpi.java
17674         java/security/AlgorithmParameters.java
17675         java/security/AlgorithmParametersSpi.java
17676         java/security/AllPermission.java
17677         java/security/BasicPermission.java
17678         java/security/Certificate.java java/security/CodeSource.java
17679         java/security/DigestException.java
17680         java/security/DigestInputStream.java
17681         java/security/DigestOutputStream.java
17682         java/security/DomainCombiner.java
17683         java/security/DummyKeyPairGenerator.java
17684         java/security/DummyMessageDigest.java
17685         java/security/DummySignature.java
17686         java/security/GeneralSecurityException.java
17687         java/security/Guard.java java/security/GuardedObject.java
17688         java/security/Identity.java java/security/IdentityScope.java
17689         java/security/InvalidAlgorithmParameterException.java
17690         java/security/InvalidKeyException.java
17691         java/security/InvalidParameterException.java
17692         java/security/Key.java java/security/KeyException.java
17693         java/security/KeyFactory.java java/security/KeyFactorySpi.java
17694         java/security/KeyManagementException.java
17695         java/security/KeyPair.java java/security/KeyPairGenerator.java
17696         java/security/KeyPairGeneratorSpi.java
17697         java/security/KeyStore.java
17698         java/security/KeyStoreException.java
17699         java/security/KeyStoreSpi.java
17700         java/security/MessageDigest.java
17701         java/security/MessageDigestSpi.java
17702         java/security/NoSuchAlgorithmException.java
17703         java/security/NoSuchProviderException.java
17704         java/security/Permission.java
17705         java/security/PermissionCollection.java
17706         java/security/Permissions.java java/security/Policy.java
17707         java/security/Principal.java java/security/PrivateKey.java
17708         java/security/PrivilegedAction.java
17709         java/security/PrivilegedActionException.java
17710         java/security/PrivilegedExceptionAction.java
17711         java/security/ProtectionDomain.java
17712         java/security/Provider.java
17713         java/security/ProviderException.java
17714         java/security/PublicKey.java
17715         java/security/SecureClassLoader.java
17716         java/security/SecureRandom.java
17717         java/security/SecureRandomSpi.java java/security/Security.java
17718         java/security/SecurityPermission.java
17719         java/security/Signature.java
17720         java/security/SignatureException.java
17721         java/security/SignatureSpi.java
17722         java/security/SignedObject.java java/security/Signer.java
17723         java/security/UnrecoverableKeyException.java
17724         java/security/UnresolvedPermission.java
17725         java/security/acl/Acl.java java/security/acl/AclEntry.java
17726         java/security/acl/AclNotFoundException.java
17727         java/security/acl/Group.java
17728         java/security/acl/LastOwnerException.java
17729         java/security/acl/NotOwnerException.java
17730         java/security/acl/Owner.java java/security/acl/Permission.java
17731         java/security/cert/CRL.java
17732         java/security/cert/CRLException.java
17733         java/security/cert/Certificate.java
17734         java/security/cert/CertificateEncodingException.java
17735         java/security/cert/CertificateException.java
17736         java/security/cert/CertificateExpiredException.java
17737         java/security/cert/CertificateFactory.java
17738         java/security/cert/CertificateFactorySpi.java
17739         java/security/cert/CertificateNotYetValidException.java
17740         java/security/cert/CertificateParsingException.java
17741         java/security/cert/X509CRL.java
17742         java/security/cert/X509CRLEntry.java
17743         java/security/cert/X509Certificate.java
17744         java/security/cert/X509Extension.java
17745         java/security/interfaces/DSAKey.java
17746         java/security/interfaces/DSAKeyPairGenerator.java
17747         java/security/interfaces/DSAParams.java
17748         java/security/interfaces/DSAPrivateKey.java
17749         java/security/interfaces/DSAPublicKey.java
17750         java/security/interfaces/RSAKey.java
17751         java/security/interfaces/RSAPrivateCrtKey.java
17752         java/security/interfaces/RSAPrivateKey.java
17753         java/security/interfaces/RSAPublicKey.java
17754         java/security/spec/AlgorithmParameterSpec.java
17755         java/security/spec/DSAParameterSpec.java
17756         java/security/spec/DSAPrivateKeySpec.java
17757         java/security/spec/DSAPublicKeySpec.java
17758         java/security/spec/EncodedKeySpec.java
17759         java/security/spec/InvalidKeySpecException.java
17760         java/security/spec/InvalidParameterSpecException.java
17761         java/security/spec/KeySpec.java
17762         java/security/spec/PKCS8EncodedKeySpec.java
17763         java/security/spec/RSAKeyGenParameterSpec.java
17764         java/security/spec/RSAPrivateCrtKeySpec.java
17765         java/security/spec/RSAPrivateKeySpec.java
17766         java/security/spec/RSAPublicKeySpec.java
17767         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
17768         java/sql/BatchUpdateException.java java/sql/Blob.java
17769         java/sql/CallableStatement.java java/sql/Clob.java
17770         java/sql/Connection.java java/sql/DataTruncation.java
17771         java/sql/DatabaseMetaData.java java/sql/Date.java
17772         java/sql/Driver.java java/sql/DriverManager.java
17773         java/sql/DriverPropertyInfo.java
17774         java/sql/PreparedStatement.java java/sql/Ref.java
17775         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
17776         java/sql/SQLData.java java/sql/SQLException.java
17777         java/sql/SQLInput.java java/sql/SQLOutput.java
17778         java/sql/SQLWarning.java java/sql/Statement.java
17779         java/sql/Struct.java java/sql/Time.java
17780         java/sql/Timestamp.java java/sql/Types.java
17781         java/text/Annotation.java
17782         java/text/AttributedCharacterIterator.java
17783         java/text/AttributedString.java
17784         java/text/AttributedStringIterator.java
17785         java/text/BreakIterator.java java/text/CharacterIterator.java
17786         java/text/ChoiceFormat.java java/text/Collator.java
17787         java/text/DateFormat.java java/text/DateFormatSymbols.java
17788         java/text/DecimalFormat.java
17789         java/text/DecimalFormatSymbols.java
17790         java/text/FieldPosition.java java/text/Format.java
17791         java/text/MessageFormat.java java/text/NumberFormat.java
17792         java/text/ParseException.java java/text/ParsePosition.java
17793         java/text/SimpleDateFormat.java
17794         java/text/StringCharacterIterator.java
17795         java/util/AbstractCollection.java java/util/AbstractList.java
17796         java/util/AbstractMap.java
17797         java/util/AbstractSequentialList.java
17798         java/util/AbstractSet.java java/util/ArrayList.java
17799         java/util/Arrays.java java/util/BasicMapEntry.java
17800         java/util/BitSet.java java/util/Calendar.java
17801         java/util/Collection.java java/util/Collections.java
17802         java/util/Comparator.java
17803         java/util/ConcurrentModificationException.java
17804         java/util/Date.java java/util/Dictionary.java
17805         java/util/EmptyStackException.java java/util/Enumeration.java
17806         java/util/EventListener.java java/util/EventObject.java
17807         java/util/GregorianCalendar.java java/util/HashMap.java
17808         java/util/HashSet.java java/util/Hashtable.java
17809         java/util/IdentityHashMap.java java/util/Iterator.java
17810         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
17811         java/util/LinkedList.java java/util/List.java
17812         java/util/ListIterator.java java/util/ListResourceBundle.java
17813         java/util/Locale.java java/util/Map.java
17814         java/util/MissingResourceException.java
17815         java/util/NoSuchElementException.java
17816         java/util/Observable.java java/util/Observer.java
17817         java/util/Properties.java java/util/PropertyPermission.java
17818         java/util/PropertyResourceBundle.java java/util/Random.java
17819         java/util/RandomAccess.java java/util/ResourceBundle.java
17820         java/util/Set.java java/util/SimpleTimeZone.java
17821         java/util/SortedMap.java java/util/SortedSet.java
17822         java/util/Stack.java java/util/StringTokenizer.java
17823         java/util/TimeZone.java java/util/Timer.java
17824         java/util/TimerTask.java
17825         java/util/TooManyListenersException.java
17826         java/util/TreeMap.java java/util/TreeSet.java
17827         java/util/Vector.java java/util/WeakHashMap.java
17828         java/util/jar/Attributes.java java/util/jar/JarEntry.java
17829         java/util/jar/JarException.java java/util/jar/JarFile.java
17830         java/util/jar/JarInputStream.java
17831         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
17832         java/util/zip/Adler32.java java/util/zip/CRC32.java
17833         java/util/zip/CheckedInputStream.java
17834         java/util/zip/CheckedOutputStream.java
17835         java/util/zip/Checksum.java
17836         java/util/zip/DataFormatException.java
17837         java/util/zip/Deflater.java
17838         java/util/zip/DeflaterOutputStream.java
17839         java/util/zip/GZIPInputStream.java
17840         java/util/zip/GZIPOutputStream.java
17841         java/util/zip/Inflater.java
17842         java/util/zip/InflaterInputStream.java
17843         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
17844         java/util/zip/ZipException.java java/util/zip/ZipFile.java
17845         java/util/zip/ZipInputStream.java
17846         java/util/zip/ZipOutputStream.java
17847         javax/naming/BinaryRefAddr.java
17848         javax/naming/InvalidNameException.java javax/naming/Name.java
17849         javax/naming/NamingException.java javax/naming/RefAddr.java
17850         javax/naming/StringRefAddr.java: Add license clarification.
17851
17852 2002-01-22  Tom Tromey  <tromey@redhat.com>
17853
17854         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
17855         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
17856         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
17857         version.
17858         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
17859         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
17860         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
17861         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
17862         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
17863         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
17864         * java/awt/peer/FontPeer.java: Replace with Classpath version.
17865         * java/awt/peer/FramePeer.java: Replace with Classpath version.
17866         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
17867         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
17868         * java/awt/peer/ListPeer.java: Replace with Classpath version.
17869         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
17870         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
17871         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
17872         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
17873         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
17874         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
17875         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
17876         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
17877         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
17878         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
17879         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
17880         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
17881         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
17882         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
17883         (minimumSize, preferredSize, reshape): Likewise.
17884         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
17885         getColorModel): New methods.
17886         * java/awt/PopupMenu.java: Merged with Classpath.
17887         * java/awt/MenuBar.java: Merged with Classpath.
17888         * java/awt/SystemColor.java: Replace with Classpath version.
17889         * java/awt/Panel.java: Merged with Classpath.
17890         * java/awt/PaintContext.java: Updated copyright.
17891         * java/awt/MenuShortcut.java: Merged with Classpath.
17892         * java/awt/MenuContainer.java: Merged with Classpath.
17893         * java/awt/Menu.java: Merged with Classpath.
17894         * java/awt/MediaEntry.java: New file from Classpath.
17895         * java/awt/MediaTracker.java: New file from Classpath.
17896         * java/awt/List.java: Merged with Classpath version.
17897         * java/awt/Insets.java: Merged with Classpath version.
17898         * java/awt/ImageMediaEntry.java: New file from Classpath.
17899         * java/awt/Image.java: Replaced with Classpath version.
17900         * java/awt/FontMetrics.java: Merged with Classpath version.
17901         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
17902         constant.
17903         * java/awt/Font.java: Merged with Classpath version.
17904         * java/awt/Dialog.java: Merged with Classpath version.
17905         * java/awt/Color.java: Merged with Classpath version.
17906         * java/awt/Choice.java: Merged with Classpath version.
17907         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
17908         * java/awt/Adjustable.java: Replace with Classpath version.
17909         * java/awt/MenuItem.java (paramString): Don't include class name
17910         or brackets.  Call superclass paramString.
17911         * java/awt/MenuComponent.java (toString): Call paramString.
17912         (paramString): Compute string; don't call toString.
17913         * java/awt/Label.java (paramString): Don't include class name
17914         or brackets.  Call superclass paramString.
17915         * java/awt/Checkbox.java (paramString): Don't include class name
17916         or brackets.  Call superclass paramString.
17917         * java/awt/Button.java (paramString): Don't include class name or
17918         brackets.  Call superclass paramString.
17919         * java/awt/MenuComponent.java (getTreeLock): Now protected.
17920
17921 2002-01-20  Andreas Schwab  <schwab@suse.de>
17922
17923         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
17924         function and of parameter recv_func to ssize_t, as specified by
17925         POSIX.
17926
17927 2002-01-19  Per Bothner  <per@bothner.com>
17928
17929         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
17930         uncompressed_size in readiness for next entry.
17931
17932 2002-01-18  Tom Tromey  <tromey@redhat.com>
17933
17934         * java/net/natPlainSocketImpl.cc: Include
17935         IllegalArgumentException.h.
17936         (_Jv_recv): New template function.
17937         (BooleanClass): Removed.
17938         (read): Use _Jv_recv.
17939         (setOption): Use Boolean::class$.  Throw exception if object is
17940         not Boolean or Integer.
17941
17942 2002-01-17  Tom Tromey  <tromey@redhat.com>
17943
17944         * java/awt/MenuComponent.java: Merged with Classpath.
17945         * java/awt/MenuItem.java: Merged with Classpath.
17946         * java/awt/Button.java: Merged with Classpath.
17947
17948         * java/awt/ActiveEvent.java: Updated copyright.
17949
17950         * java/awt/AWTError.java: Replaced with Classpath version.
17951         * java/awt/AWTException.java: Replaced with Classpath version.
17952         * java/awt/IllegalComponentStateException.java: Replaced with
17953         Classpath version.
17954
17955 2002-01-16  Tom Tromey  <tromey@redhat.com>
17956
17957         * java/awt/Canvas.java (serialVersionUID): New constant.
17958         Updated copyright.  Added javadoc from Classpath.
17959         * java/awt/ItemSelectable.java: Replaced with Classpath version.
17960
17961         * java/awt/CheckboxGroup.java: Merged with Classpath.
17962         * java/awt/Checkbox.java: Merged with Classpath.
17963
17964         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
17965         Classpath.
17966         * java/awt/Point.java: Updated copyright.
17967
17968         * java/awt/Point.java (toString): Use getClass().getName().
17969         Added javadoc.
17970
17971         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
17972         commented code.
17973         (hash): Correctly compute initial value for `h'.
17974
17975         * java/awt/Label.java: Merged with Classpath.
17976
17977 2002-01-15  Tom Tromey  <tromey@redhat.com>
17978
17979         * java/awt/AWTPermission.java: Updated copyright.
17980
17981         * java/awt/LayoutManager2.java: Merged with Classpath.
17982         * java/awt/LayoutManager.java: Merged with Classpath.
17983         * java/awt/GridLayout.java: Updated copyright and javadoc.
17984         (getSize): Use `parent.ncomponents'.  Handle insets.
17985         (layoutContainer): Use `parent.ncomponents'.  Handle case where
17986         there are fewer children than columns.  Correctly compute size of
17987         each cell in the grid.  Handle case where there isn't enough
17988         space.
17989         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
17990         all users.
17991         (gotoComponent): Use parent.ncomponents.  Ensure child exists
17992         before calling setVisible() on it.  Last item is `num - 1', not
17993         `num'.
17994         (layoutContainer): Hoist invariants out of loop.
17995
17996         Start of AWT merge with Classpath:
17997         * Makefile.in: Rebuilt.
17998         * Makefile.am (awt_java_source_files): Reference files in
17999         gnu/java/awt, not gnu/gcj/awt.
18000         * java/awt/image/BufferedImage.java: Updated copyright.
18001         * java/awt/image/ComponentColorModel.java: Updated copyright.
18002         * java/awt/image/ComponentSampleModel.java: Updated copyright.
18003         * java/awt/image/DataBuffer.java: Updated copyright.
18004         * java/awt/image/DataBufferByte.java: Updated copyright.
18005         * java/awt/image/DataBufferInt.java: Updated copyright.
18006         * java/awt/image/DataBufferUShort.java: Updated copyright.
18007         * java/awt/image/IndexColorModel.java: Updated copyright.
18008         * java/awt/image/PackedColorModel.java: Updated copyright.
18009         * java/awt/image/Raster.java: Updated copyright.
18010         * java/awt/image/RasterOp.java: Updated copyright.
18011         * java/awt/image/SampleModel.java: Updated copyright.
18012         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
18013         * java/awt/image/WritableRaster.java: Updated copyright.
18014         * java/awt/color/ColorSpace.java: Updated copyright.
18015         * java/awt/color/ICC_ColorSpace.java: Updated copyright
18016         * java/awt/color/ICC_Profile.java: Updated copyright.
18017         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
18018         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
18019         * java/awt/event/HierarchyEvent.java: Updated copyright.
18020         * java/awt/event/HierarchyListener.java: Updated copyright.
18021         * java/awt/geom/AffineTransform.java: Updated copyright.
18022         * java/awt/geom/Dimension2D.java: Updated copyright.
18023         * java/awt/geom/Ellipse2D.java: Updated copyright.
18024         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
18025         * java/awt/geom/Line2D.java: Updated copyright.
18026         * java/awt/geom/NoninvertibleTransformException.java: Updated
18027         copyright.
18028         * java/awt/geom/PathIterator.java: Updated copyright.
18029         * java/awt/geom/Point2D.java: Updated copyright.
18030         * java/awt/geom/Rectangle2D.java: Updated copyright.
18031         * java/awt/geom/RectangularShape.java: Updated copyright.
18032         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
18033         * java/awt/Toolkit.java: Updated import for file moves.
18034         * java/awt/Rectangle.java: Updated copyright; added javadoc from
18035         Classpath.
18036         (hashCode): New method from Classpath.
18037         * java/awt/Graphics2D.java: Updated copyright.
18038         * java/awt/Transparency.java: Updated copyright.
18039         * java/awt/Paint.java: Updated copyright.
18040         * java/awt/Graphics.java: New version from Classpath.
18041         * java/awt/EventDispatchThread.java: Updated copyright.
18042         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
18043         children.
18044         (gotoComponent): Wrap around on next/previous.
18045         * gnu/gcj/awt/BitMaskExtent.java: Removed.
18046         * gnu/gcj/awt/Buffers.java: Removed.
18047         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
18048         * gnu/gcj/awt/GLightweightPeer.java: Removed.
18049         * gnu/java/awt/BitMaskExtent.java: Added.
18050         * gnu/java/awt/Buffers.java: Added.
18051         * gnu/java/awt/ComponentDataBlitOp.java: Added.
18052         * gnu/java/awt/GLightweightPeer.java: Added.
18053         * java/awt/geom/Line2D.java (clone): Ignore
18054         CloneNotSupportedException.
18055         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
18056         * java/awt/Frame.java: Merged with Classpath.
18057         * java/awt/RenderingHints.java: Copyright update.
18058         * java/awt/Paint.java: Copyright update.
18059         * java/awt/image/DirectColorModel.java: Merged with Classpath.
18060         * java/awt/image/ColorModel.java: Merged with Classpath.
18061         * java/awt/Window.java (show): New Implementation from Classpath.
18062         (isShowing): Use super.isShowing().
18063         * java/awt/EventQueue.java: Merged with Classpath.
18064         * java/awt/AWTEventMulticaster.java (save): Throw
18065         RuntimeException.
18066         (saveInternal): Likewise.
18067         * java/awt/AWTEvent.java: Now implements Serializable.
18068         * java/awt/Event.java: Copyright update.
18069         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
18070         * java/awt/image/BufferedImage.java: Copyright update.
18071         * java/awt/GraphicsConfiguration.java: Copyright update.
18072         * java/awt/Component.java: (addNotify): Don't call
18073         addNotifyContainerChildren().
18074         (addNotifyContainerChildren): Removed.
18075         (setPeer): New method from Classpath.
18076         (setTreeLock): Likewise.
18077         (setVisible): Rewrote.
18078         (show): Use it.
18079         (hide): Likewise.
18080         (validate): Set `valid'.
18081         (checkImage(Image,ImageObserver)): Implementation from Classpath.
18082         (createImage(ImageProducer)): Likewise.
18083         (prepareImage): Likewise.
18084         * java/awt/Container.java (addImpl): Handle case where constraint
18085         is not a String.  Post event via system event queue.
18086         (remove): Post event via system event queue.
18087         (validateTree): Only validate child if it is invalid.
18088         (getAlignmentX): Call super method as default.
18089         (getAlignmentY): Likewise.
18090         (addContainerListener): Now synchronized.
18091         (removeContainerListener): Likewise.
18092         (addNotifyContainerChildren): Now private.
18093         * java/awt/ComponentOrientation.java: Updated copyright.  Added
18094         @author.
18095         * java/awt/FlowLayout.java (serialVersionUID): New field.
18096         (setAlignment): Better exception message.
18097         (layoutContainer): Don't compute component's preferred size unless
18098         we're going to use it.
18099         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
18100         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
18101         (firstLine, lastLine, firstItem, lastItem): New fields.
18102         (addLayoutComponent): Handle case where constraints is null.
18103         Also, handle relative locations.
18104         (removeLayoutComponent): Handle relative locations.
18105         (MIN, MAX, PREF): New constants.
18106         (calcCompSize): New method.
18107         (calcSize): New method.
18108         (minimumLayoutSize): Use it.
18109         (preferredLayoutSize): Likewise.
18110         (maximumLayoutSize): Likewise.
18111         (toString): Include more information.
18112         (setBounds): New method.
18113         (layoutContainer): Use libgcj implementation; extended to handle
18114         relative locations.
18115
18116 2002-01-15  Tom Tromey  <tromey@redhat.com>
18117
18118         * java/lang/Float.java (equals): Preserve old code.
18119         * java/lang/Double.java (equals): Preserve old code.
18120
18121 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
18122
18123         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
18124         * java/lang/Float.java (equals, compare): Ditto.
18125
18126 2002-01-13  Mark Wielaard  <mark@klomp.org>
18127
18128         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
18129         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
18130         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
18131         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
18132
18133 2002-01-11  Mark Wielaard  <mark@klomp.org>
18134
18135         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
18136         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
18137         InetAddress.
18138         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
18139         * java/net/Socket.java: Merge with Classpath.
18140         * java/net/ServerSocket.java: Likewise.
18141
18142 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
18143
18144         * interpret.cc (NULLARRAYCHECK): New macro.
18145         (SAVE_PC): Just store `pc'.
18146         (find_exception): Subtract one from `pc' here.
18147         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
18148         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
18149         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
18150         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
18151         don't call SAVE_PC.
18152         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
18153         call SAVE_PC.
18154
18155 2002-01-11  Tom Tromey  <tromey@redhat.com>
18156
18157         * java/lang/natSystem.cc (init_properties): Only look for default
18158         locale if LC_MESSAGES is defined.
18159         * aclocal.m4, configure, include/config.h.in: Rebuilt.
18160         * configure.in: Call AM_LC_MESSAGES.
18161         * acinclude.m4 (AM_LC_MESSAGES): New macro.
18162
18163 2002-01-10  Tom Tromey  <tromey@redhat.com>
18164
18165         For PR libgcj/5303:
18166         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
18167         --version.  Recognize GNU-style long options.  Print GNU-style
18168         error messages.
18169         (usage): Print GNU-style help.  Exit with status 0.
18170         (error): New method.
18171         (run): Print error message if no class names found.
18172         (main): Don't print usage on error.
18173
18174 2002-01-09  Tom Tromey  <tromey@redhat.com>
18175
18176         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
18177         property.
18178         (help, version): Use println(), not println("").
18179
18180         For PR libgcj/5303:
18181         * gnu/gcj/convert/Convert.java (error): Program is called
18182         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
18183         -1.
18184         (main): Handle --help and --version.
18185         (help): New method.
18186         (version): Likewise.
18187
18188 2002-01-08  Tom Tromey  <tromey@redhat.com>
18189
18190         * Makefile.in: Rebuilt.
18191         * Makefile.am (ordinary_java_source_files): Added new files.
18192         * gnu/java/locale/LocaleInformation.java: Extend
18193         LocaleInformation_en.
18194         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
18195         and time/date formats.
18196         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
18197         generated.
18198         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
18199         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
18200         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
18201         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
18202         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
18203         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
18204         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
18205         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
18206         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
18207         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
18208         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
18209         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
18210         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
18211         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
18212         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
18213         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
18214         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
18215         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
18216         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
18217         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
18218         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
18219         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
18220         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
18221         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
18222         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
18223         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
18224         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
18225         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
18226         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
18227         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
18228         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
18229         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
18230         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
18231         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
18232         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
18233         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
18234         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
18235         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
18236         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
18237         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
18238         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
18239         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
18240         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
18241         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
18242         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
18243         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
18244         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
18245         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
18246         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
18247         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
18248         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
18249         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
18250         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
18251         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
18252         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
18253         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
18254         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
18255         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
18256         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
18257         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
18258         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
18259         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
18260         * gnu/java/locale/LocaleInformation_es_US.java: New file.
18261         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
18262         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
18263         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
18264         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
18265         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
18266         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
18267         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
18268         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
18269         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
18270         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
18271         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
18272         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
18273         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
18274         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
18275         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
18276         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
18277         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
18278         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
18279         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
18280         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
18281         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
18282         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
18283         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
18284         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
18285         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
18286         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
18287         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
18288         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
18289         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
18290         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
18291         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
18292         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
18293         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
18294         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
18295         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
18296         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
18297         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
18298         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
18299         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
18300         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
18301         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
18302         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
18303         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
18304         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
18305         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
18306         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
18307         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
18308         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
18309         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
18310         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
18311         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
18312         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
18313         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
18314         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
18315         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
18316         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
18317         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
18318         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
18319         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
18320         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
18321         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
18322         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
18323         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
18324         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
18325         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
18326         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
18327         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
18328
18329         For PR libgcj/5031:
18330         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
18331         choose default locale.
18332
18333         * Makefile.in: Rebuilt.
18334         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
18335
18336 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
18337
18338         * java/net/natPlainSocketImpl.cc: Added timeout handling for
18339         sockets.
18340         (close): New function closes the socket.
18341         (write): New functions for output to socket.
18342         (read): New functions for reading from socket.
18343         * java/net/PlainSocketImpl.java: Glue for new timeout
18344         implementation.
18345         (write): Call the native impl.
18346         (read): Likewise.
18347         (getInputStream): Get a stream to read from the socket.
18348         (getOutputStream): Get a stream to write to the socket.
18349
18350 2002-01-08  Tom Tromey  <tromey@redhat.com>
18351
18352         * resolve.cc (_Jv_PrepareClass): Enable verifier.
18353
18354 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
18355
18356         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
18357         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
18358
18359 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
18360
18361         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
18362         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
18363         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
18364         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
18365         insn_bastore, insn_castore, insn_sastore]: Use it.
18366         (continue1) [insn_arraylength]: Check for null array.
18367
18368 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
18369
18370         * configure, include/config.h.in: Rebuilt.
18371         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
18372         * configure.in: Call AC_STRUCT_TIMEZONE.
18373
18374 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
18375
18376         * configure.host: Disable the interpreter for Darwin.
18377
18378 2002-01-04  Tom Tromey  <tromey@redhat.com>
18379
18380         * java/lang/Thread.java (stop): No longer synchronized.
18381         (start): Likewise.
18382
18383 2002-01-02  Tom Tromey  <tromey@redhat.com>
18384
18385         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
18386         patch.
18387
18388 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
18389
18390         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
18391         PPC Darwin, not for all of Darwin.