OSDN Git Service

1e32bc48b94abd592022388aeaad03cfd222a021
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2004-01-13  David Jee  <djee@redhat.com>
2
3         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
4         (setBackground): New method. Children with no explicitly-set
5         background will be repainted with the parent container's new
6         background color.
7
8 2004-01-13  David Jee  <djee@redhat.com>
9
10         * Makefile.am: Add BitwiseXORComposite.java.
11         * Makefile.in: Regenerated.
12         * gcj/Makefile.in: Regenerated.
13         * include/Makefile.in: Regenerated.
14         * testsuite/Makefile.in: Regenerated.
15
16 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
17
18         * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
19         not show modal dialogs twice and so that it allows showing a modal
20         dialog from another modal dialog.
21
22 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
23
24         * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
25         and run secondary dispatch thread to process event queue while this
26         thread is blocked.
27
28 2004-01-12  Graydon Hoare  <graydon@redhat.com>
29
30         * gnu/java/awt/gtk/GdkGraphics2D.java
31         (static): Check GtkToolkit before initializing static state.
32         (Graphics2D): Don't construct transform with 0.5 unit offset.
33
34 2003-11-06  Sascha Brawer  <brawer@dandelis.ch>
35
36         * gnu/java/awt/BitwiseXORComposite.java: Add.
37         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
38         (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
39         (BitwiseXORComposite): Remove inner class.
40
41 2004-01-11  Michael Koch  <konqueror@gmx.de>
42
43         * gnu/java/lang/reflect/TypeSignature.java
44         (getEncodingOfClass): Documentation fixed.
45         (getClassForEncoding): Give class loader to Class.forName().
46         Documentation fixed.
47
48 2004-01-11  Sascha Brawer  <brawer@dandelis.ch>
49
50         * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
51
52 2004-01-11  Michael Koch  <konqueror@gmx.de>
53
54         * javax/swing/undo/StateEditable.java
55         (RCSID): Removed redundant modifiers.
56
57 2004-01-10  Michael Koch  <konqueror@gmx.de>
58
59         * javax/print/attribute/EnumSyntax.java
60         (getStringTable): Made protected.
61         (getEnumValueTable): Likewise.
62         * javax/print/attribute/standard/JobKOctetsProcessed.java
63         (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
64         * javax/print/attribute/standard/JobMediaSheetsCompleted.java
65         (JobMediaSheetsCompleted): Made class final.
66         * javax/print/attribute/standard/OutputDeviceAssigned.java
67         (getName): Fixed typo.
68         * javax/print/attribute/standard/RequestingUserName.java
69         (serialVersionUID): Fixed value.
70
71 2004-01-10  Michael Koch  <konqueror@gmx.de>
72
73         * javax/swing/plaf/basic/BasicButtonUI.java,
74         javax/swing/plaf/basic/BasicCheckBoxUI.java,
75         javax/swing/plaf/basic/BasicListUI.java,
76         javax/swing/plaf/basic/BasicOptionPaneUI.java,
77         javax/swing/plaf/basic/BasicPanelUI.java,
78         javax/swing/plaf/basic/BasicRadioButtonUI.java,
79         javax/swing/plaf/basic/BasicScrollPaneUI.java,
80         javax/swing/plaf/basic/BasicToggleButtonUI.java,
81         javax/swing/plaf/basic/BasicViewportUI.java:
82         Fixed import statements.
83
84 2004-01-10  Michael Koch  <konqueror@gmx.de>
85
86         * gnu/java/awt/image/ImageDecoder.java
87         (produce): Made public.
88         * gnu/java/awt/peer/GLightweightPeer.java,
89         gnu/java/awt/peer/gtk/GtkToolkit.java:
90         Reformated.
91
92 2004-01-10  Michael Koch  <konqueror@gmx.de>
93
94         * javax/swing/JRadioButtonMenuItem.java,
95         javax/swing/JSeparator.java,
96         javax/swing/JSplitPane.java,
97         javax/swing/JTextPane.java,
98         javax/swing/JToolBar.java,
99         javax/swing/ListCellRenderer.java,
100         javax/swing/ListModel.java,
101         javax/swing/MenuElement.java,
102         javax/swing/OverlayLayout.java,
103         javax/swing/ProgressMonitor.java,
104         javax/swing/ProgressMonitorInputStream.java,
105         javax/swing/Renderer.java,
106         javax/swing/RootPaneContainer.java,
107         javax/swing/Scrollable.java,
108         javax/swing/SingleSelectionModel.java,
109         javax/swing/ToolTipManager.java,
110         javax/swing/ViewportLayout.java,
111         javax/swing/event/DocumentEvent.java,
112         javax/swing/event/SwingPropertyChangeSupport.java,
113         javax/swing/event/TreeSelectionEvent.java,
114         javax/swing/event/UndoableEditEvent.java,
115         javax/swing/text/AbstractDocument.java,
116         javax/swing/text/AttributeSet.java,
117         javax/swing/text/Caret.java,
118         javax/swing/text/ComponentView.java,
119         javax/swing/text/DefaultCaret.java,
120         javax/swing/text/DefaultEditorKit.java,
121         javax/swing/text/Document.java,
122         javax/swing/text/EditorKit.java,
123         javax/swing/text/GapContent.java,
124         javax/swing/text/Keymap.java,
125         javax/swing/text/MutableAttributeSet.java,
126         javax/swing/text/PlainEditorKit.java,
127         javax/swing/text/Segment.java,
128         javax/swing/text/Style.java,
129         javax/swing/text/StyledDocument.java,
130         javax/swing/text/StyledEditorKit.java,
131         javax/swing/text/TextAction.java,
132         javax/swing/text/View.java: Fixed import statements.
133
134 2004-01-08  Graydon Hoare  <graydon@redhat.com>
135
136         * javax/swing/JLayeredPane.java: Rewrite to accomodate
137         djee@redhat.com's recent inverse ordering of Container elements.
138
139 2004-01-09  Michael Koch  <konqueror@gmx.de>
140
141         * gnu/java/lang/ArrayHelper.java
142         (equalsArray): Removed.
143
144 2004-01-09  Andrew Haley  <aph@redhat.com>
145
146         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
147         a Utf8Const field before looking at its class.
148
149 2004-01-09  Michael Koch  <konqueror@gmx.de>
150
151         * javax/print/attribute/standard/DocumentName.java,
152         javax/print/attribute/standard/JobHoldUntil.java,
153         javax/print/attribute/standard/JobMessageFromOperator.java,
154         javax/print/attribute/standard/JobName.java,
155         javax/print/attribute/standard/JobOriginatingUserName.java,
156         javax/print/attribute/standard/OutputDeviceAssigned.java,
157         javax/print/attribute/standard/PrinterInfo.java,
158         javax/print/attribute/standard/PrinterLocation.java,
159         javax/print/attribute/standard/PrinterMakeAndModel.java,
160         javax/print/attribute/standard/PrinterMessageFromOperator.java,
161         javax/print/attribute/standard/PrinterName.java,
162         javax/print/attribute/standard/RequestingUserName.java: New files.
163         * Makefile.am (javax_source_files): Added new files.
164         * Makefile.in: Regenerated.
165
166 2004-01-09  Michael Koch  <konqueror@gmx.de>
167
168         * javax/swing/AbstractAction.java,
169         javax/swing/AbstractSet.java,
170         javax/swing/Action.java,
171         javax/swing/ActionMap.java,
172         javax/swing/BoundedRangeModel.java,
173         javax/swing/ButtonModel.java,
174         javax/swing/CellEditor.java,
175         javax/swing/CellRendererPane.java,
176         javax/swing/ComboBoxEditor.java,
177         javax/swing/DebugGraphics.java,
178         javax/swing/DefaultCellEditor.java,
179         javax/swing/DefaultCellRenderer.java,
180         javax/swing/DefaultComboBoxModel.java,
181         javax/swing/DefaultDesktopManager.java,
182         javax/swing/DefaultFocusManager.java,
183         javax/swing/DefaultListCellRenderer.java,
184         javax/swing/Icon.java,
185         javax/swing/JButton.java,
186         javax/swing/JCheckBoxMenuItem.java,
187         javax/swing/JDesktopPane.java,
188         javax/swing/JEditorPane.java,
189         javax/swing/JMenu.java,
190         javax/swing/JPanel.java,
191         javax/swing/JPasswordField.java,
192         javax/swing/JPopupMenu.java,
193         javax/swing/JProgressBar.java: Reworked imports.
194
195 2004-01-09  Michael Koch  <konqueror@gmx.de>
196
197         * java/awt/geom/PathIterator.java
198         (WIND_EVEN_ODD): Removed redundant modifiers.
199         (WIND_NON_ZERO): Likewise.
200         (SEG_MOVETO): Likewise.
201         (SEG_LINETO): Likewise.
202         (SEG_QUADTO): Likewise.
203         (SEG_CUBICTO): Likewise.
204         (SEG_CLOSE): Likewise.
205         * java/awt/image/SinglePixelPackedSampleModel.java:
206         Removed redundant semicolon.
207         * java/io/ObjectInputStream.java
208         (inputGetObjectStreamClasses): Removed unused variable "ret_val".
209         * java/util/logging/Filter.java
210         (isLoggable): Removed redundant modifier.
211         * java/util/logging/LogManager.java:
212         Removed redundant semicolon.
213         * java/util/logging/XMLFormatter.java
214         (format): Removed unused variable "key".
215
216 2004-01-08  Fernando Nasser  <fnasser@redhat.com>
217
218         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
219         New name for the former setFile native method.
220         (setFile): New method.
221         (setDirectory): Implemented.
222         (connectSignals): New native method.
223         (setFilenameFilter): Improve comment.
224         (getGraphics): Comment.
225         (gtkHideFileDialog): New method.
226         (gtkDisposeFileDialog): New method.
227         (gtkSetFilename): New method.
228         * java/awt/Dialog.java (show): Block on modal dialogs, but only
229         for FileDialog for now.
230         (hide): New method.
231         (dispose): New method.
232         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
233         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
234         deprecated creation functions.  Make dialog modal.  Add it to the
235         window group.
236         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
237         function.
238         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
239         Rename to...
240         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
241         name.
242         (window_closed): New function.
243         (ok_clicked): New function.
244         (cancel_clicked): New function.
245
246 2004-01-08  Michael Koch  <konqueror@gmx.de>
247
248         * javax/swing/JLayeredPane.java: Revert changes to standard
249         boilerplate, reworked imports.
250
251 2004-01-07  Tom Tromey  <tromey@redhat.com>
252
253         PR libgcj/13439:
254         * verify.cc (state::merge): Copy changed locals out of subroutine
255         in NO_STACK case.
256         (state::FLAG_CHANGED): New const.
257         (state::FLAG_UNUSED): Likewise.
258         (state::local_changed): Removed.  Updated all users.
259         (state::flags): New field.
260         (state::merge): Added jsr_semantics argument, more logic.
261         (push_jump_merge): Added jsr_semantics argument.
262         (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
263         merging through the jsr instruction.
264
265 2004-01-07  Tom Tromey  <tromey@redhat.com>
266
267         * scripts/MakeDefaultMimeTypes.java: Use \n, not
268         backslash-newline.
269
270 2004-01-07  Graydon Hoare  <graydon@redhat.com>
271
272         * java/awt/Container.java (LightweightDispatcher): Implement.
273         (visitChild): Reuse graphics object.
274         (dispatchEventImpl): Optionally dispatch to lightweight.
275         (addNotifyContainerChildren): Build LightweightDispatcher.
276
277 2004-01-07  David Jee  <djee@redhat.com>
278
279         * java/awt/Container.java
280         (update): Clear only the clipped region, instead of clearing the
281         entire Container.
282         (visitChildren): Visit children in descending order.
283
284 2004-01-07  Michael Koch  <konqueror@gmx.de>
285
286         * java/lang/reflect/Array.java: Merged documentation with classpath.
287
288 2004-01-07  Michael Koch  <konqueror@gmx.de>
289
290         * java/text/CollationElementIterator.java
291         (textIndex): Renamed from index.
292         * java/text/CollationKey.java
293         (collator): New member.
294         (CollationKey): New argument for parent collator.
295         (equals): Check for same collator, source string and key array.
296         * java/text/RuleBasedCollator.java:
297         Reformated.
298         (RuleBasedCollator): Don't re-initialize frenchAccents with default
299         value.
300         (getCollationElementIterator): Rewritten.
301         (getCollationKey): Added new argument to CollationKey constructor.
302
303 2004-01-07  Michael Koch  <konqueror@gmx.de>
304
305         * gnu/java/nio/DatagramChannelImpl.java
306         (blocking): Removed.
307         (DatagramChannelImpl): Call configureBlocking().
308         (implConfigureBlocking): Dont initialize blocking.
309         * gnu/java/nio/ServerSocketChannelImpl.java
310         (blocking): Removed.
311         (ServerSocketChannelImpl): Call configureBlocking().
312         (implConfigureBlocking): Dont initialize blocking.
313         * gnu/java/nio/SocketChannelImpl.java
314         (blocking): Removed.
315         (SocketChannelImpl): Call configureBlocking().
316         (implConfigureBlocking): Dont initialize blocking.
317         (connect): Use isBlocking().
318         * java/nio/channels/spi/AbstractSelectableChannel.java
319         (configureBlocking): Use blockingLock() instead of LOCK.
320         Set blocking after successfully called implConfigureBlocking().
321         (register): Use blockingLock() instead of LOCK.
322
323 2004-01-07  Michael Koch  <konqueror@gmx.de>
324
325         * java/net/ServerSocket.java (isBound): Fixed documentation.
326
327 2004-01-07  Sascha Brawer  <brawer@dandelis.ch>
328
329         * javax/swing/DefaultBoundedRangeModel.java: Documented API.
330         (changeEvent): Create event object on demand.
331         (DefaultBoundedRangeModel, toString, setValue, setExtent,
332         setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
333         fireStateChanged): Re-written.
334         * javax/swing/event/EventListenerList.java: Reformatted, document
335         typical usage.
336         (toString): Implemented.
337         (getListeners): Re-written.
338         (remove): Re-written.
339         (add): Re-written.
340         (NO_LISTENERS): New singleton field.
341         (listenerList): Declare as transient; document.
342         (serialVersionUID): Document.
343         (getListenerCount(Class)): More efficient implementation,
344         also accepts null argument.  Improve Javadoc.
345         (getListenerCount()): Remove unnecessary cast; docfix.
346         * javax/swing/undo/UndoableEditSupport.java:
347         Re-format, document.
348         (UndoableEditSupport): Set realSource field. Improve documentation.
349         (_postEdit): Iterate over cloned listener vector.
350         (toString): Don't emit realSource.
351         (beginUpdate, endUpdate): Support nested updates.
352         (postEdit): Use compound edit if present.
353
354 2004-01-06  Graydon Hoare  <graydon@redhat.com>
355
356         * java/awt/Container.java (swapComponents): Add forgotten
357         function, required for JLayeredPane change.
358
359 2004-01-06  Michael Koch  <konqueror@gmx.de>
360
361         * java/text/CollationElementIterator.java: Reformated.
362         (CollationElementIterator): Changed order of arguments.
363         * java/text/RuleBasedCollator.java
364         (RuleBasedCollator): Merged class documentation.
365         (CollationElement): Added documentation.
366         (compare): Reformated, renamed arguments.
367         (equals): Likewise.
368         (getCollationElementIterator): Likewise.
369         (getCollationKey): Likewise.
370
371 2004-01-06  Graydon Hoare  <graydon@redhat.com>
372
373         * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
374
375 2004-01-06  Michael Koch  <konqueror@gmx.de>
376
377         * gnu/java/net/protocol/file/Connection.java:
378         Reformated copyright.
379         (hdrHash): Removed.
380         (hdrVec): Removed.
381         (gotHeaders): Removed.
382         (getHeaderField): Removed.
383         (getHeaderField): Removed.
384         (getHeaderFieldKey): Removed.
385         (getKey): Removed.
386         (getField): Removed.
387         (getHeaders): Removed.
388
389 2004-01-06  Michael Koch  <konqueror@gmx.de>
390
391         * javax/print/attribute/standard/DateTimeAtCompleted.java,
392         javax/print/attribute/standard/DateTimeAtCreation.java,
393         javax/print/attribute/standard/DateTimeAtProcessing.java,
394         javax/print/attribute/standard/JobImpressionsCompleted.java,
395         javax/print/attribute/standard/JobKOctets.java,
396         javax/print/attribute/standard/JobKOctetsProcessed.java,
397         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
398         javax/print/attribute/standard/JobPrioritySupported.java: New files.
399         * Makefile.am (javax_source_files): Added new files.
400         * Makefile.in: Regenerated.
401
402 2004-01-06  Michael Koch  <konqueror@gmx.de>
403
404         * java/net/URLConnection.java
405         (contentHandler): Removed.
406         (locale): Removed.
407         (getHeaderFields): Return an empty map instead of null.
408         (getContent): Connect if needed, renamed "cType" to "type" and
409         "contentHandler" to "ch" and made it a local variable.
410         (getPermission): Don't use package in class name.
411         (setDefaultRequestProperty): Fixed typo in documentation.
412         (initializeDateFormats): Made locale a local variable.
413
414 2004-01-06  Michael Koch  <konqueror@gmx.de>
415
416         * java/lang/Package.java
417         (getPackage): Get the current class loader directly.
418         * java/lang/SecurityManager.java
419         (currentLoadedClass): Dont iterate over class contexts.
420         (classLoaderDepth): Don't check class loaders if everything is allowed.
421
422 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
423
424         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
425         (pre_event_handler): Set all insets to 0 when a Configure event
426         is received for a GtkPlug.
427         * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
428         Make handle long, not int.
429         (EmbeddedWindow()): New constructor.
430         (EmbeddedWindow(int)): Rename window_id to handle.  Make handle
431         long, not int.
432         (setHandle): New method.
433         (getHandle): Return long, not int.
434         * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
435         declaration.
436         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
437         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
438         (create(long)): Take long parameter, not int.  Cast gtk_plug_new
439         argument to GdkNativeWindow.
440         (construct): New method.
441         (embed): New method.
442
443         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
444         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
445         (create(int, int)): New method.
446         (create): Call new create method.
447         (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
448         methods.
449         (childResized): Remove native implementation.  Implement in
450         Java.
451         (getHScrollbarHeight, getVScrollbarWidth): Call
452         gtk_widget_size_request to get scrollbar dimensions.
453         * java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
454         call getVScrollbarWidth and getHScrollbarHeight when vertical
455         and horizontal scrollbars respectively are needed.
456         (doLayout): Enlarge child if it is smaller than the viewport.
457
458 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
459
460         * java/awt/Dialog.java (constructor): Accept null title as per spec.
461         * java/awt/FileDialog.java (constructor): Throw exception on invalid
462         argument as per spec.
463
464 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
465
466         * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
467         (insert): Ditto.
468         (remove): Ditto.  Also, Check for valid argument.
469         (removeAll): Use peer interface method.
470         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
471         native add function.
472         (nativeRemove): New name for native remove function.
473         (getHistory): New native function.
474         (constructor): Generate ItemEvent.
475         (add): Ditto, if selection is changed.
476         (remove): Ditto, ditto.
477         (removeAll): Add implementation.
478         (handleEvent): Remove.  Dead code.
479         (choicePostItemEvent): Add comment.
480         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
481         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
482         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
483         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
484         comments and fix condition to change selection.
485         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
486         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
487         remove all capability.
488         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
489         (item_activate): Add cast to remove compiler warning.
490
491 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
492
493         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
494         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
495         (getPreferredSize): Call preferredSize.
496         (preferredSize): Call gtkWidgetGetPreferredDimensions.
497         (getMinimumSize): Call minimumSize.
498         (minimumSize): Call gtkWidgetGetPreferredDimensions.
499         (gtkWidgetGetDimensions): Return the peer widget's current size
500         request.
501         (gtkWidgetGetPreferredDimensions): Return the peer widget's
502         natural size request.
503
504 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
505
506         Thanks to Brian Gough <bjg@network-theory.com>
507         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
508         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
509
510 2004-01-04  Matthias Klose  <doko@debian.org>
511
512         * aclocal.m4: Rebuilt using "aclocal -I .".
513         * configure: Rebuilt.
514
515 2004-01-03  Per Bothner  <per@bothner.com>
516
517         * java/util/Date.java (parse):  Fix a number of problems.
518         (skipParens):  Remove no-longer-needed method.
519
520 2003-12-31  Michael Koch  <konqueror@gmx.de>
521
522         * gnu/java/net/protocol/http/Connection.java
523         (sendRequest): Dont encode output in default character encoding,
524         add correct version number to HTTP user agent string.
525
526 2003-12-31  Graydon Hoare  <graydon@redhat.com>
527
528         * configure.in: Add --enable-gtk-cairo check.
529         * configure: Regenerate.
530         * Makefile.am: Conditionally link against cairo.
531         * Makefile.in: Regenerate.
532         * acinclude.m4: Include PKG_CHECK_MODULES.
533         * aclocal.m4: Regenerate.
534         * gnu/java/awt/peer/gtk/GtkToolkit.java (useGraphics2D): New method.
535         (getFontMetrics, getClasspathFontPeer):
536         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics):
537         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (createImage):
538         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (getGraphics):
539         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics):
540         Switch behavior depending on GtkToolkit.useGraphics2D().   
541         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Extend ClasspathFontPeer.
542         * java/awt/Font.java: Switch to peer model.
543         * jni/gtk-peer/gtkcairopeer.h: Definitions of cairo stuff.
544         * jni/gtk-peer/gdkfont.h: Include gtkcairopeer.h.
545         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Include gtkcairopeer.h.
546         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: Un-include gtkpeer.h. 
547
548 2003-12-31  Guilhem Lavaux  <guilhem@kaffe.org>
549
550         * java/io/ObjectOutputStream.java
551         (putFields): Reindented. Fixed behaviour: currentPutField should be
552         null
553         before calling this method.
554         (writeFields): Likewise.
555         (markFieldsWritten): Fixed the exception message.
556         (callWriteMethod): Ensure currentPutField is null.
557         (getBooleanField): Translate IllegalArgumentException into
558         InvalidClassException.
559         (getByteField): Likewise.
560         (getCharField): Likewise.
561         (getDoubleField): Likewise.
562         (getFloatField): Likewise.
563         (getIntField): Likewise.
564         (getLongField): Likewise.
565         (getShortField): Likewise.
566         (getObjectField): Check the type code before returning the object.
567         (getField): Translate NoSuchFieldException into InvalidClassException
568         directly.
569
570 2003-12-31 Guilhem Lavaux <guilhem@kaffe.org>
571
572         * java/net/URL.java
573         (URL): Change context path to "/" if it is empty.
574
575 2003-12-31  Michael Koch  <konqueror@gmx.de>
576
577         * testsuite/libjava.mauve/xfails: Removed tests that pass now:
578         XPASS: gnu.testlet.java.net.URL.URLTest: new URL(string) (number 16)
579         XPASS: gnu.testlet.java.net.URL.URLTest: new URL(string) (number 18)
580         XPASS: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file)
581         (number 26)
582         XPASS: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file)
583         (number 54)
584         
585
586 2003-12-30 Guilhem Lavaux <guilhem@kaffe.org>
587
588         * java/util/GregorianCalendar.java
589         (computeFields): Reported by Ito Kazumitsu <kaz@maczuka.gcd.org>.
590         Fixed the computation of DAY_OF_WEEK_IN_MONTH.
591         (computeTime): 12:00 midnight is AM and 12:00 noon is PM.
592
593 2003-12-30  Michael Koch  <konqueror@gmx.de>
594
595         * testsuite/libjava.mauve/xfails: Removed the following testcase
596         because it passes now:
597         FAIL: gnu.testlet.java.text.SimpleDateFormat.Test: parse() strict
598         (number 1)
599
600 2003-12-30  Michael Koch  <konqueror@gmx.de>
601
602         * java/io/ObjectInputStream.java,
603         java/io/ObjectOutputStream.java,
604         java/io/ObjectStreamClass.java:
605         Reformated, no functional code changes.
606
607 2003-12-30  Michael Koch  <konqueror@gmx.de>
608
609         * gnu/java/net/protocol/http/Connection.java
610         (outputStream): New field.
611         (bufferedOutputStream): New field.
612         (connect): Initialize outputStream and bufferedOutputStream.
613         (sendRequest): Create PrintWriter object from outputStream,
614         support HTTP 1.1, send missing HTTP headers and buffered output data
615         for POST method.
616         (getOutputStream): Set request method to POST if output stream is
617         used, return bufferedOutputStream.
618         (setRequestMethod): Allow HEAD and POST methods.
619         This fixes libgcj PR/6302 and libgcj PR/7752.
620
621 2003-12-30  Guilhem Lavaux <guilhem@kaffe.org>
622
623         * java/io/LineNumberReader.java
624         (countLines): Removed.
625         (fill): New private method.
626         (mark): Changed logic to use and matchedNewLine.
627         (reset): Likewise.
628         (read): Likewise.
629         (skipRedundantLF): Likewise.
630
631 2003-12-30  Michael Koch  <konqueror@gmx.de>
632
633         * gnu/java/net/protocol/http/Connection.java
634         (requestProperties): New field.
635         (addRequestProperty): New method.
636         (getRequestProperty): New method.
637         (setRequestProperty): New method.
638         (getRequestProperties): New method.
639
640 2003-12-28  Michael Koch  <konqueror@gmx.de>
641
642         * gnu/java/net/protocol/http/Connection.java
643         (inputStream): Made it a DataInputStream.
644         (requestProperties): Removed.
645         (hdrHash): Removed.
646         (hdrVec): Removed.
647         (headers): New field to store headers.
648         (connect): Initialize inputStream.
649         (receiveReply): Merged from classpath. The new algorithm is line based
650         instead of character based.
651         (getHeaderField): Use headers.
652         (getHeaderFields): Use headers.
653         (getKey): Removed.
654         (getField): Removed.
655         * gnu/java/net/HeaderFieldHelper.java: New file.
656         * Makefile.am (ordinary_java_source_files):
657         Added gnu/java/net/HeaderFieldHelper.java.
658         * Makefile.in: Regenerated.
659
660 2003-12-28  Guilhem Lavaux <guilhem@kaffe.org>
661
662         * java/io/LineNumberReader.java
663         (mark): Improved error checking.
664         (read): Likewise.
665         (skip): Likewise. Skip is now really eating the specified number of
666         characters.
667         * java/io/CharArrayReader.java (read): It should throw
668         IndexOutOfBoundsException and not ArrayIndexOutOfBoundsException (see
669         mauve).
670         * java/io/BufferedReader.java (readLine): Make readLine() really block
671         until either EOF is reached or a true error happens.
672
673 2003-12-27  Michael Koch  <konqueror@gmx.de>
674
675         * gnu/java/net/protocol/http/Connection.java
676         (getRequestProperty): Removed.
677         (setRequestProperty): Removed.
678
679 2003-12-27  Michael Koch  <konqueror@gmx.de>
680
681         * gnu/java/net/protocol/http/Connection.java
682         (connect): Call receiveReply().
683         (receiveReply): Renamed from getHttpHeaders().
684         (getOutputStream): Moved check on doOutput before check for connection
685         state.
686
687 2003-12-27  Michael Koch  <konqueror@gmx.de>
688
689         * javax/print/attribute/ResolutionSyntax.java,
690         javax/print/attribute/SetOfIntegerSyntax.java,
691         javax/print/attribute/Size2DSyntax.java,
692         javax/print/attribute/standard/Copies.java,
693         javax/print/attribute/standard/JobImpressions.java,
694         javax/print/attribute/standard/JobMediaSheets.java,
695         javax/print/attribute/standard/NumberOfDocuments.java,
696         javax/print/attribute/standard/NumberOfInterveningJobs.java,
697         javax/print/attribute/standard/PagesPerMinute.java,
698         javax/print/attribute/standard/PagesPerMinuteColor.java,
699         javax/print/attribute/standard/QueuedJobCount.java:
700         Fixed typo (s/then/than/).
701
702 2003-12-27  Guilhem Lavaux  <guilhem@kaffe.org>
703
704         * java/rmi/Naming.java (lookup): Check if the first character of the
705         filename returned by URL.getFile() is a '/', only if it is the case
706         we cut this first character and call the registry with the good name.
707         (bind): Likewise.
708         (rebind): Likewise.
709
710 2003-12-26  Guilhem Lavaux  <guilhem@kaffe.org>
711             Mark Wielaard  <mark@klomp.org>
712
713         * java/io/BufferedReader.java (BufferedReader):
714         Throw IllegalArgumentException when size <= 0.
715         (mark): Document and better exception message for negative
716         readLimit IllegalArgumentException.
717         (read(char[],int,int)): Throw IndexOutOfBoundsException
718         if offset and count are not valid regarding buf.
719         (skip): Throw IllegalArgumentException when count is negative.
720
721 2003-12-26  Guilhem Lavaux  <guilhem@kaffe.org>
722
723         * java/io/FileInputStream.java
724         (FileInputStream(String)): Call FileInputStream(File).
725         (FileInputStream(File)): Check whether the argument is a directory.
726
727 2003-12-26  Michael Koch  <konqueror@gmx.de>
728
729         * Makefile.am (rmi_java_source_files):
730         Added gnu/java/rmi/server/RMIVoidValue.java.
731         * Makefile.in: Regenerated.
732
733 2003-12-26  Guilhem Lavaux  <guilhem@kaffe.org>
734             Mark Wielaard  <mark@klomp.org>
735
736         * gnu/java/rmi/server/UnicastConnectionManager.java
737         (startScavenger): Set the client connection manager to daemon
738         state because it may block clients until TIMEOUT is reached
739         when they are exiting.
740
741         * gnu/java/rmi/RMIVoidValue.java: New file for a class representing
742         a void return.
743
744         * gnu/java/rmi/server/UnicastRemoteCall.java
745         (DummyOutputStream): Add a boolean before each written field to
746         know whether it is a primitive.
747         (releaseOutputStream): Flush parameters at write time.
748
749         * gnu/java/rmi/server/UnicastServerRef.java
750         (incomingMessageCall): Return a RMIVoidValue if no value is to be
751         returned.
752
753         * gnu/java/rmi/server/UnicastServer.java
754         (incomingMessageCall): Do not write a returned object if it is
755         a RMIVoidValue.
756
757 2003-12-25  Andreas Tobler  <a.tobler@schweiz.ch>
758
759         * libltdl/ltdl.c (HAVE_DYLD): Remove ifdef conditional for 
760         darwin. Fixed by fixinclude now.
761
762 2003-12-25  Michael Koch  <konqueror@gmx.de>
763
764         * java/net/ServerSocket.java bind():
765         If InetSocketAddress.getAddress() returns "null" use "0.0.0.0" as
766         address to bind to.
767
768 2003-12-23  Guilhem Lavaux <guilhem@kaffe.org>
769
770         * java/io/ObjectInputStream.java
771         (getField): Handle transient and non persistent fields.
772         (readClassDescriptor): Better error handling, use the right
773         class loader.
774         (readFields): Fields marked as not present in the stream
775         or not to be set are not read and set.
776         * java/io/ObjectInputStream.java
777         (readFields): Changed implementation of GetField.
778         (readClassDescriptor): Documented.
779         * java/io/ObjectOutputStream.java
780         (writeClassDescriptor): Added condition when to write class super
781         class information.
782
783 2003-12-22  Fernando Nasser  <fnasser@redhat.com>
784
785         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (postItemEvent): Rename to...
786         (choicePostItemEvent): Change signature to more specific String object.
787         * java/awt/Choice.java (add): Generate ItemEvent for the first item
788         added.
789         (insert): Generate ItemEvent if insertion caused
790         selection to change.
791         (remove): Generate ItemEvent if removal cause selection to change.
792         (removeAll): Change algorithm to prevent generation of ItemEvents.
793         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
794         (connect_choice_item_selectable_hook): Change argument type.
795         Fix argument value.
796         Make sure resources are feed by registering callback.
797         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Adjust call to the
798         above function.
799         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Ditto.
800         (item_activate): Ditto.
801         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Destroy removed
802         menuitem.
803         (item_removed): New function.  Free resources.
804         * jni/gtk-peer/gtkpeer.h (item_event_hook_info): Change member type and
805         name.
806         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
807         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Obtain MethodID for
808         choicePostItemEvent.
809
810 2003-12-23  Michael Koch  <konqueror@gmx.de>
811
812         * javax/print/attribute/standard/Copies.java,
813         javax/print/attribute/standard/JobImpressions.java,
814         javax/print/attribute/standard/JobMediaSheets.java,
815         javax/print/attribute/standard/JobPriority.java,
816         javax/print/attribute/standard/NumberOfDocuments.java,
817         javax/print/attribute/standard/NumberOfInterveningJobs.java,
818         javax/print/attribute/standard/NumberUp.java,
819         javax/print/attribute/standard/PagesPerMinuteColor.java,
820         javax/print/attribute/standard/PagesPerMinute.java,
821         javax/print/attribute/standard/QueuedJobCount.java: New files.
822         * Makefile.am (ordinary_java_source_files): Added new files.
823         * Makefile.in: Regenerated.
824
825 2003-12-23  Michael Koch  <konqueror@gmx.de>
826
827         * javax/print/attribute/AttributeSetUtilities.java
828         (verifyCategoryForValue): Renamed from verifyCategoryForAttribute.
829         * javax/print/attribute/HashAttributeSet.java
830         (HashAttributeSet): Call internal add methods, added missing
831         exceptions.
832         (add): Call addInternal, added exceptions to documentation.
833         (addInternal): New method.
834         (addAll): Call addAllInternal, added exception to documentation.
835         (addAllInternal): New method.
836         (clear): Added exception to documentation.
837         (remove): Likewise.
838         * javax/print/attribute/URISyntax.java
839         (serialVersionUID): Fixed value.
840
841 2003-12-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
842
843         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
844         (pre_event_handler): Don't dereference NULL focus_obj_ptr.
845
846 2003-12-21  Michael Koch  <konqueror@gmx.de>
847
848         * javax/print/attribute/AttributeSetUtilities.java,
849         javax/print/attribute/HashAttributeSet.java,
850         javax/print/attribute/HashDocAttributeSet.java,
851         javax/print/attribute/HashPrintJobAttributeSet.java,
852         javax/print/attribute/HashPrintRequestAttributeSet.java,
853         javax/print/attribute/HashPrintServiceAttributeSet.java: New files.
854         * Makefile.am (ordinary_java_source_files): Added new files.
855         * Makefile.in: Regenerated.
856
857 2003-12-21  Michael Koch  <konqueror@gmx.de>
858
859         * javax/print/attribute/EnumSyntax.java,
860         javax/print/attribute/SetOfIntegerSyntax.java: New files.
861         * Makefile.am (ordinary_java_source_files):
862         Added javax/print/attribute/EnumSyntax.java
863         and javax/print/attribute/SetOfIntegerSyntax.java.
864         * Makefile.in: Regenerated.
865
866 2003-12-21  Michael Koch  <konqueror@gmx.de>
867
868         * javax/print/attribute/PrintJobAttribute.java,
869         javax/print/attribute/PrintJobAttributeSet.java,
870         javax/print/attribute/PrintRequestAttribute.java,
871         javax/print/attribute/PrintServiceAttribute.java,
872         javax/print/attribute/PrintServiceAttributeSet.java,
873         javax/print/attribute/SupportedValuesAttribute.java: New files.
874         * Makefile.am (ordinary_java_source_files): Added new files.
875         * Makefile.in: Regenerated.
876
877 2003-12-21  Michael Koch  <konqueror@gmx.de>
878
879         * javax/print/attribute/DateTimeSyntax.java,
880         javax/print/attribute/DocAttribute.java,
881         javax/print/attribute/DocAttributeSet.java,
882         javax/print/attribute/IntegerSyntax.java,
883         javax/print/attribute/ResolutionSyntax.java,
884         javax/print/attribute/Size2DSyntax.java,
885         javax/print/attribute/TextSyntax.java,
886         javax/print/attribute/URISyntax.java,
887         javax/print/attribute/UnmodifiableSetException.java: New files.
888         * Makefile.am (ordinary_java_source_files): Added new files.
889         * Makefile.in: Regenerated.
890
891 2003-12-21  Michael Koch  <konqueror@gmx.de>
892
893         * gnu/java/net/PlainDatagramSocketImpl.java
894         (mcastGrp): Added documentation.
895
896 2003-12-20  Michael Koch  <konqueror@gmx.de>
897
898         * gnu/java/net/protocol/jar/Connection.java
899         (connectionCache): New field.
900         (connect): New method.
901         (getInputStream): New method.
902         (hdrHash): New field.
903         (hdrVec): New field.
904         (gotHeaders): New field.
905         (getHeaderField): New method.
906         (getHeaderFields): New method.
907         (getHeaderFieldKey): New method.
908         (getKey): New method.
909         (getField): New method.
910         (getHeaders): New method.
911         * java/net/JarURLConnection.java
912         (connectionCache): Removed.
913         (connect): Removed.
914         (getInputStream): Removed.
915         (hdrHash): Removed.
916         (hdrVec): Removed.
917         (gotHeaders): Removed.
918         (getHeaderField): Removed.
919         (getHeaderFields): Removed.
920         (getHeaderFieldKey): Removed.
921         (getKey): Removed.
922         (getField): Removed.
923         (getHeaders): Removed.
924
925 2003-12-20  Michael Koch  <konqueror@gmx.de>
926
927         * java/io/ObjectStreamField.java (isUnshared): Added documentation.
928
929 2003-12-20  Mohan Embar  <gnustuff@thisiscool.com>
930
931         * gnu/java/nio/SelectorImpl.java
932         (selectThreadMutex): New field.
933         (selectThread): New field.
934         (unhandledWakeup): New field.
935         (implCloseSelector): Added skeleton code which
936         synchronizes as per Sun JRE JavaDoc.
937         (keys): Throw ClosedSelectorException if selector
938         is closed.
939         (selectNow): Added comment that we're faking out
940         an immediate select with a one-microsecond-timeout one.
941         (select): Use 0 instead of -1 for infinite timeout.
942         (implSelect): Changed comment in declaration.
943         (select): Added synchronized to method declaration.
944         Added synchronization and wakeup support as per Sun
945         JRE JavaDoc.
946         (selectedKeys): Throw ClosedSelectorException if selector
947         is closed.
948         (wakeup): Implemented.
949         (deregisterCancelledKeys): Synchronize on cancelled key
950         set before deregistering.
951         (register): Synchronize on key set before registering.
952         * java/nio/channels/spi/AbstractSelector.java
953         Added import for java.nio.channels.ClosedSelectorException.
954         (close): Added synchronized to method declaration.
955         (cancelledKeys): Throw ClosedSelectorException if selector
956         is closed.
957         (cancelKey): Synchronize on cancelled key set before key.
958
959 2003-12-20  Michael Koch  <konqueror@gmx.de>
960
961         * Makefile.am (ordinary_java_source_files):
962         Added gnu.java.net.URLParseError.java.
963         * Makefile.in: Regenerated.
964
965 2003-12-20  Guilhem Lavaux <guilhem@kaffe.org>
966
967         * gnu/java/net/URLParseError.java: New file.
968         * gnu/java/net/protocol/jar/Handler.java
969         (parseURL): Throw URLParseError if needed, fix '/' handling.
970         * java/net/URL.java (URL): Catch URLParseError and
971         transform it into a MalformedURLException.
972
973 2003-12-19  Michael Koch  <konqueror@gmx.de>
974
975         * gnu/java/nio/ChannelOutputStream.java: New file.
976         * java/nio/channels/Channels.java
977         (newOutputStream): Implemented.
978         * Makefile.am (ordinary_java_source_files)
979         Added gnu/java/nio/ChannelOutputStream.java.
980         * Makefile.in: Regenerated.
981
982 2003-12-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
983
984         * java/awt/FlowLayout.java (layoutContainer): Let components
985         assume their preferred height.  Centre components vertically.
986
987 2003-12-19  Michael Koch  <konqueror@gmx.de>
988
989         * gnu/java/nio/ChannelInputStream.java: New file.
990         * java/nio/channels/Channels.java (newInputStream): Implemented.
991         * java/nio/channels/FileChannelImpl.java
992         (readImpl): Only put data into buffer if something was read.
993         * Makefile.am (ordinary_java_source_files):
994         Added gnu/java/nio/ChannelInputStream.java.
995         * Makefile.in: Regenerated.
996
997 2003-12-19  Michael Koch  <konqueror@gmx.de>
998
999         * gnu/java/nio/OutputStreamChannel.java: New file.
1000         * java/nio/channels/Channels.java (newChannel): Implemented.
1001         * Makefile.am (ordinary_java_source_files):
1002         Added gnu/java/nio/OutputStreamChannel.java.
1003         * Makefile.in: Regenerated.
1004
1005 2003-12-19  Michael Koch  <konqueror@gmx.de>
1006
1007         * Makefile.am (ordinary_java_source_files):
1008         Added gnu.java.nio.InputStreamChannel. 
1009         * Makefile.in: Regenerated.
1010
1011 2003-12-19  Michael Koch  <konqueror@gmx.de>
1012
1013         * gnu/java/nio/InputStreamChannel.java: New file.
1014         * java/nio/channels/Channels.java (newChannel): Implemented.
1015
1016 2003-12-19  Michael Koch  <konqueror@gmx.de>
1017
1018         * java/util/SimpleTimeZone.java
1019         (setStartRule): Reformated documentation.
1020         (setEndRule): Reworked documentation.
1021         (getDSTSavings): Fixed @since tag.
1022         (setDSTSavings): New method.
1023
1024 2003-12-19  Michael Koch  <konqueror@gmx.de>
1025
1026         * java/text/NumberFormat.java: Sorted imports.
1027         (getCurrency): New method.
1028         (setCurrency): New method.
1029         
1030
1031 2003-12-19  Michael Koch  <konqueror@gmx.de>
1032
1033         * java/text/MessageFormat.java
1034         (MessageFormat): New constructor.
1035
1036 2003-12-19  Michael Koch  <konqueror@gmx.de>
1037
1038         * gnu/java/net/protocol/jar/Handler.java
1039         (parseURL): New method.
1040         (toExternalForm): New method.
1041
1042 2003-12-18  Fernando Nasser  <fnasser@redhat.com>
1043
1044         * java/awt/List.java (replaceItem): Prevent selection to move with
1045         replace and minimize flickering.
1046  
1047 2003-12-18  Michael Koch  <konqueror@gmx.de>
1048
1049         * libltdl/ltdl.c: Define __private_extern__ if needed.
1050
1051 2003-12-18  Michael Koch  <konqueror@gmx.de>
1052
1053         * libltdl/.cvsignore: Ignore autom4te.cache
1054         * libltdl/Makefile.in: Regenerated.
1055         * libltdl/aclocal.m4: Regenerated.
1056         * libltdl/acconfig.h: Removed (obsolete).
1057         * libltdl/config-h.in: Regenerated.
1058         * libltdl/configure.ac: Added AM_MAINTAINER_MODE.
1059         * libltdl/configure: Regenerated.
1060
1061 2003-12-18  Michael Koch  <konqueror@gmx.de>
1062
1063         * mauve-libgcj: Removed the disabling of java.text.ACIAttribute and
1064         java.text.CollationElementIterator tests as they compile again.
1065         * testsuite/libjava.mauve/xfails: Added failing
1066         java.text.CollationElementIterator tests.
1067
1068 2003-12-18  Michael Koch  <konqueror@gmx.de>
1069
1070         * java/util/prefs/AbstractPreferences.java
1071         (cachedChildren): New method.
1072
1073 2003-12-18  Michael Koch  <konqueror@gmx.de>
1074
1075         * java/util/TimeZone.java (getOffset): New method.
1076
1077 2003-12-17  Fernando Nasser  <fnasser@redhat.com>
1078  
1079         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
1080         of ActionEvents for mouse double-clicks.
1081
1082 2003-12-17  Fernando Nasser  <fnasser@redhat.com>
1083
1084         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (handleEvent): Check for
1085         null Graphics pointer returned by FileDialogPeer.
1086
1087 2003-12-17  Michael Koch  <konqueror@gmx.de>
1088
1089         * libltdl/stamp-h.in: Removed, not used anymore.
1090
1091 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
1092
1093         * gnu/java/net/natPlainDatagramSocketImplWin32.cc:
1094         Removed unused InterruptedIOException.h include.
1095         * gnu/java/net/natPlainSocketImplWin32.cc
1096         (connect): Reset and ignore our thread's interrupted
1097         flag instead of testing and throwing an InterruptedIOException
1098         if set.
1099         (accept): Likewise + changed case of SocketTimeoutException
1100         text.
1101         (write): Likewise (for both overloads).
1102         (doRead): Likewise.
1103
1104 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
1105
1106         * win32.cc (WSAEventWrapper): Implemented default
1107         constructor and init() methods.
1108         (_Jv_select): Removed.
1109         * gnu/java/nio/natSelectorImplWin32.cc
1110         (helper_put_filedescriptors): Removed.
1111         (helper_get_filedescriptors): Removed.
1112         (implSelect): Implemented in terms of WSAEventWrapper
1113         and WSAWaitForMultipleEvents instead of _Jv_select().
1114         Added support for thread interruption.
1115         * include/win32.h (WSAEventWrapper): Minor formatting
1116         changes; added default constructor declaration, init(),
1117         getFD() and getEventHandle() methods.
1118         (_Jv_select): Removed.
1119
1120 2003-12-16  Mohan Embar  <gnustuff@thisiscool.com>
1121
1122         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
1123         (peekData): Throw SocketTimeoutException instead of
1124         InterruptedIOException on timeout.
1125         (receive): Likewise.
1126         * gnu/java/net/natPlainSocketImplPosix.cc
1127         (read): Made a minor exception text case change.
1128
1129 2003-12-16  Michael Koch  <konqueror@gmx.de>
1130
1131         Fix for PR libgcj/13056.
1132         * libltdl/configure.in,
1133         libltdl/config.h.in: Removed.
1134         * libltdl/configure.ac,
1135         libltdl/config-h.in,
1136         libltdl/install-sh,
1137         libltdl/config.guess,
1138         libltdl/config.sub,
1139         libltdl/missing,
1140         libltdl/mkinstalldirs,
1141         libltdl/ltmain.sh: New files.
1142         * libltdl/Makefile.am,
1143         libltdl/acinclude.m4,
1144         libltdl/aclocal.m4,
1145         libltdl/ltdl.c,
1146         libltdl/ltdl.h,
1147         libltdl/README: Update to versions from libtool 1.5.
1148         libltdl/configure,
1149         * libltdl/Makefile.in: Regenerated.
1150         * java/lang/natRuntime.cc (find_symbol):
1151         Use type 'lt_ptr' instead of 'lt_ptr_t'.
1152
1153 2003-12-16  Michael Koch  <konqueror@gmx.de>
1154
1155         * java/awt/MenuComponent.java
1156         (serialVersionUID): Fixed value.
1157
1158 2003-12-16  Fernando Nasser  <fnasser@redhat.com>
1159
1160         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1161         (pre_event_handler): Handle GtkButton widgets differently as events
1162         go to its event_window.
1163         (connect_awt_hook): Remove compiler warning.
1164
1165 i2003-12-16  Guilhem Lavaux <guilhem@kaffe.org>
1166
1167         * java/io/ObjectInputStream.java
1168         (lookupClass): New method.
1169         (currentLoader): New method.
1170         (inputGetObjectStreamClasses): New method.
1171         (assignNewHandle): Documented.
1172         (currentClassLoader): Documented.
1173         * java/io/ObjectStreamClass.java
1174         (setClass): Changed API. Better handling of the imported/exported
1175         fields.
1176         (getSerialPersistentFields): Make it throw previously caught exceptions
1177         so they can handled in setClass.
1178
1179 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
1180  
1181         * java/io/ObjectStreamField.java: A few methods were added in prevision
1182         of the upcoming upgrade of the serialization code. This also adds
1183         some missing documentation.
1184         (ObjectStreamField): We should throw a NullPointerException when 'name'
1185         is null.
1186
1187  2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
1188   
1189         * java/io/ObjectInputStream.java (setBooleanField):
1190         Throw an InvalidClassException if the field hasn't the required type,
1191         documentation added.
1192         (setByteField) Likewise.
1193         (setCharField) Likewise.
1194         (setDoubleField) Likewise.
1195         (setFloatField) Likewise.
1196         (setIntField) Likewise.
1197         (setShortField) Likewise.
1198         (setLongField) Likewise.
1199         (setObjectField) Likewise.
1200
1201 2003-12-16 Guilhem Lavaux <guilhem@kaffe.org>
1202            Helmer Kraemer <hkraemer@freenet.de>
1203  
1204         * gnu/java/lang/reflect/TypeSignature.java (getClassForEncoding):
1205         Splitted the method so we can specify an explicit boot loader.
1206
1207 2003-12-15  Graydon Hoare  <graydon@redhat.com>
1208
1209         * jni/gtk-peer/gdkfont.h: New file.
1210         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
1211         include of cairo-xlib.h, add extra gdk_flush().
1212
1213 2003-12-12  Fernando Nasser  <fnasser@redhat.com>
1214
1215         * jni/gtk-peer/gtkpeer.h: Extend NSA set of macros to handle a second
1216         native state table -- native_global_ref_table.
1217         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Define
1218         native_global_ref_table pointer.
1219         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1220         (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose): Make sure JNI
1221         global reference is deleted and memory allocated for pointer freed.
1222         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): Use saved
1223         JNI global reference instead of JNI local reference.
1224         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1225         (pre_event_handler): Remove compilation warning.
1226         (connect_awt_hook): Use saved JNI global reference instead of creating
1227         a new one.
1228         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1229         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_create): Save JNI global
1230         reference to the Java object.
1231         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_connectSignals): Remove
1232         unused variable declaration and add comment.
1233         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
1234         (Java_gnu_java_awt_peer_gtk_GtkCanvasPeer_create): Save JNI global
1235         reference to the Java object.
1236         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c
1237         (Java_gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer_create): Ditto.
1238         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
1239         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeCreate): Ditto.
1240         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals): Use saved
1241         JNI global reference instead of JNI local reference.
1242         (item_toggled): Add debug statement.
1243         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1244         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_create): Save JNI global
1245         reference to the Java object.
1246         (connect_choice_item_selectable_hook): Use saved JNI global references
1247         instead of JNI local reference.
1248         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
1249         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create): Save JNI
1250         global reference to the Java object.
1251         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1252         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_create): Save JNI global
1253         reference to the Java object.
1254         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
1255         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_create): Ditto.
1256         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
1257         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_create): Ditto.
1258         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1259         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Ditto.
1260         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
1261         (Java_gnu_java_awt_peer_gtk_GtkScrollPanePeer_create): Ditto.
1262         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
1263         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Ditto.
1264         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
1265         (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_create): Ditto.
1266         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1267         (Java_gnu_java_awt_peer_gtk_GtkListPeer_create): Ditto.
1268         (Java_gnu_java_awt_peer_gtk_GtkListPeer_connectSignals): Use saved
1269         JNI global reference instead of JNI local reference.
1270         (item_selected): Add debug statement.
1271         (item_unselected): Add debug statement.
1272         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1273         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Save JNI global
1274         reference to the Java object.
1275         Connect "activate" signal handler using global JNI reference.
1276         (connect_activate_hook): Removed in favor of inline code.
1277         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
1278         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_create): Save JNI global
1279         reference to the Java object.
1280         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_connectSignals): Use saved
1281         JNI global reference instead of JNI local reference.  Add FIXME comment.
1282         (Java_gnu_java_awt_peer_gtk_GtkPanelPeer_gtkPanelNew): Save JNI global
1283         reference to the Java object.  Add FIXME comment.
1284         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
1285         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Save JNI global
1286         reference to the Java object.
1287         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_connectSignals): Use saved
1288         JNI global reference instead of JNI local reference.
1289         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
1290         (Java_gnu_java_awt_peer_gtk_GtkTextComponentPeer_connectSignals): Use
1291         saved JNI global reference instead of JNI local reference.
1292         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1293         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_create): Save JNI global
1294         reference to the Java object.
1295         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals): Use saved
1296         JNI global reference instead of JNI local reference.
1297
1298 2003-12-11  Michael Koch  <konqueror@gmx.de>
1299
1300         * java/text/Format.java (serialVersionUID): Fixed value.
1301
1302 2003-12-11  Michael Koch  <konqueror@gmx.de>
1303
1304         * javax/naming/event/EventDirContext.java: Jalopied.
1305         (addNamingListener): Fixed typo in method name.
1306         
1307
1308 2003-12-11  Mohan Embar  <gnustuff@thisiscool.com>
1309
1310         * gnu/java/nio/SocketChannelImpl.java
1311         (write): Removed diagnostic trace.
1312         * gnu/java/nio/natSelectorImplPosix.cc: Added
1313         includes for java.lang.Thread and java.io.InterruptedIOException.
1314         (helper_put_filedescriptors): Don't put invalid file descriptors
1315         in select set.
1316         (helper_get_filedescriptors): Clear invalid file descriptors
1317         from select set.
1318         (helper_reset): New method for clearing our file descriptor
1319         array.
1320         (implSelect): Correctly calculate timeout if specified and
1321         legal.
1322         Intercept and deal with any java.io.InterruptedIOException
1323         thrown by _Jv_select().
1324
1325 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
1326
1327         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
1328         Most coded moved to pre_event_handler, with the modifications
1329         mentioned below.
1330         (pre_event_handler): New function.  Called on the Gtk "event" signal.
1331         Do not retrieve the jobject from the window property as it is already
1332         available as user data in the signal.
1333         Do not try and find the grab widget as it is already done by Gtk at
1334         this point.
1335         Do not search for Window ancestor as Gtk already sends the signal to it.
1336         Do not meddle with the activation state of peer widgets on each
1337         key press or release.
1338         Add CList to the special handling when looking for the focused widget.
1339         * jni/gtk-peer/gtkpeer.h: Add declaration for pre_event_handler.
1340         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c (connectJObject):
1341         New function.
1342         (connectSignals): New function.
1343         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c (connectHooks):
1344         Rename to...
1345         (connectSignals): New name.  Get rid of NewGlobalRef call.
1346         Use g_signal_connect instead of deprecated gtk_signal_connect.
1347         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1348         (connect_choice_item_selectable_hook): Use g_signal_connect instead of
1349         deprecated gtk_signal_connect.
1350         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
1351         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1352         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1353         (Java_gnu_java_awt_peer_gtk_GtkClipboard_initNativeState): Ditto.
1354         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1355         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1356         function.
1357         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
1358         function.
1359         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
1360         function.
1361         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1362         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1363         function.
1364         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
1365         function.
1366         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1367         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1368         function.
1369         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
1370         function.
1371         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
1372         function.
1373         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_old_create): Remove dead
1374         code.
1375         (item_select): Remove indirection.
1376         (item_unselect): Ditto.
1377         (connect_selectable_hook): Folded into connectSignals.
1378         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
1379         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1380         function.
1381         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectJObject): New
1382         function.
1383         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
1384         function.
1385         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: Ditto.
1386         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1387         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
1388         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectHooks): Remove
1389         function.
1390         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_connectSignals): New
1391         function.
1392         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Declare  and call
1393         connectJObject and connectSignals instead of connectHooks.
1394         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Declare connectJObject and
1395         connectSignals.
1396         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Declare connectSignals
1397         and not connectHooks.
1398         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Ditto.
1399         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java: Declare connectJObject
1400         and not connectHooks.
1401         * gnu/java/awt/peer/gtk/GtkListPeer.java: Declare connectJObject and
1402         connectSignals instead of connectHooks.
1403         * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Ditto.
1404         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Ditto.
1405         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Ditto. 
1406
1407 2003-12-09  Michael Koch  <konqueror@gmx.de>
1408
1409         * Makefile.am (nat_headers_install): New variable with header files to
1410         install automatically.
1411         (install-data-local): Install all headers listed in
1412         nat_headers_install. Install innert nat headers explicitely.
1413         * Makefile.in: Regenerated.
1414
1415 2003-12-09  Michael Koch  <konqueror@gmx.de>
1416
1417         * java/util/Calendar.java,
1418         java/util/IdentityHashMap.java,
1419         java/util/prefs/Preferences.java:
1420         Import used classes explicitely.
1421
1422 2003-12-09  Michael Koch  <konqueror@gmx.de>
1423
1424         * java/net/DatagramSocket.java
1425         (close): Directly return if socket is closed.
1426         * java/net/ServerSocket.java
1427         (close): Directly return if socket is closed.
1428         * java/net/Socket.java
1429         (close): Directly return if socket is closed.
1430
1431 2003-12-09  Michael Koch  <konqueror@gmx.de>
1432
1433         * gnu/java/nio/SelectorImpl.java
1434         (implSelect): Throws IOException.
1435         (select): Likewise.
1436
1437 2003-12-08  Kim Ho  <kho@redhat.com>
1438
1439         Fix for Checkbox states.
1440         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
1441         (currentState): New field.
1442         (nativeCreate): Add initial state parameter.
1443         (create): Changed to reflect new parameter.
1444         (setState): Fire only on changed states.
1445         (postItemEvent): Fire only on changed states. Also change the 
1446         Java Checkbox to reflect new state.
1447         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
1448         (nativeCreate): Add parameter and set active state.
1449
1450 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
1451  
1452         * java/awt/datatransfer/StringSelection.java (getTransferData): Return
1453         object of type expected by specified DataFlavor.
1454
1455 2003-12-08  Fernando Nasser  <fnasser@redhat.com>
1456  
1457         * java/awt/datatransfer/DataFlavor.java (getParameter): Fix off-by-one
1458         error which was clipping off the first character of a parameter value.
1459
1460 2003-12-08  Olga Rodimina <rodimina@redhat.com>
1461
1462         * java/awt/Polygon.java
1463         (translate): Fixed error that caused polygon 
1464         to move right/left when up/down translation was required.
1465         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
1466         (getSelectionStart): Initialized start position to 0. 
1467         (getSelectionEnd): Initialized end position to 0.
1468         (getCaretPosition): Initialized caret position to 0.
1469         (getText): Initialized selected text to NULL 
1470
1471 2003-12-08  Michael Koch  <konqueror@gmx.de>
1472
1473         Fix for PR libgcj/13176.
1474         * java/io/PrintStream.java: Partly revert my previous patches to get
1475         (line_separator): New field.
1476         (converter): New field.
1477         (work): New field.
1478         (work_bytes): New field.
1479         (pw): Removed.
1480         (closed): Removed.
1481         (PrintStrean): Initialize converter and not pw.
1482         (checkError): Flush always, pw doesn't exist anymore.
1483         (close): Close underlying out stream.
1484         (print): New method.
1485         (writeChars): New method.
1486         (print): Use new internal print method.
1487         (println): Likewise.
1488
1489 2002-12-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
1490
1491         * java/util/Hashtable.java (Hashtable(Map)): Use putAll, not
1492         putAllInternal.
1493         (putAllInternal): Correct comment.
1494         * java/util/HashMap.java (HashMap(Map)): As above.
1495         (putAllInternal): As above.
1496
1497 2002-12-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
1498
1499         * java/util/Hashtable.java (internalContainsValue): Removed.
1500         (containsValue): Don't delegate to internalContainsValue.
1501
1502 2003-12-06  Michael Koch  <konqueror@gmx.de>
1503
1504         * javax/naming/directory/Attribute.java,
1505         javax/naming/directory/Attributes.java,
1506         javax/naming/directory/DirContext.java,
1507         javax/naming/directory/InitialDirContext.java,
1508         javax/naming/directory/SearchResult.java,
1509         javax/naming/event/EventContext.java,
1510         javax/naming/event/NamingEvent.java,
1511         javax/naming/event/NamingExceptionEvent.java,
1512         javax/naming/ldap/ControlFactory.java,
1513         javax/naming/ldap/ExtendedRequest.java,
1514         javax/naming/ldap/HasControls.java,
1515         javax/naming/ldap/InitialLdapContext.java,
1516         javax/naming/ldap/LdapContext.java,
1517         javax/naming/ldap/LdapReferralException.java,
1518         javax/naming/ldap/UnsolicitedNotification.java,
1519         javax/naming/ldap/UnsolicitedNotificationListener.java,
1520         javax/naming/spi/DirObjectFactory.java,
1521         javax/naming/spi/DirStateFactory.java,
1522         javax/naming/spi/DirectoryManager.java,
1523         javax/naming/spi/NamingManager.java,
1524         javax/naming/spi/ObjectFactoryBuilder.java,
1525         javax/naming/spi/ResolveResult.java,
1526         javax/naming/spi/Resolver.java,
1527         javax/naming/spi/StateFactory.java:
1528         Import used classes explicitely.
1529
1530 2003-12-05  Scott Gilbertson  <scottg@mantatest.com>
1531
1532         * gnu/gcj/xlib/GC.java (updateClip): Added rectangles argument.
1533         (clip): Removed field
1534         (clipRectangles): New field.
1535         (clone): Use new updateClip.
1536         (setClipRectangles): Use new updateClip.
1537         * gnu/gcj/xlib/natGC.cc (updateClip): Prepare passed rectangles.
1538
1539 2003-12-04  Michael Koch  <konqueror@gmx.de>
1540
1541         * java/io/FilePermission.java:
1542         Import used classes explicitely.
1543
1544 2003-12-04  Michael Koch  <konqueror@gmx.de>
1545
1546         * java/beans/BeanDescriptor.java,
1547         java/beans/EventSetDescriptor.java,
1548         java/beans/FeatureDescriptor.java,
1549         java/beans/IndexedPropertyDescriptor.java,
1550         java/beans/Introspector.java,
1551         java/beans/MethodDescriptor.java,
1552         java/beans/PropertyDescriptor.java,
1553         java/beans/SimpleBeanInfo.java: Explicitely import used classes.
1554         * java/beans/beancontext/BeanContextServicesSupport.java
1555         (serialVersionUID): New field.
1556
1557 2003-12-04  Michael Koch  <konqueror@gmx.de>
1558
1559         * java/awt/MenuComponent.java: Import java.io.Serialization.
1560         * java/awt/MenuItem.java: Likewise.
1561         * java/awt/TextComponent.java: Likewise.
1562         * java/awt/image/ImagingOpException.java
1563         (serialVersionUID): Fixed.
1564
1565 2003-12-04  Michael Koch  <konqueror@gmx.de>
1566
1567         * gnu/java/net/protocol/http/Connection.java
1568         (sendRequest): Merged writing http headers with classpath.
1569         (getInputStream): Merged documentation from classpath.
1570         (getHeaderField): Likewise.
1571         (getHeaderFieldKey): Likewise.
1572
1573 2003-12-04  Michael Koch  <konqueror@gmx.de>
1574
1575         * boehm.cc (_Jv_MarkObj): Access hack_signers field.
1576
1577 2003-12-04  Michael Koch  <konqueror@gmx.de>
1578
1579         * java/net/DatagramPacket.java
1580         (length): Made packge-private to make it accessible via CNI.
1581         (maxlen): New field.
1582         (DatagramPacket): Cleaned up.
1583         (setSocketAddress): Add message to exception.
1584         (setData): Call other setData().
1585         (setData): Call setLength().
1586         (setLength): Initialize maxlen too.
1587         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (peekData):
1588         Get maximal length from maxlen field, set length field directly.
1589         (receive): Likewise.
1590         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
1591         Get maximal length from maxlen field, set length field directly.
1592         (receive): Likewise.
1593
1594 2003-12-03  Mohan Embar  <gnustuff@thisiscool.com>
1595
1596         * gnu/java/nio/natSelectorImplPosix.cc
1597         (implSelect): A timeout of 0 means an infinite
1598         timeout.
1599
1600 2003-12-02  Fernando Nasser  <fnasser@redhat.com>
1601  
1602         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
1603         of ActionEvents.
1604
1605 2003-12-03  Michael Koch  <konqueror@gmx.de>
1606
1607         * java/lang/Class.h (hack_signers): Renamed signers to hack_signers.
1608         * java/lang/natClass.cc (getSigners): Likewise.
1609         (setSigners): Likewise.
1610
1611 2003-12-02  Mohan Embar  <gnustuff@thisiscool.com>
1612
1613         * configure.in: Added new MinGW-specific configure flag
1614         --with-win32-nlsapi.
1615         Added new AC_DEFINE MINGW_LIBGCJ_UNICODE.
1616         Add -lunicows to MinGW SYSTEMSPEC if --with-win32-nlsapi
1617         is set to unicows.
1618         * configure: Rebuilt.
1619         * include/config.h.in: Rebuilt.
1620         * win32.cc (_Jv_Win32NewString): Implemented.
1621         (nativeToUnicode): New helper function defined only for
1622         non-UNICODE builds.
1623         (unicodeToNative): Likewise.
1624         (_Jv_Win32TempString): Implemented.
1625         (lots): Refactored using tchar.h macros.
1626         (WSAEventWrapper): Use _Jv_Win32NewString.
1627         (_Jv_platform_initialize): Use GetModuleFileNameA instead
1628         of GetModuleFileName.
1629         (_Jv_platform_initProperties): Use _Jv_Win32NewString.
1630         Use temporary stack buffer instead of a heap buffer.
1631         * include/win32.h
1632         Added defines for UNICODE and _UNICODE if MINGW_LIBGCJ_UNICODE is
1633         defined; added tchar.h include.
1634         (_Jv_Win32TempString): Declared new helper class.
1635         (JV_TEMP_STRING_WIN32): New helper macro.
1636         (_Jv_Win32NewString): Declared new helper method.
1637         * java/io/natFileDescriptorWin32.cc (open): Use
1638         JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
1639         (write): Reformatted slightly.
1640         * java/io/natFileWin32.cc (lots): Use tchar.h macros;
1641         use JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
1642         (getCanonicalPath): Use _Jv_Win32NewString instead of
1643         JvNewStringUTF.
1644         (performList): Likewise.
1645         * java/lang/natWin32Process.cc (ChildProcessPipe):
1646         Use tchar.h macros.
1647         (startProcess): Use tchar.h macros, JV_TEMP_STRING_WIN32,
1648         and UNICODE environment flag for CreateProcess.
1649         * java/net/natNetworkInterfaceWin32.cc
1650         (winsock2GetRealNetworkInterfaces): Use tchar.h macros and
1651         _Jv_Win32NewString.
1652
1653 2003-12-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
1654
1655         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
1656         (initState): Mark obj parameter as unused.
1657         (stringWidth): Mark obj parameter as unused.  Initialize
1658         font_name properly.
1659
1660         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Make
1661         BufferedImageBuilder class static.
1662
1663 2003-12-02  Mark Wielaard  <mark@klomp.org>
1664
1665         * java/security/Security.java: Don't use &nbsp; in the api doc.
1666
1667 2003-12-02  Dalibor Topic <robilad@kaffe.org>
1668
1669         Reported by: Jim Pick <jim@kaffe.org>
1670         * libraries/javalib/java/util/Hashtable.java
1671         (internalcontainsValue): New method.
1672         (contains): Delegate to internalContainsValue.
1673         
1674         Reported by: Mark Wielaard  <mark@klomp.org>
1675         * libraries/javalib/java/util/Hashtable.java
1676         (contains): Improved comment.
1677         
1678         Reported by: Jeroen Frijters  <jeroen@frijters.net>
1679         * libraries/javalib/java/util/Hashtable.java
1680         (containsValue): Delegate to contains(Object) to make sure older
1681         code overwriting it continues to work.
1682
1683 2003-12-02  Fernando Nasser  <fnasser@redhat.com>
1684
1685         * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): New
1686         method. Handle mouse and key events that must generate
1687         ActionEvents.
1688         * java/awt/List.java (getSelectedIndex): Return -1
1689         if no list element is selected.
1690         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler):
1691         Correct handling of mouse and key events so that List receives them.
1692         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
1693         (Java_gnu_java_awt_peer_gtk_GtkListPeer_delItems): Fix removal of
1694         multiple list elements. 
1695
1696 2003-12-02  Ito Kazumitsu  <kaz@maczuka.gcd.org>
1697
1698         * java/text/SimpleDateFormat.java (compileFormat):
1699         isLowerCase() and isUpperCase() allow too many characters.
1700         Just use >= 'A' && <= 'Z' || >= 'a' && <= 'z'.
1701
1702 2003-12-02  Dalibor Topic <robilad@kaffe.org>
1703
1704         * java/text/FieldPosition.java (equals): Fixed comment.
1705
1706 2003-12-02  Mark Wielaard  <mark@klomp.org>
1707
1708         Reported by Archie Cobbs:
1709         * java/security/DigestInputStream.java (read(byte[], int, int): Call
1710         digest.update() with temp, not len as lenght.
1711
1712 2003-12-02  Michael Koch  <konqueror@gmx.de>
1713
1714         * java/net/DatagramSocket.java
1715         (close): Close associated DatagramChannel object.
1716         * java/net/ServerSocket.java
1717         * java/net/Socket.java
1718         (close): Reset impl and bound before calling getChannel().close() to
1719         prevent from loops.
1720
1721 2003-12-02  Michael Koch  <konqueror@gmx.de>
1722
1723         * java/nio/channels/spi/AbstractInterruptibleChannel.java
1724         (opened): Removed.
1725         (closed): New field.
1726         (close): Check of channel is closed already.
1727         (isOpen): Return !closed.
1728
1729 2003-12-02  Michael Koch  <konqueror@gmx.de>
1730
1731         * gnu/java/nio/DatagramChannelImpl.java
1732         (blocking): Initialize with true by default.
1733         * gnu/java/nio/ServerSocketChannelImpl.java
1734         (serverSocket): Made private.
1735         (blocking): Likewise.
1736         (connected): Likewise.
1737         * gnu/java/nio/SocketChannelImpl.java
1738         (connectionPending): Made private.
1739         * gnu/java/nio/FileLockImpl.java
1740         (static): Load native library (needed for classpath).
1741         * gnu/java/nio/SelectorImpl.java
1742         (static): Load native library (needed for classpath).
1743
1744 2003-12-02  Michael Koch  <konqueror@gmx.de>
1745
1746         * gnu/java/net/protocol/file/Connection.java
1747         (getLastModified): Implement for file connections.
1748         (getContentLength): Likewise.
1749
1750 2003-12-02  Michael Koch  <konqueror@gmx.de>
1751
1752         * gnu/java/net/protocol/file/Connection.java:
1753         Some reformating.
1754         (file): Renamed from fileIn.
1755         (getPermission): Moved around.
1756
1757 2003-12-02  Michael Koch  <konqueror@gmx.de>
1758
1759         * gnu/java/net/protocol/jar/Connection.java
1760         (Connection): Made class final, merged documentation with classpath.
1761         (file_cache): Made private.
1762         (jar_file): Renamed from jarfile.
1763
1764 2003-12-02  Michael Koch  <konqueror@gmx.de>
1765
1766         * gnu/java/net/protocol/http/Connection.java
1767         (Connection): Initialize doOutput to false;
1768         (connect): Initialize inputStream, moved "send request" code to new
1769         method.
1770         (sendRequest): New method.
1771         (getHttpHeaders): Don't reinitialize inputStream.
1772
1773 2003-12-02  Michael Koch  <konqueror@gmx.de>
1774
1775         * gnu/java/net/protocol//http/Connection.java
1776         (defRequestProperties): Removed. This dont gets used since JDK 1.3.
1777         (requestProperties): Initialize, documentation added.
1778         (inputStream): Renamed from bufferedIn.
1779         (Connection): Dont initialize requestProperties.
1780         (setDefaultRequestProperty): Removed.
1781         (getDefaultRequestProperty): Removed.
1782         (usingProxy): Documentation added.
1783         (getHttpHeaders): Likewise.
1784
1785 2003-12-02  Michael Koch  <konqueror@gmx.de>
1786
1787         * java/text/DateFormat.java:
1788         Explicitely import used classes.
1789
1790 2003-12-01  Jeff Sturm  <jsturm@one-point.com>
1791
1792         * verify.cc (state::clean_subrs): Clear seen_subrs.
1793         (state::copy): Walk seen_subrs from copy, not `this'.
1794         Don't clear seen_subrs.
1795
1796 2003-12-01  Kim Ho <kho@redhat.com>
1797
1798         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create):
1799         Disable wrapping if TextArea has horizontal scroll bars.
1800
1801 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
1802
1803         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1804         (awt_event_handler): Hard-code inset values.
1805
1806         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (GdkFontMetrics):
1807         Pass font name, not XLFD, to initState.
1808         (stringWidth(String, int, String)): New method.
1809         (stringWidth(String)): Call new stringWidth.
1810         (getLeading): Always return 0.
1811         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
1812         (initState): New Pango implementation.
1813         (stringWidth): Likewise.
1814
1815 2003-12-01  Olga Rodimina <rodimina@redhat.com>
1816
1817         * java/awt/TextComponent.java:
1818         (getSelectionStart): Updated javadocs.
1819         (getSelectionEnd): Ditto.
1820         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer:
1821         (getSelectionStart): Changed to return caret position if no
1822         text is selected
1823         (getSelectionEnd): Ditto.
1824
1825 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
1826
1827         * gnu/awt/gtk/GtkButtonPeer.java, gnu/awt/gtk/gtkcommon.cc,
1828         gnu/awt/gtk/gtkcommon.h, gnu/awt/gtk/GtkComponentPeer.java,
1829         gnu/awt/gtk/GtkContainerPeer.java,
1830         gnu/awt/gtk/GtkFramePeer.java, gnu/awt/gtk/GtkLabelPeer.java,
1831         gnu/awt/gtk/GtkMainThread.java, gnu/awt/gtk/GtkToolkit.java,
1832         gnu/awt/gtk/GtkWindowPeer.java, gnu/awt/gtk/natGtkButtonPeer.cc,
1833         gnu/awt/gtk/natGtkComponentPeer.cc,
1834         gnu/awt/gtk/natGtkContainerPeer.cc,
1835         gnu/awt/gtk/natGtkFramePeer.cc, gnu/awt/gtk/natGtkLabelPeer.cc,
1836         gnu/awt/gtk/natGtkMainThread.cc, gnu/awt/gtk/natGtkToolkit.cc,
1837         gnu/awt/gtk/natGtkWindowPeer.cc: Remove files.
1838
1839         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
1840         (closed): Mark loader parameter as unused.
1841
1842 2003-12-01  Michael Koch  <konqueror@gmx.de>
1843
1844         * gnu/java/net/protocol/http/Connection.java
1845         (Connection): Merged class documentation.
1846         (socket): Renamed from sock.
1847         (Connection): Made protected, documentation added.
1848         (connect): Give URL'S host instead of InetAddress to Socket
1849         constructor.
1850         (disconnect): Documentation added.
1851         (getOutputStream): Rewrapped.
1852
1853 2003-12-01  Michael Koch  <konqueror@gmx.de>
1854
1855         * gnu/java/net/protocol/file/Connection.java
1856         (fileIn): Documentation added.
1857         (inputStream): Likewise.
1858         (outputStream): Likewise.
1859         (Connection): Likewise.
1860         (connect): Simplified.
1861
1862 2003-12-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
1863
1864         * gnu/java/awt/peer/gtk/GtkImage.java (setDimensions,
1865         setProperties): Check that io is not null before calling
1866         io.imageUpdate.
1867         * java/awt/image/ImageConsumer.java (setPixels, imageComplete):
1868         Update javadocs.
1869         * java/awt/image/PixelGrabber.java: Fix implementation and
1870         update javadocs.
1871
1872 2003-12-01  Michael Koch  <konqueror@gmx.de>
1873
1874         * gnu/java/net/natPlainSocketImplPosix.cc
1875         bind(): Dont set SockedImpl.address field on succesful bind.
1876         * gnu/java/net/natPlainSocketImplWin32.cc
1877         bind(): Likewise.
1878
1879 2003-11-30  Jeff Sturm <jsturm@one-point.com>
1880
1881         * java/net/InetAddress.java:
1882         (static): Don'f force DNS request for ANY_IF address.
1883
1884 2003-11-30  Michael Koch  <konqueror@gmx.de>
1885
1886         * java/net/InetAddress.java,
1887         java/net/natInetAddressNoNet.cc,
1888         java/net/natInetAddressPosix.cc,
1889         java/net/natInetAddressWin32.cc:
1890         Reverted my last patch.
1891
1892 2003-11-28  Michael Koch  <konqueror@gmx.de>
1893
1894         * java/net/InetAddress.java
1895         (lookup): New method that doesnt lookup "0.0.0.0".
1896         (ImplLookup): Renamed from lookup.
1897         * java/net/natInetAddressNoNet.cc
1898         (ImplLookup): Renamed from lookup.
1899         * java/net/natInetAddressPosix.cc
1900         (ImplLookup): Renamed from lookup.
1901         * java/net/natInetAddressWin32.cc
1902         (ImplLookup): Renamed from lookup.
1903
1904 2003-11-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
1905
1906         * configure: Rebuilt.
1907         * configure.in: Require gtk and glib 2.2.0.
1908
1909 2003-11-27  Dalibor Topic <robilad@kaffe.org>
1910
1911         * java/text/FieldPosition.java (equals): Adapted to handle
1912         field_attribute. Added fast-circuit check for comparison to self.
1913         Replaced use of instanceof by getClass to fix symmetry for derived
1914         types.
1915         (toString): Adapted to handle field_attribute. Improved readability.
1916         (hashCode): New method.
1917
1918 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1919
1920         * java/text/FieldPosition.java (field_attribute): New field.
1921         (FieldPosition (Format.Field), FieldPosition(Format.Field, int),
1922         getFieldAttribute): New methods.
1923
1924 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1925
1926         * java/text/DecimalFormatSymbols.java (locale): New field.
1927         (DecimalFormatSymbols (Locale)): Set locale.
1928         (serialVersionOnStream): Upgraded to number 2.
1929         (readObject): Assign locale if it wasn't by the serializer.
1930
1931 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1932
1933         * java/text/FormatCharacterIterator.java: Documented the class and
1934
1935 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1936
1937         * java/text/FormatCharacterIterator.java: Fixed some typos.
1938
1939 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1940
1941         * java/text/NumberFormat.java:
1942         (getIntegerInstance) Added the java version in the comments.
1943
1944 2003-11-27  Mark Wielaard  <mark@klomp.org>
1945
1946         * java/text/NumberFormat.java: Import java.io.InvalidObjectException.
1947         (readResolve): Reformat.
1948
1949 2003-11-27  Guilhem Lavaux <guilhem@kaffe.org>
1950
1951         * java/text/NumberFormat.java
1952         (NumberFormat.Field): New implemented class to match Java 1.4. 
1953         (getIntegerInstance): Two new Java 1.4 methods.o
1954
1955 2003-11-27  Ito Kazumitsu  <kaz@maczuka.gcd.org>
1956
1957         * java/util/GregorianCalendar.java (getLinearTime): Avoid counting
1958         the leap day of the leap year twice.
1959         (computeFields): First week of month is 1 not 0.
1960
1961 2003-11-27  Mark Wielaard  <mark@klomp.org>
1962
1963         * javax/swing/plaf/basic/BasicDefaults.java (BasicDefaults): Put
1964         AbstractUndoableEdit.undoText and AbstractUndoableEdit.redoText.
1965
1966 2003-11-27  Michael Koch  <konqueror@gmx.de>
1967
1968         * javax/swing/UIDefaults.java:
1969         Reformated to match classpath's version.
1970
1971 2003-11-27  Sascha Brawer  <brawer@dandelis.ch>
1972
1973         * javax/swing/UIManager.java (getDefaults, getDimension,
1974         getIcon, getInsets, getInstalledLookAndFeels, getInt,
1975         getLookAndFeel, getString, getSystemLookAndFeelClassName):
1976         Declare as public.
1977
1978 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
1979
1980         * javax/swing/undo/StateEdit.java (getPresentationName): Docfix.
1981         * javax/swing/undo/AbstractUndoableEdit.java (canUndo, canRedo,
1982         isSignificant): Likewise.
1983
1984 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
1985
1986         * javax/swing/undo/CompoundEdit.java: Re-format, document.
1987         (inProgress): Set initial value to true.
1988         (undo, redo, die, canUndo, canRedo): Also call inherited
1989         implementation; simplify code structure.
1990         (getPresentationName, getUndoPresentationName,
1991         getRedoPresentationName): Make behavior dependent on lastEdit.
1992         (addEdit, isSignificant): Completely re-written.
1993
1994 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
1995
1996         * javax/swing/undo/StateEdit.java: Re-format, document.
1997         (undo, redo): Also call inherited implementation.
1998
1999 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
2000
2001         * javax/swing/undo/StateEditable.java: Re-format, document.
2002
2003 2003-11-26  Sascha Brawer  <brawer@dandelis.ch>
2004
2005         * javax/swing/undo/AbstractUndoableEdit.java: Re-format, document.
2006         (AbstractUndoableEdit): Initialize hasBeenDone to true.
2007         (canUndo, canRedo): Simplify.
2008         (getUndoPresentationName, getRedoPresentationName): Support
2009         localized message; call getPresentationName() only once.
2010
2011 2003-11-26  David Belanger  <dbelan2@cs.mcgill.ca>
2012
2013         * java/util/zip/ZipFile (Zipfile(File)): Set file path as name.
2014         (ZipFile(File,int)): Likewise.
2015
2016 2003-11-26  Stuart Ballard <stuart.ballard@corp.fast.net>
2017
2018         * java/util/HashMap.java (putAll): Use Iterator hasNext() method.
2019         (putAllInternal): Likewise.
2020         * java/util/Hashtable.java (putAll): Use Iterator hasNext() method.
2021         (putAllInternal): Likewise.
2022
2023 2003-11-26  Michael Koch  <konqueror@gmx.de>
2024
2025         * java/net/URLStreamHandler.java
2026         (parseURL): Added comment in catch statement.
2027         (canonicalizeFilename): Add documentation.
2028         (sameURL): Completed documentation.
2029         (equals): Likewise.
2030         (hostsEqual): Likewise.
2031         (getDefaulPort): Likewise.
2032         (hashCode): Likewise.
2033         (toExternalForm): Likewise.
2034         (getHostName): Fix empty hostname check, completed documentation.
2035
2036 2003-11-26  Tom Tromey  <tromey@redhat.com>
2037
2038         * java/lang/natDouble.cc (parseDouble): Reverted patch of
2039         2003-11-13.
2040
2041 2003-11-26  Guilhem Lavaux  <guilhem@kaffe.org>
2042             Mark Wielaard  <mark@klomp.org>
2043
2044         * java/net/URLStreamHandler (parseUrl): Fixed URL parsing
2045         ('@' should be checked to distinguish port from userinfo).
2046         (toExternalForm): Add @ userInfo if necessary.
2047
2048
2049 2003-11-26  Michael Koch  <konqueror@gmx.de>
2050
2051         * java/net/DatagramSocket.java
2052         (DategramSocket, bind): Moved binding code from DatagramSocket
2053         constructor to bind method.
2054
2055 2003-11-26  Michael Koch  <konqueror@gmx.de>
2056
2057         * java/net/DatagramSocket.java
2058         (impl): Made private.
2059         (bound): New private member variable.
2060         (DatagramSocket): Fixed documentation, use getImpl().
2061         (getImpl): New package-private method.
2062         (isClosed): Use getImpl().
2063         (getLocalAddress): Completed documentation, use getImpl().
2064         (getLocalPort): Use getImpl().
2065         (getSoTimeout): Likewise.
2066         (setSoTimeout): Likewise.
2067         (getSendBufferSize): Likewise.
2068         (setSendBufferSize): Likewise.
2069         (getReceiveBufferSize): Likewise.
2070         (setReceiveBufferSize): Likewise.
2071         (connect): Likewise.
2072         (disconnect): Likewise.
2073         (receive): Likewise.
2074         (send): Likewise.
2075         (setReuseAddress): Likewise.
2076         (setTrafficClass): Likewise.
2077         (bind): Added message to exception.
2078         (isClosed): Completed documentation.
2079         (getChannel): Likewise.
2080         (connect): Added missing exception, refined exception message.
2081         (isBound): Completed documentation, just return bound.
2082         (isConnected): Completed documentation.
2083         (getRemoteSocketAddress): Likewise.
2084         (getReuseAddress): Completed documentation, use getImpl().
2085         (setSoBroadcast): Likewise.
2086         (getSoBroadcast): Likewise.
2087         (getTrafficClass): Likewise.
2088         (getLocalSocketAddress): Simplified.
2089         * java/net/MulticastSocket.java
2090         (MulticastSocket): Removed comment not applying anymore.
2091         (getInterface): Use getImpl().
2092         (getTTL): Likewise.
2093         (getTimeToLive): Likewise.
2094         (setInterface): Likewise.
2095         (setNetworkInterface): Likewise.
2096         (getNetworkInterface): Likewise.
2097         (setLoopback): Likewise.
2098         (getLoopback): Likewise.
2099         (setTTL): Likewise.
2100         (setTimeToLive): Likewise.
2101         (joinGroup): Likewise.
2102         (leaveGroup): Likewise.
2103         (send): Likewise.
2104
2105 2003-11-26  Michael Koch  <konqueror@gmx.de>
2106
2107         * java/net/Socket.java
2108         (implCreated): Dont set default value explicitely, added
2109         documentation.
2110         (inputShutdown): Likewise.
2111         (outputShutdown): Likewise.
2112         (bound): New private member variable.
2113         (bind): Set bound to true.
2114         (close): Set bound to false.
2115         (isBound): Return bound.
2116         * java/net/ServerSocket.java
2117         (bound): New private member variable.
2118         (bind): Set bound to true.
2119         (close): Set bound to false.
2120         (isBound): Return bound.
2121
2122 2003-11-26  Michael Koch  <konqueror@gmx.de>
2123
2124         * java/net/URL.java
2125         (URL): Fixed documentation to be HTML compliant.
2126         (getContent): Completed documentation.
2127         (getFile): Likewise.
2128         (getPath): Likewise.
2129         (getAuthority): Likewise.
2130         (getHost): Likewise.
2131         (getDefaultPort): Likewise.
2132         (getProtocol): Likewise.
2133         (hashCode): Likewise.
2134         (openConnection): Likewise.
2135         (openStream): Likewise.
2136         (set): Likewise.
2137         (getURLStreamHandler): Wrapped lines to fit into our 79 chars rule.
2138
2139 2003-11-26  Michael Koch  <konqueror@gmx.de>
2140
2141         * java/net/InetSocketAddress.java
2142         (hostname): Made private, added documentation.
2143         (addr): Likewise.
2144         (port): Likewise.
2145         (equals): Completed documentation.
2146         (getAddress): Likewise.
2147         (getHostName): Likewise.
2148         (getPort): Likewise.
2149         (hashCode): Likewise.
2150         (isUnresolved): Likewise.
2151         (toString): Likewise.
2152
2153 2003-11-26  Michael Koch  <konqueror@gmx.de>
2154
2155         * gnu/java/net/protocol/file/Handler.java
2156         (Handler): New explicit constructor.
2157         (openConnection): Added documentation.
2158         * gnu/java/net/protocol/jar/Handler.java
2159         (Handler): New explicit constructor.
2160         (openConnection): Added documentation.
2161
2162 2003-11-26  Michael Koch  <konqueror@gmx.de>
2163
2164         * java/net/DatagramPacket.java
2165         (DatagramPacket): Fixed documentation to become legal HTML.
2166
2167 2003-11-25  Michael Koch  <konqueror@gmx.de>
2168
2169         * gcj/javaprims.h: Added missing java.util.Currency.
2170
2171 2003-11-25  Michael Koch  <konqueror@gmx.de>
2172
2173         * testsuite/libjava.mauve/xfails:
2174         Removed these two tests, they mystically pass now:
2175         -FAIL: gnu.testlet.java.net.ServerSocket.ServerSocketTest: Error :
2176         test_params failed - 5getInetAddress did not return proper values
2177         (number 1)
2178         -FAIL: gnu.testlet.java.net.Socket.SocketTest: Error :
2179         test_BasicServer failed - 11 exception was thrown :Illegal seek
2180         (number 1)
2181
2182 2003-11-25  Michael Koch  <konqueror@gmx.de>
2183
2184         * java/net/DatagramSocket.java
2185         (factory): Made private.
2186         (closed): Removed.
2187         (DatagramSocket): Check impl argument, use constructor with
2188         SocketAddress argument.
2189         (close): Set impl to null, use isClosed().
2190         (isClosed): Check for impl == null.
2191         (getLocalAddress): Use isClosed().
2192         (getLocalPort): Check if socket is closed.
2193         (getSoTimeout): Likewise.
2194         (setSoTimeout): Likewise.
2195         (getSendBufferSize): Likewise.
2196         (setSendBufferSize): Likewise.
2197         (getReceiveBufferSize): Likewise.
2198         (setReceiveBufferSize): Likewise.
2199         (receive): Likewise.
2200         (send): Likewise.
2201         (bind): Likewise.
2202         (connect): Likewise.
2203         (setReuseAddress): Likewise.
2204         (getReuseAddress): Likewise.
2205         (setBroadcast): Likewise.
2206         (getBroadcast): Likewise.
2207         (setTrafficClass): Likewise.
2208         (getTrafficClass): Likewise.
2209         * java/net/MulticastSocket.java
2210         (getInterface): Check if socket is closed.
2211         (getTTL): Likewise.
2212         (getTimeToLive): Likewise.
2213         (setInterface): Likewise.
2214         (setNetworkInterface): Likewise.
2215         (getNetworkInterface): Likewise.
2216         (setLoopbackMode): Likewise.
2217         (setTTL): Likewise.
2218         (setTimeToLive): Likewise.
2219         (joinGroup): Likewise.
2220         (leaveGroup): Likewise.
2221         (send): Likewise.
2222         * java/net/ServerSocket.java
2223         (closed): Removed.
2224         (close): Check if socket is closed, set impl to null.
2225         (isClosed): Check impl == null;
2226         (ServerSocket): Check impl argument.
2227         (getInetAddress): Check if socket is bound.
2228         (getLocalPort): Likewise.
2229         (getLocalSocketAddress): Likewise.
2230         (bind): Check if socket is closed.
2231         (implAccept): Likewise.
2232         (setSoTimeout): Likewise.
2233         (getSoTimeout): Likewise.
2234         (setReuseAddress): Likewise.
2235         (getReuseAddress): Likewise.
2236         (setReceiveBufferSize): Likewise.
2237         (getReceiveBufferSize): Likewise.
2238         (toString): Make output compliant to JDK 1.4.2.
2239         * java/net/Socket.java
2240         (closed): Removed.
2241         (Socket): Fixed documentation.
2242         (connect): Check if socket is closed, changed exception text,
2243         fixed documentation.
2244         (getInputStream): Check of socket is closed  and connected.
2245         (getOutputStream): Likewise.
2246         (bind): Check if socket is closed.
2247         (setTcpNoDelay): Likewise.
2248         (getTcpNoDelay): Likewise.
2249         (setSoLinger): Likewise.
2250         (getSoLinger): Likewise.
2251         (sendUrgentData): Likewise.
2252         (setOOBInline): Likewise.
2253         (getOOBInline): Likewise.
2254         (setSoTimeout): Likewise.
2255         (getSoTimeout): Likewise.
2256         (setSendBufferSize): Likewise.
2257         (getSendBufferSize): Likewise.
2258         (setReceiveBufferSize): Likewise.
2259         (getReceiveBufferSize): Likewise.
2260         (setKeepAlive): Likewise.
2261         (getKeepAlive): Likewise.
2262         (close): Likewise.
2263         (shutdownInput): Likewise.
2264         (shutdownOutput): Likewise.
2265         (getReuseAddress): Likewise.
2266         (getTrafficClass): Likewise.
2267         (setTrafficClass): Likewise.
2268         (isClosed): Check impl == null.
2269         (toString): Added missing ']'.
2270
2271 2003-11-24  Tom Tromey  <tromey@redhat.com>
2272
2273         * Makefile.in: Rebuilt.
2274         * Makefile.am (propdir): New macro.
2275         (install-data-local): Install logging.properties.
2276         (core_java_source_files): Added java.util.logging.*.
2277         * java/util/logging/logging.properties: New file.
2278
2279 2003-11-25  Michael Koch  <konqueror@gmx.de>
2280
2281         * java/net/DatagramSocket.java
2282         (DatagramSocket): Move binding code to bind(), simplify constructors.
2283         * java/net/MulticastSocket.java
2284         (MulticastSocket): Call parent constructor with null argument,
2285         bind socket after setReuseAddress is called, simplify constructors.
2286
2287 2003-11-24  Michael Koch  <konqueror@gmx.de>
2288
2289         * javax/swing/BoxLayout.java
2290         (serialVersionUIR): New member variable.
2291         (X_AXIS, Y_AXIS): Documentation added.
2292         (LINE_AXIS, PAGE_AXIS): New constants.
2293         (grid): Renamed from gridbag.
2294         (BoxLayout): Use new constants, throw exception if invalid value for
2295         way, added documentation.
2296         (BoxLayout): Removed.
2297         (addLayoutComponent): Use new constants, added documentation.
2298         (removeLayoutComponent): Likewise.
2299         (addLayoutContainer): Added documentation.
2300         (preferredLayoutSize): Added documentation, check given argument.
2301         (minimumLayoutSize): Likewise.
2302         (layoutContainer): Likewise.
2303         (getLayoutAlignmentX): Likewise.
2304         (getLayoutAlignmentY): Likewise.
2305         (invalidateLayout): Likewise.
2306         (maximumLayoutSize): Likewise.
2307
2308 2003-11-22  Michael Koch  <konqueror@gmx.de>
2309
2310         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
2311         (peekData): Use offset and maximal free space in datagram packet.
2312         (receive): Likewise.
2313         (send): Use offset in datagram packet.
2314
2315 2003-11-22  Michael Koch  <konqueror@gmx.de>
2316
2317         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
2318         (peekData): Use offset and maximal free space in datagram packet.
2319         (receive): Likewise.
2320         (send): Use offset in datagram packet.
2321
2322 2003-11-22  Michael Koch  <konqueror@gmx.de>
2323
2324         * gnu/java/nio/DatagramChannelImpl.java
2325         (getNativeFD): Use getPlainDatagramSocketImpl().
2326         * gnu/java/nio/NIODatagramSocket.java
2327         (getPlainDatagramSocketImpl): Renamed from getImpl().
2328         * gnu/java/nio/NIOSocket.java
2329         (getPlainSocketImpl): Renamed from getImpl().
2330         (setChannel): Use getPlainSocketImpl().
2331         * gnu/java/nio/SocketChannelImpl.java
2332         (SocketChannelImpl): Use getPlainSocketImpl().
2333         (getPlainSocketImpl): Renamed from getImpl().
2334         (getNativeFD): Use getPlainSocketImpl().
2335
2336 2003-11-18  Graydon Hoare  <graydon@redhat.com>
2337
2338         * javax/swing/JLayeredPane.java: Implement.
2339         * javax/swing/JFrame.java (getContentPane): Make public
2340         * javax/swing/javax/swing/JRootPane.java (setContentPane): 
2341         Use JLayeredPane.FRAME_CONTENT_LAYER.
2342
2343 2003-11-21  Mark Wielaard  <mark@klomp.org>
2344
2345         * java/lang/Float.java (static): Removed.
2346
2347 2003-11-18  Graydon Hoare  <graydon@redhat.com>
2348
2349         * java/awt/font/TextLayout.java: Implement simple layouts
2350         using attributed strings and glyph vectors.
2351
2352 2003-11-17  Graydon Hoare  <graydon@redhat.com>
2353
2354         * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: New file.
2355         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java 
2356         (GdkFontLineMetrics): New inner class.
2357         (getLineMetrics): Return new GdkFontLineMetrics.
2358         (getFontMetrics): Return new GdkClasspathFontPeerMetrics.
2359         (layoutGlyphVector): Create GdkGlyphVector.
2360         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (stateStack): New member.
2361         (GdkGraphics2D): Initialize state via mathod calls.
2362         (cairoSetMatrix, cairoShowGlyphs): Simplify native calls.
2363         (cairoTranslate, cairoScale, cairoRotate): Remove.
2364         (various methods): use setTransform for special transform cases.
2365         (DrawState): New inner class.
2366         (stateSave): New method.
2367         (stateRestore): New method.
2368         (various methods): use stateSave, stateRestore.
2369         (getClipInDevSpace): New method.
2370         (clip, clipRect, setClip, getClip, getClipBounds): 
2371         Follow spec more closely.
2372         (getTransform): Return clone of transform.
2373         (setStroke): Set linewidth to passed width / 2.0.
2374         (setPaintMode): Set SrcOver rather than Xor.
2375         (setColor): Set paint to passed color.
2376         (drawRaster, drawImage, PainterThread, drawPixels): Take affine
2377         transform from image to user space.
2378         (drawRenderedImage, drawRenderableImage): Implement.
2379         (getFontRenderContext, getFontMetrics, drawString, getFont): 
2380         Implement
2381         (drawArc, drawOval, drawRoundRect, fillArc, fillOval, fillRoundRect): 
2382         Implement.
2383         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: 
2384         Match changes to java side.
2385         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c: 
2386         Release resources.
2387         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
2388         Don't use pango for metrics.
2389         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: 
2390         New file.
2391
2392 2003-11-19  Guilhem Lavaux <guilhem@kaffe.org>
2393             Jim Pick  <jim@kaffe.org>
2394
2395         * java/text/DecimalFormat.java (getCurrency, setCurrency): New
2396         methods.
2397
2398 2003-11-19  Guilhem Lavaux  <guilhem@kaffe.org>
2399
2400         * java/text/DecimalFormatSymbols.java (getCurrency,
2401         setCurrency): New methods.
2402
2403 2003-11-19  Sascha Brawer  <brawer@dandelis.ch>
2404
2405         * java/awt/geom/FlatteningPathIterator.java: Entirely re-written.
2406         * java/awt/geom/doc-files/FlatteningPathIterator-1.html:
2407         Describe how the implementation works.
2408
2409 2003-11-19  Michael Koch  <konqueror@gmx.de>
2410
2411         * java/net/Socket.java
2412         (implCreated): New variable that indicates created impl.
2413         (getImpl): New method.
2414         (toString): Return more SUN compliant string representation.
2415         (various): Use getImpl() instead of impl.
2416
2417 2003-11-19  Andreas Tobler  <a.tobler@schweiz.ch>
2418
2419         * lib/libjava.exp: Add DYLD_LIBRARY_PATH for darwin. Look for
2420         the right libgcc. Add -multiply_defined suppress and -bind_at_load
2421         flags.
2422
2423 2003-11-18  Tom Tromey  <tromey@redhat.com>
2424
2425         PR libgcj/13026:
2426         * verify.cc (state::copy): Only set local_changed if we're in a
2427         subroutine.  Correctly copy local variables which were modified
2428         by the subroutine.
2429         (push_jump_merge): Added more debugging output.
2430
2431         * jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string
2432         is null.
2433
2434 2003-11-17  Graydon Hoare  <graydon@redhat.com>
2435
2436         * javax/swing/plaf/basic/BasicDefaults.java: Rewrite to spec.
2437         * javax/swing/UIDefaults.java: Modify to reflect rewrite.
2438
2439 2003-11-16  Tom Tromey  <tromey@redhat.com>
2440
2441         PR libgcj/13062:
2442         * java/io/StreamTokenizer.java (commentChar): Clear other
2443         attributes for character.
2444         (quoteChar): Likewise.
2445
2446 2003-11-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
2447
2448         * java/awt/GridBagLayout.java (getLayoutDimensions): Return array of two
2449         zero-length int arrays when layoutInfo is null.
2450         (getLayoutWeights): Return array of two zero-length double arrays when
2451         layoutInfo is null.
2452
2453 2003-11-13  Tom Tromey  <tromey@redhat.com>
2454
2455         * jni.cc (_Jv_JNI_GetStringUTFChars): Pass length of string to
2456         JvGetStringUTFRegion.
2457         * java/lang/natPosixProcess.cc (new_string): Pass length of string
2458         to JvGetStringUTFRegion.
2459         * java/lang/natDouble.cc (parseDouble): Pass length of string to
2460         JvGetStringUTFRegion.
2461         * java/lang/natWin32Process.cc (startProcess): Pass length of
2462         string to JvGetStringUTFRegion.
2463         * java/lang/natClass.cc (forName): Pass length of string to
2464         JvGetStringUTFRegion.
2465         * gnu/gcj/runtime/natNameFinder.cc (getExternalLabel): Pass length
2466         of string to JvGetStringUTFRegion.
2467         * gnu/gcj/convert/natIconv.cc (init): Pass length of string to
2468         JvGetStringUTFRegion.
2469         * gnu/awt/gtk/natGtkLabelPeer.cc (setText): Pass length of string
2470         to JvGetStringUTFRegion.
2471         * gnu/awt/gtk/natGtkButtonPeer.cc (setLabel): Pass length of
2472         string to JvGetStringUTFRegion.
2473
2474 2003-11-13  Mohan Embar  <gnustuff@thisiscool.com>
2475
2476         * gnu/java/nio/natSelectorImplPosix.cc
2477         (helper_put_filedescriptors): Change to static linkage.
2478         (helper_get_filedescriptors): Likewise.
2479
2480 2003-11-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
2481
2482         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Remove
2483         null check.
2484         * gnu/java/awt/peer/gtk/GtkToolkit.java (prepareImage): Likewise.
2485         * java/awt/Component.java (prepareImage): Likewise.
2486
2487         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (setAlignment):
2488         Rename to nativeSetAlignment.
2489
2490 2003-11-11  Danny Smith  <dannysmith@users.sourceforge.net>
2491
2492         * jni.cc (JNI_CreateJavaVM): Remove JNIEXPORT.
2493         (JNI_GetCreatedJavaVMs): Likewise.
2494         (JNI_GetDefaultJavaVMInitArgs): Likewise.
2495         * include/jni.h (JNIIMPEXP): Remove definition
2496         and replace with...
2497         (__GCJ_JNIIMPEXP__): New macro, applicable only to libgcj
2498         symbols,
2499         (__GCJ_DLL__): New macro, controlling __GCJ_JNIIMPEXP__.
2500
2501 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
2502
2503         * Makefile.am: Add GdkPixbufDecoder.java and
2504         gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
2505         * Makefile.in: Regenerate.
2506         * gnu/java/awt/image/ImageDecoder.java (ImageDecoder(byte[],int,int)):
2507         New constructor.
2508         (startProduction): Create ByteArrayInputStream when url and filename are
2509         null.
2510         (produce): Declare stream parameter as InputStream.
2511         * gnu/java/awt/image/XBMDecoder.java (produce): Declare stream parameter
2512         as InputStream.
2513         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
2514         (GdkPixbufDecoder(byte[],int,int)): New constructor.
2515         (produce): Declare stream parameter as InputStream.
2516         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Throw NPE
2517         if image is null.  Set image's observer before running PrepareImage
2518         thread.  Pass image to startProduction.
2519         * gnu/java/awt/peer/gtk/GtkImage.java: Add null checks before calls to
2520         source's member functions.
2521         (observer): New field.
2522         (setObserver): New method.
2523         (setDimensions, setPixels, imageComplete): Call observer's imageUpdate.
2524         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage, getImage): Return
2525         new GtkImage.
2526         (prepareImage): Implement.
2527         * java/awt/Component.java: Add static fields incrementalDraw and
2528         redrawRate.
2529         (imageUpdate): Implement.
2530         (createImage): Call Toolkit's createImage if peer is null.
2531         (prepareImage): Throw NPE if image is null.
2532         * java/awt/MediaTracker.java: Fix return value.
2533
2534 2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
2535
2536         * gnu/java/awt/peer/gtk/GtkLabelPeer.java (create()): Call new create.
2537         (create(String, float)): New method.
2538         (setText): Make native.
2539         (nativeSetAlignment): New method.
2540         (setAlignment): Call nativeSetAlignment.
2541         (getArgs): Remove method.
2542         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2543         (find_fg_color_widget, find_bg_color_widget): New functions.
2544         (gtkWidgetSetForeground): Call find_fg_color_widget.
2545         (gtkWidgetSetBackground): Call find_bg_color_widget.  Modify active and
2546         prelight colors.
2547         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create): Wrap label
2548         widget in event box.
2549         (setText, setAlignment): Implement new native methods.
2550
2551 2003-11-11  Michael Koch  <konqueror@gmx.de>
2552
2553         * java/awt/Font.java,
2554         java/awt/datatransfer/DataFlavor.java,
2555         java/math/BigInteger.java,
2556         java/net/Inet4Address.java,
2557         java/net/Inet6Address.java,
2558         java/rmi/MarshalledObject.java,
2559         java/rmi/server/RMIClassLoader.java,
2560         java/security/cert/CertStore.java,
2561         java/sql/Timestamp.java,
2562         java/text/SimpleDateFormat.java,
2563         javax/naming/CompoundName.java:
2564         Removed some redundant obj == null checks.
2565
2566 2003-11-11  Michael Koch  <konqueror@gmx.de>
2567
2568         * java/nio/ByteBuffer.java
2569         (equals): Remove redundant obj == null check.
2570
2571 2003-11-11  Michael Koch  <konqueror@gmx.de>
2572
2573         * gnu/java/nio/natPipeImpl.cc,
2574         gnu/java/nio/natSelectorImpl.cc: Removed
2575         * gnu/java/nio/natPipeImplEcos.cc,
2576         gnu/java/nio/natPipeImplPosix.cc,
2577         gnu/java/nio/natPipeImplWin32.cc,
2578         gnu/java/nio/natSelectorImplEcos.cc,
2579         gnu/java/nio/natSelectorImplPosix.cc,
2580         gnu/java/nio/natSelectorImplWin32.cc: New files
2581         * configure.in: Create links for gnu/java/nio/natPipeImpl.cc and
2582         gnu/java/nio/natSelectorImpl.cc
2583         * configure: Regenerated.
2584
2585 2003-11-11  Micheal Koch  <konqueror@gmx.de>
2586
2587         * java/net/URLStreamHandler.java (toExternalForm): Print port only
2588         if host is printed too and port was really given to URL.
2589
2590 2003-11-10  Gary Benson  <gbenson@redhat.com>
2591
2592         * java/sql/Timestamp.java (valueOf): Correctly handle
2593         nanoseconds.
2594
2595 2003-11-09  Tom Tromey  <tromey@redhat.com>
2596
2597         * java/net/Inet4Address.java (serialVersionUID): Updated.
2598
2599 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
2600
2601         * gnu/gcj/runtime/FirstThread.java (Klocale, Kcalendar):
2602         New fields.
2603
2604 2003-11-08  Jeff Sturm  <jsturm@one-point.com>
2605
2606         * java/io/ByteArrayOutputStream.java (resize):
2607         Fix off-by-one error.
2608
2609 2003-11-08  Bryce McKinlay  <bryce@mckinlay.net.nz>
2610
2611         * gnu/gcj/xlib/XAnyEvent.java (XAnyEvent): Make constructor
2612         public.
2613
2614 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
2615
2616         PR libgcj/12231
2617         * java/lang/Win32Process.java (hasExited) Changed from
2618         public to private.
2619         (startProcess): Likewise.
2620         (cleanup): Likewise.
2621         * java/lang/natWin32Process.cc (cleanup) Don't close
2622         input, output and error streams.
2623         (ChildProcessPipe): New helper class.
2624         (startProcess): Refactored to use ChildProcessPipe.
2625         Use CREATE_NO_WINDOW when launching child process.
2626
2627 2003-11-06  Mohan Embar  <gnustuff@thisiscool.com>
2628
2629         * include/win32.h (_Jv_platform_close_on_exec): Changed
2630         signature and declared extern.
2631         * win32.cc (_Jv_platform_close_on_exec): Implemented.
2632         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
2633         (create): Use new signature of _Jv_platform_close_on_exec.
2634         * gnu/java/net/natPlainSocketImplWin32.cc 
2635         (create): Eliminated a few typecasts
2636         Use new signature of _Jv_platform_close_on_exec.
2637         (accept): Eliminated a few typecasts
2638         Use new signature of _Jv_platform_close_on_exec.
2639         * java/io/natFileDescriptorWin32.cc (open): Use
2640         _Jv_platform_close_on_exec.
2641
2642 2003-11-04  Bryce McKinlay  <bryce@mckinlay.net.nz>
2643
2644         * java/lang/natClass.cc (newInstance): Throw InstantiationException
2645         if class has no null-argument constructor.
2646
2647 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
2648
2649         PR libgcj/12647:
2650         * win32-threads.cc (_Jv_CondWait): Respect mutex's
2651         refcount when releasing and reacquiring it.
2652
2653 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
2654
2655         * win32.cc: (dirExists) Internal helper function to
2656         test for directory existence.
2657         (getUserHome) New helper function refactored out
2658         of _Jv_platform_initProperties. Uses USERPROFILE
2659         instead of HOMEDIR and attempts to support Win9X and NT.
2660         (_Jv_platform_initProperties) Use getUserHome.
2661
2662 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
2663
2664         PR libgcj/11521:
2665         * gnu/java/net/natPlainSocketImplWin32.cc
2666         (bind): Don't use SO_REUSEADDR
2667
2668 2003-10-30  Mohan Embar  <gnustuff@thisiscool.com>
2669
2670         PR libgcj/6652:
2671         * java/io/natFileWin32.cc (getCanonicalPath): Treat "" like ".".
2672
2673 2003-10-30  Bryce McKinlay  <bryce@mckinlay.net.nz>
2674
2675         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Don't use vtable
2676         dispatch for final methods.
2677
2678 2003-10-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
2679
2680         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Turn on
2681         word wrapping.
2682
2683 2003-10-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
2684
2685         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (getSize): Return
2686         scrolled window's size request.
2687
2688 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
2689
2690         * java/awt/geom/CubicCurve2D.java (contains): Docfix for URL of embedded drawing.
2691         * java/awt/geom/QuadCurve2D.java: Likewise.
2692
2693 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
2694
2695         * java/awt/geom/CubicCurve2D.java: Added documentation.
2696         * java/awt/geom/QuadCurve2D.java: Likewise.
2697
2698         * java/awt/geom/doc-files/QuadCurve2D-4.png,
2699         java/awt/geom/doc-files/QuadCurve2D-5.png,
2700         java/awt/geom/doc-files/CubicCurve2D-4.png,
2701         java/awt/geom/doc-files/Cubicurve2D-5.png: New illustrations.
2702
2703 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
2704
2705         * java/awt/geom/CubicCurve2D.java (getFlatnessSq): Implement.
2706         (subdivide(CubicCurve2D, CubicCurve2D)): Avoid useless object allocation.
2707         (subdivide(double[],int,double[],int,double[],int)): Implement.
2708
2709 2003-10-29  Sascha Brawer  <brawer@dandelis.ch>
2710
2711         * java/awt/geom/doc-files/CubicCurve2D-1.png,
2712         java/awt/geom/doc-files/CubicCurve2D-2.png,
2713         java/awt/geom/doc-files/CubicCurve2D-3.png: New illustrations.
2714
2715 2003-10-29  Ito Kazumitsu <kaz@maczuka.gcd.org>
2716
2717         * java/text/DecimalFormat.java
2718         (scanFormat) corrected so that '%' may appear in a pattern.
2719
2720 2003-10-29  Mark Wielaard  <mark@klomp.org>
2721
2722         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
2723         * java/text/DateFormat.java (Field): New public static inner class.
2724         * java/text/Format.java (Field): Likewise.
2725         (formatToCharacterIterator): New method.
2726         * java/text/FormatCharacterIterator.java: New file.
2727
2728 2003-10-29  Mark Wielaard  <mark@klomp.org>
2729
2730         From Guilhem Lavaux  <guilhem.lavaux@free.fr>
2731         * java/util/Currency.java: New file.
2732
2733 2003-10-29  Michael Koch  <konqueror@gmx.de>
2734
2735         * Makefile.am (ordinary_java_source_files): Added
2736         java/text/FormatCharacterIterator.java and java/util/Currency.java.
2737         * Makefile.in: Regenerated.
2738
2739 2003-10-29  Dalibor Topic  <robilad@kaffe.org>
2740
2741         * gnu/java/beans/IntrospectionIncubator.java (addMethod): Add public
2742         static methods.
2743
2744 2003-10-29  Julian Dolby  <dolby@us.ibm.com>
2745
2746         * javax/naming/spi/NamingManager.java (getContinuationContext): Call
2747         getObjectInstance() with Object, Name, Context and environment
2748         Hashtable from exception. Call fillInStackTrace() on exception when
2749         rethrown.
2750         * javax/naming/InitialContext.java (lookup(Name)): When a
2751         CannotProceedException is thrown use the ContinuationContext.
2752         (lookup(String)): Likewise.
2753         (close): Clear myProps and defaultInitCtx.
2754
2755 2003-10-29  Michael Koch  <konqueror@gmx.de>
2756
2757         * java/net/InetAddress.java
2758         (equals): Remove redundant obj == null check.
2759         * java/net/SocketPermission.java
2760         (equals): Likewise.
2761         * java/net/URL.java
2762         (equals): Likewise.
2763         (getURLStreamHandler): Likewise.
2764
2765 2003-10-29  Michael Koch  <konqueror@gmx.de>
2766
2767         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
2768         (setOption): Directly return if no error occured.
2769         * gnu/java/net/natPlainSocketImplPosix.cc
2770         (setOption): Likewise.
2771
2772 2003-10-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
2773
2774         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Always assign a
2775         vtable slot for final methods. Add FIXME comment.
2776
2777 2003-10-28  David S. Miller  <davem@redhat.com>
2778
2779         * sysdep/sparc/locks.h (__cas_start_atomic): %g0 --> %%g0.
2780
2781 2003-10-26  Mark Wielaard  <mark@klomp.org>
2782
2783         Reported by Helmer Kraemer <hkraemer@freenet.de>
2784         * java/util/jar/JarInputStream.java (readManifest): Don't call
2785         closeEntry().
2786
2787         * java/util/zip/DeflaterOutputStream.java (inbufWrite): New method.
2788         (finish): Use inbufWrite().
2789         (write(int)): Likewise.
2790         (write(byte[],int,int)): Likewise.
2791
2792 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
2793
2794         * java/lang/reflect/AccessibleObject.java (secureSetAccessible):
2795         Don't check for AccessibleObject. Update javadocs.
2796         
2797         * java/util/TreeMap.java: Doc fixes. HashMap -> TreeMap.
2798
2799 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
2800
2801         * java/lang/reflect/Constructor.java (toString): Avoid extra 
2802         whitespace on constructor with no modifiers.
2803         * java/lang/reflect/natConstructor.java (newInstance): Look up
2804         caller and perform accessibility check only if constructor is
2805         non-public and accessible flag is not set.
2806
2807 2003-10-26  Bryce McKinlay  <bryce@mckinlay.net.nz>
2808
2809         * jni.cc (_Jv_JNI_CallAnyMethodV, _Jv_JNI_CallAnyMethodA,
2810         _Jv_JNI_CallAnyVoidMethodV, _Jv_JNI_CallAnyVoidMethodA): Don't
2811         use _Jv_LookupDeclaredMethod(). Call _Jv_CallAnyMethodA with 
2812         is_virtual_call argument.
2813         * include/jvm.h (_Jv_isVirtualMethod): Moved and renamed from 
2814         natClass.cc.
2815         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use 
2816         _Jv_isVirtualMethod.
2817         * java/lang/reflect/natMethod.cc (invoke): Don't use 
2818         _Jv_LookupDeclaredMethod.
2819         (_Jv_CallAnyMethodA): New is_virtual_call argument. If specified,
2820         look up method in target object's vtable.
2821
2822 2003-10-25  Graydon Hoare  <graydon@redhat.com>
2823
2824         * gnu/java/awt/ClasspathToolkit.java: New abstract class.
2825         * gnu/java/awt/peer/ClasspathFontPeer.java: New abstract class.
2826         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
2827         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
2828         New concrete implementation of ClasspathFontPeer, with native part.
2829         * gnu/java/awt/peer/gtk/GdkGlyphVector.java,
2830         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
2831         New class, with native part.
2832         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2833         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
2834         implement setFont, cairoSetFont, drawGlyphVector, cairoShowGlyphs.
2835
2836 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
2837
2838         * java/lang/reflect/Method.java (toString): Avoid extra whitespace
2839         on method with no modifiers.
2840
2841 2003-10-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
2842
2843         PR libgcj/11780:
2844         * java/lang/reflect/natMethod.cc (invoke): Look up caller and perform
2845         accessibility check only if target is non-public and accessible flag
2846         is not set.
2847         * java/lang/reflect/natField.cc (getAddr): Likewise.
2848
2849 2003-10-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
2850
2851         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (handleEvent):
2852         Remove method.
2853         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postWindowEvent):
2854         New method.
2855         * java/awt/Window.java (Window(Window,GraphicsConfiguration),
2856         show, hide, dispose, getOwnedWindows): Synchronize on tree lock.
2857         (dispose): Post WINDOW_CLOSED event.
2858         (addWindowFocusListener, addWindowStateListener): Assign result
2859         of multicaster add back to window listener.
2860         (removeWindowFocusListener, removeWindowStateListener): Assign
2861         result of multicaster remove back to window listener.
2862         (dispatchEventImpl): Add null checks for focus and state
2863         listeners.
2864         (processWindowEvent): Handle case where windowListener is null
2865         but state or focus listeners exist.
2866         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
2867         glue for postWindowEvent.
2868         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2869         (window_delete_cb, window_destroy_cb, window_show_cb,
2870         window_focus_in_cb, window_focus_out_cb, window_window_state_cb,
2871         window_get_new_state): New functions.
2872         * jni/gtk-peer/gtkpeer.h: Define window event and frame state
2873         macros.  Declare postWindowEventID.
2874
2875 2003-10-24  Anthony Green  <green@redhat.com>
2876
2877         * java/lang/natClass.cc (_Jv_LinkSymbolTable): Fix case where
2878         we have no interpreter.
2879
2880 2003-10-22  Andrew Haley  <aph@redhat.com>
2881
2882         * java/lang/natClass.cc (initializeClass): Call
2883         _Jv_linkExceptionClassTable.
2884         (_Jv_LinkSymbolTable): Call )_Jv_ThrowNoSuchMethodError.  Call
2885         _Jv_Defer_Resolution on a method whose ncode is NULL.
2886         (_Jv_linkExceptionClassTable): New function.
2887         (_Jv_LayoutVTableMethods): If superclass looks like a constant pool
2888         entry, look it up.
2889         * java/lang/Class.h (struct _Jv_CatchClass): New.
2890         (_Jv_linkExceptionClassTable): New friend.
2891         (_Jv_Defer_Resolution): New friend.
2892         (class Class.catch_classes): New field.
2893         * include/java-interp.h (Jv_Defer_Resolution): New method.
2894         (_Jv_PrepareClass): Make a friend of _Jv_MethodBase.
2895         (_Jv_MethodBase.deferred): New field.
2896         (_Jv_Defer_Resolution): New function.
2897         * resolve.cc (_Jv_PrepareClass): Resolve deferred handlers.
2898         * exception.cc (get_ttype_entry): Change return type to void**.
2899         (PERSONALITY_FUNCTION): Remove all code related to using a
2900         Utf8Const* for a match type.  Change match type to be a pointer to
2901         a pointer, rather than a pointer to a Class.
2902         * defineclass.cc (handleCodeAttribute): Initialize
2903         method->deferred.
2904         (handleMethodsEnd): Likewise.
2905
2906 2003-10-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2907
2908         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Use
2909         _Jv_MutexCheckMonitor instead of accessing mutex.owner directly.
2910
2911 2003-10-22  Tom Tromey  <tromey@redhat.com>
2912
2913         PR libgcj/12416:
2914         * java/lang/Class.h: Updated.
2915         * java/lang/natClass.cc (_getFields): Removed.
2916         (getFields): Likewise.
2917         (getDeclaredFields): Added `public_only' parameter.
2918         * java/lang/Class.java (getFields): Now implemented in java; from
2919         Classpath.
2920         (getDeclaredFields): Likewise.
2921         (getDeclaredFields(boolean)): Declare.
2922         (_getFields): Removed.
2923         (internalGetFields): New method, from Classpath.
2924
2925         PR libgcj/12656:
2926         * gnu/gcj/runtime/natFirstThread.cc (call_main): Use
2927         _Jv_LookupDeclaredMethod, not _Jv_GetMethodLocal.
2928
2929 2003-10-22  David Daney  <ddaney@avtrex.com)
2930
2931         * include/mips-signal.h: New file.
2932         * sysdep/dwarf2-backtrace.cc: New file.
2933         * sysdep/mips: New directory.
2934         * sysdep/mips/locks.h: New file.
2935         * Makefile.am(extra_cc_files): New, to allow extra c++ files to be
2936         added to libgcj.
2937         (extra_cc_source_files): Ditto.
2938         * configure.host(disable_dladdr):  New shell variable passed to
2939         configure.
2940         (mips*-*-linux*): sysdeps_dir=mips,
2941         can_unwind_signal=yes, disable_dladdr=yes, use -mxgot.
2942         (mipsel*-linux* | mipsisa32el*-linux*): Enable hash synchronization.
2943         * configure.in:(mips*-*-linux*): Use sysdep/dwarf2-backtrace.cc to
2944         generate backtrace, and include/mips-signal.h as SIGNAL_HANDLER
2945         (HAVE_DLADDR): Make it depend on setting of disable_dladdr.
2946         (EXTRA_CC_FILES): New, to support conditional addition of
2947         sysdep/dwarf2-backtrace.cc.
2948         * configure: Regenerated.
2949         * Makefile.in: Regenerated.
2950         * gcj/Makefile.in: Regenerated.
2951         * include/config.h.in: Regenerated.
2952         * include/Makefile.in: Regenerated.
2953         * testsuite/Makefile.in: Regenerated.
2954         
2955 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
2956
2957         * java/awt/geom/QuadCurve2D.java (subdivide): Added documentation.
2958         java/awt/geom/doc-files/QuadCurve2D-3.png: New illustration.
2959
2960 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
2961
2962         * java/awt/geom/QuadCurve2D.java: Reformatted, wrote Javadoc.
2963         * java/awt/geom/doc-files: New directory.
2964         * java/awt/geom/doc-files/QuadCurve2D-1.png,
2965         java/awt/geom/doc-files/QuadCurve2D-2.png: New illustrations.
2966         
2967 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
2968
2969         * java/awt/geom/QuadCurve2D.java (subdivide): Implement.
2970
2971 2003-10-22  Sascha Brawer  <brawer@dandelis.ch>
2972
2973         * java/awt/geom/QuadCurve2D.java (getFlatness, getFlatnessSq): Implement.
2974
2975 2003-10-22  Michael Koch  <konqueror@gmx.de>
2976
2977         * java/io/File.java
2978         (equals): Removed redundant obj == null check.
2979         (createTempFile): Merged comments from classpath.
2980
2981 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
2982
2983         Fix for bug #2944, reported by David Holmes <dholmes@dltech.com.au>
2984         * java/util/logging/ErrorManager.java (everUsed): Made volatile.
2985         (error): Synchronize on instance, not class.
2986
2987 2003-10-21  Mark Wielaard  <mark@klomp.org>
2988
2989         Reported by M.Negovanovic
2990         * java/beans/Introspector.java (getBeanInfo(ClassLoader, String)): New
2991         method.
2992         (reallyFindExplicitBeanInfo): Use new getBeanInfo() method.
2993
2994 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
2995
2996         Fix for Classpath bug #6076.
2997         * java/awt/geom/GeneralPath.java (append): Re-written.
2998
2999 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
3000
3001         Fix for Classpath bug #6089.
3002         * java/awt/geom/GeneralPath.java (curveTo): Set correct segment type.
3003         (getPathIterator, GeneralPathIterator): Re-written from scratch.
3004
3005 2003-10-21  Sascha Brawer  <brawer@dandelis.ch>
3006
3007         * java/awt/geom/GeneralPath.java (getCurrentPoint): Return last
3008         point, not start of subpath.  Fixes Classpath bug #6075.
3009
3010 2003-10-21  Michael Koch  <konqueror@gmx.de>
3011
3012         * java/nio/ByteOrder.java,
3013         java/nio/DirectByteBufferImpl.java,
3014         java/nio/channels/FileChannelImpl.java:
3015         Add code to load library with code for native methods if needed.
3016
3017 2003-10-21  Michael Koch  <konqueror@gmx.de>
3018
3019         * gnu/java/net/PlainDatagramSocketImpl.java,
3020         gnu/java/net/PlainSocketImpl.java,
3021         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
3022         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
3023         gnu/java/net/natPlainSocketImplPosix.cc,
3024         gnu/java/net/natPlainSocketImplWin32.cc:
3025         Renamed fnum to native_fd to match classpath more.
3026
3027 2003-10-21  Jerry Quinn  <jlquinn@optonline.net>
3028
3029         * posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename
3030         _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor.
3031         * include/no-threads.h (_Jv_MutexCheckMonitor): New.
3032         * include/posix-threads.h (_Jv_MutexCheckMonitor): Rename from
3033         _Jv_PthreadCheckMonitor.  Simplify code.
3034         (_Jv_MutexUnlock): Use _Jv_MutexCheckMonitor.
3035         * include/win32-threads.h (_Jv_MutexCheckMonitor): New.
3036         * java/lang/Object.h (_Jv_ObjectCheckMonitor): Declare.
3037         * java/lang/Thread.java (holdsLock): New.
3038         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): New, with and
3039         without JV_HASH_SYNCHRONIZATION.
3040         * java/lang/natThread.cc (java::lang::Thread::holdsLock): New.
3041
3042 2003-10-20  Michael Koch  <konqueror@gmx.de>
3043
3044         * java/text/RuleBasedCollator.java
3045         (RuleBasedCollator): Check rules not empty, fixed search in already
3046         existing collation elements.
3047         (is_special): Removed common whitespace characters.
3048         (text_argument): Dont return on whitespaces, add characters between
3049         two ' to string buffer.
3050
3051 2003-10-18  Michael Koch  <konqueror@gmx.de>
3052
3053         * gnu/java/net/protocol/file/Connection.java,
3054         gnu/java/net/protocol/file/Handler.java,
3055         gnu/java/net/protocol/http/Connection.java,
3056         gnu/java/net/protocol/http/Handler.java,
3057         gnu/java/net/protocol/jar/Connection.java,
3058         gnu/java/net/protocol/jar/Handler.java:
3059         Merged copyright text from classpath to make
3060         it possible to merge the classes.
3061
3062 2003-10-18  Mark Wielaard  <mark@klomp.org>
3063
3064         Reported by M.Negovanovic
3065         * java/beans/IndexedPropertyDescriptor.java
3066         (IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex.
3067
3068 2003-10-17  Mohan Embar  <gnustuff@thisiscool.com>
3069
3070         * win32.cc (_Jv_pipe): Implemented.
3071         * gnu/java/nio/natPipeImpl.cc (nativeInit): Use
3072         _Jv_pipe instead of ::pipe.
3073         * include/posix.h (_Jv_pipe): New inline.
3074         * include/win32.h (_Jv_pipe): New declaration.
3075         
3076 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
3077
3078         * java/lang/StringBuffer.java (getChars): Fix array index checks.
3079         (append, substring, insert): Likewise.
3080         * testsuite/libjava.lang/StringBuffer_overflow.java: New file.
3081         * testsuite/libjava.lang/StringBuffer_overflow.out: New file.
3082         
3083 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
3084
3085         * java/lang/natString.cc (getChars):
3086         Fix validation of array indexes.
3087         (getBytes, regionMatches, startsWith, valueOf): Likewise.
3088         * testsuite/libjava.lang/String_overflow.java: New file.
3089         * testsuite/libjava.lang/String_overflow.out: New file.
3090
3091 2003-10-17  Ralph Loader  <rcl@ihug.co.nz>
3092
3093         * prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't
3094         overflow a jint.
3095         (_Jv_NewPrimArray): Check for overflowing a jint, replacing a
3096         check for overflowing size_t, since the lower level functions
3097         take a jint.
3098         * testsuite/libjava.lang/newarray_overflow.java:  New file.
3099         * testsuite/libjava.lang/newarray_overflow.out:  New file.
3100         
3101 2003-10-15  Michael Koch  <konqueror@gmx.de>
3102
3103         * java/text/RuleBasedCollator.java
3104         (RuleBasedCollator): Moved around, documentation added.
3105         (compare): Documentation added.
3106         (equals): Likewise.
3107         (getCollationElementIterator): Likewise.
3108         (getCollationKey): Likewise.
3109         (getRules): Likewise.
3110         (hashCode): Likewise.
3111
3112 2003-10-15  Michael Koch  <konqueror@gmx.de>
3113
3114         * java/text/RuleBasedCollator.java
3115         (CollationElement): Renamed from RBCElement and moved into
3116         RuledBasedCollator as inner class.
3117
3118 2003-10-15  Michael Koch  <konqueror@gmx.de>
3119
3120         * java/text/CollationElementIterator.java
3121         (CollationElementIterator): Moved, documenatation added, call setText.
3122         (next): Reformated.
3123         (reset): Reformated.
3124         (setText): New method.
3125         (getOffset): New method.
3126         * java/text/CollationKey.java
3127         (getSourceString): Reformated.
3128         (hashCode): Reformated.
3129         (toByteArray): Reformated.
3130
3131 2003-10-15  Michael Koch  <konqueror@gmx.de>
3132
3133         * java/util/zip/InflaterInputStream.java
3134         (InflaterInputStream): Renamed infl to inf and bufsize to size,
3135         added description to exception, check for inf == null and size < 0.
3136
3137 2003-10-15  Michael Koch  <konqueror@gmx.de>
3138
3139         * java/text/AttributedCharacterIterator.java,
3140         java/text/CharacterIterator.java: Reformated.
3141
3142 2003-10-15  Michael Koch  <konqueror@gmx.de>
3143
3144         * javax/swing/UIDefaults.java (putDefaults):
3145         Readded accidently removed "public" modifier.
3146
3147 2003-10-14  Paolo Bonzini  <bonzini@gnu.org>
3148
3149         * interpret.cc (_Jv_InterpMethod::run): Don't
3150         use libffi types, they were meant to be internal.
3151         * gcj/javaprims.h (_Jv_ulong): New typedef.
3152
3153 2003-10-13  Tom Tromey  <tromey@redhat.com>
3154
3155         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields): Removed.
3156         (defineClass): Updated.
3157         (_Jv_NewClass): Likewise.
3158         * prims.cc (_Jv_InitPrimClass): Don't call
3159         _Jv_InitNewClassFields.
3160
3161 2003-10-13  Taras Glek  <taras.judge@shaw.ca>
3162
3163         PR libgcj/12592
3164         * gnu/java/net/protocol/http/Connection.java (connect): Use \r\n,
3165         not just \n.
3166
3167 2003-10-13  Michael Koch  <konqueror@gmx.de>
3168
3169         * java/io/File.java: Reformated.
3170         (equals): Check for obj == null.
3171
3172 2003-10-13  Michael Koch  <konqueror@gmx.de>
3173
3174         * java/net/JarURLConnection.java
3175         (jarFileURL): Added dcoumentation.
3176         (jarFileURLConnection): Reformated documentation.
3177         (entryName): Renamed from "element", documentation rewritten.
3178         (connectionCache): Renamed from "conn_cache", documentation
3179         reformated.
3180         (JarURLConnection): Check URL protocol.
3181         (getEntryName): Use entryName.
3182         (connect): Use connectionCache.
3183         (getInputStream): Use entryName, fixed comment.
3184         (getJarEntry): Use entryName.
3185         (getHeaders): Use entryName.
3186         * java/net/URLConnection.java
3187         (addRequestProperty): Fixed documentation.
3188         (setDefaultRequestProptery): Added comment that it does nothing since
3189         JDK 1.3.
3190         (getDefaultRequestProperty): Likewise.
3191
3192 2003-10-13  Michael Koch  <konqueror@gmx.de>
3193
3194         * java/net/java/net/URLStreamHandlerFactory.java
3195         (createURLStreamHandler): Removed redundant "public" modifier.
3196         * java/sql/DatabaseMetaData.java:
3197         (DatabaseMetaData):  Readded accidently removed "public" modifier.
3198         * java/sql/ParameterMetaData.java:
3199         (ParameterMetaData): Readded accidently removed "public" modifier.
3200         * java/sql/PreparedStatement.java:
3201         (PreparedStatement): Readded accidently removed "public" modifier.
3202         * java/sql/Ref.java:
3203         (Ref): Readded accidently removed "public" modifier.
3204
3205 2003-10-13  Michael Koch  <konqueror@gmx.de>
3206
3207         * java/nio/Buffer.java
3208         (hasRemaining): Made implementation more clear.
3209         * java/nio/MappedByteBuffer.java
3210         (loaded): New member variable.
3211         (force): Added comment.
3212         (isLoaded): Return value of loaded.
3213         (load): Set loaded to true, added comment.
3214
3215 2003-10-12  Michael Koch  <konqueror@gmx.de>
3216
3217         * gnu/java/nio/PipeImpl.java
3218         (SourceChannelImpl): New inner class.
3219         (SinkChannelImpl): New inner class.
3220         (sink): New member variable.
3221         (source): New member variable.
3222         (PipeImpl): Add SelectorProvider argument, implemented.
3223         (nativeInit): New method.
3224         (sink): Return sink channel.
3225         (source): Return source channel.
3226         * gnu/java/nio/SelectorProviderImpl.java
3227         (openPipe): Give provider as argument to PipeImpl constructor.
3228         * java/nio/channels/spi/SelectorProvider.java
3229         (pr): Removed.
3230         (systemDefaultProvider): New member variable.
3231         (provider): Made it synchronized, use property
3232         java.nio.channels.spi.SelectorProvider.
3233         * gnu/java/nio/natPipeImpl.cc: New file.
3234         * Makefile.am (nat_source_files): Added gnu/java/nio/natPipeImpl.cc.
3235         * Makefile.in: Regenerated.
3236
3237 2003-10-12  Michael Koch  <konqueror@gmx.de>
3238
3239         * javax/swing/table/DefaultTableModel.java,
3240         javax/swing/table/TableCellEditor.java,
3241         javax/swing/table/TableCellRenderer.java,
3242         javax/swing/table/TableColumnModel.java,
3243         javax/swing/table/TableModel.java,
3244         javax/swing/text/AbstractDocument.java,
3245         javax/swing/text/Document.java,
3246         javax/swing/text/MutableAttributeSet.java,
3247         javax/swing/text/StyledDocument.java,
3248         javax/swing/text/ViewFactory.java,
3249         javax/swing/tree/DefaultMutableTreeNode.java,
3250         javax/swing/tree/MutableTreeNode.java,
3251         javax/swing/tree/RowMapper.java,
3252         javax/swing/tree/TreeCellEditor.java,
3253         javax/swing/tree/TreeCellRenderer.java,
3254         javax/swing/tree/TreeModel.java,
3255         javax/swing/tree/TreeNode.java,
3256         javax/swing/tree/TreeSelectionModel.java,
3257         javax/swing/undo/StateEditable.java,
3258         javax/swing/undo/UndoableEdit.java:
3259         Removed redundant modifiers.
3260
3261 2003-10-12  Michael Koch  <konqueror@gmx.de>
3262
3263         * javax/swing/event/AncestorListener.java,
3264         javax/swing/event/CaretListener.java,
3265         javax/swing/event/CellEditorListener.java,
3266         javax/swing/event/ChangeListener.java,
3267         javax/swing/event/DocumentEvent.java,
3268         javax/swing/event/DocumentListener.java,
3269         javax/swing/event/HyperlinkListener.java,
3270         javax/swing/event/InternalFrameListener.java,
3271         javax/swing/event/ListDataListener.java,
3272         javax/swing/event/ListSelectionListener.java,
3273         javax/swing/event/MenuDragMouseListener.java,
3274         javax/swing/event/MenuKeyListener.java,
3275         javax/swing/event/MenuListener.java,
3276         javax/swing/event/MouseInputListener.java,
3277         javax/swing/event/PopupMenuListener.java,
3278         javax/swing/event/TableColumnModelListener.java,
3279         javax/swing/event/TableModelListener.java,
3280         javax/swing/event/TreeExpansionListener.java,
3281         javax/swing/event/TreeModelListener.java,
3282         javax/swing/event/TreeSelectionListener.java,
3283         javax/swing/event/TreeWillExpandListener.java,
3284         javax/swing/event/UndoableEditListener.java,
3285         javax/swing/plaf/UIResource.java,
3286         javax/swing/plaf/metal/MetalLookAndFeel.java:
3287         Removed redundant modifiers.
3288
3289 2003-10-12  Michael Koch  <konqueror@gmx.de>
3290
3291         * javax/swing/Action.java,
3292         javax/swing/BoundedRangeModel.java,
3293         javax/swing/CellEditor.java,
3294         javax/swing/ComboBoxEditor.java,
3295         javax/swing/ComboBoxModel.java,
3296         javax/swing/DesktopManager.java,
3297         javax/swing/JComboBox.java,
3298         javax/swing/ListCellRenderer.java,
3299         javax/swing/ListSelectionModel.java,
3300         javax/swing/MenuElement.java,
3301         javax/swing/MutableComboBoxModel.java,
3302         javax/swing/Renderer.java,
3303         javax/swing/RootPaneContainer.java,
3304         javax/swing/ScrollPaneConstants.java,
3305         javax/swing/SingleSelectionModel.java,
3306         javax/swing/SpinnerModel.java,
3307         javax/swing/SwingConstants.java,
3308         javax/swing/UIDefaults.java,
3309         javax/swing/WindowConstants.java,
3310         javax/swing/border/Border.java,
3311         javax/swing/colorchooser/ColorSelectionModel.java:
3312         Removed redundant modifiers.
3313
3314 2003-10-11  Michael Koch  <konqueror@gmx.de>
3315
3316         * javax/transaction/Status.java,
3317         javax/transaction/Synchronization.java,
3318         javax/transaction/Transaction.java,
3319         javax/transaction/TransactionManager.java,
3320         javax/transaction/UserTransaction.java,
3321         javax/transaction/xa/XAResource.java,
3322         javax/transaction/xa/Xid.java:
3323         Removing redundant modifiers.
3324
3325 2003-10-11  Michael Koch  <konqueror@gmx.de>
3326
3327         * javax/print/attribute/Attribute.java,
3328         javax/print/attribute/AttributeSet.java,
3329         javax/print/attribute/PrintRequestAttributeSet.java:
3330         Removing redundant modifiers.
3331
3332 2003-10-11  Michael Koch  <konqueror@gmx.de>
3333
3334         * javax/sql/ConnectionEventListener.java,
3335         javax/sql/ConnectionPoolDataSource.java,
3336         javax/sql/DataSource.java,
3337         javax/sql/PooledConnection.java,
3338         javax/sql/RowSet.java,
3339         javax/sql/RowSetInternal.java,
3340         javax/sql/RowSetListener.java,
3341         javax/sql/RowSetMetaData.java,
3342         javax/sql/RowSetReader.java,
3343         javax/sql/RowSetWriter.java,
3344         javax/sql/XAConnection.java,
3345         javax/sql/XADataSource.java:
3346         Removing redundant modifiers.
3347
3348 2003-10-11  Michael Koch  <konqueror@gmx.de>
3349
3350         * javax/naming/Context.java,
3351         javax/naming/Name.java,
3352         javax/naming/NameParser.java,
3353         javax/naming/NamingEnumeration.java,
3354         javax/naming/Referenceable.java,
3355         javax/naming/directory/Attribute.java,
3356         javax/naming/directory/Attributes.java,
3357         javax/naming/directory/DirContext.java,
3358         javax/naming/event/EventContext.java,
3359         javax/naming/event/EventDirContext.java,
3360         javax/naming/event/NamespaceChangeListener.java,
3361         javax/naming/event/NamingListener.java,
3362         javax/naming/event/ObjectChangeListener.java,
3363         javax/naming/ldap/Control.java,
3364         javax/naming/ldap/ExtendedRequest.java,
3365         javax/naming/ldap/ExtendedResponse.java,
3366         javax/naming/ldap/HasControls.java,
3367         javax/naming/ldap/LdapContext.java,
3368         javax/naming/ldap/UnsolicitedNotification.java,
3369         javax/naming/ldap/UnsolicitedNotificationListener.java,
3370         javax/naming/spi/DirObjectFactory.java,
3371         javax/naming/spi/DirStateFactory.java,
3372         javax/naming/spi/InitialContextFactory.java,
3373         javax/naming/spi/InitialContextFactoryBuilder.java,
3374         javax/naming/spi/ObjectFactory.java,
3375         javax/naming/spi/ObjectFactoryBuilder.java,
3376         javax/naming/spi/Resolver.java,
3377         javax/naming/spi/StateFactory.java:
3378         Removing redundant modifiers.
3379
3380 2003-10-11  Michael Koch  <konqueror@gmx.de>
3381
3382         * java/security/Key.java,
3383         * java/security/PrivateKey.java,
3384         * java/security/PublicKey.java,
3385         * java/security/acl/Acl.java,
3386         * java/security/acl/AclEntry.java,
3387         * java/security/acl/Group.java,
3388         * java/security/acl/Owner.java,
3389         * java/security/acl/Permission.java,
3390         * java/security/cert/X509Extension.java,
3391         * java/security/interfaces/DSAKey.java,
3392         * java/security/interfaces/DSAKeyPairGenerator.java,
3393         * java/security/interfaces/DSAParams.java,
3394         * java/security/interfaces/DSAPrivateKey.java,
3395         * java/security/interfaces/DSAPublicKey.java,
3396         * java/security/interfaces/RSAKey.java,
3397         * java/security/interfaces/RSAPrivateCrtKey.java,
3398         * java/security/interfaces/RSAPrivateKey.java,
3399         * java/security/interfaces/RSAPublicKey.java:
3400         Removed redundant modifiers.
3401
3402 2003-10-11  Michael Koch  <konqueror@gmx.de>
3403
3404         * gnu/java/rmi/server/ProtocolConstants.java,
3405         gnu/java/security/der/DER.java:
3406         Removing redundant modifiers.
3407
3408 2003-10-11  Michael Koch  <konqueror@gmx.de>
3409
3410         * java/util/Map.java,
3411         java/util/Observer.java,
3412         java/util/zip/Checksum.java,
3413         java/util/zip/ZipConstants.java:
3414         Removed redundant modifiers.
3415
3416 2003-10-11  Michael Koch  <konqueror@gmx.de>
3417
3418         * java/text/AttributedCharacterIterator.java,
3419         java/text/CharacterIterator.java:
3420         Removed redundant modifiers.
3421
3422 2003-10-11  Michael Koch  <konqueror@gmx.de>
3423
3424         * java/sql/Array.java,
3425         java/sql/Blob.java,
3426         java/sql/CallableStatement.java,
3427         java/sql/Clob.java,
3428         java/sql/Connection.java,
3429         java/sql/DatabaseMetaData.java,
3430         java/sql/Driver.java,
3431         java/sql/ParameterMetaData.java,
3432         java/sql/PreparedStatement.java,
3433         java/sql/Ref.java,
3434         java/sql/ResultSet.java,
3435         java/sql/ResultSetMetaData.java,
3436         java/sql/SQLData.java,
3437         java/sql/SQLInput.java,
3438         java/sql/SQLOutput.java,
3439         java/sql/Savepoint.java,
3440         java/sql/Statement.java,
3441         java/sql/Struct.java:
3442         Removed redundant modifiers.
3443
3444 2003-10-11  Michael Koch  <konqueror@gmx.de>
3445
3446         * java/nio/channels/Channel.java,
3447         java/nio/channels/GatheringByteChannel.java,
3448         java/nio/channels/ReadableByteChannel.java,
3449         java/nio/channels/ScatteringByteChannel.java,
3450         java/nio/channels/WritableByteChannel.java:
3451         Removed redundant modifiers.
3452
3453 2003-10-11  Michael Koch  <konqueror@gmx.de>
3454
3455         * java/rmi/activation/ActivationInstantiator.java,
3456         java/rmi/activation/ActivationMonitor.java,
3457         java/rmi/activation/ActivationSystem.java,
3458         java/rmi/activation/Activator.java,
3459         java/rmi/dgc/DGC.java,
3460         java/rmi/registry/Registry.java,
3461         java/rmi/registry/RegistryHandler.java,
3462         java/rmi/server/LoaderHandler.java,
3463         java/rmi/server/RMIClientSocketFactory.java,
3464         java/rmi/server/RMIFailureHandler.java,
3465         java/rmi/server/RMIServerSocketFactory.java,
3466         java/rmi/server/RemoteCall.java,
3467         java/rmi/server/RemoteRef.java,
3468         java/rmi/server/ServerRef.java,
3469         java/rmi/server/Skeleton.java,
3470         java/rmi/server/Unreferenced.java:
3471         Removed redundant modifiers.
3472
3473 2003-10-11  Michael Koch  <konqueror@gmx.de>
3474
3475         * java/net/ContentHandlerFactory.java,
3476         java/net/DatagramSocketImplFactory.java,
3477         java/net/FileNameMap.java,
3478         java/net/SocketImplFactory.java,
3479         java/net/SocketOptions.java,
3480         java/net/URLStreamHandlerFactory.java:
3481         Removed redundant modifiers.
3482
3483 2003-10-11  Michael Koch  <konqueror@gmx.de>
3484
3485         * java/io/Externalizable.java,
3486         java/io/FileFilter.java,
3487         java/io/FilePermission.java,
3488         java/io/ObjectInput.java,
3489         java/io/ObjectInputValidation.java,
3490         java/io/ObjectOutput.java,
3491         java/io/ObjectStreamClass.java,
3492         java/io/ObjectStreamConstants.java,
3493         java/io/Serializable.java:
3494         Removed redundant modifiers.
3495
3496 2003-10-11  Ingo Proetel  <proetel@aicas.com>
3497
3498         * java/rmi/server/RMIClassLoader.java: Identify cached classloaders by 
3499         codebase and context classloader.
3500
3501 2003-10-11  Michael Koch  <konqueror@gmx.de>
3502
3503         * java/beans/beancontext/BeanContext.java,
3504         java/beans/beancontext/BeanContextChild.java,
3505         java/beans/beancontext/BeanContextChildComponentProxy.java,
3506         java/beans/beancontext/BeanContextChildSupport.java,
3507         java/beans/beancontext/BeanContextContainerProxy.java,
3508         java/beans/beancontext/BeanContextMembershipListener.java,
3509         java/beans/beancontext/BeanContextProxy.java,
3510         java/beans/beancontext/BeanContextServiceProvider.java,
3511         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java,
3512         java/beans/beancontext/BeanContextServiceRevokedListener.java,
3513         java/beans/beancontext/BeanContextServices.java,
3514         java/beans/beancontext/BeanContextServicesListener.java:
3515         Removed redundant modifiers.
3516
3517 2003-10-11  Michael Koch  <konqueror@gmx.de>
3518
3519         * java/beans/AppletInitializer.java,
3520         java/beans/BeanInfo.java,
3521         java/beans/Customizer.java,
3522         java/beans/DesignMode.java,
3523         java/beans/PropertyEditor.java,
3524         java/beans/Visibility.java:
3525         Removed redundant modifiers.
3526
3527 2003-10-11  Michael Koch  <konqueror@gmx.de>
3528
3529         * java/awt/print/Pageable.java,
3530         * java/awt/print/Printable.java,
3531         java/awt/print/PrinterGraphics.java:
3532         Removed redundant modifiers.
3533
3534 2003-10-11  Michael Koch  <konqueror@gmx.de>
3535
3536         * java/awt/peer/ButtonPeer.java,
3537         java/awt/peer/CheckboxMenuItemPeer.java,
3538         java/awt/peer/CheckboxPeer.java,
3539         java/awt/peer/ChoicePeer.java,
3540         java/awt/peer/ComponentPeer.java,
3541         java/awt/peer/ContainerPeer.java,
3542         java/awt/peer/DialogPeer.java,
3543         java/awt/peer/FileDialogPeer.java,
3544         java/awt/peer/FramePeer.java,
3545         java/awt/peer/LabelPeer.java,
3546         java/awt/peer/ListPeer.java,
3547         java/awt/peer/MenuBarPeer.java,
3548         java/awt/peer/MenuComponentPeer.java,
3549         java/awt/peer/MenuItemPeer.java,
3550         java/awt/peer/MenuPeer.java,
3551         java/awt/peer/PopupMenuPeer.java,
3552         java/awt/peer/RobotPeer.java,
3553         java/awt/peer/ScrollPanePeer.java,
3554         java/awt/peer/ScrollbarPeer.java,
3555         java/awt/peer/TextAreaPeer.java,
3556         java/awt/peer/TextComponentPeer.java,
3557         java/awt/peer/TextFieldPeer.java,
3558         java/awt/peer/WindowPeer.java:
3559         Removed redundant modifiers.
3560
3561 2003-10-11  Michael Koch  <konqueror@gmx.de>
3562
3563         * gnu/java/nio/NIOSocket.java (setChannel): Initialize impl.
3564         * gnu/java/nio/ServerSocketChannelImpl.java
3565         (serverSocket): Made it a NIOServerSocket.
3566         (impl): Removed.
3567         (ServerSocketChannelImpl): Initialize only serverSocket.
3568         (initServerSocket): Removed.
3569         (getNativeFD): Rewritten.
3570         (implConfigureBlocking): Set socket timeout and removed comment.
3571         (accept): Rewritten.
3572         * gnu/java/nio/SocketChannelImpl.java
3573         (impl): New variable.
3574         (connected): Removed.
3575         (SocketChannelImpl): Initialize impl too.
3576         (getImpl): New method.
3577         (isConnected): Rewritten.
3578         (read): Rewritten, set position in buffer correctly.
3579         (write): Set position in buffer correctly.
3580         * java/net/ServerSocket.java (getImpl): New method.
3581         * gnu/java/nio/NIOServerSocket.java,
3582         gnu/java/nio/natNIOServerSocket.cc: New files.
3583         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
3584         * Makefile.am
3585         (ordinary_java_source_files):
3586         Added gnu/java/nio/NIOServerSocket.java.
3587         (nat_source_files):
3588         Removed gnu/java/nio/natServerSocketChannelImpl.cc
3589         and added gnu/java/nio/natNIOServerSocket.cc.
3590         * Makefile.in: Regenerated.
3591
3592 2003-10-11  Michael Koch  <konqueror@gmx.de>
3593
3594         * java/awt/ActiveEvent.java,
3595         java/awt/datatransfer/ClipboardOwner.java,
3596         java/awt/datatransfer/FlavorMap.java,
3597         java/awt/datatransfer/Transferable.java,
3598         java/awt/dnd/Autoscroll.java,
3599         java/awt/dnd/peer/DragSourceContextPeer.java,
3600         java/awt/dnd/peer/DropTargetContextPeer.java,
3601         java/awt/dnd/peer/DropTargetPeer.java,
3602         java/awt/font/MultipleMaster.java,
3603         java/awt/font/OpenType.java,
3604         java/awt/im/spi/InputMethodDescriptor.java,
3605         java/awt/image/ImageObserver.java,
3606         java/awt/image/ImageConsumer.java,
3607         java/awt/image/ImageProducer.java,
3608         java/awt/image/RGBImageFilter.java,
3609         java/awt/image/RasterOp.java,
3610         java/awt/image/renderable/RenderableImage.java:
3611         Removed redundant modifiers.
3612
3613 2003-10-11  Michael Koch  <konqueror@gmx.de>
3614
3615         * gnu/awt/j2d/DirectRasterGraphics.java,
3616         gnu/java/awt/EmbeddedWindowSupport.java:
3617         Removed redundant modifiers.
3618
3619 2003-10-09  Michael Koch  <konqueror@gmx.de>
3620
3621         * gnu/java/nio/SelectorImpl.java (register):
3622         Use ServerSocketChannelSelectionKey for server socket channels,
3623         removed unneeded comments.
3624         * gnu/java/nio/ServerSocketChannelImpl.java
3625         (ServerSocketChannelImpl): Made class public final.
3626         (impl): New member variable.
3627         (ServerSocketChannelImpl): Initialize member variables correctly.
3628         (initServerSocket): New method.
3629         (getNativeFD): Likewise.
3630         * gnu/java/nio/ServerSocketChannelSelectionKey.java,
3631         gnu/java/nio/natServerSocketChannelImpl.cc: New files.
3632         * Makefile.am (ordinary_java_source_files):
3633         Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
3634         (nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
3635         * Makefile.in: Regenrated.
3636
3637 2003-10-09  Michael Koch  <konqueror@gmx.de>
3638
3639         * java/nio/channels/spi/AbstractSelectableChannel.java
3640         (registered): Made private.
3641         (blocking): Likewise.
3642         (LOCK): Likewise.
3643         (provider): Likewise.
3644         (keys): Made it a private LinkedList.
3645         (AbstractSelectableChannel): Initialize keys.
3646         (isRegistered): New implementation.
3647         (locate): Rewritten.
3648         (register): Rewritten.
3649         * java/nio/channels/spi/AbstractSelectionKey.java
3650         (ok): Removed.
3651         (cancelled): New member variable.
3652         (cancel): Rewritten.
3653         (isValid): Rewritten.
3654         * java/nio/channels/spi/AbstractSelector.java:
3655         Some methods moved.
3656         (closed): Make private.
3657         (provider): Likewise.
3658         (cancelledKeys): New member variable.
3659         (AbstractSelector): Initialize cancelledKeys.
3660         (cancelKey): New method.
3661
3662 2003-10-09  Tom Tromey  <tromey@redhat.com>
3663
3664         * java/lang/ClassLoader.java (setSigners): Implemented.
3665         * boehm.cc (_Jv_MarkObj): Mark `signers' field.
3666         * java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
3667         Initialize new fields.
3668         * java/lang/Class.java (getSigners): Now native.
3669         (setSigners): Declare.
3670         * java/lang/natClass.cc (getSigners): New method.
3671         (getSigners): Likewise.
3672         * java/lang/Class.h (Class::signers): New field.
3673         (Class::setSigners): New method.
3674
3675 2003-10-09  Michael Koch  <konqueror@gmx.de>
3676
3677         * java/rmi/server/RMIClassLoader.java:
3678         Removed unused imports, little reformatings.
3679         (getClassLoader): New method, implementation was part of old loadCLass
3680         method.
3681         (loadClass): Simplified by moving functionality to new method and
3682         reworking the code a bit.
3683         (getClassAnnotation): Merged documentation from classpath.
3684
3685 2003-10-09  Michael Koch  <konqueror@gmx.de>
3686
3687         * java/math/BigInteger.java
3688         (add): Removed unused local variable len.
3689
3690 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
3691
3692         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
3693         modality check.
3694         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
3695         Initialize insets to use latest insets.
3696         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
3697         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
3698         field.
3699         (postConfigureEvent): Update latestInsets field when insets
3700         change.  Remove call to setSize.  Move validate call outside of
3701         if blocks.
3702         (setVisible): Call setBounds before showing window.
3703         (nativeSetVisible): New native method.
3704         * java/awt/Window.java (show): Show visible owned windows.
3705         (hide): Hide visible owned windows.
3706         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3707         (awt_event_handler): Implement modality using GTK grabs.
3708         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3709         (global_gtk_window_group): New global variable.
3710         (gtkInit): Initialize global_gtk_window_group.
3711         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3712         Clamp width and height values to at least 1.  Add this window to
3713         the global GTK window group.
3714         (setVisible): Rename to nativeSetVisible.
3715         (setup_window): Remove function.
3716         (setSize): Clamp width and height values to at least 1.
3717         (nativeSetBounds): Likewise.
3718         (gdk_window_get_root_geometry): Remove function.
3719         * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
3720         and setup_window declarations.  Declare global_gtk_window_group.
3721
3722         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3723         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
3724         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
3725         (gtkWidgetSetForeground): New method.
3726         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3727         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3728         (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
3729         (setBackground, setForeground): Implement.
3730         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
3731         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
3732         (gtkSetFont): Handle BOLD and ITALIC style specifiers.
3733         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3734         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
3735         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
3736         Position PangoLayout relative to text's baseline.
3737         * jni/gtk-peer/gtkpeer.h: Define AWT font style constants.
3738
3739         * java/awt/FlowLayout.java (layoutContainer): Fix offset problem
3740         for CENTER and RIGHT alignments.
3741
3742 2003-10-08  Michael Koch  <konqueror@gmx.de>
3743
3744         * java/security/Security.java: Reformated.
3745
3746 2003-10-08  Michael Koch  <konqueror@gmx.de>
3747
3748         * java/text/SimpleDateFormat.java
3749         (compileFormat): Replace Character.isLetter() test with
3750         Character.isLowerCase() || Character.isUpperCase().
3751
3752 2003-10-08  Tom Tromey  <tromey@redhat.com>
3753
3754         * java/lang/StrictMath.java (toDegrees): Multiply before
3755         dividing.
3756         (toRadians): Likewise.
3757
3758 2003-10-08  C. Brian Jones  <cbj@gnu.org>
3759
3760         * java/lang/Math.java
3761         (toRadians): multiply before dividing to reduce decimal error
3762         (toDegrees): ditto
3763
3764 2003-10-08  Michael Koch  <konqueror@gmx.de>
3765
3766         * gnu/gcj/protocol/core/Connection.java,
3767         gnu/gcj/protocol/core/CoreInputStream.java,
3768         gnu/gcj/protocol/core/Handler.java,
3769         gnu/gcj/protocol/core/natCoreInputStream.cc,
3770         gnu/gcj/protocol/file/Connection.java,
3771         gnu/gcj/protocol/file/Handler.java,
3772         gnu/gcj/protocol/gcjlib/Connection.java,
3773         gnu/gcj/protocol/gcjlib/Handler.java,
3774         gnu/gcj/protocol/http/Connection.java,
3775         gnu/gcj/protocol/http/Handler.java,
3776         gnu/gcj/protocol/jar/Connection.java,
3777         gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
3778         * gnu/java/net/protocol/core/Connection.java,
3779         gnu/java/net/protocol/core/CoreInputStream.java,
3780         gnu/java/net/protocol/core/Handler.java,
3781         gnu/java/net/protocol/core/natCoreInputStream.cc,
3782         gnu/java/net/protocol/file/Connection.java,
3783         gnu/java/net/protocol/file/Handler.java,
3784         gnu/java/net/protocol/gcjlib/Connection.java,
3785         gnu/java/net/protocol/gcjlib/Handler.java,
3786         gnu/java/net/protocol/http/Connection.java,
3787         gnu/java/net/protocol/http/Handler.java,
3788         gnu/java/net/protocol/jar/Connection.java,
3789         gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
3790         * gnu/gcj/runtime/FirstThread.java,
3791         java/net/URL.java: Use moved protocol handlers.
3792         * Makefile.am
3793         (ordinary_java_source_files): Moved files.
3794         (nat_source_files): Likewise.
3795         * Makefile.in: Regenerated.
3796
3797 2003-10-08  Michael Koch  <konqueror@gmx.de>
3798
3799         * gnu/java/nio/SocketChannelImpl.java
3800         (read): Write only read data to buffer.
3801
3802 2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
3803
3804         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
3805         out.
3806         * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
3807         (JCL_free): Attach "unused" attribute to env parameter.
3808         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
3809         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
3810         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
3811         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
3812         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
3813         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
3814         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
3815         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
3816         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
3817         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
3818         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
3819         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
3820         jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
3821         parameters.
3822         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
3823         (initNativeState): Pass 0 as info argument to
3824         gtk_selection_add_target.
3825         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
3826         (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
3827         unused method implementations.
3828         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3829         (awt_event_handler): Add break statement after default label.
3830         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
3831         (drawPixels): Remove unused variable i.
3832         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
3833         (setEnabled): Remove method implementation.
3834         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
3835         (accel_attach): Call _gtk_accel_group_attach with G_OBJECT
3836         argument.
3837         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
3838         unused function.
3839         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
3840         (menu_pos): Assign TRUE to push_in.
3841         (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
3842         argument.
3843         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
3844         (create): Remove unused variable layout.
3845         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3846         Pass window_widget, rather than window, to
3847         gtk_widget_set_size_request.
3848         * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
3849         structure initialization with NULL values.
3850         * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.
3851
3852 2003-10-08  Michael Koch  <konqueror@gmx.de>
3853
3854         * java/util/LinkedList.java:
3855         Removed whitespace to match classpath's version again.
3856
3857 2003-10-08  Michael Koch  <konqueror@gmx.de>
3858
3859         * java/util/prefs/Preferences.java
3860         (defaultFactoryClass): Fixed class name.
3861         (getFactory): Create instance of class returned by Class.forName(),
3862         reformated code.
3863
3864 2003-10-08  Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
3865
3866         * javax/swing/table/AbstractTableModel.java
3867         (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
3868         helped stop pulling my hair on this +1 then -1 tricky thing!
3869
3870 2003-10-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
3871
3872         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
3873         Remove unused parameters.
3874         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
3875         Likewise.
3876         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3877         (keyevent_state_to_awt_mods): Export function.
3878         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3879         (getCaretPosition): Fix TextArea case.
3880         (textcomponent_commit_cb): Get exact event time and modifier
3881         state.
3882         * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.
3883
3884 2003-10-02  Guilhem Lavaux  <guilhem@kaffe.org>
3885
3886         * java/net/InetSocketAddress.java
3887         (InetSocketAddress): Made exception more clear.
3888         (equals): Handle case when addr is null.
3889         (toString): Likewise.
3890         * java/net/NetworkInterface.java
3891         (static): Load native library.
3892         (getNetworkInterfaces): Rewritten.
3893
3894 2003-10-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
3895
3896         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
3897         field.
3898         (initializeInsets): New method.
3899         (GtkComponentPeer): Call initializeInsets.  Call setCursor and
3900         setBounds unconditionally.
3901         (setBounds): Convert coordinates if parent is a Window.
3902         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
3903         field to GtkComponentPeer.
3904         (GtkContainerPeer): Don't initialize insets.
3905         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
3906         New method.
3907         (create): Call new GtkWindowPeer create method.
3908         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
3909         New method.
3910         (create): Call new GtkWindowPeer create method.
3911         (setBounds): Remove method.
3912         (postConfigureEvent): Likewise.
3913         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
3914         type constants with GDK window type constants.
3915         (create(int,boolean,int,int,GtkWindowPeer)): New method.
3916         (create(int,boolean)): Likewise.
3917         (create()): Call create(int,boolean).
3918         (nativeSetBounds): New native method declaration.
3919         (setBounds): Call native method declaration.
3920         (setSize): New native method declaration.
3921         (setBoundsCallback): Likewise.
3922         (postConfigureEvent): Handle change in insets.  Call setSize and
3923         setBoundsCallback methods.
3924         * java/awt/Window.java (Window): Set visible to false.
3925         (setBoundsCallback): New method.
3926         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3927         (gtkWidgetGetLocationOnScreen): If this component is not a
3928         container, adjust the location returned based on the peer's
3929         allocation.
3930         (set(String,boolean)): Revert change from 2003-09-19.
3931         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3932         (awt_event_handler): Fix inset calculation.
3933         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
3934         glue for Window.setBoundsCallback.
3935         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
3936         Set up stacking order, window decorations and window manager
3937         hints.
3938         (setBoundsCallback): New method.
3939         (setSize): New method.
3940         (nativeSetBounds): New method.
3941         * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
3942
3943 2003-10-02  Tom Tromey  <tromey@redhat.com>
3944
3945         * java/lang/VMClassLoader.java (loadClass): Now native.
3946         * java/lang/natClassLoader.cc (loadClass): Implement.
3947         * prims.cc (_Jv_RunMain): Initialize ClassLoader.
3948
3949 2003-10-02  Michael Koch  <konqueror@gmx.de>
3950
3951         * java/net/InetAddress.java
3952         (zeros): Removed.
3953         (ANY_IF): Initalizie in static block.
3954         (static): Load library with native methods here and initialize ANY_IF.
3955         (isAnyLocalAddress): Check if equal to ANY_IF.
3956         (equals): Use addr directly instead of addr1. Simplify for loop.
3957         (toString): Rename "result" to "host" and add IP address allways.
3958         (getLocalHost): Merged documentation from classpath.
3959         * java/net/ServerSocket.java
3960         (ServerSocket): New package-private constructor used by java.nio.
3961         * java/net/URLConnection.java
3962         (getRequestProperties): Check if already connected.
3963
3964 2003-10-02  Michael Koch  <konqueror@gmx.de>
3965
3966         * java/nio/ByteBufferHelper.java:
3967         Rewrote all methods by suggestions from Eric Blake.
3968
3969 2003-10-02  Michael Koch  <konqueror@gmx.de>
3970
3971         * java/net/URL.java
3972         (DEFAULT_SEARCH_PATH): New static variable.
3973         (ph_cache): Made it a HashMap.
3974         (getURLStreamHandler): Rename propVal to ph_search_path and use
3975         DEFAULT_SEARCH_PATH.
3976
3977 2003-10-02  Michael Koch  <konqueror@gmx.de>
3978
3979         * javax/swing/table/AbstractTableModel.java
3980         (findColumnName): Prevent from NullPointerException if argument
3981         columnName is null.
3982
3983 2003-10-02  Michael Koch  <konqueror@gmx.de>
3984
3985         * javax/swing/table/AbstractTableModel.java:
3986         This patch is based on a patch done by Arnaud Vandyck
3987         <arnaud.vandyck@ulg.ac.be>.
3988         (getColumnName): Fixed method documentation.
3989         (findColumn): Likewise.
3990         (getColumnClass): Likewise.
3991         (isCellEditable): Likewise.
3992         (setValueAt): Likewise.
3993         (addTableModelListener): Likewise.
3994         (removeTableModelListener): Likewise.
3995         (getTableModelListeners): New method.
3996
3997 2003-10-02  Michael Koch  <konqueror@gmx.de>
3998
3999         * javax/swing/table/AbstractTableModel.java:
4000         Reformated.
4001
4002 2003-10-01  Bryce McKinlay  <bryce@mckinlay.net.nz>
4003
4004         Fix PR libgcj/12475
4005         * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
4006         * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
4007
4008 2003-10-01  Tom Tromey  <tromey@redhat.com>
4009
4010         * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
4011
4012 2003-10-01  Andrew Haley  <aph@redhat.com>
4013
4014         * java/lang/natClass.cc (initializeClass): Check for otable and
4015         atable.
4016         (_Jv_LinkOffsetTable): Check for existence of atable.  Rewrite
4017         loops using for().  Search superinterfaces.  Check for fields as
4018         well as methods.  Initialize atable as well as otable: check for
4019         static methods as well as virtual methods.
4020         * java/lang/Class.h (struct _Jv_AddressTable): New.
4021         (atable): New.
4022         (atable_syms): New.
4023         * include/jvm.h (_Jv_equalUtf8Consts): constify.
4024         * prims.cc (_Jv_equalUtf8Consts): constify.
4025
4026 2003-09-29  Tom Tromey  <tromey@redhat.com>
4027
4028         PR libgcj/10596:
4029         * include/jvm.h (_Jv_FinalizeString,
4030         _Jv_RegisterStringFinalizer): Declare.
4031         * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
4032         unintern.
4033         (intern): Updated.
4034         (_Jv_NewStringUtf8Const): Likewise.
4035         * java/lang/ref/natReference.cc (finalize_referred_to_object):
4036         Add special case when finalizing a String.
4037         (in_hash): New function.
4038         (_Jv_RegisterStringFinalizer): Likewise.
4039         (maybe_add_finalize): Likewise.
4040
4041 2003-09-29  Michael Koch  <konqueror@gmx.de>
4042
4043         * java/net/InetAddress.java:
4044         (isMulticastAddress): Dont use local variable to store address length.
4045         Let the compiler optimize this.
4046         (getHostName): Merged dcoumentation from classpath.
4047         (getAddress): Likewise.
4048         (getHostAddress): Likewise.
4049         (hashCode): Likewise.
4050         (equals): Likewise.
4051         (toString): Likewise.
4052         (getByName): Likewise.
4053         (getAllByName): Likewise.
4054
4055 2003-09-29  Michael Koch  <konqueror@gmx.de>
4056
4057         * java/awt/image/IndexColorModel.java: Reformated.
4058
4059 2003-09-29  Michael Koch  <konqueror@gmx.de>
4060
4061         * java/net/InetAddress.java,
4062         java/net/URL.java: Reformated.
4063
4064 2003-09-29  Bryce McKinlay  <bryce@mckinlay.net.nz>
4065
4066         * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most 
4067         significant bit of descriptor. Include the vtable and sync_info 
4068         fields.
4069
4070 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
4071
4072         * java/text/DateFormat.java (format): Throw IllegalArgumentException
4073         if `obj' is not a Number or Date instance.
4074         * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
4075         instead of Vector.
4076
4077 2003-09-28  Bryce McKinlay  <bryce@mckinlay.net.nz>
4078
4079         * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
4080         Don't call setTimeZone on calendar.
4081
4082 2003-09-27  Michael Koch  <konqueror@gmx.de>
4083
4084         * java/net/URL.java (getURLStreamHandler): Compile fixes.
4085
4086 2003-09-27  Michael Koch  <konqueror@gmx.de>
4087
4088         * java/net/URL.java (getURLStreamHandler):
4089         Check if we have to use cache before trying to retrieve handler from
4090         cache. Rename facName to clsName to match classpath more. Reformated
4091         some little pieces.
4092
4093 2003-09-27  Michael Koch  <konqueror@gmx.de>
4094
4095         * gnu/java/nio/SelectionKeyImpl.java
4096         (ch): Make package-private again. Jikes found this bug.
4097         Jeff Sturm submitted PR12426 for this to bugzilla
4098         to fix this bug in gcj.
4099
4100 2003-09-26  Michael Koch  <konqueror@gmx.de>
4101
4102         * java/rmi/server/RMIClassLoader.java:
4103         Reformatted file, no functional code changes.
4104
4105 2003-09-26  Sascha Brawer  <brawer@dandelis.ch>
4106
4107         * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer): 
4108         Save space for some pixels at the buffer end.  Added Javadoc.
4109
4110 2003-09-26  Tom Tromey  <tromey@redhat.com>
4111
4112         * java/io/ObjectOutputStream.java (writeFields): Fixed
4113         indentation.
4114         (putFields): Likewise.
4115
4116 2003-09-26  Michael Koch  <konqueror@gmx.de>
4117
4118         * java/nio/ByteBufferHelper.java:
4119         Totally reworked with help from Eric Blake.
4120
4121 2003-09-26  Tom Tromey  <tromey@redhat.com>
4122
4123         * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
4124         * java/awt/geom/PathIterator.java: Documentation fixes.
4125
4126 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
4127
4128         * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
4129         (select): Likewise.
4130         (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
4131
4132 2003-09-25  Michael Koch  <konqueror@gmx.de>
4133
4134         * gnu/java/nio/DatagramChannelImpl.java
4135         (getNativeFD): New method.
4136         * gnu/java/nio/SelectionKeyImpl.java
4137         (SelectionKeyImpl): Class made abstract.
4138         (fd): Removed.
4139         (SelectionKeyImpl): Remove fd argument.
4140         (getNativeFD): New method.
4141         * gnu/java/nio/SocketChannelImpl.java
4142         (getNativeFD): New method.
4143         gnu/java/nio/DatagramChannelSelectionKey.java,
4144         * gnu/java/nio/SocketChannelSelectionKey.java:
4145         New files.
4146         * Makefile.am (ordinary_java_source_files):
4147         Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
4148         gnu/java/nio/SocketChannelSelectionKey.java.
4149         * Makefile.in: Regenerated.
4150
4151 2003-09-25  Michael Koch  <konqueror@gmx.de>
4152
4153         * java/lang/reflect/Proxy.java
4154         (getProxyClass): Remove workaround for gcj 3.0.x.
4155
4156 2003-09-25  Michael Koch  <konqueror@gmx.de>
4157
4158         * gnu/java/net/PlainDatagramSocketImpl.java
4159         (finalize): Moved to directly after constructor.
4160         (getNativeFD): New method.
4161         * gnu/java/net/PlainSocketImpl.java
4162         (getNativeFD): New method.
4163
4164 2003-09-25  Ingo Proetel  <proetel@aicas.com>
4165
4166         * java/io/ObjectOutputStream.java:
4167         Allow putFields be called more than once.
4168
4169 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
4170
4171         * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
4172         * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
4173         * java/awt/image/BufferedImage.java (toString): Implement.
4174
4175 2003-09-25  Jeff Sturm  <jsturm@one-point.com>
4176
4177         * aclocal.m4: Rebuilt.
4178         * configure: Rebuilt.
4179
4180 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
4181
4182         * java/text/SimpleDateFormat.java (parse): Don't use class calendar
4183         field.
4184
4185 2003-09-25  Michael Koch  <konqueror@gmx.de>
4186
4187         * gnu/java/nio/SelectorImpl.java
4188         (implSelect): Renamed from java_do_select.
4189         (select): Call native implSelect() and add support for Thread
4190         interruption.
4191         * gnu/java/nio/natSelectorImpl.cc
4192         (implSelect): Renamed from java_do_select.
4193
4194 2003-09-25  Michael Koch  <konqueror@gmx.de>
4195
4196         * gnu/java/nio/SelectorImpl.java
4197         (selectNow): Made final, throws IOException.
4198         (select): Likewise.
4199         (getFDsAsArray): Made final.
4200         (selectedKeys): Likewise.
4201         (wakeup): Likewise.
4202         (deregisterCancelledKeys): Likewise.
4203         (register): Likewise.
4204         (ass): Removed.
4205         (add_selected): Removed.
4206         * gnu/java/nio/natSelectorImpl.cc:
4207         No need to include bstring.h or gcj/cni.h.
4208         (helper_put_filedescriptors): Rewritten.
4209         (helper_get_filedescriptors): Rewritten.
4210
4211 2003-09-25  Sascha Brawer  <brawer@dandelis.ch>
4212
4213         * java/awt/font/FontRenderContext.java (getTransform): Return
4214         copy of internal transform object. Add Javadoc.
4215         * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
4216         winding rule as Sun J2SE.
4217         * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
4218
4219 2003-09-25  Ingo Proetel  <proetel@aicas.com>
4220
4221         * java/rmi/Naming.java:
4222         Added comments, now accepts pseudo protocol "rmi".
4223
4224 2003-09-25  Guilhem Lavaux  <guilhem@kaffe.org>
4225
4226         * java/text/DecimalFormat.java (format): Don't immediatly round
4227         baseNumber to long.
4228         (setMinimumIntegerDigits): Call super.
4229         (setMinimumFractionDigits): Likewise.
4230         (setMaximumIntegerDigits): Likewise.
4231         (setMaximumFractionDigits): Likewise.
4232
4233 2003-09-25  Michael Koch  <konqueror@gmx.de>
4234
4235         * gnu/java/nio/DatagramChannelImpl.java
4236         (DatagramChannelImpl): Made class final.
4237         (blocking): Made private.
4238         (socket): Made it a NIODatagramSocket and private.
4239         (DatagramChannelImpl): create NIODatagramSocket instead of
4240         DatagramSocket.
4241         (implConfigureBlocking): Set socket timeout.
4242         (connect): Check that channel is not closed.
4243         (write): Implemented.
4244         (write): Rewritten.
4245         (read): Implemented.
4246         (read): Rewritten.
4247         (receive): Implemented.
4248         (send): Implemented.
4249         * gnu/java/nio/SelectionKeyImpl.java
4250         (readyOps): Made private.
4251         (interestOps): Made private.
4252         (impl): Made private.
4253         (ch): Made private.
4254         (readyOps): Check if selection key is valid.
4255         (interestOps): Likewise.
4256         * gnu/java/nio/SelectorImpl.java
4257         (closed): Removed.
4258         (keys): Made private.
4259         (selected): Made private.
4260         (finalize): New method.
4261         (implCloseSelector): Rewritten.
4262         (keys): Return unmodifiable Set.
4263         (deregisterCancelledKeys): Fixed typo in method name.
4264         * gnu/java/nio/SocketChannelImpl.java
4265         (SocketChannelImpl): Made class final.
4266         (socket): Made it a NIOSocket and private.
4267         (blocking): Made private.
4268         (connected): Made private.
4269         (connectionPending): New member variable.
4270         (SocketChannelImpl): New implementation.
4271         (finalizer): Use isConnected().
4272         (connect): Rewritten.
4273         (finishConnect): Throws IOException, implemented.
4274         (isConnectionPending): Return connectionPending.
4275         (read): Rewritten.
4276         (write): Rewritten.
4277         * gnu/java/nio/NIOConstants.java: New file.
4278         * Makefile.am (ordinary_java_source_files):
4279         Added gnu/java/nio/NIOConstants.java.
4280         * Makefile.in: Regenerated.
4281
4282 2003-09-25  Michael Koch  <konqueror@gmx.de>
4283
4284         * java/net/InetAddress.java:
4285         Reorder imports, remove implementation comment.
4286         (isMulticastAddress): Merged documentation from classpath.
4287         * java/net/URLConnection.java
4288         (setRequestProperty): Check key for null, fix documentation.
4289         (adREquestProperty): Check key for null, remove wrong implementation
4290         and replace it with comment to overwrite this method in subclasses,
4291         fix documentation.
4292
4293 2003-09-25  Tom Tromey  <tromey@redhat.com>
4294
4295         * java/lang/reflect/Proxy.java (generate): Uncomment protection
4296         domain code.
4297         * java/lang/natClassLoader.cc (defineClass): Added `loader'
4298         argument.
4299         (linkClass0): Now in VMClassLoader.
4300         (markClassErrorState0): Likewise.
4301         (getSystemClassLoaderInternal): New method.
4302         * java/lang/natClass.cc (initializeClass): Use
4303         VMClassLoader::resolveClass.
4304         * java/lang/ClassLoader.java: New version, from Classpath.
4305         * java/lang/Class.java (getProtectionDomain):
4306         protectionDomainPermission and unknownProtectionDomain now in
4307         VMClassLoader.
4308         * java/lang/Class.h: VMClassLoader now a friend class.
4309         * gnu/gcj/runtime/VMClassLoader.java (instance): Now
4310         package-private.
4311         * gcj/javaprims.h: Regenerated class list.
4312         * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
4313         * java/lang/VMClassLoader.java: New version from Classpath;
4314         modified for libgcj use.
4315
4316 2003-09-25  Michael Koch  <konqueror@gmx.de>
4317
4318         * java/nio/ByteBufferHelper.java:
4319         New file.
4320         * java/nio/ByteBufferImpl.java,
4321         java/nio/DirectByteBufferImpl.java,
4322         java/nio/MappedByteBufferImpl.java
4323         (getType,putType): Use new helper class ByteBufferHelper.
4324         * Makefile.am (ordinary_java_source_files):
4325         Added java/nio/ByteBufferHelper.java.
4326         * Makefile.in: Regenerated.
4327
4328 2003-09-25  Bryce McKinlay  <bryce@mckinlay.net.nz>
4329
4330         * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
4331         PR libgcj/12388.
4332
4333 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
4334
4335         * java/lang/StringBuffer.java (substring): Don't set `shared' on small
4336         Strings, even if buffer is already shared.
4337
4338 2003-09-24  Michael Koch  <konqueror@gmx.de>
4339
4340         * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
4341
4342 2003-09-24  Bryce McKinlay  <bryce@mckinlay.net.nz>
4343
4344         * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
4345         (write): Likewise.
4346         (SocketInputStream): Declare `read' and `write' methods native.
4347         Remove implementations which called back into PlainSocketImpl.
4348         Remove unneccessary overridden methods.
4349         * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation 
4350         to inner class PlainSocketImpl.SocketInputStream.
4351         (write): Likewise.
4352         * gnu/java/net/natPlainSocketImplPosix.cc: As above.
4353         * gnu/java/net/natPlainSocketImplWin32.cc: As above.
4354         * gnu/java/net/SocketInputStream.java: Remove unused file.
4355         * gnu/java/net/SocketOutputStream.java: Likewise.
4356         * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
4357         and SocketOutputStream.
4358         * Makefile.in: Rebuilt.
4359
4360 2003-09-23  Nathanael Nerode  <neroden@gcc.gnu.org>
4361
4362         * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
4363
4364         * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
4365         markers.
4366
4367 2003-09-22  Anthony Green  <green@redhat.com>
4368
4369         * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
4370         * configure: Rebuilt.
4371
4372 2003-09-21  Ralph Loader  <suckfish@ihug.co.nz>
4373
4374         PR java/12350:
4375         * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
4376
4377 2003-09-22  Michael Koch  <konqueror@gmx.de>
4378
4379         * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
4380         compiler warning but produces a different one now.
4381
4382 2003-09-22  Michael Koch  <konqueror@gmx.de>
4383
4384         * java/net/InetAddress.java:
4385         Moves around some code, reformats and adds documentation.
4386         No functional changes.
4387
4388 2003-09-22  Michael Koch  <konqueror@gmx.de>
4389
4390         * java/net/JarURLConnection.java
4391         (JarURLConnection): Modifed code to match classpath more, fixed comment.
4392         (getCertificates): Made it more error prone.
4393         (getMainAttributes): Likewise.
4394         (getAttributes): Implemented.
4395         (getManifest): Reformatted code.
4396
4397 2003-09-20  Tom Tromey  <tromey@redhat.com>
4398
4399         * java/awt/Component.java: Indentation cleanup from Classpath.
4400
4401 2003-09-20  Dalibor Topic  <robilad@kaffe.org>
4402
4403        * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
4404        checking to follow 1.4.2 spec.
4405
4406 2003-08-11  Ingo Proetel  <proetel@aicas.com>
4407
4408         * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject  
4409         is compatible in case client and server are running in the same VM
4410         (remerged from Classpath on 2003-09-20)
4411
4412 2003-09-19  David Daney <ddaney@avtrex.com>
4413
4414         * java/lang/ref/Reference.java (clear): Set referent to null and
4415         synchronize.
4416
4417 2003-09-19  Michael Koch  <konqueror@gmx.de>
4418
4419         * gnu/java/nio/NIODatagramSocket.java,
4420         gnu/java/nio/NIOSocket.java: New files.
4421         * Makefile.am (ordinary_java_source_files):
4422         Added gnu/java/nio/NIODatagramSocket.java and
4423         gnu/java/nio/NIOSocket.java.
4424         * Makefile.in: Regenerated.
4425
4426 2003-09-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
4427
4428         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
4429         top-level GTK window.
4430         (getArgs): Add "title" property.
4431         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
4432         "allow_shrink" and "allow_grow" properties.
4433         * java/awt/Dialog.java: Initialize resizable to true and change
4434         comments accordingly.  Initialize visible to false in
4435         constructors.
4436         * java/awt/Frame.java (dispose): Remove method.
4437         * java/awt/Window.java (ownedWindows): New field.
4438         (Window(Window,GraphicsConfiguration)): Add a weak reference to
4439         owner's ownedWindows vector.
4440         (finalize): Remove method.
4441         (hide): Hide owned windows.
4442         (dispose): Dispose of owned windows.
4443         (getOwnedWindows): Implement.
4444         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
4445         unused GtkArg code.
4446         (set(String,boolean)): Clamp gboolean parameter to g_object_set
4447         to TRUE or FALSE.
4448         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4449         (create): Set window's size requisition.
4450         (connectHooks): Fix indentation.
4451         (setResizable): Remove function.
4452         (static setBounds): Likewise.
4453         (setBounds): Replace call to setBounds with GTK size requisition
4454         and resize calls.
4455
4456 2003-09-19  Mohan Embar  <gnustuff@thisiscool.com>
4457
4458         * win32-threads.cc: (ensure_interrupt_event_initialized) New
4459         function for lazy initialization of an auto-reset event.
4460         (_Jv_CondWait) Added thread interrupt support.
4461         (_Jv_ThreadInitData) Added initialization of interrupt support
4462         members.
4463         (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
4464         (_Jv_ThreadStart) Removed unused code.
4465         (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
4466         to an external caller.
4467         (_Jv_ThreadInterrupt) Implemented.
4468         * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
4469         event for interrupt support as well as a mutex which regulates
4470         access to this.
4471         (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
4472         event to an external caller.
4473         * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
4474         process.
4475         (waitFor) Added interrupt support.
4476
4477 2003-09-19  Michael Koch  <konqueror@gmx.de>
4478
4479         * java/net/DatagramSocket.java (getLocalAddress):
4480         Renamed result variable to localAddr.
4481         * java/net/MulticastSocket.java:
4482         No need to import gnu.java.net.PlainDatagramSocketImpl.
4483
4484 2003-09-18  Sascha Brawer  <brawer@dandelis.ch>
4485
4486         * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
4487         Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
4488
4489 2003-09-18  Tom Tromey  <tromey@redhat.com>
4490
4491         * javax/naming/InitialContext.java: Reindented.
4492
4493 2003-09-18  Dalibor Topic <robilad@kaffe.org>,
4494             Helmer Kraemer <hkraemer@freenet.de>
4495
4496         * javax/naming/spi/NamingManager.java (getURLContext,
4497         getObjectInstance, getStateToBind): Always use current thread's
4498         context class loader when calling Class.forName.
4499
4500 2003-09-18  Michael Koch  <konqueror@gmx.de>
4501
4502         * java/util/Timer.java (finalize): Added "throws Throwable".
4503
4504 2003-09-18  Michael Koch  <konqueror@gmx.de>
4505
4506         * java/net/DatagramSocket.java
4507         (ch): Removed.
4508         (receive): Use getChannel() instead of ch.
4509         (send): Likewise.
4510         (getChannel): Return null.
4511         * java/net/ServerSocket.java
4512         (ch): Removed.
4513         (setChannel): Removed.
4514         (implAccept): Use getChannel() instead of ch.
4515         (close): Likewise.
4516         (getChannel): Return null.
4517         * java/net/Socket.java
4518         (ch): Removed.
4519         (connect): Use getChannel() instead of ch.
4520         (setChannel): Removed.
4521         (getChannel): Return null.
4522
4523 2003-09-18  Mark Wielaard  <mark@klomp.org>
4524
4525         Reported by Guilhem Lavaux and Julian Dolby
4526         * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
4527         field "serialPersistentFields", not "getSerialPersistentFields".
4528
4529 2003-09-18  Ingo Proetel  <proetel@aicas.com>
4530
4531         * java/util/TimeZone.java: Initialize lazily.
4532         * java/util/Locale.java (readManifest): Fix check for country.
4533         * java/util/GregorianCalendar.java: Make use of ResourceBundle better
4534         traceable 
4535         * java/util/Calendar.java: Make use of ResourceBundle better
4536         traceable.
4537
4538 2003-09-18  Jeroen Frijters  <jeroen@frijters.net>
4539
4540         * java/sql/Timestamp.java
4541         (valueOf): Fixed confusion of java.sql.Date and java.util.Date
4542
4543 2003-09-18  David P Grove  <groved@us.ibm.com>
4544
4545         * java/io/LineNumberReader (read): Don't reset pos & limit when
4546         markPos is 0.
4547
4548 2003-09-18  Dalibor Topic  <robilad@kaffe.org>
4549
4550         * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
4551         constant.
4552         (computeArguments): use computeTypicalArguments.
4553
4554         * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
4555         Compile_jikes.java and RMICException.java.
4556         * gnu/java/rmi/rmic/Compile_kjc.java: New file.
4557         * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
4558         * gnu/java/rmi/rmic/RMICException.java: Likewise.
4559  
4560         * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
4561  
4562         * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
4563         (computeTypicalArguments): New method.
4564         (compile): Print compiler output to System.out. Collect compiler
4565         error output and use it in exception message.
4566  
4567         * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
4568         (destination): Initialize to null.
4569         (run): Replace file separator with '.' when processing class.
4570         (processClass): Replace '.' with file separator when compiling
4571         classes.
4572         (findClass): Use SystemClassLoader to load class.
4573         (generateStub): Use full class name for generated stub, that puts
4574         it in right path.  Replace '.' with file separator when generating
4575         stub file name. Write just the stub class name without package
4576         information as class name, and constructor name. Write only
4577         interface names for interfaces extending java.rmi.Remote as
4578         implemented.
4579         (generateSkel): Use full class name for generated skel, that puts
4580         it in right path.  Replace '.' with file separator when generating
4581         stub file name. Write just the stub class name without package
4582         information as class name.
4583
4584 2003-09-18  Michael Koch  <konqueror@gmx.de>
4585
4586         * Makefile.am (rmi_java_source_files):
4587         Added gnu/java/rmi/rmic/Compile_kjc.java,
4588         gnu/java/rmi/rmic/Compile_jikes.java and
4589         gnu/java/rmi/rmic/RMICException.java
4590         * Makefile.in: Regenerated.
4591
4592 2003-09-17  Graydon Hoare  <graydon@redhat.com>
4593
4594         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4595         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4596         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
4597         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: 
4598         New files.
4599
4600 2003-09-16  Graydon Hoare  <graydon@redhat.com>
4601
4602         * java/awt/BufferedImage.java (setData): Support non-component
4603         sample models.
4604         (getData): Same.
4605
4606 2003-09-10  Graydon Hoare  <graydon@redhat.com>
4607
4608         * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
4609         * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
4610
4611 2003-09-17  Mohan Embar  <gnustuff@thisiscool.com>
4612
4613         * configure.in: Standardized help text case of
4614         --enable-hash-synchronization
4615         New configure switch --enable-libgcj-multifile and corresponding
4616         automake conditional ONESTEP.
4617         * configure: Rebuilt.
4618         * Makefile.am: Use automake conditional ONESTEP to determine
4619         whether classfiles should be compiled individually or all
4620         at once.
4621         * Makefile.in: Rebuilt.
4622
4623 2003-09-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
4624
4625         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
4626         Remove method declaration.
4627         (create()): Call native create.
4628         (create(int)): New method.
4629         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
4630         (create): Add window_id parameter.  Call gtk_plug_new with
4631         window_id parameter.
4632         (construct): Remove method implementation.
4633
4634 2003-09-16  Mohan Embar  <gnustuff@thisiscool.com>
4635
4636         * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
4637         (mostlyclean-local): New target patterned after clean-local
4638         which recursively deletes all libtool objects using 'libtool rm'.
4639         (clean-local): Slightly modified comment to alleviate monotony.
4640         (distclean-local): New target patterned after clean-local
4641         which recursively deletes all .d files.
4642         * Makefile.in: Rebuilt.
4643
4644 2003-09-11  Tom Tromey  <tromey@redhat.com>
4645
4646         * java/net/URLStreamHandler.java (parseURL): If original file
4647         ends with "/", so must canonical result.
4648         * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
4649         with nul-termination and finding previous "/".
4650
4651 2003-09-11  Michael Koch  <konqueror@gmx.de>
4652
4653         * acconfig.h: Removed most items.
4654         * configure.in: Added descriptions to AC_DEFINE macros that where in
4655         acconfig.h before.
4656         * include/config.h.in: Regenerated.
4657
4658 2003-09-11  Sascha Brawer  <brawer@dandelis.ch>
4659
4660         * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
4661         if one is installed. Improve Javadoc.
4662         (getSystemEventQueueImpl): Improve Javadoc.
4663
4664 2003-09-11  Tom Tromey  <tromey@redhat.com>
4665
4666         * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
4667         file does not exist.
4668
4669 2003-09-10  Anthony Green  <green@redhat.com>
4670
4671         * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
4672         Specify full name when referencing ::java::net::InetAddress.
4673         * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
4674         Fix argument type.
4675
4676 2003-09-10  Michael Koch  <konqueror@gmx.de>
4677
4678         * acconfig.h (__NO_MATH_INLINES): Removed.
4679         * configure.in: Removed check for g++ math inlining bug from 2000.
4680         * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
4681         libgcj_cxxflags.
4682         * configure: Regenerated.
4683
4684 2003-09-10  David Daney <ddaney@avtrex.com>
4685
4686         * java/util/Arrays.java (equals(all variants)): Quit using
4687         NullPointerException catching to detect null valued parameters.
4688
4689 2003-09-10  Michael Koch  <konqueror@gmx.de>
4690
4691         * java/net/DatagramSocket.java,
4692         java/net/MulticastSocket.java,
4693         java/net/ServerSocket.java,
4694         java/net/Socket.java:
4695         Use gnu.java.net.Plain*SocketImpl instead of
4696         java.net.PlainSocketImpl.
4697         * java/net/PlainDatagramSocketImpl.java,
4698         java/net/PlainSocketImpl.java,
4699         java/net/SocketInputStream.java,
4700         java/net/SocketOutputStream.java,
4701         java/net/natPlainDatagramSocketImplNoNet.cc,
4702         java/net/natPlainDatagramSocketImplPosix.cc,
4703         java/net/natPlainDatagramSocketImplWin32.cc,
4704         java/net/natPlainSocketImplNoNet.cc,
4705         java/net/natPlainSocketImplPosix.cc,
4706         java/net/natPlainSocketImplWin32.cc:
4707         Removed.
4708         * gnu/java/net/PlainDatagramSocketImpl.java,
4709         gnu/java/net/PlainSocketImpl.java,
4710         gnu/java/net/SocketInputStream.java,
4711         gnu/java/net/SocketOutputStream.java,
4712         gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
4713         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
4714         gnu/java/net/natPlainDatagramSocketImplWin32.cc,
4715         gnu/java/net/natPlainSocketImplNoNet.cc,
4716         gnu/java/net/natPlainSocketImplPosix.cc,
4717         gnu/java/net/natPlainSocketImplWin32.cc:
4718         New files (moved from java/net).
4719         * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
4720         instead of java/net/natPlain*SocketImpl.cc.
4721         * configure: Regenerated.
4722         * Makefile.am: Moved files from java/net to gnu/java/net.
4723         * Makefile.in: Regenerated.
4724
4725 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
4726
4727         * configure: Regenerate.
4728
4729 2003-09-04  Tom Tromey  <tromey@redhat.com>
4730
4731         * configure.host: Removed erroneous comment.
4732
4733         * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
4734         lvalue cast; use correct rvalue cast.
4735
4736 2003-09-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
4737
4738         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
4739         and height arguments to GtkWindowPeer.create method call.
4740         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4741         (create(int,int,int)): New method.
4742         (create(int)): Add call to new create method.
4743         (create()): Add width and height arguments to create method
4744         call.
4745         (GtkWindowPeer): Remove call to setBounds.
4746         * java/awt/Frame.java (Frame(String)): Initialize visible field
4747         to false.
4748         (Frame(GraphicsConfiguration)): Likewise.
4749         (Frame(String,GraphicsConfiguration)): Likewise.
4750         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
4751         Add width and height parameters.  Call
4752         gtk_window_set_default_size.
4753         (connectHooks): Remove unused name variable.
4754         (static setBounds): Call gtk_window_resize not
4755         gtk_widget_set_usize.
4756         (setBounds): Remove unused nchildren variable.
4757
4758 2003-08-31  Ingo Proetel  <proetel@aicas.com>
4759
4760         * java/util/logging/Logger.java: provide class and method information
4761         * java/util/logging/LogManager.java: create handlers
4762         * java/util/logging/SimpleFormatter.java: print souceClassName and
4763         sourceMethodName
4764
4765 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
4766
4767         * win32.cc: fixed tab, indentation and whitespace
4768         inconsistencies
4769         removed jvm.h include
4770         added includes java/lang/UnsupportedOperationException.h,
4771         java/io/IOException.h, java/net/SocketException.h
4772         (WSAEventWrapper): class implementation
4773         (_Jv_WinStrError): implemented both overloads
4774         (_Jv_ThrowIOException): implemented both overloads
4775         (_Jv_ThrowSocketException): implemented both overloads
4776         (_Jv_select): implemented
4777         * include/win32.h: fixed tab, indentation and whitespace
4778         inconsistencies
4779         wrapped <windows.h> include with  #define WIN32_LEAN_AND_MEAN
4780         added jvm.h include
4781         (WSAEventWrapper): added class declaration
4782         (_Jv_WinStrError): added both overload declarations
4783         (_Jv_ThrowIOException): added both overload declarations
4784         (_Jv_ThrowSocketException): added both overload declarations
4785         removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
4786         (_Jv_select): added declaration
4787         (_Jv_socket): removed
4788         (_Jv_connect): removed
4789         (_Jv_close): removed
4790         (_Jv_bind): removed
4791         (_Jv_accept): removed
4792         (_Jv_listen): removed
4793         (_Jv_write): removed
4794         (_Jv_read): removed
4795         * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
4796         whitespace inconsistencies
4797         replaced <windows.h> #include with <platform.h>
4798         removed jvm.h include
4799         (testCanUseGetHandleInfo): new function which tests whether Win32
4800         GetHandleInformation() call can be used with console buffer handles
4801         (only supported on >=WinNT 5.0)
4802         (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
4803         (valid): rewrote implementation using GetHandleInformation()
4804         (sync):         changed exception throwing to use error string and exception
4805         helper methods declared in include/win32.h
4806         (open): likewise
4807         (write): likewise
4808         (setLength): likewise
4809         (close): likewise
4810         (seek): likewise
4811         (getFilePointer): likewise
4812         (read): likewise
4813         * java/io/natFileWin32.cc: fixed tab, indentation and
4814         whitespace inconsistencies
4815         replaced <windows.h> #include with <platform.h>
4816         removed jvm.h include
4817         (_access): use JV_TEMP_UTF_STRING
4818         (_stat): likewise
4819         (performMkDir): use JV_TEMP_UTF_STRING
4820         (performRenameTo): likewise
4821         (performDelete): likewise
4822         (performCreate): likewise
4823         (performSetReadOnly): likewise
4824         (performSetLastModified): likewise
4825         * java/lang/natWin32Process.cc: fixed tab, indentation and
4826         whitespace inconsistencies
4827         replaced <windows.h> #include with <platform.h>
4828         removed includes gcj/cni.h, jvm.h
4829         (new_string): removed
4830         (startProcess): use JV_TEMP_UTF_STRING,
4831         changed exception throwing to use error string and exception
4832         helper methods declared in include/win32.h
4833         * java/net/natInetAddressWin32.cc: fixed tab, indentation and
4834         whitespace inconsistencies
4835         replaced <windows.h> #include with <platform.h>
4836         removed jvm.h include
4837         removed DISABLE_JAVA_NET conditional code
4838         removed POSIX conditional code not relevant to Win32
4839         (aton): use JV_TEMP_UTF_STRING
4840         removed POSIX conditional code not relevant to Win32
4841         (lookup): likewise
4842         (getLocalHostName): likewise
4843         * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
4844         whitespace inconsistencies
4845         removed unnecessary windows.h, winsock.h and gcj/cni.h includes
4846         removed DISABLE_JAVA_NET conditional code
4847         removed POSIX conditional code not relevant to Win32
4848         (winsock2GetRealNetworkInterfaces): new function to compute network
4849         interfaces via Winsock2 API
4850         (determineGetRealNetworkInterfacesFN): new function for returning
4851         a function pointer to the function used to compute network interfaces.
4852         (getRealNetworkInterfaces): implemented
4853         * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
4854         whitespace inconsistencies
4855         removed gcj/cni.h include
4856         removed DISABLE_JAVA_NET conditional code
4857         removed POSIX conditional code not relevant to Win32
4858         changed net POSIXisms to Win32isms
4859         replaced _Jv socket-related calls with their real Win32 equivalents
4860         changed exception throwing to use error string and exception
4861         helper methods declared in include/win32.h
4862         (peekData): implemented timeout support
4863         (receive): likewise
4864         * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
4865         whitespace inconsistencies
4866         removed gcj/cni.h and gcj/javaprims.h includes
4867         removed DISABLE_JAVA_NET conditional code
4868         removed POSIX conditional code not relevant to Win32
4869         changed net POSIXisms to Win32isms
4870         replaced _Jv socket-related calls with their real Win32
4871         equivalents
4872         changed exception throwing to use error string and exception
4873         helper methods declared in include/win32.h
4874         (throwConnectException): helper function for connect()
4875         (connect): implemented timeout support
4876         (accept): likewise
4877         (doRead): new helper function common to both read() method overloads,
4878         includes timeout support
4879         (read): implemented both overloads in terms of doRead()
4880         (available): implemented using ioctlsocket()
4881
4882 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
4883
4884         * java/net/natInetAddressWin32.cc,
4885         java/net/natNetworkInterfaceWin32.cc,
4886         java/net/natPlainDatagramSocketImplWin32.cc,
4887         java/net/natPlainSocketImplWin32.cc:
4888         Readded code enclosed in DISABLE_JAVA_NET defines
4889         in preparation for MinGW cleanup / networking
4890         patch
4891
4892 2003-08-28  Mohan Embar  <gnustuff@thisiscool.com>
4893
4894         * Makefile.am: Fixed problems with parallel makes.
4895         (all_java_class_files): Readded definition.
4896         (all_java_class_files): New target which depends on
4897         libgcj-@gcc_version@.jar
4898         * Makefile.in: Rebuilt
4899
4900 2003-08-28  Tom Tromey  <tromey@redhat.com>
4901
4902         * Makefile.in: Rebuilt.
4903         * Makefile.am (ordinary_java_source_files): Added new files.
4904         * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
4905         friend.
4906         * java/net/URLClassLoader.java (findClass): Don't use
4907         findURLResource.  Use loader's getClass method.
4908         (URLLoader.getClass): New method.
4909         (addURL): Handle `gcjlib' URLs.
4910         (SoURLLoader): New class.
4911         (SoResource): Likewise.
4912         * gnu/gcj/protocol/gcjlib/Connection.java: New file.
4913         * gnu/gcj/protocol/gcjlib/Handler.java: New file.
4914         * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
4915         (_Jv_RegisterCoreHook): Declare.
4916         (_Jv_FindCore): Declare.
4917         * gnu/gcj/runtime/SharedLibHelper.java: New file.
4918         * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
4919         typedef.
4920         (core_hook): New function.
4921         (struct SharedLibDummy) [saved_core]: New field.
4922         (init): Set _Jv_RegisterCoreHook.  Throw exception on failure.
4923         (register_hook): Set protection domain and class loader on new
4924         class.
4925         (finalize): Free core chain.
4926         * gnu/gcj/Core.java (Core): New constructor.
4927         * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
4928         SharedLibHelper.
4929         * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
4930         (_Jv_create_core): New function.
4931         (create): Use it.
4932         (default_register_resource): New function.
4933         (_Jv_RegisterCoreHook): New global.
4934         (_Jv_RegisterResource): Use it.
4935         (core_chain_struct): Removed.
4936         (_Jv_FindCore): New function.
4937         (_Jv_FreeCoreChain): New function.
4938
4939 2003-08-29  Michael Koch  <konqueror@gmx.de>
4940
4941         * java/net/natInetAddressWin32.cc,
4942         java/net/natNetworkInterfaceWin32.cc,
4943         java/net/natPlainDatagramSocketImplWin32.cc,
4944         java/net/natPlainSocketImplWin32.cc:
4945         Removed code enclosed in DISABLE_JAVA_NET defines.
4946
4947 2003-08-26  Mohan Embar  <gnustuff@thisiscool.com>
4948
4949         * Makefile.am: (write_entries_to_file) New parameterized
4950         function for writing entries to a file one line at a time.
4951         (all_java_class_files): Removed definition.
4952         (.java.class) Removed.target.
4953         (libgcj-@gcc_version@.jar): Changed dependency to
4954         $(all_java_source_files); added compilation step which compiles
4955         all changed source files in one pass.
4956         (libgcj.la) Refactored to use write_entries_to_file.
4957         (lib-gnu-awt-xlib.la) Likewise.
4958         (install-data-local) Likewise.
4959         (write-entries-to-file-check) New target which tests write_entries_to_file.
4960         (all-recursive): Changed dependency from $(all_java_class_files)
4961         to libgcj-@gcc_version@.jar
4962         * Makefile.in: Rebuilt.
4963
4964 2003-08-26  Tom Tromey  <tromey@redhat.com>
4965
4966         * java/lang/StrictMath.java: Typo fix.
4967         * java/lang/Math.java: Typo fix.
4968
4969 2003-08-26  Stephen Crawley  <crawley@dstc.edu.au>
4970
4971         * java/lang/ThreadGroup.java (removeThread): null the 'group' field
4972         of the removed Thread.
4973
4974 2003-08-26  Mark Wielaard  <mark@klomp.org>
4975
4976         Reported by David Holmes <dholmes@dltech.com.au>.
4977         * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
4978         Collections.synchronizedMap.
4979         * java/lang/ThreadLocal.java (valueMap): Likewise.
4980
4981 2003-08-26  Mark Wielaard  <mark@klomp.org>
4982
4983         * java/security/acl/Acl.java: Fix broken p tag.
4984         * java/text/DateFormatSymbols.java: Correctly open and close li tags.
4985         * javax/swing/border/LineBorder.java: Close img tag alt attributes.
4986         * javax/swing/plaf/TreeUI.java: Likewise.
4987         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
4988         * java/util/Properties.java: Use the word umlaut, not &auml; in api
4989         documentation.
4990         * java/util/PropertyResourceBundle.java: Likewise and add closing code
4991         tag.
4992
4993 2003-08-26  Tom Tromey  <tromey@redhat.com>
4994
4995         * Makefile.in: Rebuilt.
4996         * Makefile.am: Removed all GNU-make-specific FIXME comments.
4997
4998         * java/lang/ref/Reference.java (get): Indentation fix.
4999         (clear): Comment fix.
5000         (enqueue): Likewise.
5001         (lock): Likewise.
5002         (referent): Likewise.
5003
5004 2003-08-26  Tom Tromey  <tromey@redhat.com>
5005
5006         PR java/12058:
5007         * java/lang/reflect/natArray.cc (set): Allow null as argument.
5008
5009         * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
5010         (ProxyData.getPackage): New method.
5011         (ProxyData.getProxyData): Use package name, not Package.
5012         (ClassFactory.ClassFactory): Updated.
5013
5014 2003-08-25  Scott Gilbertson  <scottg@mantatest.com>
5015         * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
5016         * Makefile.in: re-generated.
5017         * gnu/awt/j2d/IntegerGraphicsState.java
5018         (ScreenCoupledImage): new interface.
5019         (drawImage): detect ScreenCoupledImage instances.
5020         * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
5021         * gnu/awt/xlib/XEventLoop.java
5022         (createEvent): re-formatted, and rearranged to avoid null pointer.
5023         * gnu/awt/xlib/XGraphics.java
5024         (drawImage): added XOffScreenImage handling.
5025         * gnu/awt/xlib/XOffScreenImage.java: new file.
5026         * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
5027         * gnu/gcj/xlib/GC.java (copyArea): new native method.
5028         * gnu/gcj/xlib/XAnyEvent.java
5029         (TYPE_KEY_PRESS): new constant.
5030         (TYPE_KEY_RELEASE): new constant.
5031         (TYPE_MOTION_NOTIFY): new constant.
5032         (TYPE_ENTER_NOTIFY): new constant.
5033         (TYPE_LEAVE_NOTIFY): new constant.
5034         (TYPE_FOCUS_IN): new constant.
5035         (TYPE_FOCUS_OUT): new constant.
5036         (TYPE_KEYMAP_NOTIFY): new constant.
5037         (TYPE_GRAPHICS_EXPOSE): new constant.
5038         (TYPE_NO_EXPOSE): new constant.
5039         (TYPE_VISIBILITY_NOTIFY): new constant.
5040         (TYPE_CREATE_NOTIFY): new constant.
5041         (TYPE_DESTROY_NOTIFY): new constant.
5042         (TYPE_MAP_REQUEST): new constant.
5043         (TYPE_CONFIGURE_REQUEST): new constant.
5044         (TYPE_GRAVITY_NOTIFY): new constant.
5045         (TYPE_RESIZE_REQUEST): new constant.
5046         (TYPE_CIRCULATE_NOTIFY): new constant.
5047         (TYPE_CIRCULATE_REQUEST): new constant.
5048         (TYPE_PROPERTY_NOTIFY): new constant.
5049         (TYPE_SELECTION_CLEAR): new constant.
5050         (TYPE_SELECTION_REQUEST): new constant.
5051         (TYPE_SELECTION_NOTIFY): new constant.
5052         (TYPE_COLORMAP_NOTIFY): new constant.
5053         (TYPE_MAPPING_NOTIFY): new constant.
5054         * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
5055         * gnu/gcj/xlib/natGC.cc (copyArea): new method
5056         * java/awt/Component.java (createImage): changed to use peer method.
5057
5058 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
5059
5060         * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
5061         name, not XLFD, to native drawString.
5062         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5063         Replace XLFD-based implementation with Pango-based
5064         implementation.
5065
5066 2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
5067
5068         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
5069         GTK_WINDOW_DIALOG.  Set GTK_WINDOW_POPUP to 1.
5070
5071 2003-08-21  David Daney  <ddaney@avtrex.com>
5072
5073         Fix for PR libgcj/12013:
5074         * java/lang/ref/natReference.cc (finalize_referred_to_object):
5075         Check `cleared' field.
5076         * java/lang/ref/Reference.java (copy): Updated comments.
5077         (cleared): New field.
5078         (clear): Rewrote.
5079
5080 2003-08-21  Scott Gilbertson  <scottg@mantatest.com>
5081             Thomas Fitzsimmons  <fitzsim@redhat.com>
5082
5083         * Makefile.am (gtk_awt_peer_sources): Add
5084         gnu/java/awt/peer/GLightweightPeer.java.  Remove
5085         gnu/java/awt/GLightweightPeer.java.
5086         * gnu/java/awt/GLightweightPeer.java: Remove file.
5087         * gnu/java/awt/peer/GLightweightPeer.java: New file.
5088         * java/awt/Component.java (getToolkit): Add comment about
5089         lightweight components.
5090         * java/awt/Toolkit.java (createComponent): Return
5091         gnu.java.awt.peer.GLightweightPeer.
5092
5093 2003-08-21  Richard Earnshaw  <rearnsha@arm.com>
5094
5095         * configure.in: Fix detection of gcj when building with newlib.
5096         * configure: Regenerated.
5097
5098 2003-08-20  Graydon Hoare  <graydon@redhat.com>
5099
5100         * jni.cc: Replace "cheating" pointer-casting code with
5101         extract_from_jvalue<> template.
5102
5103 2003-08-20  Andrew Haley  <aph@redhat.com>
5104
5105         * gnu/gcj/runtime/StackTrace.java (getClass): New method.
5106         * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
5107         (classAt): Break out class lookup function into getClass().
5108         * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
5109         handlers when using -fno-assume-compiled.
5110
5111 2003-08-20  Tom Tromey  <tromey@redhat.com>
5112
5113         Fix for PR libgcj/9125:
5114         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
5115         object outside of loop.  Respect lib_control setting.
5116         * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
5117         field.
5118         (lib_control): New field.
5119         (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
5120         (VMClassLoader): Initialize new field.
5121
5122         * java/lang/ref/natReference.cc (finalize_referred_to_object):
5123         Set `list->reference' to DELETED_REFERENCE when removing dead
5124         object.
5125         (find_slot): Added an assert.
5126         (DELETED_REFERENCE): New define.
5127         (add_to_hash): Check for DELETED_REFERENCE.
5128         (remove_from_hash): Just return if found slot isn't ours.
5129
5130 2003-08-19  Andrew Haley  <aph@redhat.com>
5131
5132         * prims.cc (unblock_signal): New function.
5133         (catch_segv): Use it.
5134         (catch_fpe): Likewise.
5135
5136 2003-08-19  Danny Smith  <dannysmith@users.sourceforge.net>
5137
5138         PR libgcj/11575
5139         * java/io/natFileDescriptorWin32.cc (open): Set create
5140         flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
5141         Honor EXCL when openning with WRITE flag. 
5142
5143 2003-08-19  Mohan Embar  <gnustuff@thisiscool.com>
5144
5145         * include/jvm.h: New class _Jv_TempUTFString (helper class for
5146         getting a temporary C string from a jstring)
5147         New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
5148         but uses a stack buffer if the string length is less than 256
5149         bytes.
5150
5151 2003-08-18  Tom Tromey  <tromey@redhat.com>
5152
5153         PR libgcj/11951:
5154         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
5155         void.  Throw VirtualMachineError if ffi fails.  Initialize return
5156         value.  Added is_jni_call argument; only wrap exception if not a
5157         JNI call.  Use descriptive message if operation not supported.
5158         (_Jv_GetTypesFromSignature): Use declaring class' loader to find
5159         array class.
5160         * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
5161         * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
5162         _Jv_CallAnyMethodA.
5163         (_Jv_JNI_CallAnyMethodA): Likewise.
5164         (_Jv_JNI_CallAnyVoidMethodV): Likewise.
5165         (_Jv_JNI_CallAnyVoidMethodA): Likewise.
5166
5167 2003-08-13  Tom Tromey  <tromey@redhat.com>
5168
5169         * gij.cc (help): Document -? and -X.
5170
5171 2003-08-12  Graydon Hoare  <graydon@redhat.com>
5172
5173         * java/awt/Font.java: 
5174         Stub out more recent API. 
5175
5176 2003-08-12  Graydon Hoare  <graydon@redhat.com>
5177
5178         * java/awt/Color.java (getAlpha): 
5179         Prevent sign-extended alpha values.
5180
5181 2003-08-12  Tom Tromey  <tromey@redhat.com>
5182
5183         * gij.cc (main): Handle -? and -X.
5184
5185 2003-08-10  Jeroen Frijters  <jeroen@frijters.net>
5186
5187         * java/awt/Container.java
5188         (getPreferredSize): Call preferredSize.
5189         (preferredSize): Moved body of getPreferredSize here.
5190         (getMinimumSize): Call minimumSize.
5191         (minimumSize): Moved body of getMinimumSize here.
5192
5193 2003-08-11  Tom Tromey  <tromey@redhat.com>
5194
5195         * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
5196         (postEvent): Removed FIXME comment.
5197         (isDispatchThread): Documented.
5198         (getCurrentEvent): New method.
5199         (dispatchEvent): Set currentEvent and lastWhen.
5200         (getMostRecentEventTime): Rewrote.
5201         (invokeLater): Documented.
5202
5203 2003-08-10  Bryce McKinlay  <bryce@mckinlay.net.nz>
5204
5205         * java/io/PrintStream.java (print): Always flush if auto_flush is
5206         set. Don't check for newline characters.
5207         (write (int)): Implement without using a temporary array.
5208         (write (byte[], int, int): Always flush if auto_flush is set. Don't
5209         check for newline characters.
5210         Fixes PR libgcj/11778.
5211
5212 2003-08-08  Andrew Haley  <aph@redhat.com>
5213
5214         * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
5215         * Makefile.in: Rebuild.
5216         * java/lang/natRuntime.cc (insertSystemProperties): Add
5217         "sun.boot.class.path".
5218
5219 2003-08-07  Andrew Haley  <aph@redhat.com>
5220
5221         * java/io/PrintStream.java: Don't crash on a null string.
5222         
5223 2003-08-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5224
5225         * configure.in: Don't initialize GCINCS to boehm-gc/include.
5226         * configure: Regenerate.
5227
5228 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
5229
5230         * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
5231         SocketImpl. Update Javadoc.
5232         (bind): Call close() not impl.close() in event of exception.
5233         (connect): Likewise.
5234         Remove superfluous null checks throughout.
5235         * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
5236         Don't create an extra socket. Fix for PR libgcj/10868.
5237         (bind): Clean up exception handling.
5238         Remove superfluous null checks throughout.
5239
5240 2003-08-07  Jacob Gladish <gladish@spinnakernet.com>
5241             Bryce McKinlay  <bryce@mckinlay.net.nz>
5242
5243         * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
5244         ready-to-write argument to _Jv_Select. Reset the socket back to 
5245         non-blocking state after connecting.
5246         (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
5247         Throw SocketTimeoutException not InterruptedIOException.
5248         (read): Throw SocketTimeoutException not InterruptedIOException.
5249
5250 2003-08-07  Bryce McKinlay  <bryce@mckinlay.net.nz>
5251
5252         * java/lang/Thread.java (Thread): Check for null "name" from
5253         start of private constructor, not after calling the private
5254         constructor.
5255
5256 2003-08-06  Tom Tromey  <tromey@redhat.com>
5257
5258         * java/io/FilePermission.java (equals): Use correct index for
5259         last character of path.
5260
5261 2003-08-06  Alan Modra  <amodra@bigpond.net.au>
5262
5263         * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
5264         * configure.in: Compare with_cross_host to build_alias, not build.
5265         * aclocal.m4: Regenerate.
5266         * configure: Regenerate.
5267
5268 2003-08-05  Tom Tromey  <tromey@redhat.com>
5269
5270         Fix for PR libgcj/11779:
5271         * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
5272         class.
5273
5274         * java/lang/reflect/Method.java: Updated status comment.
5275         Imported javadoc from Classpath and re-ordered methods.
5276         * java/lang/reflect/Constructor.java: Reindented.  Updated
5277         status comment.  Imported javadoc from Classpath and re-ordered
5278         methods.
5279
5280 2003-08-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
5281
5282         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
5283         Add keyLocation parameter.
5284         * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
5285         string.
5286         (paramString): Generate keyChar string according to keyChar, not
5287         keyCode.
5288         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5289         (state_to_awt_mods): Handle ALT key.
5290         (keyevent_state_to_awt_mods): New function.
5291         (get_first_keyval_from_keymap): New function.
5292         (keysym_to_awt_keycode): Get virtual key code from keymap.
5293         Handle missing VK_ values.
5294         (keysym_to_awt_keylocation): New function.
5295         (keyevent_to_awt_keychar): New function.
5296         (generates_key_typed_event): Handle non-text-component case.
5297         Handle GDK_KP_Delete and GDK_KP_Enter.
5298         (awt_event_handler): Call new functions to get postKeyEvent
5299         parameters.
5300         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
5301         Update postKeyEvent method signature.
5302         * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines.  Add missing
5303         VK_ defines.
5304
5305 2003-08-05  Matthias Klose  <doko@debian.org>
5306
5307         * aclocal.m4: check for libart-config binary
5308           under the name libart2-config as well.
5309         * configure: regenerated.
5310
5311 2003-08-04  David P Grove  <groved@us.ibm.com>
5312
5313         * java/text/DecimalFormat.java (format): avoid ArithmeticException
5314         when groupingSize is 0.
5315         (parse): Likewise.
5316
5317 2003-08-04  Matthias Klose  <doko@debian.org>
5318
5319         * libart.m4: check for libart-config binary
5320           under the name libart2-config as well.
5321         * configure, aclocal.m4: regenerated.
5322
5323 2003-08-02  Michael Koch  <konqueror@gmx.de>
5324
5325         * java/nio/ByteBufferImpl.java
5326         (getChar): Check remaining bytes, fixed comment about endianess.
5327         (putChar): Likewise.
5328         (getShort): Likewise.
5329         (putShort): Likewise.
5330         (getInt): Check remaining bytes, fixed conversion, fixed comment about
5331         endianess.
5332         (putInt): Likewise.
5333         (getLong): Likewise.
5334         (putLong): Likewise.
5335         (getFloat): Likewise.
5336         (putFloat): Likewise.
5337         (getDouble): Likewise.
5338         (putDouble): Likewise.
5339         * java/nio/DirectByteBufferImpl.java
5340         (getChar): Wrapped code, fixed comment about endianess.
5341         (putchar): Likewise.
5342         (getShort): Likewise.
5343         (putShort): Likewise.
5344         (getInt): Fixed conversion, fixed comment about endianess.
5345         (putInt): Likewise.
5346         (getLong): Likewise.
5347         (putLong): Likewise.
5348         (getFloat): Likewise.
5349         (putFloat): Likewise.
5350         (getDouble): Likewise.
5351         (putDouble): Likewise.
5352         * java/nio/MappedByteBufferImpl.java
5353         (compact): Implemented.
5354         (getChar): Implemented.
5355         (putChar): Implemented.
5356         (getDouble): Implemented.
5357         (putdouble): Implemented.
5358         (getFloat): Implemented.
5359         (putFloat): Implemented.
5360         (getInt): Implemented.
5361         (putInt): Implemented.
5362         (getLong): Implemented.
5363         (putLong): Implemented.
5364         (getShort): Implemented.
5365         (putShort): Implemented.
5366         * java/nio/channels/FileChannelImpl.java
5367         (read): Set position where to access file.
5368         (write): Likewise.
5369         (transferTo): Flip buffer after read and before write.
5370         (transferFrom): Likewise.
5371
5372 2003-08-02  Michael Koch  <konqueror@gmx.de>
5373
5374         * gnu/java/lang/ArrayHelper.java
5375         (equalsArray): Reformated, added method documentation.
5376
5377 2003-08-02  Michael Koch  <konqueror@gmx.de>
5378
5379         * java/net/URL.java
5380         (URL): Added paragraph about the
5381         gnu.java.net.nocache_protocol_handlers property.
5382         (ph_cache): Renamed from handlers to match classpath's implementation.
5383         Reordered it with factory and serialVersionUID member variables.
5384         (cache_handlers): New member variable.
5385         (static): New static initializer to initialize cache_handlers from
5386         gnu.java.net.nocache_protocol_handlers property.
5387         (URL): Use ph_cache instead of handlers, reformatted some code to
5388         match classpath's implementation.
5389
5390 2003-08-01  Tom Tromey  <tromey@redhat.com>
5391
5392         Fix for PR libgcj/11241:
5393         * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
5394         initialCapacity is 0, set it to 1.
5395
5396 2003-08-01  Stephen Crawley <crawley@dstc.edu.au>
5397
5398         * java/net/SocketImpl.java (toString): Display the remote address
5399         of an unconnected server socket as "0.0.0.0/0.0.0.0".
5400
5401 2003-08-01  Sascha Brawer  <brawer@dandelis.ch>
5402
5403         * javax/swing/border/BevelBorder.java,
5404         javax/swing/border/EtchedBorder.java,
5405         javax/swing/border/LineBorder.java,
5406         javax/swing/border/MatteBorder.java,
5407         javax/swing/border/SoftBevelBorder.java,
5408         javax/swing/plaf/BorderUIResource.java,
5409         javax/swing/plaf/ComponentUI.java,
5410         javax/swing/plaf/TreeUI.java,
5411         javax/swing/plaf/basic/BasicBorders.java,
5412         javax/swing/plaf/basic/BasicGraphicsUtils.java,
5413         javax/swing/plaf/basic/BasicTreeUI.java:
5414         Prepend "doc-files" to all paths to embedded Javadoc images, so
5415         that the generated documentation contains the correct URL.
5416
5417 2003-08-01  Tom Tromey  <tromey@redhat.com>
5418
5419         * configure: Rebuilt.
5420         * configure.in (tool_include_dir): Redefine to match gcc.
5421
5422 2003-08-01  Jerry Quinn  <jlquinn@optonline.net>
5423             Mark Wielaard  <mark@klomp.org>
5424             
5425         * java/math/BigDecimal (divide): Correctly handle
5426         ROUND_HALF_EVEN when amount is greater than 0.5.
5427         Simplify and optimize code.
5428
5429 2003-07-31  Tom Tromey  <tromey@redhat.com>
5430
5431         More for PR libgcj/11737:
5432         * java/io/ObjectInputStream.java (processResolution): Use
5433         getMethod.
5434         (getMethod): Make method accessible.
5435         (getField): Make field accessible.
5436         (setBooleanField): Don't call setAccessible here.
5437         (setByteField, setCharField, setDoubleField, setFloatField,
5438         setIntField, setLongField, setShortField, setObjectField):
5439         Likewise.
5440         (callReadMethod): Don't check whether method is null.  Catch
5441         NoSuchMethodException.
5442         * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
5443         cause on thrown exceptions.
5444
5445 2003-07-31  Stepan Koltsov  <yozh@mx1.ru>
5446
5447         Fix for PR libgcj/11728:
5448         * java/util/HashMap.java (readObject): Set size.
5449
5450 2003-07-31  Tom Tromey  <tromey@redhat.com>
5451
5452         Fix for PR libgcj/11737:
5453         * java/io/ObjectOutputStream.java (getMethod): Make method
5454         accessible.
5455         (getField): Likewise.
5456         (writeObject): Use getMethod.
5457         Import PrivilegedAction and AccessController.
5458         (callWriteMethod): Don't check whether m is null.  Catch
5459         NoSuchMethodException.
5460
5461         * java/awt/geom/Arc2D.java (getBounds2D): Implement.
5462         (containsAngle): Likewise.
5463         (getStartPoint): Rewrote.
5464         (getEndPoint): Likewise.
5465         (setAngleStart(Point2D)): Likewise.
5466
5467 2003-07-31  Roger Sayle  <roger@eyesopen.com>
5468             Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5469
5470         * configure.in: Add new THREADCXXFLAGS variable.
5471         Handle POSIX threads on alpha*-dec-osf*.
5472         * configure: Regenerate.
5473         * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
5474         * Makefile.in: Regenerate.
5475
5476 2003-07-08  Andrew Haley  <aph@redhat.com>
5477
5478         * include/i386-signal.h (RESTORE): New.
5479         (INIT_SEGV): Set restorer.
5480         (INIT_FPE): Likewise.
5481
5482 2003-07-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
5483
5484         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
5485         than getXLFD.
5486         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
5487         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
5488         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
5489         (gtkSetFont): Scale size parameter by PANGO_SCALE.
5490         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
5491         Likewise.
5492         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
5493         Likewise.
5494
5495 2003-07-29  Tom Tromey  <tromey@redhat.com>
5496
5497         * defineclass.cc (handleField): Throw exception if field name is
5498         duplicated.
5499         (handleMethod): Throw exception for duplicate method.
5500
5501 2003-07-29  Tom Tromey  <tromey@redhat.com>
5502
5503         * gnu/gcj/convert/natIconv.cc (write): Handle case where
5504         output buffer is too small.
5505
5506 2003-07-28  Tom Tromey  <tromey@redhat.com>
5507
5508         * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
5509         New method.
5510         Include gnu/gcj/runtime/StringBuffer.h.
5511         * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
5512         native method.
5513         (String(gnu.gcj.runtime.StringBuffer)): Use it.
5514
5515 2003-07-27  Anthony Green  <green@redhat.com>
5516
5517         * configure.in: Fix newlib check.
5518         * configure: Rebuilt.
5519
5520 2003-07-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
5521
5522         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
5523         Create vbox and layout for GtkPlug.
5524
5525 2003-07-27  Michael Koch  <konqueror@gmx.de>
5526
5527         * java/awt/Window.java
5528         (Window): Removed now unused constructor. It became oboslete with the
5529         new embedded window patch.
5530
5531 2003-07-27  Thomas Fitzsimmons <fitzsim@redhat.com.h> 
5532             Michael Koch  <konqueror@gmx.de>
5533
5534         * gnu/java/awt/EmbeddedWindow.java
5535         (EmbeddedWindow): Extends Frame instead of Window.
5536         (window_id): New member variable to store the native window handle.
5537         (create): Removed.
5538         (EmbeddedWindow): New constructor.
5539         (addNotify): New method.
5540         (getHandler): Likewise.
5541         (setWindowPeer): New native method.
5542         * gnu/java/awt/EmbeddedWindowSupport.java
5543         (EmbeddedWindowSupport): Fixed documentation.
5544         (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
5545         WindowPeer, give it an EmbeddedWindow instance instead of the raw
5546         window data.
5547         * gnu/java/awt/natEmbeddedWindow.cc
5548         (create): Removed.
5549         (setWindowPeer): New method.
5550         * gnu/java/awt/peer/EmbeddedWindowPeer.java,
5551         gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
5552         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
5553         New files
5554         * gnu/java/awt/peer/gtk/GtkToolkit.java
5555         (GtkToolkit): Implements EmbeddedWindowSupport.
5556         (createEmbeddedWindow): New method.
5557         * java/awt/Window.java
5558         (Window): Removed.
5559         * Makefile.am
5560         (java_source_files): Added EmbeddedWindowPeer.java.
5561         (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
5562         (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
5563         * Makefile.in: Regenerated.
5564
5565 2003-07-26  Ranjit Mathew  <rmathew@hotmail.com>
5566
5567         * java/lang/Win32Process.java (ConcreteProcess): Surround
5568         a command line element with quotes if it contains an
5569         embedded space or tab.
5570         * java/lang/natWin32Process.cc (startProcess): Do not
5571         surround command line elements with quotes here.
5572
5573         * configure.host: Use -fcheck-references and 
5574         -fuse-divide-subroutine for MinGW until we fix
5575         win32_exception_handler( ) in win32.cc w.r.t. Win32 
5576         Structured Exception Handling (SEH).
5577
5578         * win32.cc (_Jv_platform_initProperties): Use generic names
5579         like "x86" for the "os.arch" property to be consistent with
5580         what Sun's JDK produces. Use the wProcessorArchitecture
5581         member of the Win32 SYSTEM_INFO structure, filled in a call 
5582         to GetSystemInfo( ), instead of dwProcessorType.
5583
5584 2003-07-26  Mohan Embar  <gnustuff@thisiscool.com>
5585             Ranjit Mathew  <rmathew@hotmail.com>
5586
5587         * Makefile.am: Use cross-compiling gcjh from the path for
5588         a crossed-native build.
5589         * Makefile.in: Rebuilt.
5590         * configure.in: Include libltdl in non-newlib builds.
5591         Moved determination of gcj used to build libraries to
5592         its own section. Fixed cross-compilation issues for
5593         non-newlib builds.
5594         * configure: Rebuilt.
5595
5596 2003-07-25  Tom Tromey  <tromey@redhat.com>
5597
5598         * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
5599         (write): Likewise.
5600         (read): Likewise.
5601         (read): Likewise.
5602
5603 2003-07-25  Mark Wielaard  <mark@klomp.org>
5604
5605         * java/lang/natRuntime.cc (_load): Add library name to
5606         UnsatisfiedLinkError when thrown.
5607
5608 2003-07-25  Mark Wielaard  <mark@klomp.org>
5609
5610         * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
5611         added.
5612         * Makefile.in: Likewise.
5613
5614 2003-07-25  Jeroen Frijters  <jeroen@frijters.net>
5615
5616         * java/awt/Component.java
5617         (getPreferredSize): Call preferredSize.
5618         (preferredSize): Moved body of getPreferredSize here.
5619         (getMinimumSize): Call minimumSize.
5620         (minimumSize): Moved body of getMinimumSize here.
5621         (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
5622         (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
5623         pass -1
5624         * java/awt/Container.java
5625         (validate): Don't validate if there is no peer.
5626         (update): Clear background before calling paint.
5627         * java/awt/GridBagLayout.java
5628         Completed the implementation and fixed several bugs.
5629         * java/awt/MediaTracker.java
5630         (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
5631         combine flags.
5632         * java/awt/Window.java
5633         (Window): Don't call setVisible(false). Windows are invisible by
5634         default and calling virtual methods from constructor causes
5635         compatibility problems (e.g. subclasses may assume that the peer
5636         already exists).
5637
5638 2003-07-25  Michael Koch  <konqueror@gmx.de>
5639
5640         * java/awt/GridBagLayout.java:
5641         Totally reworked and partly implemented.
5642         * java/awt/GridBagLayoutInfo.java:
5643         New file.
5644
5645 2003-07-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
5646
5647         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
5648         Don't pack label in an event box.
5649
5650 2003-07-24  Tom Tromey  <tromey@redhat.com>
5651
5652         For PR libgcj/7482:
5653         * verify.cc (ref_intersection): New class.
5654         (type_val): Removed unresolved_reference_type,
5655         uninitialized_unresolved_reference_type.
5656         (is_assignable_from_slow): Rewrote.
5657         (type::data): Removed.
5658         (type::klass): New field.
5659         (type::type): Added verifier argument.
5660         (type::resolve): Removed.
5661         (type::set_uninitialized): Updated for change to type_val.
5662         (type::set_initialized): Likewise.
5663         (type::isinitialized): Likewise.
5664         (type::print): Likewise.
5665         (construct_primitive_array_type): Likewise.
5666         (type::compatible): Updated for change to type_val and to use
5667         ref_intersection.
5668         (type::isarray): Updated to use ref_intersection.
5669         (type::isinterface): Likewise.
5670         (type::element_type): Likewise.
5671         (type::to_array): Likewise.
5672         (type::verify_dimensions): Rewrote.
5673         (type::merge): Likewise.
5674         (check_class_constant): Updated for type constructor change.
5675         (check_constant): Likewise.
5676         (check_field_constant): Likewise.
5677         (get_one_type): Likewise.
5678         (initialize_stack): Likewise.
5679         (verify_instructions_0): Likewise.
5680         (verify_instructions_0) [op_invokeinterface]: Removed special
5681         case.
5682         (isect_list): New field.
5683         (_Jv_BytecodeVerifier): Initialize it.
5684         (~_Jv_BytecodeVerifier): Destroy ref_intersection objects. 
5685
5686 2003-07-24  H. Väisänen  <hvaisane@joyx.joensuu.fi>
5687
5688         * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
5689         unless field size is 2.
5690
5691 2003-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
5692
5693         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5694         (connectHooks): New method.
5695         (handleEvent): Remove.
5696         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
5697         (createHooks): Remove declaration.
5698         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5699         (generates_key_typed_event): Change to handle only certain
5700         keyvals.
5701         (awt_event_handler): Add special handling for GtkTextView.
5702         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
5703         (textcomponent_commit_cb): New function.
5704         (textcomponent_changed_cb): Likewise.
5705         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
5706         (connectHooks): Remove.
5707
5708 2003-07-23  Tom Tromey  <tromey@redhat.com>
5709
5710         * java/lang/natSystem.cc (arraycopy): Check for overflow.
5711
5712         * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
5713
5714 2003-07-22  Tom Tromey  <tromey@redhat.com>
5715
5716         * boehm.cc (_Jv_BuildGCDescr): Wrote.
5717         Include limits.h.
5718
5719 2003-07-22  Tom Tromey  <tromey@redhat.com>
5720
5721         * java/awt/Window.java (getWarningString): Just return the
5722         string.
5723         (Window): Set warningString; check with security manager.
5724
5725 2003-07-22  Scott Gilbertson  <scottg@mantatest.com>
5726
5727         * gnu/awt/xlib/XGraphicsConfiguration.java
5728         (FontMetricsCache): Made static.
5729  
5730 2003-07-22  Tom Tromey  <tromey@redhat.com>
5731
5732         * java/net/URLEncoder.java (encode(String)): Use platform default
5733         encoding.
5734         (encode(String,String)): Convert to 2-digit upper-case hex
5735         number.
5736         (hex): New field.
5737
5738 2003-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
5739
5740         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5741         (create): Remove unused method implementation.
5742         (connectHooks): Remove debug messages.
5743
5744 2003-07-20  Anthony Green  <green@redhat.com>
5745
5746         * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
5747         CloneNotSupportedException.
5748         * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
5749         * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
5750         * gnu/gcj/xlib/GC.java (clone): Ditto.
5751         * gnu/awt/xlib/XGraphics.java (clone): Ditto.
5752         * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
5753
5754         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
5755         handler.
5756         * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
5757
5758 2003-07-20  Steve Pribyl <steve@netfuel.com.>
5759
5760         * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
5761         String.  Put dlerror() message into exception.
5762         Include UnsatisfiedLinkError.
5763         * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
5764         String.  Now native.
5765
5766 2003-07-20  Tom Tromey  <tromey@redhat.com>
5767
5768         * java/lang/Runtime.java: Comment fix.
5769         * java/lang/ClassLoader.java (isAncestorOf): New method.
5770         (getParent): Uncommented security check.  Use isAncestorOf.
5771         * include/jvm.h (_Jv_CheckAccess): Declare.
5772         * java/lang/reflect/natConstructor.cc (newInstance): Perform
5773         access check.
5774         Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
5775         * java/lang/reflect/natArray.cc (newInstance): Pass caller's
5776         class loader to _Jv_GetArrayClass.
5777         Include ArrayIndexOutOfBoundsException.h.
5778         * java/lang/reflect/Field.java: Update comment to reflect status.
5779         (equals): Fixed indentation.
5780         * java/lang/Class.h (Class): Declare memberAccessCheck, not
5781         checkMemberAccess.  Make _Jv_CheckAccess a friend.
5782         * java/lang/Class.java (memberAccessCheck): New method from
5783         Classpath.
5784         (checkMemberAccess): Removed.
5785         (getDeclaredMethod): Use memberAccessCheck.
5786         (getField): Likewise.
5787         (getMethod): Likewise.
5788         * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
5789         (_Jv_SearchMethodInClass): Likewise.
5790         * prims.cc (_Jv_CheckAccess): New function.
5791         * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
5792         (_Jv_JNI_GetAnyFieldID): Likewise.
5793         * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
5794         (getClassLoader): Added security check.
5795         (getConstructor): Call memberAccessCheck.
5796         (getDeclaredClasses): Likewise.
5797         (getDeclaredField): Likewise.
5798         (getDeclaredFields): Likewise.
5799         (_getConstructors): Likewise.
5800         (getDeclaredConstructor): Likewise.
5801         (getDeclaredMethods): Likewise.
5802         (getFields): Likewise.
5803         (getMethods): Likewise.
5804         (newInstance): Likewise.
5805         (_Jv_MakeVTable): Put method name in exception.
5806         * java/lang/reflect/natMethod.cc (getType): Use
5807         getClassLoaderInternal.
5808         (_Jv_GetTypesFromSignature): Likewise.
5809         (invoke): Perform access check.
5810         (_Jv_CallAnyMethodA): Removed old FIXME comments.
5811         Include ArrayIndexOutOfBoundsException.h.
5812         * java/lang/reflect/natField.cc (getType): Use
5813         getClassLoaderInternal.
5814         (_Jv_CheckFieldAccessibility): Removed.
5815         (getAddr): Use _Jv_CheckAccess; find caller.
5816         Include ArrayIndexOutOfBoundsException.h.
5817
5818 2003-07-20  Michael Koch  <konqueror@gmx.de>
5819
5820         * java/net/URL.java
5821         (URL): Fixed documentation to name an argument correcty, Reformatted
5822         one method declaration.
5823         (getURLStreamHandler): Added documentation from classpath.
5824
5825 2003-07-19  Tom Tromey  <tromey@redhat.com>
5826
5827         * mauve-libgcj: Don't run CollationElementIterator tests.
5828
5829 2003-07-19  Jeroen Frijters <jeroen@sumatra.nl>
5830
5831         * java/net/URLClassLoader.java (addURL): Moved implementation to
5832         private addURLImpl() to avoid calling addURL from the constructor.
5833         (addURLImpl): Contains the code that was previously in addURL.
5834         (addURLs): Call addURLImpl(), not addURL().
5835
5836 2003-07-18  Graydon Hoare  <graydon@redhat.com>
5837
5838         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 
5839         Handle missing event cases, connect to "value-changed" signal.
5840
5841 2003-07-18  Graydon Hoare  <graydon@redhat.com>
5842
5843         * java/awt/geom/CubicCurve2D.java,
5844         java/awt/geom/Line2D.java,
5845         java/awt/geom/QuadCurve2D.java,
5846         java/awt/geom/Rectangle2D.java: 
5847         Fix path some calculations, make path iterators follow
5848         a consistent style.
5849
5850 2003-07-18  Mark Wielaard  <mark@klomp.org>
5851
5852         * java/util/logging/Handler.java (isLoggable): Check record level
5853         smaller or equal.
5854
5855 2003-07-17  Michael Koch  <konqueror@gmx.de>
5856
5857         * gnu/java/awt/peer/gtk/GtkToolkit.java:
5858         Reworked imports.
5859
5860 2003-07-14  Michael Koch  <konqueror@gmx.de>
5861
5862         * gnu/java/rmi/server/UnicastServerRef.java:
5863         New version from classpath.
5864
5865 2003-07-14  Michael Koch  <konqueror@gmx.de>
5866
5867         * java/awt/image/MemoryImageSource.java,
5868         java/beans/PropertyEditorManager.java,
5869         javax/naming/CompoundName.java,
5870         javax/naming/spi/NamingManager.java,
5871         javax/swing/AbstractButton.java,
5872         javax/swing/ButtonModel.java,
5873         javax/swing/SwingUtilities.java,
5874         javax/swing/UIManager.java,
5875         javax/swing/colorchooser/DefaultColorSelectionModel.java,
5876         javax/swing/event/AncestorEvent.java,
5877         javax/swing/event/InternalFrameEvent.java,
5878         java/util/zip/ZipFile.java:
5879         New versions from classpath.
5880
5881 2003-07-13  Michael Koch  <konqueror@gmx.de>
5882
5883         * gnu/java/nio/FileChannelImpl.java,
5884         gnu/java/nio/natFileChannelImpl.cc: Removed.
5885         * java/io/FileInputStream.java,
5886         java/io/FileOutputStream.java,
5887         java/io/RandomAccessFile.java,
5888         java/nio/MappedByteBufferImpl.java:
5889         Import java.nio.channels.FileChannelImpl instead of
5890         gnu.java.nio.FileChannelImpl.
5891         * java/nio/channels/FileChannelImpl.java,
5892         java/nio/channels/natFileChannelImpl.cc:
5893         New files.
5894         * Makefile.am
5895         (ordinary_java_source_files):
5896         Removed gnu/java/nio/FileChannelImpl.java and added
5897         java/nio/channels/FileChannelImpl.java.
5898         (nat source_files):
5899         Removed gnu/java/nio/natFileChannelImpl.cc and added
5900         java/nio/channels/natFileChannelImpl.cc.
5901         * Makefile.in: Regenerated.
5902
5903 2003-07-13  Michael Koch  <konqueror@gmx.de>
5904
5905         * javax/swing/plaf/basic/BasicBorders.java,
5906         javax/swing/plaf/basic/BasicLabelUI.java,
5907         javax/swing/plaf/basic/BasicLookAndFeel.java,
5908         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5909         javax/swing/plaf/basic/BasicTextUI.java,
5910         javax/swing/plaf/metal/MetalLookAndFeel.java:
5911         New versions from classpath.
5912
5913 2003-07-13  Michael Koch  <konqueror@gmx.de>
5914
5915         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
5916         * gnu/java/awt/peer/gtk/GdkGraphics.java
5917         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
5918         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
5919         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
5920         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
5921         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
5922         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
5923         * gnu/java/awt/peer/gtk/GtkClipboard.java
5924         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
5925         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
5926         * gnu/java/awt/peer/gtk/GtkFramePeer.java
5927         * gnu/java/awt/peer/gtk/GtkGenericPeer.java
5928         * gnu/java/awt/peer/gtk/GtkImage.java
5929         * gnu/java/awt/peer/gtk/GtkImagePainter.java
5930         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
5931         * gnu/java/awt/peer/gtk/GtkListPeer.java
5932         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
5933         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
5934         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
5935         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
5936         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
5937         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
5938         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
5939         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
5940         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
5941         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
5942         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5943         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
5944
5945 2003-07-13  Michael Koch  <konqueror@gmx.de>
5946
5947         * gnu/java/locale/LocaleInformation_de.java
5948         * gnu/java/locale/LocaleInformation_en.java
5949         * gnu/java/locale/LocaleInformation_nl.java
5950
5951 2003-07-13  Michael Koch  <konqueror@gmx.de>
5952
5953         * gnu/java/awt/EmbeddedWindow.java,
5954         gnu/java/awt/EmbeddedWindowSupport.java,
5955         gnu/java/awt/natEmbeddedWindow.cc:
5956         New files.
5957         * java/awt/Window.java
5958         (Window): New constructor to support embedded windows.
5959         * Makefile.am
5960         (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
5961         gnu/java/awt/EmbeddedWindowSupport.java.
5962         (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
5963         * Makefile.in: Regenerated.
5964
5965 2003-07-11  Matt Kraai  <kraii@alumni.cmu.edu>
5966
5967         * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
5968         * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
5969         * java/awt/im/InputContext.java: Remove a redundant
5970         partial line.
5971
5972 2003-07-09  Tom Tromey  <tromey@redhat.com>
5973
5974         * Makefile.in: Rebuilt.
5975         * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
5976
5977 2003-07-09  Mark Wielaard  <mark@klomp.org>
5978
5979         * java/io/ObjectOutputStream.java (writeObject): break after
5980         calling writeClassDescriptor().
5981
5982 2003-07-09  Mark Mitchell  <mark@codesourcery.com>
5983
5984         * gcj/array.h (JvPrimClass): Don't parenthesize the output.
5985
5986 2003-07-09  Michael Koch  <konqueror@gmx.de>
5987
5988         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5989         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5990         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5991         gnu/java/awt/peer/gtk/GtkWindowPeer.java:
5992         Explicitly import used classes.
5993         * java/awt/Container.java: New version from classpath.
5994
5995 2003-07-09  Michael Koch  <konqueror@gmx.de>
5996
5997         * libgcj.pc.in: New file.
5998         * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
5999         * Makefile.in: Regenerated.
6000         * configure: Regenrated.
6001         * configure.in: Create libgcj.pc from libgcj.pc.in.
6002
6003 2003-07-08  Mark Wielaard <mark@klomp.org>
6004
6005         * gcj/cni.h: CNI now expands to Compiled Native Interface.
6006
6007         * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
6008         * java/lang/fdlibm.h: Likewise.
6009
6010 2003-07-07  Adam Megacz <adam@xwt.org>
6011
6012         * posix.cc: added #include<stdio.h>
6013                 
6014 2003-07-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
6015
6016         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
6017         formatting.
6018
6019         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
6020         (setCaretPosition, setEditable): Rely entirely on native
6021         implementation.
6022         (getArgs): Remove.
6023         (postTextEvent): New method.
6024         (handleEvent): New method.
6025         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
6026         method.
6027         * java/awt/event/ActionEvent.java (paramString): Fix formatting.
6028         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6029         (keysym_to_awt_keycode): Fix range checks.
6030         (generates_key_typed_event): New function.
6031         (awt_event_handler): Post AWT_KEY_RELEASED events to event
6032         queue.
6033         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6034         (gtkInit): Store TextComponent's postTextEvent method ID.
6035         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
6036         (setText): Post TEXT_VALUE_CHANGED event to event queue.
6037
6038 2003-07-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
6039
6040         * configure.in: Check for usleep declaration.
6041         * acconfig.h (HAVE_USLEEP_DECL): Provide template.
6042         * configure: Regenerate.
6043         * include/config.h.in: Likewise.
6044         * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
6045
6046 2003-07-01  Michael Koch  <konqueror@gmx.de>
6047
6048         * gnu/gcj/convert/natIconv.cc
6049         (iconv_init): Fixed possible memory leak by releasing allocated iconv
6050         handle.
6051
6052 2003-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
6053
6054         * glib-2.0.m4: New file.
6055         * gtk-2.0.m4: New file.
6056         * glib.m4: Remove.
6057         * gtk.m4: Remove.
6058         * configure.in: Update AM_PATH_GTK macro call to
6059         AM_PATH_GTK_2_0.  Likewise for AM_PATH_GLIB.
6060         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
6061         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
6062         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
6063         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
6064         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
6065         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
6066         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
6067         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
6068         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
6069         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
6070         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
6071         jni/gtk-peer/gthread-jni.c,
6072         jni/gtk-peer/gthread-jni.h:
6073         New versions from classpath.
6074         * aclocal.m4: Regenerate.
6075         * configure: Regenerate.
6076         * Makefile.in: Regenerate.
6077         * gcj/Makefile.in: Regenerate.
6078         * include/Makefile.in: Regenerate.
6079         * testsuite/Makefile.in: Regenerate.
6080
6081 2003-06-30  Gary Benson  <gbenson@redhat.com>
6082
6083         For PR libgcj/11349:
6084         * javax/naming/spi/NamingManager.java (getURLContext): Use
6085         correct name for factory class.
6086
6087 2003-06-28  Michael Koch  <konqueror@gmx.de>
6088
6089         * java/io/PrintStream.java
6090         (checkError): Call flush() instead of direct flushing of the Writer
6091         object.
6092         (print): Call print(String) instead of direct print method of the
6093         Writer Object.
6094         (println): Call println(String) instead of direct println method of the
6095         Writer Object.
6096         (write): Simplified.
6097
6098 2003-06-28  Michael Koch  <konqueror@gmx.de>
6099
6100         * java/net/ServerSocket.java
6101         (setChannel): New method.
6102         * java/net/Socket.java
6103         (setChannel): New method.
6104
6105 2003-06-27  Michael Koch  <konqueror@gmx.de>
6106
6107         * java/beans/beancontext/BeanContextSupport.java:
6108         New version from classpath.
6109
6110 2003-06-27  Michael Koch  <konqueror@gmx.de>
6111
6112         * java/awt/Window.java,
6113         java/awt/font/GraphicAttribute.java,
6114         java/awt/font/ImageGraphicAttribute.java,
6115         java/awt/image/DataBufferByte.java,
6116         java/awt/image/DataBufferInt.java,
6117         java/awt/image/DataBufferUShort.java,
6118         java/awt/image/DirectColorModel.java,
6119         java/awt/image/PixelGrabber.java:
6120         New versions from classpath.
6121
6122 2003-06-27  Michael Koch  <konqueror@gmx.de>
6123
6124         * java/security/Certificate.java
6125         (getGuarantor): Removed wrong @deprecated tag.
6126         (getPrincipal): Likewise.
6127         (getPublicKey): Likewise.
6128         (encode): Likewise.
6129         (decode): Likewise.
6130         (getFormat): Likewise.
6131         (toString): Likewise.
6132         * java/security/cert/PolicyQualifierInfo.java
6133         (PolicyQualifierInfo): Made final.
6134         * javax/security/auth/x500/X500Principal.java
6135         (serialVersionUID): New member variable.
6136
6137 2003-06-27  Michael Koch  <konqueror@gmx.de>
6138
6139         * java/text/Format.java
6140         (serialVersionUID): Fixed value.
6141
6142 2003-06-27  Michael Koch  <konqueror@gmx.de>
6143
6144         * java/net/Inet4Address.java
6145         (Inet4Address): Made package-private.
6146         * java/net/Inet6Address.java
6147         (Inet4Address): Made package-private.
6148
6149 2003-06-27  Michael Koch  <konqueror@gmx.de>
6150
6151         * java/io/RandomAccessFile.java
6152         (readLine): Removed wrong @deprecated tag.
6153         (getChannel): Made final.
6154
6155 2003-06-27  Michael Koch  <konqueror@gmx.de>
6156
6157         * gnu/java/nio/FileChannelImpl.java
6158         (write): Removed.
6159
6160 2003-06-27  Michael Koch  <konqueror@gmx.de>
6161
6162         * java/nio/ByteBufferImpl.java
6163         (ByteBufferImpl): Made it a package-private class
6164         * java/nio/CharBufferImpl.java
6165         (CharBufferImpl): Made it a package-private class
6166         * java/nio/DirectByteBufferImpl.java
6167         (DirectByteBufferImpl): Made it a package-private class
6168         * java/nio/DoubleBufferImpl.java
6169         (DoubleBufferImpl): Made it a package-private class
6170         * java/nio/FloatBufferImpl.java
6171         (FloatBufferImpl): Made it a package-private class
6172         * java/nio/IntBufferImpl.java
6173         (IntBufferImpl): Made it a package-private class
6174         * java/nio/LongBufferImpl.java
6175         (LongBufferImpl): Made it a package-private class
6176         * java/nio/ShortBufferImpl.java
6177         (ShortBufferImpl): Made it a package-private class
6178         * java/nio/channels/FileChannel.java
6179         (write): Made final.
6180         * java/nio/channels/ServerSocketChannel.java
6181         (ServerSocketChanne): Made protected.
6182
6183 2003-06-27  Michael Koch  <konqueror@gmx.de>
6184
6185         * javax/naming/CompositeName.java
6186         (serialVersionUID): New member variable.
6187         * javax/naming/CompoundName.java
6188         (serialVersionUID): New member variable.
6189         * javax/naming/InitialContext.java
6190         (InitialContext): Throws NamingException.
6191         (init): Likewise.
6192         * javax/naming/LinkRef.java
6193         (serialVersionUID): New member variable.
6194         (gteLinkName): Throws NamingException.
6195         * javax/naming/NamingException.java
6196         (serialVersionUID): New member variable.
6197         * javax/naming/NamingSecurityException.java
6198         (NamingSecurityException): Made abstract.
6199         (serialVersionUID): New member variable.
6200         * javax/naming/ReferralException.java
6201         (serialVersionUID): New member variable.
6202         * javax/naming/StringRefAddr.java
6203         (serialVersionUID): New member variable.
6204         * javax/naming/directory/BasicAttribute.java:
6205         Reworked imports.
6206         (serialVersionUID): New member variable.
6207         (get): Throws NamingException.
6208         (getAll): Throws NamingException.
6209         * javax/naming/directory/BasicAttributes.java:
6210         Reworked imports.
6211         (serialVersionUID): New member variable.
6212         * javax/naming/ldap/UnsolicitedNotificationEvent.java
6213         (serialVersionUID): New member variable.
6214
6215 2003-06-27  Michael Koch  <konqueror@gmx.de>
6216
6217         * Makefile.am
6218         (awt_java_source_files): Added new files:
6219         javax/swing/Popup.java,
6220         javax/swing/PopupFactory.java
6221         * Makefile.in: Regenerated.
6222
6223 2003-06-27  Michael Koch  <konqueror@gmx.de>
6224
6225         * javax/swing/JWindow.java,
6226         javax/swing/event/AncestorEvent.java,
6227         javax/swing/event/HyperlinkEvent.java,
6228         javax/swing/event/InternalFrameEvent.java,
6229         javax/swing/event/ListDataEvent.java,
6230         javax/swing/event/TableModelEvent.java,
6231         javax/swing/plaf/PopupMenuUI.java,
6232         javax/swing/plaf/SplitPaneUI.java,
6233         javax/swing/plaf/TabbedPaneUI.java,
6234         javax/swing/plaf/TextUI.java,
6235         javax/swing/plaf/TreeUI.java,
6236         javax/swing/plaf/basic/BasicTextUI.java,
6237         javax/swing/plaf/basic/BasicTreeUI.java:
6238         New versions from classpath.
6239         * javax/swing/Popup.java,
6240         javax/swing/PopupFactory.jav:
6241         New source files from classpath.
6242         * javax/swing/plaf/doc-files/TreeUI-1.png:
6243         New binary files from classpath.
6244
6245 2003-06-25  Michael Koch  <konqueror@gmx.de>
6246
6247         * Makefile.am
6248         (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
6249         * Makefile.in: Regenerated.
6250
6251 2003-06-25  Michael Koch  <konqueror@gmx.de>
6252
6253         * javax/swing/plaf/ActionMapUIResource.java,
6254         javax/swing/plaf/BorderUIResource.java,
6255         javax/swing/plaf/ButtonUI.java,
6256         javax/swing/plaf/ColorChooserUI.java,
6257         javax/swing/plaf/ColorUIResource.java,
6258         javax/swing/plaf/ComboBoxUI.java,
6259         javax/swing/plaf/ComponentInputMapUIResource.java,
6260         javax/swing/plaf/ComponentUI.java,
6261         javax/swing/plaf/DesktopIconUI.java,
6262         javax/swing/plaf/DesktopPaneUI.java,
6263         javax/swing/plaf/DimensionUIResource.java,
6264         javax/swing/plaf/FileChooserUI.java,
6265         javax/swing/plaf/FontUIResource.java,
6266         javax/swing/plaf/IconUIResource.java,
6267         javax/swing/plaf/InputMapUIResource.java,
6268         javax/swing/plaf/InsetsUIResource.java,
6269         javax/swing/plaf/InternalFrameUI.java,
6270         javax/swing/plaf/LabelUI.java,
6271         javax/swing/plaf/ListUI.java,
6272         javax/swing/plaf/MenuBarUI.java,
6273         javax/swing/plaf/MenuItemUI.java,
6274         javax/swing/plaf/OptionPaneUI.java,
6275         javax/swing/plaf/PanelUI.java,
6276         javax/swing/plaf/ProgressBarUI.java,
6277         javax/swing/plaf/RootPaneUI.java,
6278         javax/swing/plaf/ScrollBarUI.java,
6279         javax/swing/plaf/ScrollPaneUI.java,
6280         javax/swing/plaf/SeparatorUI.java,
6281         javax/swing/plaf/SliderUI.java,
6282         javax/swing/plaf/TableHeaderUI.java,
6283         javax/swing/plaf/TableUI.java,
6284         javax/swing/plaf/ToolBarUI.java,
6285         javax/swing/plaf/ToolTipUI.java,
6286         javax/swing/plaf/ViewportUI.java:
6287         New versions from classpath.
6288         * javax/swing/plaf/SpinnerUI.java: 
6289         New file from classpath
6290
6291 2003-06-25  Michael Koch  <konqueror@gmx.de>
6292
6293         * java/awt/image/ColorModel.java:
6294         New version from classpath.
6295
6296 2003-06-25  Michael Koch  <konqueror@gmx.de>
6297
6298         * java/net/PlainDatagramSocketImpl.java:
6299         Partly merged with classpath, this mainly adds documentation.
6300
6301 2003-06-25  Michael Koch  <konqueror@gmx.de>
6302
6303         * java/io/ObjectInputStream.java
6304         (readClassDescriptor): New method.
6305         (readObject): Moved functionality to readClassDescriptor().
6306         * java/io/ObjectOutputStream.java
6307         (writeClassDescriptor): New method.
6308         (writeObject): Moved functionality to writeClassDescriptor().
6309
6310 2003-06-25  Michael Koch  <konqueror@gmx.de>
6311
6312         * javax/swing/plaf/basic/BasicListUI.java,
6313         javax/swing/plaf/basic/BasicOptionPaneUI.java:
6314         Added missing methods.
6315
6316 2003-06-25  Michael Koch  <konqueror@gmx.de>
6317
6318         * javax/swing/event/AncestorEvent.java
6319         javax/swing/event/HyperlinkEvent.java
6320         javax/swing/event/InternalFrameEvent.java
6321         javax/swing/event/ListDataEvent.java
6322         javax/swing/event/TableModelEvent.java:
6323         Compile fixes.
6324
6325 2003-06-24  Michael Koch  <konqueror@gmx.de>
6326
6327         * java/net/URL.java:
6328         Renamed "handler" to "ph" in the whole file to match classpaths
6329         version.
6330         * java/net/URLStreamHandler.java:
6331         (equals): Renamed "handler" to "ph".
6332
6333 2003-06-24  Michael Koch  <konqueror@gmx.de>
6334
6335         * javax/swing/event/AncestorEvent.java,
6336         javax/swing/event/HyperlinkEvent.java,
6337         javax/swing/event/InternalFrameEvent.java,
6338         javax/swing/event/ListDataEvent.java,
6339         javax/swing/event/TableModelEvent.java,
6340         javax/swing/event/TreeWillExpandListener.java,
6341         javax/swing/plaf/ComponentUI.java,
6342         javax/swing/plaf/DesktopIconUI.java,
6343         javax/swing/plaf/DesktopPaneUI.java,
6344         javax/swing/plaf/DimensionUIResource.java,
6345         javax/swing/plaf/FileChooserUI.java,
6346         javax/swing/plaf/FontUIResource.java,
6347         javax/swing/plaf/IconUIResource.java,
6348         javax/swing/plaf/InputMapUIResource.java,
6349         javax/swing/plaf/InsetsUIResource.java,
6350         javax/swing/plaf/InternalFrameUI.java,
6351         javax/swing/plaf/LabelUI.java,
6352         javax/swing/plaf/ListUI.java,
6353         javax/swing/plaf/MenuBarUI.java,
6354         javax/swing/plaf/MenuItemUI.java,
6355         javax/swing/plaf/OptionPaneUI.java,
6356         javax/swing/plaf/PanelUI.java,
6357         javax/swing/plaf/ProgressBarUI.java,
6358         javax/swing/plaf/doc-files/ComponentUI-1.dia,
6359         javax/swing/plaf/doc-files/ComponentUI-1.png:
6360         New versions from classpath.
6361
6362 2003-06-24  Michael Koch  <konqueror@gmx.de>
6363
6364         * java/nio/Buffer.java
6365         (cap): Made package-private.
6366         (pos): Likewise.
6367         (limit): Likewise.
6368         (mark): Likewise.
6369
6370 2003-06-24  Michael Koch  <konqueror@gmx.de>
6371
6372         * java/net/SocketImpl.java
6373         (shutdownInput): Made it non-abstract method throwing an exception
6374         like in SUNs JRE.
6375         (shutdownOutput): Likewise.
6376         * java/net/SocketInputStream.java,
6377         java/net/SocketOutputStream.java:
6378         New files from classpath.
6379
6380 2003-06-24  Michael Koch  <konqueror@gmx.de>
6381
6382         * java/awt/Font.java,
6383         java/awt/Window.java,
6384         java/awt/color/ColorSpace.java,
6385         java/awt/datatransfer/StringSelection.java,
6386         java/awt/image/ColorModel.java:
6387         New versions from classpath.
6388
6389 2003-06-24  Michael Koch  <konqueror@gmx.de>
6390
6391         * Makefile.am
6392         (awt_java_source_files): Added new files:
6393         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
6394         javax/swing/plaf/basic/BasicSplitPaneUI.java
6395         * Makefile.in: Regenerated.
6396
6397 2003-06-24  Michael Koch  <konqueror@gmx.de>
6398
6399         * javax/swing/text/JTextComponent.java:
6400         New version from classpath.
6401
6402 2003-06-24  Michael Koch  <konqueror@gmx.de>
6403
6404         * javax/swing/Timer.java,
6405         javax/swing/plaf/ActionMapUIResource.java,
6406         javax/swing/plaf/ButtonUI.java,
6407         javax/swing/plaf/ColorChooserUI.java,
6408         javax/swing/plaf/ColorUIResource.java,
6409         javax/swing/plaf/ComboBoxUI.java,
6410         javax/swing/plaf/ComponentInputMapUIResource.java,
6411         javax/swing/plaf/basic/BasicBorders.java:
6412         New versions from classpath.
6413         * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
6414         javax/swing/plaf/basic/BasicSplitPaneUI.java:
6415         New file from classpath.
6416         * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
6417         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
6418         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
6419         javax/swing/plaf/doc-files/ComponentUI-1.dia,
6420         javax/swing/plaf/doc-files/ComponentUI-1.png:
6421         New binary files from classpath.
6422
6423 2003-06-24  Michael Koch  <konqueror@gmx.de>
6424
6425         * java/io/LineNumberReader.java
6426         (skip): Dont do line number accounting here as this is already done in
6427         read(), simplified.
6428
6429 2003-06-21  Michael Koch  <konqueror@gmx.de>
6430
6431         * java/io/File.java
6432         (static): Load javaio lib if existing (only in classpath).
6433         (File): Revised documentation to show the correct argument name.
6434         (createTempFile): Partly merged with classpath.
6435         (compareTo): Simplified.
6436         (lastModified): Throw exception if time < 0.
6437         (deleteOnExit): Revised documentation.
6438
6439 2003-06-21  Michael Koch  <konqueror@gmx.de>
6440
6441         * java/net/PlainSocketImpl.java:
6442         Reformatted.
6443         (PlainSocketImpl): Merged class documentaion with classpath.
6444         (in): Moved.
6445         (out): Moved.
6446         (PlainSocketImpl): New empty constructor.
6447         (finalize): Moved.
6448         (setOption): Merged documentation from classpath.
6449         (getOption): Likewise.
6450         (create): Likewise.
6451         (connect): Likewise.
6452         (bind): Likewise.
6453         (listen): Likewise.
6454         (accept): Likewise.
6455         (available): Likewise.
6456         (close): Likewise.
6457         (read): Likewise.
6458         (write): Likewise.
6459         (getInputStream): Made synchronozed to get sure that only one stream
6460         object can be created for this socket, merged documentation from
6461         classpath.
6462         (getOutputStream): Likewise.
6463
6464 2003-06-21  Michael Koch  <konqueror@gmx.de>
6465
6466         * java/net/PlainSocketImpl.java:
6467         Reformatting.
6468         (static): New implicit method.
6469         (read): Made package private.
6470         (write): Likewise.
6471
6472 2003-06-21  Michael Koch  <konqueror@gmx.de>
6473
6474         * java/util/SimpleTimeZone.java:
6475         Removed unneeded import, reformatting.
6476
6477 2003-06-21  Michael Koch  <konqueror@gmx.de>
6478
6479         * java/text/DateFormat.java,
6480         java/text/SimpleDateFormat.java,
6481         java/util/Locale.java:
6482         New versions from classpath.
6483
6484 2003-06-21  Michael Koch  <konqueror@gmx.de>
6485
6486         * javax/swing/SpinnerModel.java:
6487         New file from classpath.
6488         * javax/swing/border/LineBorder.java,
6489         javax/swing/border/SoftBevelBorder.java,
6490         javax/swing/plaf/BorderUIResource.java,
6491         javax/swing/plaf/basic/BasicBorders.java:
6492         New versions from classpath.
6493         * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
6494         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
6495         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
6496         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
6497         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
6498         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
6499         New binary files from classpath.
6500
6501 2003-06-21  Michael Koch  <konqueror@gmx.de>
6502
6503         * java/util/logging/LogRecord.java,
6504         java/util/logging/Logger.java,
6505         java/util/logging/SocketHandler.java,
6506         java/util/logging/SimpleFormatter.java,
6507         java/util/logging/Formatter.java,
6508         java/util/logging/ErrorManager.java,
6509         java/util/logging/Handler.java,
6510         java/util/logging/FileHandler.java,
6511         java/util/logging/LogManager.java,
6512         java/util/logging/Level.java,
6513         java/util/logging/ConsoleHandler.java,
6514         java/util/logging/StreamHandler.java,
6515         java/util/logging/LoggingPermission.java,
6516         java/util/logging/Filter.java,
6517         java/util/logging/MemoryHandler.java,
6518         java/util/logging/XMLFormatter.java:
6519         New files from classpath.
6520
6521 2003-06-20  Michael Koch  <konqueror@gmx.de>
6522
6523         * java/io/ObjectStreamField.java
6524         (unshared): new member variable.
6525         (ObjectStreamField): New constructor.
6526         (isUnshared): New method.
6527
6528 2003-06-20  Michael Koch  <konqueror@gmx.de>
6529
6530         * java/net/URLStreamHandler.java
6531         (hostsEqual): Rewritten.
6532
6533 2003-06-20  Michael Koch  <konqueror@gmx.de>
6534
6535         * gnu/java/nio/MappedByteFileBuffer.java,
6536         gnu/java/nio/natMappedByteFileBuffer.cc:
6537         Removed
6538         * java/nio/MappedByteBufferImpl.java:
6539         New file.
6540         * gnu/java/nio/FileChannelImpl.java:
6541         Use MappedByteBufferImpl instead of MappedByteFileBuffer.
6542         * Makefile.am
6543         (ordinary_java_source_files): Removed
6544         gnu/java/nio/MappedByteFileBuffer.java and added
6545         java/nio/MappedByteBufferImpl.java.
6546         (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
6547         * Makefile.in: Regenerated.
6548
6549 2003-06-19  Michael Koch  <konqueror@gmx.de>
6550
6551         * gnu/java/nio/DatagramChannelImpl.java
6552         (fd): Removed.
6553         (blocking): New member variable.
6554         (socket): Likewise.
6555         (DatagramChannelImpl): Throws IOException, initialize socket.
6556         (socket):Implemented.
6557         (implCloseSelectableChannel): Throws IOException, implemented.
6558         (implConfigureBlocking): Likewise.
6559         (connect): Likewise.
6560         (disconnect): Likewise.
6561         (isConnected): Likewise.
6562         (write): Likewise.
6563         (read): Likewise.
6564         (receive): Throws IOException.
6565         (send): Likewise.
6566         * gnu/java/nio/SocketChannelImpl.java
6567         (read): Implemented.
6568         (write): Implemented.
6569
6570 2003-06-19  Michael Koch  <konqueror@gmx.de>
6571
6572         * javax/swing/JComponent.java,
6573         javax/swing/JInternalFrame.java,
6574         javax/swing/MenuSelectionManager.java,
6575         javax/swing/SwingUtilities.java,
6576         javax/swing/ToggleButtonModel.java:
6577         New versions from classpath.
6578
6579 2003-06-19  Michael Koch  <konqueror@gmx.de>
6580
6581         * java/text/CollationElementIterator.java
6582         (NULLORDER): Initialize with -1 as JDK documentation says.
6583
6584 2003-06-19  Michael Koch  <konqueror@gmx.de>
6585
6586         * java/net/HttpURLConnection.java,
6587         java/net/Inet4Address.java,
6588         java/net/Inet6Address.java,
6589         java/net/SocketImpl.java,
6590         java/net/URLClassLoader.java:
6591         Reworked import statements.
6592         * java/net/InetAddress.java
6593         (getByAddress): Simplified.
6594         * java/net/ServerSocket.java
6595         (ServerSocket): Moved special handling during bind operation to
6596         bind().
6597         (bind): Handle different cases when trying to bind a socket.
6598         * java/net/URLConnection.java
6599         (getHeaderFieldDate): Merged with classpath.
6600         (getHeaderFieldInt): Likewise.
6601
6602 2003-06-19  Michael Koch  <konqueror@gmx.de>
6603
6604         * java/util/zip/InflaterInputStream.java
6605         (InflaterInputStream): Throw NullPointerException if in is null (as
6606         JDK does).
6607
6608 2003-06-19  Michael Koch  <konqueror@gmx.de>
6609
6610         * java/awt/Font.java
6611         javax/swing/UIManager.java
6612         javax/swing/border/AbstractBorder.java
6613         javax/swing/border/BevelBorder.java
6614         javax/swing/border/Border.java
6615         javax/swing/border/CompoundBorder.java
6616         javax/swing/border/EmptyBorder.java
6617         javax/swing/border/EtchedBorder.java
6618         javax/swing/border/LineBorder.java
6619         javax/swing/border/MatteBorder.java
6620         javax/swing/border/TitledBorder.java
6621         javax/swing/plaf/BorderUIResource.java
6622         javax/swing/plaf/basic/BasicBorders.java
6623         javax/swing/plaf/basic/BasicButtonUI.java
6624         javax/swing/plaf/basic/BasicCheckBoxUI.java
6625         javax/swing/plaf/basic/BasicGraphicsUtils.java
6626         javax/swing/plaf/basic/BasicLabelUI.java
6627         javax/swing/plaf/basic/BasicRadioButtonUI.java
6628         javax/swing/plaf/basic/BasicToggleButtonUI.java:
6629         New versions from classpath.
6630         * javax/swing/border/SoftBevelBorder.java:
6631         New file from classpath.
6632         * javax/swing/border/doc-files/LineBorder-1.png,
6633         javax/swing/border/doc-files/BevelBorder-1.png,
6634         javax/swing/border/doc-files/BevelBorder-2.png,
6635         javax/swing/border/doc-files/BevelBorder-3.png,
6636         javax/swing/border/doc-files/EmptyBorder-1.png,
6637         javax/swing/border/doc-files/EtchedBorder-1.png,
6638         javax/swing/border/doc-files/EtchedBorder-2.png,
6639         javax/swing/border/doc-files/MatteBorder-1.png,
6640         javax/swing/border/doc-files/MatteBorder-2.png,
6641         javax/swing/border/doc-files/MatteBorder-3.png,
6642         javax/swing/border/doc-files/MatteBorder-4.png,
6643         javax/swing/border/doc-files/MatteBorder-5.png,
6644         javax/swing/border/doc-files/MatteBorder-6.png,
6645         javax/swing/border/doc-files/SoftBevelBorder-1.png,
6646         javax/swing/border/doc-files/SoftBevelBorder-2.png,
6647         javax/swing/border/doc-files/SoftBevelBorder-3.png,
6648         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
6649         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
6650         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
6651         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
6652         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
6653         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
6654         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
6655         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
6656         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
6657         New binary files from classpath.
6658         * Makefile.am
6659         (awt_java_source_files): Added
6660         javax/swing/border/SoftBevelBorder.java.
6661         * Makefile.in: Regenerated.
6662
6663 2003-06-19  Michael Koch  <konqueror@gmx.de>
6664
6665         * gnu/java/security/x509/X509Certificate.java
6666         (writeReplace): Merged from classpath.
6667
6668 2003-06-19  Michael Koch  <konqueror@gmx.de>
6669
6670         * gnu/java/nio/FileChannelImpl.java
6671         (map_address): Made public.
6672         (FileChannelImpl): Merged with classpath.
6673         * gnu/java/nio/natFileChannelImpl.cc
6674         (nio_mmap_file): Commented out unused arguments.
6675         (nio_unmmap_file): Likewise.
6676         (niu_msync): Likewise.
6677
6678 2003-06-19  Michael Koch  <konqueror@gmx.de>
6679
6680         * java/awt/image/IndexColorModel.java:
6681         New version from classpath.
6682
6683 2003-06-18  Tom Tromey  <tromey@redhat.com>
6684
6685         * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
6686         on arrays.
6687         (isLoopbackAddress): Likewise.
6688         * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
6689         on arrays.
6690
6691 2003-06-18  Matt Kraai  <kraai@alumni.cmu.edu>
6692
6693         * java/lang/natVMSecurityManager.cc (getClassContext):
6694         Use maxlen instead of len for loop bound.
6695
6696 2003-06-18  Michael Koch  <konqueror@gmx.de>
6697
6698         * gnu/java/nio/SelectorImpl.java
6699         (register): Use fd with value 0 for now, will be fixed later.
6700         * gnu/java/nio/ServerSocketChannelImpl.java
6701         (fd): Removed.
6702         (local_port): Removed.
6703         (InetSocketAddress): Removed.
6704         (ServerSocketChannelImpl): Just initialize internal socket object.
6705         (implCloseSelectableChannel): Close internal socket object.
6706         (implConfigureBlocking): Added comment.
6707         (accept): Use jaba.net stuff to accept socket.
6708         * gnu/java/nio/SocketChannelImpl.java
6709         (fd): Removed.
6710         (local_port): Removed.
6711         (InetSocketAddress): Removed.
6712         (SocketCreate): Removed.
6713         (SocketConnect): Removed.
6714         (SocketBind): Removed.
6715         (SocketListen): Removed.
6716         (SocketAvailable): Removed.
6717         (SocketClose): Removed.
6718         (SocketRead): Removed.
6719         (SocketWrite): Removed.
6720         (SocketChannelImpl): Just initialize internal socket object.
6721         (implCloseSelectableChannel): Close internal socket object.
6722         (implConfigureBlocking): Fixed implementation, added comment.
6723         (connect): Use internal socket object to connect.
6724         (socket): No need for sanity checks.
6725         (read): Comment out some stuff, this will be reimplemented in the next
6726         commit.
6727         (write): Likewise.
6728         * gnu/java/nio/natFileChannelImpl.cc
6729         (nio_mmap_file): Line wrapped.
6730         * gnu/java/nio/natSocketChannelImpl.cc: Removed.
6731         * Makefile.am
6732         (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
6733         * Makefile.in: Regenerated.
6734
6735 2003-06-18  Michael Koch  <konqueror@gmx.de>
6736
6737         * java/util/Locale.java
6738         (equals): Merged from classpath.
6739
6740 2003-06-18  Michael Koch  <konqueror@gmx.de>
6741
6742         * java/net/InetAddress.java:
6743         Reformatted to better match classpath's version.
6744         * java/net/URL.java
6745         (equals): Simplified.
6746         * java/net/URLConnection.java
6747         (setDoInput): Revised documentation.
6748         (getDefaultUseCaches): Likewise.
6749         (setRequestProperty): Added @since tag.
6750
6751 2003-06-17  Michael Koch  <konqueror@gmx.de>
6752
6753         * java/net/InetSocketAddress.java
6754         (InetSocketAddress): Use wildcard address if addr is null.
6755         (InetSocketAddress): Dont duplicate implementation.
6756         (InetSocketAddress): Throw exception when hostname is null.
6757         * java/net/Socket.java:
6758         Reworked imports.
6759         (Socket): Throw exception when raddr is null, handle case when laddr
6760         is null.
6761
6762 2003-06-17  Michael Koch  <konqueror@gmx.de>
6763
6764         * java/nio/DirectByteBufferImpl.java
6765         (address): Made package private.
6766         (DirectByteBufferImpl): New constructor.
6767         * java/nio/natDirectByteBufferImpl.cc
6768         (allocateImpl): Moved to java.nio namespace, implemented.
6769         (freeImpl): Likewise.
6770         (getImpl): Likewise.
6771         (putImpl): Likewise.
6772         * jni.cc
6773         (_Jv_JNI_NewDirectByteBuffer): Implemented.
6774         (_Jv_JNI_GetDirectBufferAddress): Implemented.
6775         (_Jv_JNI_GetDirectBufferCapacity): Implemented.
6776
6777 2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
6778
6779         * include/powerpc-signal.h: New File.
6780         * configure.in: Use it.
6781         * configure: Regenerated.
6782
6783 2003-06-17  Michael Koch  <konqueror@gmx.de>
6784
6785         * java/util/Locale.java
6786         (getDisplayLanguage): Made it final.
6787         (getDisplayCountry): Likewise.
6788         (getDisplayVariant): Likewise.
6789         (getDisplayName): Likewise.
6790
6791 2003-06-17  Michael Koch  <konqueror@gmx.de>
6792
6793         * java/util/PropertyResourceBundle.java:
6794         Removed unneeded import.
6795
6796 2003-06-17  Michael Koch  <konqueror@gmx.de>
6797
6798         * java/util/prefs/AbstractPreferences.java,
6799         java/util/prefs/PreferencesFactory.java:
6800         Reworked imports, removed unused imports.
6801         * java/util/prefs/Preferences.java
6802         (systemNodeForPackage): Method takes a Class not an Object.
6803         (userNodeForPackage): Likewise.
6804         (nodeForPackage): Likewise.
6805
6806 2003-06-17  Michael Koch  <konqueror@gmx.de>
6807
6808         * gnu/java/security/x509/X509Certificate.java:
6809         Explicitely import used classes.
6810
6811 2003-06-17  Michael Koch  <konqueror@gmx.de>
6812
6813         * java/util/zip/ZipEntry.java,
6814         java/util/zip/ZipFile.java,
6815         java/util/zip/ZipInputStream.java,
6816         java/util/zip/ZipOutputStream.java:
6817         Reworked imports, only import used classes.
6818
6819 2003-06-17  Michael Koch  <konqueror@gmx.de>
6820
6821         * gnu/java/lang/ArrayHelper.java,
6822         gnu/java/lang/ClassHelper.java:
6823         Reformatted to match classpath's versions.
6824
6825 2003-06-14  Michael Koch  <konqueror@gmx.de>
6826
6827         * gnu/java/nio/FileChannelImpl.java
6828         (map_address): Removed incorrect comment.        
6829         * gnu/java/nio/SelectorImpl.java
6830         (register): Remove code duplication and code for file channel handling.        
6831         * gnu/java/nio/ServerSocketChannelImpl.java
6832         (serverSocket): Renamed from sock_object.
6833         (ServerSocketChannel): Initialize serverSocket.
6834         (socket): Return serverSocket.
6835         * gnu/java/nio/SocketChannelImpl.java
6836         (socket): Renamed from sock_object.
6837         (isConnectionPenging): Simplified.
6838         (socket): Return socket.
6839 2003-06-14  Michael Koch  <konqueror@gmx.de>
6840
6841         * java/security/BasicPermission.java:
6842         New version from classpath.
6843
6844 2003-06-14  Michael Koch  <konqueror@gmx.de>
6845
6846         * javax/naming/directory/Attribute.java:
6847         New version from classpath.
6848
6849 2003-06-14  Michael Koch  <konqueror@gmx.de>
6850
6851         * java/io/BufferedReader.java,
6852         java/io/FileOutputStream.java:
6853         New versions from classpath.
6854
6855 2003-06-12  Andrew Haley  <aph@redhat.com>
6856
6857         * prims.cc (catch_segv): Create exception in handler.
6858         (catch_fpe): Likewise.  
6859         (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
6860         (_Jv_ThrowSignal): Remove.
6861
6862         * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
6863         * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
6864         to nullp and arithexception.
6865         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6866         * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6867         * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6868         * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6869         * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
6870
6871 2003-06-11  Andrew Haley  <aph@redhat.com>
6872
6873         * jni.cc (_Jv_JNI_check_types): New.
6874         (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
6875         (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
6876         (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
6877         (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
6878         
6879         * java/lang/natVMSecurityManager.cc (getClassContext): Fix
6880         infinite loop.
6881
6882 2003-06-11  Tom Tromey  <tromey@redhat.com>
6883
6884         * java/lang/ClassLoader.java (loadClass): Not deprecated.
6885         * java/io/PrintStream.java: Not deprecated.
6886
6887 2003-06-11  Scott Gilbertson  <scottg@mantatest.com>
6888
6889         * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
6890         (fillOval): implemented
6891         * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
6892         (fillArc): implemented.
6893         * gnu/gcj/xlib/GC.java (drawArc): added native method.
6894         (fillArc): added native method.
6895         * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
6896         (fillArc): added native method.
6897
6898 2003-06-11  Michael Koch  <konqueror@gmx.de>
6899
6900         * java/awt/im/InputSubset.java:
6901         New version from classpath.
6902
6903 2003-06-11  Michael Koch  <konqueror@gmx.de>
6904
6905         * javax/swing/AbstractAction.java,
6906         javax/swing/AbstractButton.java,
6907         javax/swing/AbstractCellEditor.java,
6908         javax/swing/AbstractListModel.java,
6909         javax/swing/BorderFactory.java,
6910         javax/swing/Box.java,
6911         javax/swing/BoxLayout.java,
6912         javax/swing/ButtonGroup.java,
6913         javax/swing/DefaultButtonModel.java,
6914         javax/swing/DefaultListModel.java,
6915         javax/swing/DefaultListSelectionModel.java,
6916         javax/swing/FocusManager.java,
6917         javax/swing/ImageIcon.java,
6918         javax/swing/InputMap.java,
6919         javax/swing/JApplet.java,
6920         javax/swing/JButton.java,
6921         javax/swing/JCheckBox.java,
6922         javax/swing/JCheckBoxMenuItem.java,
6923         javax/swing/JColorChooser.java,
6924         javax/swing/JComboBox.java,
6925         javax/swing/JComponent.java,
6926         javax/swing/JDesktopPane.java,
6927         javax/swing/JDialog.java,
6928         javax/swing/JEditorPane.java,
6929         javax/swing/JFileChooser.java,
6930         javax/swing/JFormattedTextField.java,
6931         javax/swing/JFrame.java,
6932         javax/swing/JLabel.java,
6933         javax/swing/JLayeredPane.java,
6934         javax/swing/JList.java,
6935         javax/swing/JMenuBar.java,
6936         javax/swing/JMenuItem.java,
6937         javax/swing/JOptionPane.java,
6938         javax/swing/JPanel.java,
6939         javax/swing/JPasswordField.java,
6940         javax/swing/JPopupMenu.java,
6941         javax/swing/JProgressBar.java,
6942         javax/swing/JRadioButton.java,
6943         javax/swing/JRadioButtonMenuItem.java,
6944         javax/swing/JRootPane.java,
6945         javax/swing/JScrollBar.java,
6946         javax/swing/JScrollPane.java,
6947         javax/swing/JSeparator.java,
6948         javax/swing/JSlider.java,
6949         javax/swing/JTabbedPane.java,
6950         javax/swing/JTable.java,
6951         javax/swing/JTextField.java,
6952         javax/swing/JToggleButton.java,
6953         javax/swing/JToolBar.java,
6954         javax/swing/JToolTip.java,
6955         javax/swing/JTree.java,
6956         javax/swing/JViewport.java,
6957         javax/swing/JWindow.java,
6958         javax/swing/KeyStroke.java,
6959         javax/swing/ListSelectionModel.java,
6960         javax/swing/LookAndFeel.java,
6961         javax/swing/RepaintManager.java,
6962         javax/swing/ScrollPaneLayout.java,
6963         javax/swing/SizeRequirements.java,
6964         javax/swing/SwingConstants.java,
6965         javax/swing/Timer.java,
6966         javax/swing/UIDefaults.java,
6967         javax/swing/UIManager.java,
6968         javax/swing/border/AbstractBorder.java,
6969         javax/swing/border/CompoundBorder.java,
6970         javax/swing/colorchooser/AbstractColorChooserPanel.java,
6971         javax/swing/colorchooser/ColorChooserComponentFactory.java,
6972         javax/swing/colorchooser/ColorSelectionModel.java,
6973         javax/swing/colorchooser/DefaultColorSelectionModel.java,
6974         javax/swing/event/AncestorEvent.java,
6975         javax/swing/event/HyperlinkEvent.java,
6976         javax/swing/event/InternalFrameAdapter.java,
6977         javax/swing/event/InternalFrameEvent.java,
6978         javax/swing/event/ListDataEvent.java,
6979         javax/swing/event/MouseInputAdapter.java,
6980         javax/swing/event/SwingPropertyChangeSupport.java,
6981         javax/swing/event/TableModelEvent.java,
6982         javax/swing/event/TreeWillExpandListener.java,
6983         javax/swing/event/UndoableEditEvent.java,
6984         javax/swing/filechooser/FileFilter.java,
6985         javax/swing/filechooser/FileSystemView.java,
6986         javax/swing/filechooser/FileView.java,
6987         javax/swing/plaf/BorderUIResource.java,
6988         javax/swing/plaf/basic/BasicDefaults.java,
6989         javax/swing/table/AbstractTableModel.java,
6990         javax/swing/table/DefaultTableCellRenderer.java,
6991         javax/swing/table/DefaultTableColumnModel.java,
6992         javax/swing/table/DefaultTableModel.java,
6993         javax/swing/table/TableColumn.java,
6994         javax/swing/text/JTextComponent.java,
6995         javax/swing/tree/AbstractLayoutCache.java,
6996         javax/swing/tree/DefaultMutableTreeNode.java,
6997         javax/swing/tree/DefaultTreeCellEditor.java,
6998         javax/swing/tree/DefaultTreeCellRenderer.java,
6999         javax/swing/tree/DefaultTreeModel.java,
7000         javax/swing/tree/DefaultTreeSelectionModel.java,
7001         javax/swing/tree/FixedHeightLayoutCache.java,
7002         javax/swing/tree/TreeCellEditor.java,
7003         javax/swing/tree/TreeModel.java,
7004         javax/swing/tree/TreeNode.java,
7005         javax/swing/tree/TreePath.java,
7006         javax/swing/tree/TreeSelectionModel.java,
7007         javax/swing/tree/VariableHeightLayoutCache.java,
7008         javax/swing/undo/AbstractUndoableEdit.java,
7009         javax/swing/undo/CompoundEdit.java,
7010         javax/swing/undo/StateEdit.java,
7011         javax/swing/undo/UndoManager.java,
7012         javax/swing/undo/UndoableEditSupport.java:
7013         New versions from classpath.
7014         * javax/swing/table/JTableHeader.java:
7015         New file from classpath.
7016         * Makefile.am
7017         (java_awt_sources): Added javax/swing/table/JTableHeader.java.
7018         * Makefile.in: Regenerated.
7019
7020 2003-06-11  Michael Koch  <konqueror@gmx.de>
7021
7022         * java/nio/MappedByteBuffer.java,
7023         java/nio/channels/Channels.java,
7024         java/nio/channels/ServerSocketChannel.java,
7025         java/nio/channels/spi/AbstractSelector.java:
7026         Removed unneeded imports.
7027
7028 2003-06-11  Michael Koch  <konqueror@gmx.de>
7029
7030         * java/net/DatagramSocket.java:
7031         Partly merged with classpath.
7032
7033 2003-06-11  Michael Koch  <konqueror@gmx.de>
7034
7035         * java/awt/Frame.java,
7036         java/awt/Graphics.java,
7037         java/awt/Menu.java,
7038         java/awt/Robot.java,
7039         java/awt/image/ColorModel.java:
7040         New versions from classpath.
7041
7042 2003-06-10  Michael Koch  <konqueror@gmx.de>
7043
7044         * java/io/PrintStream.java:
7045         Merged version from classpath.
7046         (close): Removed sychronized keyword. This class is not garantied to
7047         be thread-safe.
7048         (write): Likewise.
7049
7050 2003-06-09  Tom Tromey  <tromey@redhat.com>
7051
7052         * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
7053         field.
7054         (getDescent): Likewise, for "descent".
7055
7056 2003-06-09  Scott Gilbertson  <scottg@mantatest.com>
7057
7058         * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
7059         (getMaxDescent): adjusted return value.
7060         (getAscent): modified to use metrics for 'O'.
7061         (getDescent): modified to use metrics for 'y'.
7062
7063 2003-06-08  Anthony Green  <green@redhat.com>
7064
7065         * java/net/URLStreamHandler.java (sameFile): Fix port value
7066         comparison.
7067         * java/net/URL.java (handler): Make package private.
7068         * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
7069
7070 2003-06-07  Tom Tromey  <tromey@redhat.com>
7071
7072         For PR libgcj/11085:
7073         * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
7074         Limit number of characters in numeric field when required.
7075         * java/text/DecimalFormat.java (parse(String,ParsePosition)):
7076         Respect maximumIntegerDigits.
7077
7078 2003-06-08  Michael Koch  <konqueror@gmx.de>
7079
7080         * java/net/Socket.java
7081         (Socket): Dont initialize inputShutdown and outputShutdown twice,
7082         call bind() and connect() to actually do the bind and connect tasks.
7083         (bind): Connect to canonical address if bindpoint is null, create
7084         socket and bind it to bindpoint.
7085         (connect): Check for exceptions.
7086
7087 2003-06-08  Michael Koch  <konqueror@gmx.de>
7088
7089         * java/net/DatagramSocket.java
7090         (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
7091         into the Multicast constructors.
7092         * java/net/DatagramSocketImpl.java
7093         (getOption): Removed.
7094         (setOption): Removed.
7095         * java/net/MulticastSocket.java
7096         (MulticastSocket): Call setReuseAddress (true).
7097         * java/net/SocketImpl.java
7098         (getOption): Removed.
7099         (setOption): Removed.
7100
7101 2003-06-07      Jeff Sturm      <jsturm@one-point.com>
7102
7103         PR libgcj/10886:
7104         * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
7105         Test for empty vector.
7106
7107 2003-06-06  Mark Wielaard  <mark@klomp.org>
7108
7109         * java/security/Security.java (secprops): Initialize.
7110         (loadProviders): Return boolean.
7111         (static): Check result of loadProvider calls. If necessary
7112         display WARNING and fallback to Gnu provider.
7113
7114 2002-06-06  James Clark  <jjc@jclark.com>
7115
7116         Fix for PR libgcj/8738:
7117         * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
7118         * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
7119         * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
7120         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
7121         (write): Always decrease avail when count is increased.
7122         * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
7123         and whether output buffer is full before increasing size.
7124
7125 2002-06-06  Mark Wielaard  <mark@klomp dot org>
7126
7127         * java/io/PrintStream.java (writeChars(char[],int, int)):
7128         Check converter.havePendingBytes().
7129         (writeChars(String,int,int)): Likewise.
7130         * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
7131         Check converter.havePendingBytes() and flush buffer when stalled.
7132
7133 2003-06-07  Michael Koch  <konqueror@gmx.de>
7134
7135         * include/posix.h
7136         (O_DSYNC): Define O_DSYNC on platforms not
7137         supporting O_FSYNC (newlib).
7138
7139 2003-06-06  Mark Wielaard  <mark@klomp.org>
7140
7141         * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
7142         AWTError.
7143
7144 2003-06-06  Michael Koch  <konqueror@gmx.de>
7145
7146         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
7147         More compile fixes from my stupid work yesterday.
7148
7149 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
7150
7151         * java/lang/w_exp.c (o_threshold, u_threshold): Define only
7152         if _IEEE_LIBM is undefined.
7153
7154 2002-06-05  Loren J. Rittle  <ljrittle@acm.org>
7155
7156         * libjava/include/posix.h (O_SYNC): Define if not available
7157         and a reasonable, perhaps more conservative, replacement exists.
7158         (O_DSYNC): Likewise.
7159         * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
7160
7161 2003-06-05  Michael Koch  <konqueror@gmx.de>
7162
7163         * javax/swing/plaf/BorderUIResource.java,
7164         javax/swing/plaf/basic/BasicDefaults.java,
7165         javax/swing/plaf/basic/BasicOptionPaneUI.java:
7166         More compile fixes for latest Border commit. I should not commit
7167         something in this heat here ...
7168
7169 2003-06-05  Michael Koch  <konqueror@gmx.de>
7170
7171         * javax/swing/border/BevelBorder.java
7172         (BevelBorder): Removed.
7173         * javax/swing/border/EmptyBorder.java:
7174         Reformatted.
7175         (EmptyBorder): Removed.
7176         (getBorderInsets): Dont use l, r, t and b.
7177         * javax/swing/border/EtchedBorder.java
7178         (EtchedBorder): Removed.
7179         * javax/swing/border/LineBorder.java
7180         (LineBorder): Removed.
7181         * javax/swing/border/MatteBorder.java
7182         (MatteBorder): Removed.
7183         * javax/swing/border/TitledBorder.java
7184         (defaultBorder): Use other default for now.
7185         (defaultFont): Likewise.
7186         (defaultColor): Likewise.
7187
7188 2003-06-05  Michael Koch  <konqueror@gmx.de>
7189
7190         * javax/swing/border/Border.java:
7191         New version from classpath.
7192
7193 2003-06-05  Michael Koch  <konqueror@gmx.de>
7194
7195         * javax/swing/border/AbstractBorder.java,
7196         javax/swing/border/BevelBorder.java,
7197         javax/swing/border/CompoundBorder.java,
7198         javax/swing/border/EmptyBorder.java,
7199         javax/swing/border/EtchedBorder.java,
7200         javax/swing/border/LineBorder.java,
7201         javax/swing/border/MatteBorder.java,
7202         javax/swing/border/TitledBorder.java:
7203         New versions from Classpath.
7204
7205 2003-06-05  Michael Koch  <konqueror@gmx.de>
7206
7207         * java/awt/Button.java,
7208         java/awt/Checkbox.java,
7209         java/awt/CheckboxMenuItem.java,
7210         java/awt/Choice.java,
7211         java/awt/Container.java,
7212         java/awt/Dialog.java,
7213         java/awt/EventQueue.java,
7214         java/awt/FileDialog.java,
7215         java/awt/Frame.java,
7216         java/awt/Label.java,
7217         java/awt/List.java,
7218         java/awt/Menu.java,
7219         java/awt/MenuItem.java,
7220         java/awt/Panel.java,
7221         java/awt/PopupMenu.java,
7222         java/awt/Rectangle.java,
7223         java/awt/ScrollPane.java,
7224         java/awt/Scrollbar.java,
7225         java/awt/TextArea.java,
7226         java/awt/TextField.java,
7227         java/awt/Window.java,
7228         java/awt/datatransfer/DataFlavor.java,
7229         java/awt/dnd/DragSource.java,
7230         java/awt/dnd/DragSourceContext.java,
7231         java/awt/event/HierarchyEvent.java,
7232         java/awt/event/MouseWheelEvent.java,
7233         java/awt/im/InputContext.java,
7234         java/awt/image/BufferedImage.java,
7235         java/awt/image/ComponentColorModel.java,
7236         java/awt/image/Raster.java,
7237         java/awt/image/WritableRaster.java,
7238         java/awt/peer/ComponentPeer.java,
7239         java/awt/print/PageFormat.java,
7240         java/awt/print/PrinterJob.java:
7241         New versions from Classpath.
7242
7243 2003-06-05  Scott Gilbertson  <scottg@mantatest.com>
7244
7245         * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
7246         numberFormat.setParseIntegerOnly(true).
7247
7248 2003-06-05  Bert Deknuydt  <Bert.Deknuydt@esat.kuleuven.ac.be>
7249
7250         * include/posix-threads.h: Include <machine/pal.h> on OSF.
7251
7252 2003-06-03  Andrew Haley  <aph@redhat.com>
7253
7254         * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
7255         stack volatile to prevent optimization from removing it.
7256
7257 2003-05-27  Michael Koch  <konqueror@gmx.de>
7258
7259         * java/util/zip/Deflater.java
7260         (FILTERED): Merged documentation from classpath.
7261         * java/util/zip/DeflaterOutputStream.java
7262         (DeflaterOutputStream): Merged documentation and argument validity
7263         check from classpath.
7264         (deflate): Merged documentation from classpath.
7265         (finish): Likewise.
7266         * java/util/zip/Inflater.java
7267         (Inflater): Merged class documentation from classpath.
7268         (zstream): Reordered.
7269         (is_finished): Reordered.
7270         (dict_needed): Reordered.
7271         (Inflater): Reordered, merged documentation from classpath.
7272         (end): Likewise.
7273         (finalize): Merged documentation from classpath.
7274         (finished): Likewise.
7275         (getAdler): Likewise.
7276         (getRemaining): Likewise.
7277         (getTotalIn): Likewise.
7278         (getTotalOut): Likewise.
7279         (inflate): Likewise.
7280         (needsDictionary): Likewise.
7281         (needsInput): Likewise.
7282         (reset): Likewise.
7283         (setDictionary): Likewise.
7284         (setInput): Likewise.
7285
7286 2003-05-27  Michael Koch  <konqueror@gmx.de>
7287
7288         * java/net/URLConnection.java
7289         (getHeaderFieldInt): Merged with classpath.
7290
7291 2003-05-27  Michael Koch  <konqueror@gmx.de>
7292
7293         * java/io/PrintStream.java
7294         (PrintStream): Reformatted.
7295         (PrintStream): New method, merged from classpath.
7296         (write): Reformatted.
7297
7298 2003-05-27  Michael Koch  <konqueror@gmx.de>
7299
7300         * java/lang/System.java:
7301         Explicitely import needed classes.
7302
7303 2003-05-26  Michael Koch  <konqueror@gmx.de>
7304
7305         * java/net/NetPermission.java,
7306         java/net/NetworkInterface.java,
7307         java/net/PasswordAuthentication.java,
7308         java/net/SocketPermission.java:
7309         New versions from classpath.
7310
7311 2003-05-25  Michael Koch  <konqueror@gmx.de>
7312
7313         * java/io/PushbackInputStream.java,
7314         java/net/Authenticator.java,
7315         java/net/ContentHandler.java,
7316         java/net/ContentHandlerFactory.java,
7317         java/net/DatagramSocket.java,
7318         java/net/DatagramSocketImpl.java,
7319         java/net/DatagramSocketImplFactory.java,
7320         java/net/FileNameMap.java,
7321         java/net/SocketImplFactory.java,
7322         java/net/SocketOptions.java,
7323         java/net/URLStreamHandlerFactory.java:
7324         Merged new versions from classpath.
7325
7326 2003-05-25  Michael Koch  <konqueror@gmx.de>
7327
7328         * java/awt/Checkbox.java,
7329         java/awt/Dialog.java,
7330         java/awt/Font.java,
7331         java/awt/Frame.java,
7332         java/awt/ScrollPaneAdjustable.java,
7333         java/awt/Scrollbar.java,
7334         java/awt/Window.java:
7335         New versions from classpath.
7336
7337 2003-05-22      Jeff Sturm      <jsturm@one-point.com>
7338
7339         PR libgcj/10838:
7340         * java/io/ObjectInputStream (enableResolveObject):
7341         Fixed spelling of permission name.
7342
7343 2003-05-20  Michael Koch  <konqueror@gmx.de>
7344
7345         * java/io/DataInputStream.java
7346         (convertFromUTF): Merged comment from classpath.
7347         * java/io/PrintStream.java
7348         (error_occured): Renamed from error, merged comment from classpath.
7349         (PrintStream): No need to initialized error.
7350         (checkError): Replace error with error_occurred.
7351         (setError): Likewise.
7352
7353 2003-05-20  Michael Koch  <konqueror@gmx.de>
7354
7355         * java/io/DataInputStream.java:
7356         Reformatted, Replaced < and & with html entitites in documentation.
7357         * java/io/File.java:
7358         Reformatted.
7359         * java/io/PrintWriter.java:
7360         Moved class documentation.
7361
7362 2003-05-20  Michael Koch  <konqueror@gmx.de>
7363
7364         * gnu/java/nio/ByteBufferImpl.java,
7365         gnu/java/nio/CharBufferImpl.java,
7366         gnu/java/nio/CharViewBufferImpl.java,
7367         gnu/java/nio/DirectByteBufferImpl.java,
7368         gnu/java/nio/DoubleBufferImpl.java,
7369         gnu/java/nio/DoubleViewBufferImpl.java,
7370         gnu/java/nio/FloatBufferImpl.java,
7371         gnu/java/nio/FloatViewBufferImpl.java,
7372         gnu/java/nio/IntBufferImpl.java,
7373         gnu/java/nio/IntViewBufferImpl.java,
7374         gnu/java/nio/LongBufferImpl.java,
7375         gnu/java/nio/LongViewBufferImpl.java,
7376         gnu/java/nio/natDirectByteBufferImpl.cc,
7377         gnu/java/nio/ShortBufferImpl.java,
7378         gnu/java/nio/ShortViewBufferImpl.java:
7379         Moved files to java/nio.
7380         * gnu/java/nio/SocketChannelImpl.java
7381         
7382         * java/nio/ByteBuffer.java,
7383         java/nio/CharBuffer.java,
7384         java/nio/DoubleBuffer.java,
7385         java/nio/FloatBuffer.java,
7386         java/nio/IntBuffer.java,
7387         java/nio/LongBuffer.java,
7388         java/nio/ShortBuffer.java:
7389         Dont import anything.
7390         * java/nio/ByteBufferImpl.java,
7391         java/nio/CharBufferImpl.java,
7392         java/nio/CharViewBufferImpl.java,
7393         java/nio/DirectByteBufferImpl.java,
7394         java/nio/DoubleBufferImpl.java,
7395         java/nio/DoubleViewBufferImpl.java,
7396         java/nio/FloatBufferImpl.java,
7397         java/nio/FloatViewBufferImpl.java,
7398         java/nio/IntBufferImpl.java,
7399         java/nio/IntViewBufferImpl.java,
7400         java/nio/LongBufferImpl.java,
7401         java/nio/LongViewBufferImpl.java,
7402         java/nio/natDirectByteBufferImpl.cc,
7403         java/nio/ShortBufferImpl.java,
7404         java/nio/ShortViewBufferImpl.java:
7405         Moved from gnu/java/nio.
7406         * Makefile.am
7407         (ordinary_java_source_files): Moved files from gnu/java/nio to
7408         java/nio.
7409         (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
7410         to java/nio.
7411         * Makefile.in: Regenerated.
7412
7413 2003-05-19  Michael Koch  <konqueror@gmx.de>
7414
7415         * java/util/Calendar.java
7416         (get): Not final anymore since JDK 1.4
7417         (set): Likewise.
7418
7419 2003-05-19  Michael Koch  <konqueror@gmx.de>
7420
7421         * java/text/CollationKey.java:
7422         Merged copyright and dat from classpath.
7423         * java/text/RuleBasedCollator.java:
7424         Merged class documentation from classpath.
7425
7426 2003-05-19  Michael Koch  <konqueror@gmx.de>
7427
7428         * java/nio/CharBuffer.java
7429         (toString): Compile fix.
7430
7431 2003-05-19  Michael Koch  <konqueror@gmx.de>
7432
7433         * gnu/java/nio/ByteBufferImpl.java
7434         (putLong): Fixed conversion to bytes.
7435         (putDouble): Fixed conversion to bytes.
7436         * gnu/java/nio/DirectByteBufferImpl.java
7437         (putLong): Fixed conversion to bytes.
7438         (putDouble): Fixed conversion to bytes.
7439         * gnu/java/nio/FileLockImpl.java
7440         (isValid): Reformatted.
7441         * java/nio/Buffer.java
7442         (Buffer): Fixed off-by-one bug in handling mark.
7443         * java/nio/ByteBuffer.java:
7444         Added newline.
7445         * java/nio/CharBuffer.java
7446         (toString): Don't use relative get to get string data.
7447
7448 2003-05-16  Michael Koch  <konqueror@gmx.de>
7449
7450         * java/io/natFileDescriptorPosix.cc
7451         (open): Commented out the O_SYNC and O_DSYNC usage until its better
7452         tested.
7453
7454 2003-05-14  Michael Koch  <konqueror@gmx.de>
7455
7456         * gnu/java/nio/FileLockImpl.java
7457         (released): New member variable.
7458         (FileLockImpl): Initialize released.
7459         (releaseImpl): New native method.
7460         (release): Implemented.
7461         * gnu/java/nio/SelectorImpl.java: Reformatted.
7462         * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
7463         * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
7464         (accept): Throws IOException.
7465         * gnu/java/nio/SocketChannelImpl.java: Reformatted.
7466         (implConfigureBlocking): Throws IOException.
7467         (connect): Likewise.
7468         (read): Likewise.
7469         (write): Likewise.
7470         * gnu/java/nio/natFileLockImpl.cc: New file.
7471         * java/nio/channels/FileLock.java: Reformatted.
7472         * Makefile.am:
7473         (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
7474         (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
7475         * Makefile.in: Regenerated.
7476
7477 2003-05-13  Michael Koch  <konqueror@gmx.de>
7478
7479         * gnu/java/nio/CharViewBufferImpl.java
7480         (CharViewBufferImpl): Fixed super constructor call, initialize offset.
7481         (get): Shift bits to the right direction.
7482         (put): Likewise.
7483         * gnu/java/nio/DoubleViewBufferImpl.java
7484         (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
7485         (get): Shift bits to the right direction.
7486         (put): Likewise.
7487         * gnu/java/nio/FloatViewBufferImpl.java
7488         (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
7489         (get): Shift bits to the right direction.
7490         (put): Likewise.
7491         * gnu/java/nio/IntViewBufferImpl.java
7492         (IntViewBufferImpl): Fixed super constructor call, initialize offset.
7493         (get): Shift bits to the right direction.
7494         (put): Likewise.
7495         * gnu/java/nio/LongViewBufferImpl.java
7496         (LongViewBufferImpl): Fixed super constructor call, initialize offset.
7497         (get): Shift bits to the right direction.
7498         (put): Likewise.
7499         * gnu/java/nio/ShortViewBufferImpl.java
7500         (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
7501         (get): Shift bits to the right direction.
7502         (put): Likewise.
7503
7504 2003-05-13  Michael Koch  <konqueror@gmx.de>
7505
7506         * gnu/java/nio/natDirectByteBufferImpl.cc
7507         (allocateImpl): jlong -> RawData*.
7508         (freeImpl): Likewise.
7509
7510 2003-05-13  Michael Koch  <konqueror@gmx.de>
7511
7512         * java/nio/channels/FileChannel.java
7513         (MapMode.m): Made it package-private to match JDK 1.4.
7514         * java/nio/charset/Charset.java
7515         (decode): Made it final to match JDK 1.4.
7516
7517 2003-05-13  Michael Koch  <konqueror@gmx.de>
7518
7519        * java/io/FileDescriptor.java
7520        (SYNC): New constant.
7521        (DSYNC): Likewise.
7522        (getLength): Renamed from lenght() to match classpath's
7523        FileDescriptor.java.
7524        * java/io/RandomAccessFile.java
7525        (RandomAccessFile): Removed unneeded mode check, implemented mode
7526        "rws" and "rwd", merged documentation from classpath.
7527        (setLength): Reformatted.
7528        (length): Use new getLength() of FileDescriptor.
7529        * java/io/natFileDescriptorEcos.cc
7530        (getLength): Renamed from length().
7531        * java/io/natFileDescriptorPosix.cc
7532        (open): Implemented support for SYNC and DSYNC.
7533        (seek): Use getLength() instead of length().
7534        (getLength): Renamed from length().
7535        * java/io/natFileDescriptorWin32.cc
7536        (getLength): Renamed from length().
7537        (seek): Use getLength() instead of length().
7538        (available): Likewise.
7539        * gnu/java/nio/natFileChannelImpl.cc
7540        (size): Use getLength() instead of length().
7541
7542 2003-05-13  Michael Koch  <konqueror@gmx.de>
7543
7544         * gnu/java/nio/ByteBufferImpl.java
7545         (ByteBufferImpl): All constructors revised.
7546         (slice): Reimplemented.
7547         (duplicate): Reimplemented.
7548         (asReadOnlyBuffer): Reimplemented.
7549         * java/nio/ByteBuffer.java:
7550         Reformatted.
7551         (array_offset): Renamed from "offset" to match all other buffer
7552         classes.
7553         (ByteBuffer): All constructors revised.
7554         (allocateDirect): Implemented.
7555         (allocate): New implementation, documentation reworked.
7556         (wrap): Likewise.
7557         (get): Documentation reworked.
7558         (put): New implementation, documentation reworked.
7559         (hasArray): Documentation reworked.
7560         (arrayOffset): Likewise.
7561         (hashCode): Likewise.
7562         (equals): Likewise.
7563         (compareTo): Likewise.
7564         (order): Likewise.
7565         (compact): Likewise.
7566         (isDirect): Likewise.
7567         (slice): Likewise.
7568         (duplicate): Likewise.
7569         (asReadOnlyBuffer): Likewise.
7570         * Makefile.am
7571         (ordinary_java_source_files):
7572         Added gnu/java/nio/DirectByteBufferImpl.java.
7573         (nat_source_files):
7574         Added gnu/java/nio/natDirectByteBufferImpl.cc.
7575         * Makefile.in: Regenerated.
7576
7577 2003-05-12  Michael Koch  <konqueror@gmx.de>
7578
7579         * gnu/java/nio/ByteBufferImpl.java: Reformatted.
7580         (nio_get_*): Removed.
7581         (nio_put_*): Removed.
7582         (as*Buffer): Implemented.
7583         (compact): Implemented.
7584         (get): Documentation added.
7585         (put): Documentation added.
7586         (get*): Newly implemented.
7587         (put*): Newly implemented.
7588         * gnu/java/nio/CharBufferImpl.java: Reformatted.
7589         (CharBufferImpl): Revised.
7590         (slice): New implementation.
7591         (duplicate): New implementation.
7592         (compact): New implementation.
7593         (asReadOnlyBuffer): New implementation.
7594         (get): Documentation revised.
7595         (order): Return native byte order.
7596         * gnu/java/nio/DirectByteBufferImpl.java
7597         (allocateDirect): objects can be null not 0.
7598         * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
7599         (DoubleBufferImpl): Revised.
7600         (slice): New implementation.
7601         (duplicate): New implementation.
7602         (compact): New implementation.
7603         (asReadOnlyBuffer): New implementation.
7604         (get): Documentation revised.
7605         (order): Return native byte order.
7606         * gnu/java/nio/FloatBufferImpl.java: Reformatted.
7607         (FloatBufferImpl): Revised.
7608         (slice): New implementation.
7609         (duplicate): New implementation.
7610         (compact): New implementation.
7611         (asReadOnlyBuffer): New implementation.
7612         (get): Documentation revised.
7613         (order): Return native byte order.
7614         * gnu/java/nio/IntBufferImpl.java: Reformatted.
7615         (IntBufferImpl): Revised.
7616         (slice): New implementation.
7617         (duplicate): New implementation.
7618         (compact): New implementation.
7619         (asReadOnlyBuffer): New implementation.
7620         (get): Documentation revised.
7621         (order): Return native byte order.
7622         * gnu/java/nio/LongBufferImpl.java: Reformatted.
7623         (LongBufferImpl): Revised.
7624         (slice): New implementation.
7625         (duplicate): New implementation.
7626         (compact): New implementation.
7627         (asReadOnlyBuffer): New implementation.
7628         (get): Documentation revised.
7629         (order): Return native byte order.
7630         * gnu/java/nio/ShortBufferImpl.java: Reformatted.
7631         (ShortBufferImpl): Revised.
7632         (slice): New implementation.
7633         (duplicate): New implementation.
7634         (compact): New implementation.
7635         (asReadOnlyBuffer): New implementation.
7636         (get): Documentation revised.
7637         (order): Return native byte order.
7638         * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
7639         (CharBuffer): Revised.
7640         (order): Removed.
7641         * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
7642         (DoubleBuffer): Revised.
7643         (allocateDirect): Removed.
7644         (order): Removed.
7645         * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
7646         (FloatBuffer): Revised.
7647         (allocateDirect): Removed.
7648         (order): Removed.
7649         * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
7650         (IntBuffer): Revised.
7651         (allocateDirect): Removed.
7652         (order): Removed.
7653         * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
7654         (LongBuffer): Revised.
7655         (allocateDirect): Removed.
7656         (order): Removed.
7657         * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
7658         (ShortBuffer): Revised.
7659         (allocateDirect): Removed.
7660         (order): Removed.
7661         * gnu/java/nio/natByteBufferImpl.cc: Removed.
7662         * gnu/java/nio/natCharBufferImpl.cc: Removed.
7663         * Makefile.am
7664         (ordinary_java_source_files): Added the following files:
7665         gnu/java/nio/CharViewBufferImpl.java,
7666         gnu/java/nio/DoubleViewBufferImpl.java,
7667         gnu/java/nio/FloatViewBufferImpl.java,
7668         gnu/java/nio/IntViewBufferImpl.java,
7669         gnu/java/nio/LongViewBufferImpl.java,
7670         gnu/java/nio/ShortViewBufferImpl.java
7671         (nat_source_files): Removed the following files:
7672         gnu/java/nio/natByteBufferImpl.cc,
7673         gnu/java/nio/natCharBufferImpl.cc
7674         * Makefile.in: Regenerated.
7675
7676 2003-05-12  Michael Koch  <konqueror@gmx.de>
7677
7678         * gnu/java/nio/CharViewBufferImpl.java,
7679         gnu/java/nio/DirectByteBufferImpl.java,
7680         gnu/java/nio/DoubleViewBufferImpl.java,
7681         gnu/java/nio/FloatViewBufferImpl.java,
7682         gnu/java/nio/IntViewBufferImpl.java,
7683         gnu/java/nio/LongViewBufferImpl.java,
7684         gnu/java/nio/ShortViewBufferImpl.java,
7685         gnu/java/nio/natDirectByteBufferImpl.cc:
7686         New files, not yet to be compiled.
7687
7688 2003-05-10  Michael Koch  <konqueror@gmx.de>
7689
7690         * javax/swing/plaf/ButtonUI.java,
7691         javax/swing/plaf/ColorUIResource.java,
7692         javax/swing/plaf/ComponentUI.java,
7693         javax/swing/plaf/DimensionUIResource.java,
7694         javax/swing/plaf/FontUIResource.java,
7695         javax/swing/plaf/IconUIResource.java,
7696         javax/swing/plaf/InsetsUIResource.java,
7697         javax/swing/plaf/LabelUI.java,
7698         javax/swing/plaf/ListUI.java,
7699         javax/swing/plaf/OptionPaneUI.java,
7700         javax/swing/plaf/PanelUI.java,
7701         javax/swing/plaf/TabbedPaneUI.java,
7702         javax/swing/plaf/TextUI.java,
7703         javax/swing/plaf/TreeUI.java,
7704         javax/swing/plaf/ViewportUI.java,
7705         javax/swing/plaf/basic/BasicBorders.java,
7706         javax/swing/plaf/basic/BasicButtonUI.java,
7707         javax/swing/plaf/basic/BasicCheckBoxUI.java,
7708         javax/swing/plaf/basic/BasicDefaults.java,
7709         javax/swing/plaf/basic/BasicGraphicsUtils.java,
7710         javax/swing/plaf/basic/BasicIconFactory.java,
7711         javax/swing/plaf/basic/BasicLabelUI.java,
7712         javax/swing/plaf/basic/BasicListUI.java,
7713         javax/swing/plaf/basic/BasicOptionPaneUI.java,
7714         javax/swing/plaf/basic/BasicPanelUI.java,
7715         javax/swing/plaf/basic/BasicRadioButtonUI.java,
7716         javax/swing/plaf/basic/BasicScrollPaneUI.java,
7717         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7718         javax/swing/plaf/basic/BasicTextUI.java,
7719         javax/swing/plaf/basic/BasicToggleButtonUI.java,
7720         javax/swing/plaf/basic/BasicTreeUI.java,
7721         javax/swing/plaf/basic/BasicViewportUI.java,
7722         javax/swing/plaf/metal/MetalLookAndFeel.java:
7723         New versions from classpath. This adds copyrights to all files and
7724         some serialVersionUIDs.
7725
7726 2003-05-10  Michael Koch  <konqueror@gmx.de>
7727
7728         * java/nio/CharBuffer.java
7729         (offset): Make it package-private.
7730         (backing_buffer): Likewise.
7731         * java/nio/DoubleBuffer.java
7732         (offset): Make it package-private.
7733         (backing_buffer): Likewise.
7734         (put): Reformatted.
7735         * java/nio/FloatBuffer.java
7736         (offset): Make it package-private.
7737         (backing_buffer): Likewise.
7738         * java/nio/IntBuffer.java
7739         (offset): Make it package-private.
7740         (backing_buffer): Likewise.
7741         * java/nio/LongBuffer.java
7742         (offset): Make it package-private.
7743         (backing_buffer): Likewise.
7744         * java/nio/ShortBuffer.java
7745         (offset): Make it package-private.
7746         (backing_buffer): Likewise.
7747
7748 2003-05-10  Michael Koch  <konqueror@gmx.de>
7749
7750         * java/nio/CharBuffer.java
7751         (put): Fixed precondtion check.
7752         (toString): Make it work without backing array.
7753         (put): Skip one level of method calling.
7754
7755 2003-05-10  Michael Koch  <konqueror@gmx.de>
7756
7757         * java/security/Identity.java,
7758         java/security/IdentityScope.java,
7759         java/security/Key.java,
7760         java/security/KeyPair.java,
7761         java/security/PrivateKey.java,
7762         java/security/Provider.java,
7763         java/security/PublicKey.java,
7764         java/security/SecureRandom.java,
7765         java/security/SecureRandomSpi.java,
7766         java/security/SignedObject.java,
7767         java/security/Signer.java,
7768         java/security/cert/Certificate.java,
7769         java/security/cert/PKIXCertPathBuilderResult.java,
7770         java/security/cert/X509Certificate.java:
7771         New versions from classpath.
7772
7773 2003-05-09  Tom Tromey  <tromey@redhat.com>
7774
7775         * Makefile.in: Rebuilt.
7776         * Makefile.am (nat_source_files): Removed old files.
7777         * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
7778         * gnu/java/nio/natFloatBufferImpl.cc: Removed.
7779         * gnu/java/nio/natIntBufferImpl.cc: Removed.
7780         * gnu/java/nio/natLongBufferImpl.cc: Removed.
7781         * gnu/java/nio/natShortBufferImpl.cc: Removed.
7782
7783 2003-05-09  Michael Koch  <konqueror@gmx.de>
7784
7785         * gnu/java/nio/ByteBufferImpl.java
7786         (nio_cast): Removed.
7787         (ByteBufferImpl): Removed.
7788         (nio_get_Byte): Removed.
7789         (nio_put_Byte): Removed.
7790         (asByteBuffer): Removed.
7791         (asCharBuffer): Removed implementation and throw exception.
7792         (asShortBuffer): Likewise.
7793         (asIntBuffer): Likewise.
7794         (asLongBuffer): Likewise.
7795         (asFloatBuffer): Likewise.
7796         (asDoubleBuffer): Likewise.
7797         * gnu/java/nio/CharBufferImpl.java
7798         (CharBufferImpl): Removed.
7799         (nio_get_Byte): Removed.
7800         (nio_put_Byte): Removed.
7801         (asByteBuffer): Removed.
7802         * gnu/java/nio/DoubleBufferImpl.java
7803         (DoubleBufferImpl): Removed.
7804         (nio_get_Byte): Removed.
7805         (nio_put_Byte): Removed.
7806         (asByteBuffer): Removed.
7807         * gnu/java/nio/FloatBufferImpl.java
7808         (FloatBufferImpl): Removed.
7809         (nio_get_Byte): Removed.
7810         (nio_put_Byte): Removed.
7811         (asByteBuffer): Removed.
7812         * gnu/java/nio/IntBufferImpl.java
7813         (IntBufferImpl): Removed.
7814         (nio_get_Byte): Removed.
7815         (nio_put_Byte): Removed.
7816         (asByteBuffer): Removed.
7817         * gnu/java/nio/LongBufferImpl.java
7818         (LongBufferImpl): Removed.
7819         (nio_get_Byte): Removed.
7820         (nio_put_Byte): Removed.
7821         (asByteBuffer): Removed.
7822         * gnu/java/nio/ShortBufferImpl.java
7823         (ShortBufferImpl): Removed.
7824         (nio_get_Byte): Removed.
7825         (nio_put_Byte): Removed.
7826         (asByteBuffer): Removed.
7827         * gnu/java/nio/natByteBufferImpl.cc
7828         (nio_cast): Removed.
7829         (nio_get_Byte): Removed.
7830         (nio_put_Byte): Removed.
7831         * gnu/java/nio/natCharBufferImpl.cc
7832         (nio_get_Byte): Removed.
7833         (nio_put_Byte): Removed.
7834
7835 2003-05-09  Michael Koch  <konqueror@gmx.de>
7836
7837         * java/net/JarURLConnection.java
7838         (getJarEntry): Merged documentation from classpath.
7839         (getJarFile): Likewise.
7840         (getMainAttributes): Likewise.
7841         (getAttributes): Likewise.
7842         (getManifest): Likewise.
7843         (getCertificates): Reformatted.
7844         * java/net/URLConnection.java:
7845         Little classpath merge.
7846
7847 2003-05-09  Michael Koch  <konqueror@gmx.de>
7848
7849         * java/io/DataOutputStream.java
7850         (writeShort): Made it synchronized.
7851         (writeChar): Likewise.
7852         (writeInt): Likewise.
7853         (writeLong): Liekwise.
7854         (writeUTF): Made it synchronized, renamed argument to match classpath.
7855         * java/io/InputStreamReader.java
7856         (converter): Added documentation.
7857         (read): Merged documentation from classpath.
7858         * java/io/OutputStreamWriter.java
7859         (OutputStreamWriter): Merged documentation from classpath.
7860         (close): Reformatted.
7861         (getEncoding): Likewise.
7862         (flush): Likewise.
7863         (write): Merged documentation from classpath, reformatted.
7864
7865 2003-05-08  Tom Tromey  <tromey@redhat.com>
7866
7867         * configure.host <powerpc64*-*>: Set with_libffi_default and
7868         libgcj_interpreter to "yes".
7869
7870 2003-05-08  Scott Gilbertson  <scottg@mantatest.com>
7871
7872         * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
7873         
7874 2003-05-06  Tom Tromey  <tromey@redhat.com>
7875
7876         * verify.cc: Reverted previous patch.
7877
7878 2003-05-06  Michael Koch  <konqueror@gmx.de>
7879
7880         * java/io/DataOutputStream.java
7881         (write): Renamed argument to "value", merged documentation from
7882         classpath.
7883         (writeBoolean): Likewise.
7884         (writeByte): Likewise.
7885         (writeShort): Likewise.
7886         (writeChar): Likewise.
7887         (writeInt): Likewise.
7888         (writeLong): Likewise.
7889         (writeFloat): Likewise.
7890         (writeDouble): Likewise.
7891         (writeBytes): Likewise.
7892         (writeChars): Likewise.
7893         (writeUTF): Likewise.
7894         * java/io/File.java
7895         (performDelete): Added documentation.
7896         (performList): Likewise.
7897         (performMkdir): Likewise.
7898         (performSetReadOnly): Likewise.
7899         (performRenameTo): Likewise.
7900         (performSetLastModified): Likewise.
7901         (delete): Made it sychronized.
7902         (renameTo): Made it sychronized.
7903         (equals): Reformatted.
7904         (isHidden): Likewise.
7905         (listFiles): Likewise.
7906         (setReadOnly): Likewise.
7907         (listRoots): Likewise.
7908         (setLastModified): Likewise.
7909         (checkRead): Likewise.
7910         (checkWrite): Likewise.
7911         * java/io/FileInputStream.java
7912         (skip): Made it sychronized, merged from classpath.
7913         * java/io/FileOutputStream.java
7914         (write): Merged from classpath.
7915         * java/io/InputStreamReader.java:
7916         (InputStreamReader): Merged documentation from classpath.
7917
7918 2003-05-05  Michael Koch  <konqueror@gmx.de>
7919
7920         * java/net/NetworkInterface.java
7921         (networkInterfaces): Removed.
7922         (getByName): Use getRealNetworkInterfaces() instead of
7923         networkInterfaces.
7924         (getByInetAddress): Likewise.
7925         (getNetworkInterfaces): Likewise.
7926         (toString): Fix output of addresses of an interface.
7927
7928 2003-05-05  Michael Koch  <konqueror@gmx.de>
7929
7930         * java/io/DataInputStream.java:
7931         Merged new documentation from classpath.
7932
7933 2003-05-03  Matt Kraai  <kraai@alumni.cmu.edu>
7934
7935         * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
7936         "version".
7937         * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
7938         * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
7939         * gnu/awt/gtk/GtkFramePeer.java: Likewise.
7940         * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
7941         * gnu/awt/gtk/GtkMainThread.java: Likewise.
7942         * gnu/awt/gtk/GtkToolkit.java: Likewise.
7943         * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
7944         * java/security/Key.java: Likewise.
7945         * java/security/PrivateKey.java: Likewise.
7946         * java/security/Provider.java: Likewise.
7947         * java/security/PublicKey.java: Likewise.
7948
7949 2003-05-02  Michael Koch  <konqueror@gmx.de>
7950
7951         * java/net/URI.java
7952         (create): Doesnt throws any exceptions.
7953         * java/net/URLConnection.java
7954         (URLConnection): Commend added.
7955         (getExpiration): The header field is called "expires" not
7956         "expiration".
7957         (getHeaderField): Merged documentation with classpath.
7958         (getHeaderFieldInt): Likewise.
7959         (getHeaderFieldDate): Likewise.
7960         (getHeaderFieldKey): Likewise.
7961         (getPermission): Likewise.
7962         (setDefaultUseCaches): Likewise.
7963         (setRequestProperty): Likewise.
7964         (addRequestProperty): Likewise.
7965         (getRequestProperty): Likewise.
7966         (getRequestProperties): Likewise.
7967         (setDefaultRequestProperty): Likewise.
7968         (getDefaultRequestProperty): Likewise.
7969         (guessContentTypeFromStream): Likewise.
7970         (getFileNameMap): Likewise.
7971         (setFileNameMap): Likewise.
7972         (setDoInput): Merged implementation and documentation with classpath.
7973         (setDoOutput): Likewise.
7974         (setAllowUserInteraction): Likewise.
7975         (setDefaultAllowUserInteraction): Likewise.
7976         (setContentHandlerFactory): Made it synchronized, merged documentation
7977         with classpath.
7978         (guessContentTypeFromName): Renamed argument fname to filename to
7979         match classpath, merged documentation with classpath.
7980
7981 2003-05-02  Michael Koch  <konqueror@gmx.de>
7982
7983         * java/net/JarURLConnection.java
7984         (JarURLConnection): Class documentation merged with classpath.
7985         (getJarFileURL): Moved and documentation merged with classpath.
7986         (getEntryName): Likewise.
7987         (JarURLConnection): Documentation merged with classpath.
7988         (getJarEntry): Likewise.
7989         (getJarFile): Likewise.
7990         * java/net/PlainDatagramSocketImpl.java:
7991         Class documentation moved.
7992         * java/net/URLConnection.java
7993         (fileNameMap): Moved and documentation merged with classpath.
7994         (factory): Likewise.
7995         (defaultAllowUserInteraction): Likewis.
7996         (defaultUseCaches): Likewise.
7997         (allowUserInteraction): Likewise.
7998         (connected): Likewise.
7999         (url): Likewise.
8000         (connect): Documentation merged with classpath.
8001         (getURL): Likewise.
8002         (getContentLength): Likewise.
8003         (getContentType): Likewise.
8004         (getContentEncoding): Likewise.
8005         (getExpiration): Likewise.
8006         (getDate): Likewise.
8007         (getLastModified): Likewise.
8008         (getHeaderField): Likewise.
8009         (getContent): Likewise.
8010         (getPermission): Likewise.
8011         (getInputStream): Likewise.
8012         (getOutputStream): Likewise.
8013         (toString): Likewise.
8014         (getDoInput): Likewise.
8015         (getDoOutput): Likewise.
8016         (setAllowUserInteraction): Likewise.
8017         (getAllowUserInteraction): Likewise.
8018         (setDefaultAllowUserInteraction): Likewise.
8019         (getDefaultAllowUserInteraction): Likewise.
8020         (setUseCaches): Likewise.
8021         (getUseCaches): Likewise.
8022         (setIfModifiedSince): Likewise.
8023         (getIfModifiedSince): Likewise.
8024         (setDefaultRequestProperty): Likewise.
8025         (getDefaultRequestProperty): Likewise.
8026         (setContentHandlerFactory): Likewise.
8027         (setFileNameMap): Likewise.
8028
8029 2003-05-02  Michael Koch  <konqueror@gmx.de>
8030
8031         * java/net/InetAddress.java:
8032         Merged class documentation with classpath.
8033         * java/net/JarURLConnection.java:
8034         Explicitely import all used classes.
8035         * java/net/URL.java:
8036         Reformatting.
8037         * java/net/ServerSocket.java,
8038         java/net/Socket.java:
8039         New versions from classpath.
8040
8041 2003-05-02  Michael Koch  <konqueror@gmx.de>
8042
8043         * gnu/java/nio/FileChannelImpl.java
8044         (read): New implementation.
8045         (implRead): New methods.
8046         (write): New implementation, call other write insteal of read method.
8047         (implWrite): New methods.
8048         (map): Added comment.
8049         (transferFrom): Implemented.
8050         (transferTo): Implemented.
8051         (lock): Added checks to throw exceptions.
8052         (truncate): Added check to throw exception.
8053         * gnu/java/nio/natFileChannelImpl.cc
8054         (implRead): New method.
8055         (implWrite): New method.
8056         * java/nio/ByteBuffer.java
8057         (hashCode): Fixed comment.
8058         (get): Fixed exception documentation.
8059         (put): Fixed exception documentation.
8060         * java/nio/CharBuffer.java:
8061         Added comment for later optimizations.
8062
8063 2003-04-30  Tom Tromey  <tromey@redhat.com>
8064
8065         PR libgcj/10582:
8066         * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
8067         Removed.
8068         (type::compatible): Use _Jv_IsAssignableFrom.
8069         * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
8070         (_Jv_IsAssignableFrom): Work even when source or target class is
8071         not prepared.
8072
8073 2003-04-30  Michael Koch  <konqueror@gmx.de>
8074
8075         * java/text/BreakIterator.java
8076         (clone): New method.
8077
8078 2003-04-30  Michael Koch  <konqueror@gmx.de>
8079
8080         * java/text/CollationElementIterator.java,
8081         java/text/CollationKey.java,
8082         java/text/RuleBasedCollator.java:
8083         Merged copyright and documentation from classpath and
8084         rearranged some code. No code changes done.
8085
8086 2003-04-30  Michael Koch  <konqueror@gmx.de>
8087
8088         * java/util/regex/Matcher.java
8089         (pattern): New member variable.
8090         (appendReplacement): New method.
8091         (appendTail): New method.
8092         (end): New method.
8093         (find): New method.
8094         (group): New method.
8095         (replaceFirst): Added documentation.
8096         (replaceAll): Added documentation.
8097         (groupCount): New method.
8098         (lookingAt): New method.
8099         (matches): New method.
8100         (reset): New method.
8101         (start): New method.
8102         * java/util/regex/Pattern.java
8103         (serialVersionUID): New constant.
8104         (CANON_EQ): New constant.
8105         (CASE_INSENSITIVE): New constant.
8106         (COMMENTS): New constant.
8107         (DOTALL): New constant.
8108         (MULTILINE): New constant.
8109         (UNICODE_CASE): New constant.
8110         (UNIX_LINES): New constant.
8111         (regex): New member variable.
8112         (flags): New member variable.
8113         (Pattern): New method.
8114         (compile): Documentation added.
8115         (flags): New method.
8116         (matches): Documentation added.
8117         (matcher): Documentation added.
8118         (split): Documentation added.
8119         (pattern): New method.
8120
8121 2003-04-30  Michael Koch  <konqueror@gmx.de>
8122
8123         * gnu/java/security/Engine.java,
8124         gnu/java/security/OID.java,
8125         gnu/java/security/der/BitString.java,
8126         gnu/java/security/der/DER.java,
8127         gnu/java/security/der/DERReader.java,
8128         gnu/java/security/der/DERValue.java,
8129         gnu/java/security/der/DERWriter.java,
8130         gnu/java/security/provider/DSAKeyFactory.java,
8131         gnu/java/security/provider/X509CertificateFactory.java,
8132         gnu/java/security/x509/X500DistinguishedName.java,
8133         gnu/java/security/x509/X509CRL.java,
8134         gnu/java/security/x509/X509CRLEntry.java,
8135         gnu/java/security/x509/X509Certificate.java,
8136         java/security/cert/CRLSelector.java,
8137         java/security/cert/CertPathBuilder.java,
8138         java/security/cert/CertPathBuilderResult.java,
8139         java/security/cert/CertPathBuilderSpi.java,
8140         java/security/cert/CertPathParameters.java,
8141         java/security/cert/CertPathValidator.java,
8142         java/security/cert/CertPathValidatorResult.java,
8143         java/security/cert/CertPathValidatorSpi.java,
8144         java/security/cert/CertSelector.java,
8145         java/security/cert/CertStore.java,
8146         java/security/cert/CertStoreParameters.java,
8147         java/security/cert/CertStoreSpi.java,
8148         java/security/cert/CollectionCertStoreParameters.java,
8149         java/security/cert/LDAPCertStoreParameters.java,
8150         java/security/cert/PKIXBuilderParameters.java,
8151         java/security/cert/PKIXCertPathBuilderResult.java,
8152         java/security/cert/PKIXCertPathChecker.java,
8153         java/security/cert/PKIXCertPathValidatorResult.java,
8154         java/security/cert/PKIXParameters.java,
8155         java/security/cert/PolicyNode.java,
8156         java/security/cert/PolicyQualifierInfo.java,
8157         java/security/cert/TrustAnchor.java,
8158         javax/security/auth/x500/X500Principal.java:
8159         New files from classpath.
8160         * gnu/java/io/ASN1ParsingException.java,
8161         gnu/java/io/Base64InputStream.java,
8162         gnu/java/security/der/DEREncodingException.java,
8163         gnu/java/security/provider/DSAParameters.java,
8164         gnu/java/security/provider/DSASignature.java,
8165         gnu/java/security/provider/Gnu.java,
8166         gnu/java/security/provider/GnuDSAPrivateKey.java,
8167         gnu/java/security/provider/GnuDSAPublicKey.java,
8168         java/security/AlgorithmParameterGenerator.java,
8169         java/security/AlgorithmParameters.java,
8170         java/security/KeyFactory.java,
8171         java/security/KeyPairGenerator.java,
8172         java/security/KeyStore.java,
8173         java/security/MessageDigest.java,
8174         java/security/SecureClassLoader.java,
8175         java/security/SecureRandom.java,
8176         java/security/Security.java,
8177         java/security/Signature.java,
8178         java/security/cert/Certificate.java,
8179         java/security/cert/CertificateFactory.java,
8180         java/security/cert/CertificateFactorySpi.java,
8181         java/security/cert/X509CRL.java,
8182         java/security/cert/X509Certificate.java,
8183         java/security/spec/DSAPublicKeySpec.java:
8184         New versions from classpath.
8185         * gnu/java/security/provider/DERReader.java,
8186         gnu/java/security/provider/DERWriter.java,
8187         java/security/Engine.java: Removed.
8188         * Makefile.am
8189         (java_source_files, javax_source_files): Added new files.
8190         * Makefile.in: Regenerated.
8191
8192 2003-04-29  Michael Koch  <konqueror@gmx.de>
8193
8194         * javax/swing/JTable.java
8195         (AUTO_RESIZE_ALL_COLUMNS): New constant.
8196         (AUTO_RESIZE_LAST_COLUMN): New constant.
8197         (AUTO_RESIZE_NEXT_COLUMN): New constant.
8198         (AUTO_RESIZE_OFF): New constant.
8199         (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
8200         (JTable): New method.
8201         (columnAdded): New method.
8202         (columnMarginChanged): New method.
8203         (columnMoved): New method.
8204         (columnRemoved): New method.
8205         (columnSelectionChanged): New method.
8206         (editingCanceled): New method.
8207         (editingStopped): New method.
8208         (getColumnModel): New method.
8209         (getPreferredScrollableViewportSize): New method.
8210         (getScrollableBlockIncrement): New method.
8211         (getScrollableTracksViewportHeight): New method.
8212         (getScrollableTracksViewportWidth): New method.
8213         (getScrollableUnitIncrement): New method.
8214         (getSelectedRow): New method.
8215         (getSelectionModel): New method.
8216         (tableChanged): New method.
8217         (setModel): New method.
8218         (setSelectionMode): New method.
8219         (setSelectionModel): New method.
8220         (setShowGrid): New method.
8221         (valueChanged): New method.
8222         * javax/swing/text/DefaultEditorKit.java
8223         (backwardAction): New constant.
8224         (beepAction): New constant.
8225         (beginAction): New constant.
8226         (beginLineAction): New constant.
8227         (beginParagraphAction): New constant.
8228         (beginWordAction): New constant.
8229         (copyAction): New constant.
8230         (cutAction): New constant.
8231         (defaultKeyTypedAction): New constant.
8232         (deleteNextCharAction): New constant.
8233         (deletePrevCharAction): New constant.
8234         (downAction): New constant.
8235         (endAction): New constant.
8236         (endLineAction): New constant.
8237         (endOfLineStringProperty): New constant.
8238         (endParagraphAction): New constant.
8239         (endWordAction): New constant.
8240         (forwardAction): New constant.
8241         (insertBreakAction): New constant.
8242         (insertContentAction): New constant.
8243         (insertTabAction): New constant.
8244         (nextWordAction): New constant.
8245         (pageDownAction): New constant.
8246         (pageUpAction): New constant.
8247         (pasteAction): New constant.
8248         (previousWordAction): New constant.
8249         (readOnlyAction): New constant.
8250         (selectAllAction): New constant.
8251         (selectionBackwardAction): New constant.
8252         (selectionBeginAction): New constant.
8253         (selectionBeginLineAction): New constant.
8254         (selectionBeginParagraphAction): New constant.
8255         (selectionBeginWordAction): New constant.
8256         (selectionDownAction): New constant.
8257         (selectionEndAction): New constant.
8258         (selectionEndLineAction): New constant.
8259         (selectionEndParagraphAction): New constant.
8260         (selectionEndWordAction): New constant.
8261         (selectionForwardAction): New constant.
8262         (selectionNextWordAction): New constant.
8263         (selectionPreviousWordAction): New constant.
8264         (selectionUpAction): New constant.
8265         (selectLineAction): New constant.
8266         (selectParagraphAction): New constant.
8267         (selectWordAction): New constant.
8268         (upAction): New constant.
8269         (writableAction): New constant.
8270
8271 2003-04-29  Michael Koch  <konqueror@gmx.de>
8272
8273         * java/util/PropertyPermission.java:
8274         New version from classpath
8275         * java/util/ResourceBundle.java:
8276         Partly merged from classpath
8277         (getObject): Reformated.
8278         (tryBundle): Set foundBundle = null if no bundle found.
8279
8280 2003-04-29  Michael Koch  <konqueror@gmx.de>
8281
8282         * javax/swing/AbstractListModel.java,
8283         javax/swing/DefaultBoundedRangeModel.java,
8284         javax/swing/DefaultSingleSelectionModel.java:
8285         New Versions from classpath.
8286
8287 2003-04-29  Michael Koch  <konqueror@gmx.de>
8288
8289         * java/awt/Window.java
8290         (show): Call super.show() instead of setVisible() to avoid endless
8291         loop.
8292         (hide): Call super.hide() instead of setVisible() to avoid endless
8293         loop.
8294
8295 2003-04-29  Michael Koch  <konqueror@gmx.de>
8296
8297         * java/util/zip/Deflater.java,
8298         java/util/zip/DeflaterOutputStream.java:
8299         Partly merged with classpath.
8300
8301 2003-04-27  Tom Tromey  <tromey@redhat.com>
8302
8303         * java/lang/natString.cc (_Jv_AllocString): Initialize
8304         cachedHashCode.
8305         (init): Likewise.
8306         (_Jv_NewStringUtf8Const): Likewise.
8307
8308 2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>
8309
8310         * include/jvm.h: (_Jv_GetNbArgs) added
8311         (_Jv_GetSafeArg) added
8312         (_Jv_SetArgs) added
8313         * prims.cc: (_Jv_GetNbArgs) implemented
8314         (_Jv_GetSafeArg) implemented
8315         (_Jv_SetArgs) implemented
8316         (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
8317         setting _Jv_argc and _Jv_argv
8318         * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
8319         instead of _Jv_argv
8320         * java/lang/natRuntime.cc: (insertSystemProperties) use
8321         _Jv_GetSafeArg() instead of _Jv_argv
8322
8323 2003-04-23  Tom Tromey  <tromey@redhat.com>
8324
8325         * resolve.cc (_Jv_PrepareClass): Round size up to alignment
8326         required by this object.  Search superclasses to find required
8327         alignment.
8328         (get_alignment_from_class): Use alignment of type as it appears
8329         in a struct.
8330         (ALIGNOF): New macro.
8331         (struct aligner): New helper structure.
8332
8333 2003-04-20  Scott Gilbertson  <scottg@mantatest.com>
8334
8335         * java/awt/Container.java (addImpl): Enable paint events if adding
8336         a lightweight to a heavyweight.
8337         (addNotify): Ensure that peer is created before
8338         addNotifyContainerChildren.
8339         (addNotifyContainerChildren): Enable paint events if a heavyweight
8340         container contains a lightweight.
8341
8342 2003-04-20  Tom Tromey  <tromey@redhat.com>
8343
8344         * java/io/BufferedReader.java, java/io/BufferedWriter.java,
8345         java/io/DataInput.java, java/io/DataOutput.java: Imports from
8346         Classpath.
8347
8348 2003-04-19  Tom Tromey  <tromey@redhat.com>
8349
8350         * java/sql/Date.java, java/sql/DriverManager.java,
8351         java/sql/Time.java, java/sql/Timestamp.java: New versions from
8352         Classpath.
8353
8354         * Makefile.in: Rebuilt.
8355         * Makefile.am (ordinary_java_source_files): Added new files.
8356         * java/security/AlgorithmParameterGenerator.java,
8357         java/security/AlgorithmParameters.java, java/security/Engine.java,
8358         java/security/Identity.java, java/security/IdentityScope.java,
8359         java/security/KeyFactory.java,
8360         java/security/KeyPairGenerator.java, java/security/KeyStore.java,
8361         java/security/MessageDigest.java, java/security/Policy.java,
8362         java/security/ProtectionDomain.java,
8363         java/security/SecureRandom.java, java/security/Security.java,
8364         java/security/Signature.java, java/security/SignatureSpi.java,
8365         java/security/SignedObject.java, java/security/Signer.java,
8366         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
8367         java/security/spec/PSSParameterSpec.java,
8368         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
8369         java/security/spec/RSAOtherPrimeInfo.java: New versions from
8370         Classpath.
8371
8372 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
8373
8374         * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
8375         (dispose): Null metrics.
8376         * gnu/awt/xlib/XToolkit.java (sync): Implement.
8377         * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
8378         finalize.
8379         (finalize): Call dispose.
8380         * gnu/gcj/xlib/Drawable.java (gcCache): New field.
8381         (gcCachedCount): New field.
8382         (finalize): New method.
8383         (putGCInCache): New method.
8384         (getGCFromCache): New method.
8385         * gnu/gcj/xlib/GC.java (GC): Make protected.
8386         (clone): Get new GC from cache if possible.
8387         (create): New static method.
8388         (dispose): Save old GC in cache.
8389         * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
8390         deleting.
8391         * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
8392         is null.
8393         * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
8394         * java/awt/Container.java (visitChild): Dispose gfx2 when
8395         finished.
8396
8397 2003-04-19  Jerry Quinn  <jlquinn@optonline.net>
8398
8399         * java/math/BigInteger.java (probablePrime): New.
8400         * java/math/BigDecimal.java (unscaledValue): New.
8401
8402 2003-04-19  Ranjit Mathew  <rmathew@hotmail.com>
8403
8404         * java/io/File.java (getAbsolutePath): On Windows, take care
8405         of paths like "C:", "G:foo\bar", etc.
8406         (getName): Make it work correctly on Windows.
8407         (getParent): Make it work correctly on Windows. For UNIX,
8408         fix bug that causes "/" to be returned as the parent of "/",
8409         instead of null as returned by Sun's JRE.
8410
8411         * java/io/natFileWin32.cc: Change copyright owner to FSF.
8412
8413 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
8414
8415         * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
8416         inner class.
8417         (CACHE_SIZE_PER_DISPLAY): New field
8418         (fontMetricsCache): New field
8419         (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
8420         loading ISO10646-1 fonts.
8421
8422 2003-04-19  Scott Gilbertson  <scottg@mantatest.com>
8423
8424         * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
8425         characters.
8426         * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
8427         characters.
8428
8429 2003-04-16  Richard Earnshaw  <rearnsha@arm.com>
8430
8431         * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
8432         floating point.
8433
8434 2003-04-15  Jakub Jelinek  <jakub@redhat.com>
8435
8436         * configure.host (*-linux*): Don't set slow_pthread_self if primary
8437         installed libpthread is either linuxthreads with floating stacks or
8438         NPTL.
8439
8440 2003-04-14  Tom Tromey  <tromey@redhat.com>
8441
8442         * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
8443         of alignment.
8444
8445 2003-04-10  Tom Tromey  <tromey@redhat.com>
8446
8447         * verify.cc (pop64): Removed.
8448         (verify_instructions_0) <op_pop2>: Inline code.  Don't throw
8449         exception if top-of-stack is narrow.
8450         (initialize_stack): Check to ensure that <init> is not static and
8451         <clinit> is.
8452
8453 2003-04-07  Aaron M. Renn (arenn@urbanophile.com)
8454
8455         * java/io/ObjectStreamException
8456         * java/io/FileFilter
8457         * java/io/FilenameFilter
8458         * java/io/ObjectInput
8459         * java/io/ObjectOutput
8460         * java/io/ObjectStreamConstants
8461         Minor doc fixes, format fixes, spelling corrections, etc.
8462         * java/io/DataInput
8463         Corrected code samples in Javadocs to match reality
8464         * java/io/DataOutput
8465         * java/io/ObjectInputValidation
8466         Major documentation fixes - all Javadocs re-written or updated
8467
8468 2003-04-06  Michael Koch  <konqueror@gmx.de>
8469
8470         * java/net/URLConnection.java:
8471         Import classes directly.
8472         (URLConnection): Merged class documentation with classpath.
8473         (url): Moved, documentation from classpath added.
8474         (doInput): Moved, documentation from classpath added.
8475         (doOutput): Moved, documentation from classpath added.
8476         (allowUserInteraction): Moved.
8477         (useCaches): Moved, documentation from classpath added.
8478         (ifModifiedSince): Moved, documentation from classpath added.
8479         (connected): Moved, documentation from classpath added.
8480
8481 2003-04-06  Michael Koch  <konqueror@gmx.de>
8482
8483         * java/io/FileInputStream.java
8484         (skip): Renamed some variables to match classpath, added
8485         checks from classpath.
8486
8487 2003-03-31  Michael Koch  <konqueror@gmx.de>
8488
8489         * javax/swing/AbstractAction.java
8490         (AbstractAction): Reformatted.
8491         (serialVersionUID): New private member variable.
8492         * javax/swing/plaf/BorderUIResource.java
8493         (serialVersionUID): New private member variable.
8494         * javax/swing/plaf/basic/BasicLookAndFeel.java
8495         (serialVersionUID): New private member variable.
8496
8497 2003-03-31  Michael Koch  <konqueror@gmx.de>
8498
8499         * java/sql/Date.java
8500         (valueOf): Deprecated, reformatted.
8501         (toString): Deprecated, reformatted.
8502         * java/sql/Time.java
8503         (valueOf): Deprecated, reformatted.
8504         (toString): Deprecated, reformatted.
8505
8506 2003-03-31  Michael Koch  <konqueror@gmx.de>
8507
8508         * java/rmi/dgc/VMID.java
8509         (isUnique): Deprecated.
8510
8511 2003-03-31  Michael Koch  <konqueror@gmx.de>
8512
8513         * java/io/File.java
8514         (separator): Merged documentation from classpath.
8515         (separatorChar): Merged documentation from classpath.
8516         (pathSeparator): Merged documentation from classpath.
8517         (pathSeparatorChar): Merged documentation from classpath.
8518         (path): Merged documentation from classpath.
8519         (canRead): Merged documentation from classpath.
8520         (canWrite): Merged documentation from classpath.
8521         (createNewFile): Merged documentation from classpath.
8522         (delete): Merged documentation from classpath.
8523         (equals): Merged documentation from classpath.
8524         (exists): Merged documentation from classpath.
8525         (File): Renamed p to name to match classpath, merged documentation
8526         from classpath.
8527         (getAbsolutePath): Merged documentation from classpath.
8528         (getCanonicalPath): Merged documentation from classpath.
8529         (getCanonicalFile): Merged documentation from classpath.
8530         (getName): Merged documentation from classpath.
8531         (getParent): Merged documentation from classpath.
8532         (getParentFile): Merged documentation from classpath.
8533         (getPath): Merged documentation from classpath.
8534         (hashCode): Merged documentation from classpath.
8535         (isAbsolute): Merged documentation from classpath.
8536         (isDirectory): Merged documentation from classpath.
8537         (isFile): Merged documentation from classpath.
8538         (isHidden): Merged documentation from classpath.
8539         (lastModified): Merged documentation from classpath.
8540         (length): Merged documentation from classpath.
8541         (list): Merged documentation from classpath.
8542         (listFiles): Merged documentation from classpath.
8543         (toString): Merged documentation from classpath.
8544         (toURL): Merged documentation from classpath.
8545         (mkdir): Merged documentation from classpath.
8546         (mkdirs): Merged documentation from classpath.
8547         (createTempFile): Merged documentation from classpath.
8548         (setReadOnly): Merged documentation from classpath.
8549         (listRoots): Merged documentation from classpath.
8550         (compareTo): Merged documentation from classpath.
8551         (renameTo): Merged documentation from classpath.
8552         (setLastModified): Merged documentation from classpath.
8553         * java/io/PrintStream.java
8554         (auto_flush): Merged documentation from classpath.
8555         (PrintStream): Merged documentation from classpath.
8556         (checkError): Merged documentation from classpath.
8557         (setError): Merged documentation from classpath.
8558         (close): Merged documentation from classpath.
8559         (flush): Merged documentation from classpath.
8560         (print): Merged documentation from classpath.
8561         (println):  Merged documentation from classpath.
8562         (write): Renamed count to len to match classpath,
8563         merged documentation from classpath.
8564         * java/io/RandomAccessFile.java
8565         (readShort): Merged documentation from classpath.
8566         (readUnsignedByte): Merged documentation from classpath.
8567         (readUnsignedShort): Merged documentation from classpath.
8568         (readUTF): Merged documentation from classpath.
8569         (seek): Reformatted, merged documentation from classpath.
8570         (skipBytes): Renamed some variables to match classpath, reformatted,
8571         merged documentation from classpath.
8572         (write): Merged documentation from classpath.
8573         (writeBoolean): Merged documentation from classpath.
8574         (writeByte): Merged documentation from classpath.
8575         (writeShort): Merged documentation from classpath.
8576         (writeChar): Merged documentation from classpath.
8577         (writeInt): Merged documentation from classpath.
8578         (writeLong): Merged documentation from classpath.
8579         (writeFloat): Merged documentation from classpath.
8580         (writeDouble): Merged documentation from classpath.
8581         (writeBytes): Merged documentation from classpath.
8582         (writeChars): Merged documentation from classpath.
8583         (writeUTF): Reformatted.
8584         (getChannel): Reformatted.
8585
8586 2003-03-31  Michael Koch  <konqueror@gmx.de>
8587
8588         * java/awt/font/TextAttribute.java
8589         (readResolve): Throws java.io.InvalidObjectException.
8590
8591 2003-03-31  Michael Koch  <konqueror@gmx.de>
8592
8593         * java/rmi/server/LoaderHandler.java
8594         (loadClass): Deprecated.
8595         (getSecurityContext): Deprecated.
8596         * java/rmi/server/LogStream.java
8597         (getDefaultStream): Deprecated.
8598         (setDefaultStream): Deprecated.
8599         (getOutputStream): Deprecated.
8600         (setOutputStream): Deprecated.
8601         (write): Deprecated.
8602         (toString): Deprecated.
8603         (parseLevel): Deprecated.
8604         * java/rmi/server/Operation.java
8605         (Operation): Deprecated.
8606         (getOperation): Deprecated.
8607         (toString): Deprecated.
8608         * java/rmi/server/RemoteCall.java
8609         (getOutputStream): Deprecated.
8610         (releaseOutputStream): Deprecated.
8611         (getInputStream): Deprecated.
8612         (releaseInputStream): Deprecated.
8613         (getResultStream): Deprecated.
8614         (executeCall): Deprecated.
8615         (done): Deprecated.
8616         * java/rmi/server/RemoteRef.java
8617         (invoke): Deprecated.
8618         (newCall): Deprecated.
8619         (done): Deprecated.
8620         * java/rmi/server/RemoteStub.java
8621         (setRef): Deprecated.
8622         * java/rmi/server/Skeleton.java:
8623         No need to import java.lang.Exception explicitly.
8624         (dispatch): Deprecated.
8625         (getOperations): Deprecated.
8626
8627 2003-03-31  Michael Koch  <konqueror@gmx.de>
8628
8629         * java/rmi/dgc/VMID.java,
8630         java/rmi/registry/RegistryHandler.java,
8631         java/rmi/server/LogStream.java,
8632         java/rmi/server/Operation.java,
8633         java/rmi/server/RemoteCall.java,
8634         java/rmi/server/RemoteRef.java,
8635         java/rmi/server/RemoteStub.java:
8636         Reformatted.
8637
8638 2003-03-31  Michael Koch  <konqueror@gmx.de>
8639
8640         * javax/swing/AbstractCellEditor.java,
8641         javax/swing/AbstractListModel.java,
8642         javax/swing/ActionMap.java,
8643         javax/swing/BorderFactory.java,
8644         javax/swing/ButtonGroup.java,
8645         javax/swing/DefaultBoundedRangeModel.java,
8646         javax/swing/DefaultButtonModel.java,
8647         javax/swing/DefaultCellEditor.java,
8648         javax/swing/DefaultComboBoxModel.java,
8649         javax/swing/DefaultDesktopManager.java,
8650         javax/swing/DefaultListCellRenderer.java,
8651         javax/swing/DefaultSingleSelectionModel.java,
8652         javax/swing/InputMap.java,
8653         javax/swing/JComponent.java,
8654         javax/swing/JMenu.java,
8655         javax/swing/JSlider.java,
8656         javax/swing/KeyStroke.java,
8657         javax/swing/OverlayLayout.java,
8658         javax/swing/ScrollPaneLayout.java,
8659         javax/swing/SizeRequirements.java,
8660         javax/swing/UIManager.java,
8661         javax/swing/ViewportLayout.java,
8662         javax/swing/border/AbstractBorder.java,
8663         javax/swing/colorchooser/DefaultColorSelectionModel.java,
8664         javax/swing/event/EventListenerList.java,
8665         javax/swing/table/AbstractTableModel.java,
8666         javax/swing/table/DefaultTableCellRenderer.java,
8667         javax/swing/table/DefaultTableColumnModel.java,
8668         javax/swing/table/DefaultTableModel.java,
8669         javax/swing/table/TableColumn.java,
8670         javax/swing/text/StyledEditorKit.java,
8671         javax/swing/tree/DefaultMutableTreeNode.java,
8672         javax/swing/tree/DefaultTreeModel.java,
8673         javax/swing/tree/DefaultTreeSelectionModel.java,
8674         javax/swing/tree/TreePath.java,
8675         javax/swing/undo/AbstractUndoableEdit.java,
8676         javax/swing/undo/StateEdit.java,
8677         javax/swing/undo/StateEditable.java,
8678         javax/swing/undo/UndoableEditSupport.java:
8679         Merges from classpath.
8680
8681 2003-03-30  Tom Tromey  <tromey@redhat.com>
8682
8683         * java/lang/String.java (data, boffset, count): Documented.
8684         (String(byte[],String)): Reformatted.
8685         (String(byte[])): Likewise.
8686         (lastIndexOf(int)): Likewise.
8687         (lastIndexOf(String)): Likewise.
8688         (substring(int)): Renamed argument to match Classpath.
8689         (String(StringBuffer)): Don't share buffer if it is nearly empty.
8690
8691         * java/lang/String.java: Miscellaneous minor formatting changes
8692         to match Classpath more closely.
8693
8694 2003-03-29  Eric Blake  <ebb9@email.byu.edu>
8695             Tom Tromey  <tromey@redhat.com>
8696
8697         * java/lang/natString.cc (hashCode): Use cachedHashCode.
8698         (init()): Removed.
8699         (charAt): Put index in exception.
8700         (contentEquals): New method.
8701         Include StringBuffer.h.
8702         * java/lang/String.java (cachedHashCode): New field.
8703         (String()): Follow classpath implementation.
8704         (init()): Removed.
8705         (contentEquals): Declare.
8706         (subSequence): Don't declare IndexOutIfBoundsException in throws
8707         clause.
8708         (matches, replaceFirst, replaceAll, split): New methods from
8709         Classpath.
8710
8711 2003-03-29  Tom Tromey  <tromey@redhat.com>
8712
8713         * java/lang/String.java: Reordered to follow Classpath; merged in
8714         javadoc.
8715
8716         * java/text/MessageFormat.java: Removed some whitespace.
8717
8718         * Makefile.in: Rebuilt.
8719         * Makefile.am (awt_java_source_files): Added new files.
8720         * gnu/javax/rmi/PortableServer.java,
8721         gnu/javax/rmi/CORBA/DelegateFactory.java,
8722         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
8723         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
8724         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
8725         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
8726         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
8727         javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
8728         javax/rmi/PortableRemoteObject.java,
8729         javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
8730         javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
8731         javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
8732         javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
8733         javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
8734         javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
8735
8736         * java/lang/natClass.cc (newInstance): Put method name in
8737         exception.
8738         (getConstructor): Likewise.
8739         (getDeclaredConstructor): Likewise.
8740         (getPrivateMethod): Likewise.
8741
8742 2003-03-28  Tom Tromey  <tromey@redhat.com>
8743
8744         * java/lang/reflect/Proxy.java: New version from Classpath.
8745         * java/lang/Package.java: New version from Classpath.
8746
8747 2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
8748
8749         * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
8750         * configure: Regenerate.
8751
8752 2003-03-28  Michael Koch  <konqueror@gmx.de>
8753
8754         * java/io/File.java:
8755         Import needed classes instead of whole packages, merged class
8756         documentation with classpath, moved constants and variables to top of
8757         class.
8758         * java/io/PrintStream.java:
8759         Merged class documentation with classpath, moved constants and
8760         variables to top of class.
8761         * java/io/RandomAccessFile.java
8762         (RandomAccessFile): Merged with classpath.
8763         (read): Merged with classpath).
8764         (read*): Reformatted.
8765
8766 2003-03-28  Michael Koch  <konqueror@gmx.de>
8767
8768         * java/io/FileDescriptor.java
8769         (finalize): Throws Throwable, not IOException.
8770         * java/io/ObjectOutputStream.java
8771         (PutField.put): Doesnt throws anything.
8772
8773 2003­03-28  Michael Koch  <konqueror@gmx.de>
8774
8775         * java/io/FileOutputStream.java:
8776         Merged class documentation and authors with classpath.
8777         (FileOutputStream): Partly merged with classpath.
8778         (write): Merged with classpath.
8779         (getChannel): Make it synchronized instead of explicit block in this
8780         method.
8781         * java/io/RandomAccessFile.java:
8782         Merged class documentation and authors with classpath.
8783
8784 2003-03-26  Tom Tromey  <tromey@redhat.com>
8785
8786         * java/lang/natRuntime.cc (insertSystemProperties): Set
8787         gnu.classpath.home.url.
8788         * Makefile.in: Rebuilt.
8789         * Makefile.am: Define LIBDIR.
8790
8791 2003-03-25  Michael Koch  <konqueror@gmx.de>
8792
8793         * java/io/FileInputStream.java
8794         (read): Renamed b to buf and off to offset.
8795         * java/io/FileOutputStream.java
8796         (ch): Documentation added.
8797         (FileOutputStream): Documentation added.
8798         (getFD): Documentation added.
8799         (write): Documentation added.
8800         (close): Documentation added.
8801         (getChannel): Documentation added.
8802
8803 2003-03-24  Michael Koch  <konqueror@gmx.de>
8804
8805         * java/io/DataOutputStream.java
8806         (write): Merged from classpath.
8807         * java/io/File.java:
8808         Merged copyrigth with classpath.
8809         * java/io/FileInputStream.java
8810         (getChannel): Made it synchronized instead of using a synchronized
8811         block.
8812         * java/io/FileOutputStream.java: Reformatted.
8813         * java/io/InputStreamReader.java
8814         (InputStreamReader): Renamed enc to encoding_name.
8815         (close): Merged documentation from classpath.
8816         (getEncoding): Merged documentation from classpath.
8817         (ready): Merged documentation from classpath.
8818         (read): Merged documentation from classpath.
8819         * java/io/LineNumberReader.java
8820         (lineNumber): Made it private.
8821         (LineNumberReader): Use Constant instead of a direct value.
8822         * java/io/OutputStreamWriter.java
8823         (OutputStreamWriter): Renamed enc to encoding_scheme, merged
8824         documentation from classpath.
8825         (close): Merged documentation from classpath.
8826         (flush): Merged documentation from classpath.
8827         (write): Merged documentation from classpath.
8828         * java/io/PrintStream.java: Reformatted.
8829
8830 2003-03-24  Michael Koch  <konqueror@gmx.de>
8831
8832         * javax/swing/text/ComponentView.java
8833         (getComponent): Must be final.
8834         * javax/swing/tree/DefaultTreeCellRenderer.java:
8835         Reformatted.
8836         * javax/swing/undo/StateEditable.java:
8837         Reformatted.
8838
8839 2003-03-24  Michael Koch  <konqueror@gmx.de>
8840
8841         * java/rmi/activation/ActivationInstantiator.java:
8842         Reformatted.
8843         * java/rmi/activation/Activator.java:
8844         Reformatted.
8845         * java/rmi/registry/RegistryHandler.java:
8846         Remerged from classpath.
8847
8848 2003-03-24  Michael Koch  <konqueror@gmx.de>
8849
8850         * java/util/Date.java:
8851         Fixed documentation starting tag to make javadoc happy.
8852         * java/util/regex/Pattern.java
8853         (Pattern): Implements Serializable.
8854         * java/util/PatternSyntaxException.java
8855         (serialVersionUID): New member variable.
8856
8857 2003-03-24  Michael Koch  <koqnueror@gmx.de>
8858
8859         * java/awt/ContainerOrderFocusTraversalPolicy.java
8860         (getFirstComponent): Implemented.
8861         (getLastComponent): Implemented.
8862         (getDefaultComponent): Implemented.
8863         (setImplicitDownCycleTraversal): Fixed implementation.
8864         * java/awt/Robot.java
8865         (Robot): Added documentation.
8866         * java/awt/Toolkit.java
8867         (getFontList): Deprecated.
8868         (getFontMetrics): Deprecated.
8869         (getPrintJob): Added documentation.
8870         (getSystemSelection): Added documentation.
8871         (getLockingKeyState): Added documentation.
8872         (setLockingKeyState): Added documentation.
8873         (createCustomCursor): Added documentation.
8874         (getBestCursorSize): Added documentation.
8875         (getMaximumCursorColors): Added documentation.
8876         (isFrameStateSupported): Added documentation.
8877
8878 2003-03-24  Michael Koch  <konqueror@gmx.de>
8879
8880         * java/io/RandomAccessFile.java:
8881         More little merges with classpath. No code changes.
8882
8883 2003-03-24  Michael Koch  <konqueror@gmx.de>
8884
8885         * java/net/natInetAddressNoNet.cc:
8886         Include stddef.h.
8887         * java/net/natPlainDatagramSocketImplNoNet.cc:
8888         Fixed inlcude of java/net/DatagramPacket.h.
8889         * java/net/natPlainSocketImplNoNet.cc:
8890         Include some missing classes.
8891
8892 2003-03-24  Michael Koch  <konqueror@gmx.de>
8893
8894         * java/awt/dnd/DropTarget.java
8895         (DropTargetAutoScroller): According to the online documentation, this
8896         is protected, but in reality it is public.
8897         * java/awt/dnd/DropTargetContext.java
8898         (TransferableProxy): According to the online documentation, this
8899         is protected, but in reality it is public.
8900
8901 2003-03-24  Michael Koch  <konqueror@gmx.de>
8902
8903         * java/io/DataInputStream.java
8904         (): Wrapped documentation line.
8905         (): Fixed @return tag.
8906         * java/io/DataOutputStream.java
8907         (written): Moved to top of class.
8908         (all methods): Merged documentation from classpath.
8909         * java/io/File.java:
8910         Merged copyright year with classpath.
8911         * java/io/FileInputStream.java
8912         (all methods): Merged documentation from classpath.
8913         * java/io/LineNumberReader.java
8914         (getLineNumber): Fixed @return tag.
8915         * java/io/ObjectInputStream.java.
8916         Reformatted.
8917         * java/io/ObjectOutputStream.java:
8918         Reformatted, fixed some @see tags.
8919         * java/io/OutputStreamWriter.java:
8920         Deleted empty line.
8921         * java/io/Writer.java:
8922         Reformatted.
8923
8924 2003-03-24  Michael Koch  <konqueror@gmx.de>
8925
8926         * java/awt/Frame.java
8927         (DEFAULT_CURSOR): Fixed @deprecated tag.
8928         (setCursor): Fixed @deprecated tag.
8929
8930 2003-03-24  Michael Koch  <konqueror@gmx.de>
8931
8932         * java/beans/beancontext/BeanContextEvent.java:
8933         Reformated.
8934
8935 2003-03-23  Eric Blake  <ebb9@email.byu.edu>
8936
8937         * java/lang/natStringBuffer.cc (regionMatches): New function.
8938         * java/lang/String.java (count): Now package-private.
8939         * java/lang/StringBuffer.java: Merged with Classpath.
8940
8941 2003-03-23  Michael Koch  <konqueror@gmx.de>
8942
8943         * java/io/BufferedOutputStream.java:
8944         Reformated.
8945         * java/io/BufferedReader.java:
8946         Reformated.
8947         * java/io/ByteArrayOutputStream.java
8948         (size): Fixed @see tag.
8949         * java/io/CharArrayWriter.java
8950         (size): Fixed @see tag.
8951         * java/io/DataInput.java:
8952         Reformated.
8953         * java/io/DataOutput.java:
8954         Reformated.
8955         * java/io/DataOutputStream.java:
8956         Merged copyright years with classpath.
8957         * java/io/Externalizable.java:
8958         Reformated.
8959         * java/io/FileFilter.java:
8960         Reformated.
8961         * java/io/FileInputStream.java:
8962         Merged copyright years with classpath.
8963         * java/io/FileOutputStream.java:
8964         Merged copyright years with classpath.
8965         * java/io/FilePermission.java
8966         (FilePermission): Replaced @XXX with FIXME:.
8967         * java/io/FileWriter.java:
8968         Reformated.
8969         * java/io/FilenameFilter.java:
8970         Reformated.
8971         * java/io/FilterInputStream.java:
8972         Reformated.
8973         * java/io/FilterOutputStream.java:
8974         Reformated.
8975         * java/io/FilterReader.java:
8976         Reformated.
8977         * java/io/FilterWriter.java:
8978         Reformated.
8979         * java/io/LineNumberInputStream.java
8980         (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
8981         happy.
8982         (getLineNumber): Fixed @return tag.
8983         * java/io/ObjectInput.java:
8984         Reformated.
8985         * java/io/ObjectOutput.java:
8986         Reformated.
8987         * java/io/ObjectStreamClass.java:
8988         Reformated.
8989         * java/io/PrintStream.java:
8990         Merged copyright years with classpath.
8991         * java/io/PushbackReader.java
8992         (PushbackReader): Replaced @code with @param.
8993         * java/io/SerializablePermission.java:
8994         Reformated.
8995         * java/io/StreamTokenizer.java
8996         (resetSyntax): Fixed @see tag.
8997
8998 2003-03-22  Richard Henderson  <rth@redhat.com>
8999
9000         * sysdep/ia64/locks.h: Include ia64intrin.h.
9001         (compare_and_swap): Use __sync_bool_compare_and_swap.
9002         (compare_and_swap_release): Expose ar.ccv assignment.
9003
9004 2003-03-22  Andreas Tobler <a.tobler@schweiz.ch>
9005
9006         * include/posix.h: Add suffix for darwin dynamic libraries.
9007
9008 2003-03-21  Michael Koch  <konqueror@gmx.de>
9009
9010         * javax/swing/Action.java
9011         (ACCELERATOR_KEY): New constant.
9012         (ACTION_COMMAND_KEY): Likewise.
9013         (MNEMONIC_KEY): Likewise.
9014         * javax/swing/UnsupportedLookAndFeelException.java
9015         (UnsupportedLookAndFeelException): Must be public.
9016         * javax/swing/WindowConstants.java
9017         (EXIT_ON_CLOSE): New constant.
9018         * javax/swing/text/BadLocationException.java
9019         (offset): New member variable.
9020         (BadLocationException): New implementation, documentation added.
9021         (offsetRequested): New method.
9022         * javax/swing/text/Caret.java:
9023         Reformated.
9024         * javax/swing/text/Document.java:
9025         Reformated.
9026
9027 2003-03-21  Michael Koch  <konqueror@gmx.de>
9028
9029         * java/rmi/activation/Activatable.java
9030         (serialVersionUID): New member variable.
9031         * java/rmi/activation/ActivationGroup.java
9032         (serialVersionUID): New member variable.
9033         * java/rmi/activation/ActivationGroupDesc.java
9034         (serialVersionUID): New member variable.
9035         * java/rmi/registry/Registry.java:
9036         Reformated.
9037         (Registry): Deprecated.
9038         * java/rmi/server/LoaderHandler.java
9039         Reformated.
9040         (LoaderHandler): Deprecated.
9041         * java/rmi/server/LogStream.java
9042         Reformated.
9043         (LogStream): Deprecated.
9044         * java/rmi/server/Operation.java
9045         (Operation): Deprecated.
9046         * java/rmi/server/RMIFailureHandler.java:
9047         Reformated.
9048         * java/rmi/server/RMISocketFactory.java:
9049         Reformated.
9050         * java/rmi/server/RemoteCall.java
9051         (RemoteCall): Deprecated.
9052         * java/rmi/server/RemoteStub.java:
9053         Reformated.
9054         * java/rmi/server/Skeleton.java
9055         Reformated.
9056         (Skeleton): Deprecated.
9057
9058 2003-03-21  Michael Koch  <konqueror@gmx.de>
9059
9060         * java/io/LineNumberReader.java
9061         (LineNumberReader): Merged documentation with classpath.
9062         (getLineNumber): Likewise.
9063         (setLineNumber): Likewise.
9064         (mark): Likewise.
9065         (reset): Likewise.
9066         (read): Likewise.
9067         (readLine): Likewise.
9068         (skip): Likewise.
9069
9070 2003-03-21  Michael Koch  <konqueror@gmx.de>
9071
9072         * java/rmi/RMISecurityManager.java
9073         (checkAccept): Removed.
9074         (checkAccess): Likewise.
9075         (checkAccess): Likewise.
9076         (checkAwtEventQueueAccess): Likewise.
9077         (checkConnect): Likewise.
9078         (checkCreateClassLoader): Likewise.
9079         (checkDelete): Likewise.
9080         (checkExec): Likewise.
9081         (checkExit): Likewise.
9082         (checkLink): Likewise.
9083         (checkListen): Likewise.
9084         (checkMemberAccess): Likewise.
9085         (checkMulticast): Likewise.
9086         (checkPackageAccess): Likewise.
9087         (checkPackageDefinition): Likewise.
9088         (checkPermission): Likewise.
9089         (checkPrintJobAccess): Likewise.
9090         (checkPropertiesAccess): Likewise.
9091         (checkPropertyAccess): Likewise.
9092         (checkRead): Likewise.
9093         (checkSecurityAccess): Likewise.
9094         (checkSetFactory): Likewise.
9095         (checkSystemClipboardAccess): Likewise.
9096         (checkTopLevelWindow): Likewise.
9097         (checkWrite): Likewise.
9098
9099 2003-03-20  Michael Koch  <konqueror@gmx.de>
9100
9101         * gnu/java/nio/FileChannelImpl.java
9102         (address): Removed.
9103         (map_address): New member variable.
9104         (length): Make it package private.
9105         (fd): Make it package private.
9106         (buf): Make it package private.
9107         (file_obj): Make it package private.
9108         (FileChannelImpl): New constructor.
9109         (nio_mmap_file): Use RawData instead of long.
9110         (nio_munmap_file): Use RawData instead of long.
9111         (nio_msync): Use RawData instead of long.
9112         (implCloseChannel): New implementation using map_address.
9113         (read): Reformated.
9114         (map): Implemented.
9115         (create_direct_mapped_buffer): Implemented, use RawData, throws
9116         IOException.
9117         (force): Use map_address instead of address.
9118         * gnu/java/nio/MappedByteFileBuffer.java
9119         (address): Removed.
9120         (map_address): New member variable.
9121         (MappedByteFileBuffer): Use map_address instead of address, reformated.
9122         (several methods): Use map_address instead of address, replaced long
9123         with RawData where appropriate.
9124         * gnu/java/nio/natFileChannelImpl.cc
9125         (nio_mmap_file): Replaced long with RawData.
9126         (nio_munmap_file): Replaced long with RawData.
9127         (nio_msync): Replaced long with RawData.
9128         * gnu/java/nio/natMappedByteFileBuffer.cc
9129         (several methods): Replaced long with RawData where appropriate.
9130
9131 2003-03-20  Michael Koch  <konqueror@gmx.de>
9132
9133         * java/net/InetAddress.java,
9134         java/net/JarURLConnection.java,
9135         java/net/PlainDatagramSocketImpl.java,
9136         java/net/PlainSocketImpl.java,
9137         java/net/URLConnection.java:
9138         Merged copyright statements with classpath for easier merging.
9139
9140 2003-03-20  Michael Koch  <konqueror@gmx.de>
9141
9142         * java/io/FileInputStream.java
9143         (getChannel): New implementation.
9144         * java/io/FileOutputStream.java
9145         (ch): New member variable.
9146         (getChannel): Implemented.
9147         * java/io/RandomAccessFile.java
9148         (RandomAccessFile): Throws FileNotFoundException instead of
9149         IOException.
9150         (getChannel): New method.
9151         (ch): New member variable.
9152
9153 2003-03-20  Michael Koch  <konqueror@gmx.de>
9154
9155         * java/io/DataOutputStream.java,
9156         java/io/File.java,
9157         java/io/FileInputStream.java,
9158         java/io/FileOutputStream.java,
9159         java/io/InputStreamReader.java,
9160         java/io/LineNumberReader.java,
9161         java/io/OutputStreamWriter.java,
9162         java/io/PrintStream.java,
9163         java/io/RandomAccessFile.java:
9164         Merged copyright statements with classpath for easier merging.
9165
9166 2003-03-19  Michael Koch  <konqueror@gmx.de>
9167
9168         * java/lang/Process.java:
9169         Merged from classpath.
9170
9171 2003-03-19  Michael Koch  <konqueror@gmx.de>
9172
9173         * java/io/FileOutputStream.java
9174         (FileOutputStream): New constructor, merged from classpath.
9175         * java/io/FileWriter.java
9176         (FileWriter): New constructor, merged from classpath.
9177
9178 2003-03-18  Michael Koch  <konqueror@gmx.de>
9179
9180         * java/awt/ScrollPane.java
9181         (ScrollPane): Rewrote for new ScrollPaneAdjustable.
9182         (getViewportSize): Likewise.
9183         (addNotify): Likewise.
9184         (removeNotify): Likewise.
9185         * java/awt/ScrollPaneAdjustable.java
9186         (ScrollPaneAdjustable): No longer extends Scrollbar.
9187         * java/beans/beancontext/BeanContextServices.java:
9188         Reformated.
9189         (getService): Added throws TooManyListenersException;
9190         * java/beans/beancontext/BeanContextServicesSupport.java:
9191         Reformated.
9192
9193 2003-03-18  Michael Koch  <konqueror@gmx.de>
9194
9195         * java/io/BufferedOutputStream.java,
9196         java/io/DataInput.java,
9197         java/io/DataInputStream.java,
9198         java/io/DataOutput.java,
9199         java/io/Externalizable.java:
9200         More merges from classpath.
9201
9202 2003-03-18  Michael Koch  <konqueror@gmx.de>
9203
9204         * configure.in: Fixed links to platform dependant java.net files.
9205         * configure: Regenerated.
9206         * java/net/natInetAddress.cc,
9207         java/net/natNetworkInterface.cc,
9208         java/net/natPlainDatagramSocketImpl.cc,
9209         java/net/natPlainSocketImpl.cc:
9210         Removed.
9211
9212 2003-03-18  Michael Koch  <konqueror@gmx.de>
9213
9214         * configure.in: Create links to architecture dependent files,
9215         introduced PLATFORMNET variable (set to NoNet for newlib usage).
9216         * configure: Regenerated.
9217         * java/net/natInetAddressNoNet.cc,
9218         java/net/natInetAddressPosix.cc,
9219         java/net/natInetAddressWin32.cc,
9220         java/net/natNetworkInterfaceNoNet.cc,
9221         java/net/natNetworkInterfacePosix.cc,
9222         java/net/natNetworkInterfaceWin32.cc,
9223         java/net/natPlainDatagramSocketImplNoNet.cc,
9224         java/net/natPlainDatagramSocketImplPosix.cc,
9225         java/net/natPlainDatagramSocketImplWin32.cc,
9226         java/net/natPlainSocketImplNoNet.cc,
9227         java/net/natPlainSocketImplPosix.cc,
9228         java/net/natPlainSocketImplWin32.cc: New files.
9229
9230 2003-03-18  Michael Koch  <konqueror@gmx.de>
9231
9232         * java/io/BufferedReader.java,
9233         java/io/BufferedWriter.java,
9234         java/io/ByteArrayOutputStream.java,
9235         java/io/FileFilter.java,
9236         java/io/FilePermission.java,
9237         java/io/FileReader.java,
9238         java/io/FileWriter.java,
9239         java/io/FilenameFilter.java,
9240         java/io/FilterInputStream.java,
9241         java/io/FilterOutputStream.java,
9242         java/io/FilterReader.java,
9243         java/io/FilterWriter.java,
9244         java/io/ObjectInput.java,
9245         java/io/ObjectInputValidation.java,
9246         java/io/ObjectOutput.java,
9247         java/io/ObjectStreamField.java,
9248         java/io/PipedInputStream.java,
9249         java/io/PipedReader.java,
9250         java/io/PrintWriter.java,
9251         java/io/PushbackReader.java,
9252         java/io/Reader.java,
9253         java/io/SerializablePermission.java,
9254         java/io/StringReader.java,
9255         java/io/Writer.java:
9256         Merged from classpath.
9257
9258 2003-03-17  Michael Koch  <konqueror@gmx.de>
9259
9260         * java/awt/ScrollPaneAdjustable.java:
9261         Compile fixes.
9262         
9263 2003-03-17  Michael Koch  <konqueror@gmx.de>
9264
9265         * java/net/DatagramSocket.java
9266         (connect): Fixed comment.
9267         * java/nio/ByteBuffer.java
9268         (hasArray): Fixed comment.
9269
9270 2003-03-17  Michael Koch  <konqueror@gmx.de>
9271
9272         * java/beans/Beans.java:
9273         Explicitely import classes not packages.
9274         * java/beans/FeatureDescriptor.java
9275         (preferred): New member variable.
9276         (isPreferred): New method.
9277         (setPreferred): New method.
9278         * java/beans/PropertyEditorManager.java:
9279         Explicitely import used classes.
9280         * java/beans/beancontext/BeanContextChild.java:
9281         Added line wrapping.
9282         * java/beans/beancontext/BeanContextChildSupport.java:
9283         Reindented.
9284         * java/beans/beancontext/BeanContextEvent.java:
9285         Reindented.
9286
9287 2003-03-17  Michael Koch  <konqueror@gmx.de>
9288
9289         * java/awt/Dialog.java
9290         (Dialog): New constructor, changed implementations, added
9291         documentation.
9292         * java/awt/ScrollPaneAdjustable.java
9293         (ScrollPaneAdjustable): Extends Object, implements Adjustable and
9294         Serializable.
9295         (serialVersionUID): New member variable.
9296         (sp): New member variable.
9297         (orientation): New member variable.
9298         (value): New member variable.
9299         (minimum): New member variable.
9300         (maximum): New member variable.
9301         (visibleAmount): New member variable.
9302         (unitIncrement): New member variable.
9303         (blockIncrement): New member variable.
9304         (AdjustmentListener): New member variable.
9305         (ScrollPaneAdjustable): New implementation.
9306         (addAdjustmentListener): New method.
9307         (removeAdjustmentListener): New method.
9308         (getAdjustmentListeners): New method.
9309         (getBlockIncrement): New method.
9310         (getMaximum): New method.
9311         (getMinimum): New method.
9312         (getOrientation): New method.
9313         (getUnitIncrement): New method.
9314         (getValue): New method.
9315         (getVisibleAmount): New method.
9316         (setBlockIncrement): New method.
9317         (setMaximum): Implemented.
9318         (setMinimum): Implemented.
9319         (setUnitIncrement): New method.
9320         (setValue): New method.
9321         (setVisibleAmount): Implemented. 
9322         (paramString): New stubbed method.
9323         * java/awt/Window.java
9324         (show): Call setVisible().
9325         (hide): Call setVisible().
9326         (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
9327         and WINDOW_STATE_CHANGED.
9328         (processWindowFocusEvent): New method.
9329         (processWindowStateEvent): New method.
9330         (postEvent): Deprecated.
9331         (applyResourceBundle): Deprecated.
9332         * java/awt/datatransfer/DataFlavor.java
9333         (DataFlavor): Doesn't thow ClassNotFoundException.
9334
9335 2003-03-17  Michael Koch
9336
9337         * javax/print/attribute/Attribute.java,
9338         javax/print/attribute/AttributeSet.java,
9339         javax/print/attribute/PrintRequestAttributeSet.java:
9340         New files.
9341         * Makefile.am
9342         (javax_source_files): Added new files:
9343         javax/print/attribute/Attribute.java
9344         javax/print/attribute/AttributeSet.java
9345         javax/print/attribute/PrintRequestAttributeSet.java
9346         * Makefile.in: Regenerated.
9347
9348 2003-03-17  Michael Koch
9349
9350         * javax/print/attribute/Attribute.java,
9351         javax/print/attribute/AttributeSet.java,
9352         javax/print/attribute/PrintRequestAttributeSet.java:
9353         New files.
9354         * Makefile.am
9355         (awt_java_source_files): Added new files:
9356         javax/print/attribute/Attribute.java
9357         javax/print/attribute/AttributeSet.java
9358         javax/print/attribute/PrintRequestAttributeSet.java
9359         * Makefile.in: Regenerated.
9360
9361 2003-03-16  Tom Tromey  <tromey@redhat.com>
9362
9363         * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
9364         Include platform.h.
9365         * java/lang/natRuntime.cc (insertSystemProperties): Use
9366         _Jv_platform_path_separator.
9367         (nativeGetLibname): Use _Jv_platform_file_separator.
9368         (_load): Use _Jv_platform_onload_names.
9369         (onload_names): New global.
9370         * include/win32.h (_Jv_platform_file_separator): New define.
9371         (_Jv_platform_path_separator): Likewise.
9372         (_Jv_platform_onload_names): Likewise.
9373         (_Jv_platform_ffi_abi): Likewise.
9374         * include/posix.h (_Jv_platform_file_separator): New define.
9375         (_Jv_platform_path_separator): Likewise.
9376         (_Jv_platform_onload_names): Likewise.
9377         (_Jv_platform_ffi_abi): Likewise.
9378
9379 2003-03-14  Hans Boehm  <Hans.Boehm@hp.com>
9380
9381         * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
9382
9383 2003-02-14  Jeroen Frijters  <jeroen@sumatra.nl>
9384
9385         * java/io/ObjectInputStream.java (readObject): Cleaned up the class
9386         hierarchy loop.
9387         (readFields(Object,ObjectStreamField[],boolean)): Changed argument
9388         list to Object,ObjectStreamClass, moved callReadMethod code up into
9389         readObject and added Class argument to all setXxxField calls.
9390         (callReadMethod): Changed Class argument to ObjectStreamClass to be
9391         consistent with ObjectOutputStream and to facilitate caching the
9392         Method in the future.
9393         (setBooleanField): Added Class argument.
9394         (setByteField): Likewise.
9395         (setCharField): Likewise.
9396         (setDoubleField): Likewise.
9397         (setFloatField): Likewise.
9398         (setIntField): Likewise.
9399         (setLongField): Likewise.
9400         (setShortField): Likewise.
9401         (setObjectField): Likewise.
9402         * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
9403         class hierarchy loop.
9404         (defaultWriteObject): Call writeFields with new argument list.
9405         (writeFields(Object,ObjectStreamField[],boolean): Changed argument
9406         list to Object,ObjectStreamClass, moved callWriteMethod up into
9407         writeObject and added Class argument to all getXxxField calls.
9408         (callWriteMethod): Added ObjectStreamClass argument to be able to
9409         get the proper class to call getMethod on (each class can have (or
9410         not have) its own writeObject method).
9411         (getBooleanField): Added Class argument.
9412         (getByteField): Likewise.
9413         (getCharField): Likewise.
9414         (getDoubleField): Likewise.
9415         (getFloatField): Likewise.
9416         (getIntField): Likewise.
9417         (getLongField): Likewise.
9418         (getShortField): Likewise.
9419         (getObjectField): Likewise.
9420         * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
9421         facilitate caching the Method object in the future.
9422
9423 2003-03-12  Andreas Schwab  <schwab@suse.de>
9424
9425         * configure.in: Avoid trailing /. in toolexeclibdir.
9426         * configure: Rebuilt.
9427
9428 2003-03-11  Michael Koch  <konqueror@gmx.de>
9429
9430         * gnu/java/nio/ByteBufferImpl.java
9431         (putInt): Use limit() instead of limit.
9432         * gnu/java/nio/CharBufferImpl.java
9433         (slice): Fixed implementation.
9434         (subSequence): Better bounds checking.
9435         * gnu/java/nio/MappedByteFileBuffer.java:
9436         Import all needed classes directly.
9437         * java/nio/ByteBuffer.java
9438         (hashCode): New dummy method.
9439         * java/nio/CharBuffer.java
9440         (array_offset): New member variable.
9441         (hasArray): Fixed documentation.
9442         (arrayOffset): Return array_offset.
9443
9444 2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>
9445
9446         * include/jvm.h: removed declaration of _Jv_ThisExecutable()
9447         setter; made return value of getter const char* instead of char*
9448         * prims.cc: removed all references to _Jv_ThisExecutable().
9449         These are in the platform-specific sections now.
9450         * posix.cc: define platform-specific _Jv_ThisExecutable().
9451         Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
9452         * win32.cc: define platform-specific _Jv_ThisExecutable()
9453         using GetModuleFilename()
9454         * java/lang/natRuntime.cc: set gnu.gcj.progname property
9455         to argv[0] instead of _Jv_ThisExecutable()
9456
9457 2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>
9458
9459         * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
9460         that is set if we are using addr2name.awk instead of addr2line.
9461         (NameFinder): Set usingAddr2name if using addr2name.awk.
9462         (getExternalLabel): New native method to convert a method 
9463         name to an external label.
9464         (lookup): Convert name given by addr2line to an external label
9465         before demangling.
9466
9467         * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
9468         constant representing the prefix attached to method names to
9469         convert them to an external label.
9470         (gnu::gcj::runtime::NameFinder::getExternalLabel): Define 
9471         using LABEL_PREFIX.
9472
9473 2003-03-10  Tom Tromey  <tromey@redhat.com>
9474
9475         * Makefile.in: Rebuilt.
9476         * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
9477         (JC1FLAGS): Removed -Wno-deprecated.
9478
9479 2003-03-10  Michael Koch  <konqueror@gmx.de>
9480
9481         * java/nio/ByteOrder.java
9482         (nativeOrder): Working implementation, added documentation.
9483         (toString): Added documentation.
9484
9485 2003-03-10  Michael Koch  <konqueror@gmx.de>
9486
9487         * java/net/DatagramSocket.java,
9488         java/net/MulticastSocket.java,
9489         java/net/Socket.java,
9490         java/net/URL.java,
9491         java/net/URLConnection.java:
9492         Fixed some documentation tags to make javadoc and friends happy.
9493
9494 2003-03-10  Michael Koch  <koqnueror@gmx.de>
9495
9496         * java/beans/beancontext/BeanContextServicesSupport.java,
9497         java/beans/beancontext/BeanContextSupport.java: New files.
9498         * Makefile.am
9499         (awt_source_files): Added new files.
9500         * Makefile.in: Regenerated.
9501
9502 2003-03-10  Michael Koch  <konqueror@gmx.de>
9503
9504         * java/awt/FocusTraversalPolicy.java
9505         (FocusTraversalPolicy): Documentation added.
9506         (getComponentAfter): Documentation added.
9507         (getComponentBefore): Documentation added.
9508         (getFirstComponent): Documentation added.
9509         (getLastComponent): Documentation added.
9510         (getDefaultComponent): Documentation added.
9511         (getInitialComponent): Documentation added.
9512         * java/awt/ScrollPaneAdjustable.java
9513         (sp): New member variable.
9514         (orientation): New member variable.
9515         (value): New member variable.
9516         (minimum): New member variable.
9517         (maximum): New member variable.
9518         (visibleAmount): New member variable.
9519         (unitIncrement): New member variable.
9520         (blockIncrement): New member variable.
9521         (adjustmentListener): New member variable.
9522         (ScrollPaneAdjustable): Rewrote.
9523         (addAdjustmentListener): New method.
9524         (removeAdjustmentListener): New method.
9525         (getAdjustmentListeners): New method.
9526         (getBlockIncrement): New method.
9527         (getMaximum): New method.
9528         (getMinimum): New method.
9529         (getOrientation): New method.
9530         (getUnitIncrement): New method.
9531         (getValue): New method.
9532         (getVisibleAmount): New method.
9533         (setBlockIncrement): New method.
9534         (setUnitIncrement): New method.
9535         (setMaximum): Implemented.
9536         (setMinimum): Implemented.
9537         (setValue): New method.
9538         (setVisibleAmount): Implemented.
9539         (paramString): New method.
9540         * java/awt/Window.java
9541         (show): Use setVisible(true) instead of super.show().
9542         (hide): Use sevVisible(false) instead of super.hide().
9543         (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
9544         WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
9545         (postEvent): Deprecated.
9546         (applyResourceBundle): Deprecated.
9547         (processWindowFocusEvent): New method.
9548         (processWindowStateEvent): New method.
9549         * java/awt/datatransfer/DataFlavor.java: Reindented.
9550         * java/awt/font/TextHitInfo.java
9551         (charIndex): New member variable.
9552         (leadingEdge): New member variable.
9553         (TextHitInfo): New constructor.
9554         (getCharIndex): Implemented.
9555         (isLeadingEdge): Implemented.
9556         (getInsertionIndex): Implemented.
9557         (hashCode): Access charIndex directly.
9558         (equals): Reformated.
9559         (leading): Implemented.
9560         (trailing): Implemented.
9561         (beforeOffset): Implemented.
9562         (afterOffset): Implemented.
9563         (getOtherHit): Implemented.
9564         (getOffsetHit): Implemented.
9565         (toString): Implemented.
9566         * java/awt/image/BufferedImage.java
9567         (BufferedImage): Implements WritableRenderedImage.
9568         (observers): New member variable.
9569         (addTileObserver): New method.
9570         (removeTileObserver): New method.
9571
9572 2003-03-09  Tom Tromey  <tromey@redhat.com>
9573
9574         PR libgcj/9934:
9575         * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
9576         to lseek.  Return 0 if we can't compute the value.
9577
9578 2003-03-03  Michael Koch  <konqueror@gmx.de>
9579
9580         * java/net/NetworkInterface.java: Merged with classpath.
9581
9582 2003-03-03  Tom Tromey  <tromey@redhat.com>
9583
9584         * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
9585         of bytecode.
9586         (handle_ret_insn): Fail if returning to jsr that appears at end of
9587         bytecode.
9588
9589 2003-03-03  Michael Koch  <konqueror@gmx.de>
9590
9591         * Makefile.am
9592         (ordinary_java_source_files):
9593         Added gnu/java/nio/MappedByteFileBuffer.java.
9594         (nat_source_files):
9595         Added gnu/java/nio/natMappedByteFileBuffer.cc.
9596         * Makefile.in: Regenerated.
9597
9598 2003-03-03  Michael Koch  <konqueror@gmx.de>
9599
9600         * java/net/DatagramSocket.java
9601         (connect): Merged comment from classpath.
9602         (receive): Merged documentation from classpath.
9603         * java/net/Socket.java
9604         (setSoTimeout): Clarified documentation.
9605         * java/net/URL.java
9606         (getPath): Merged from classpath.
9607         (getUserInfo): Merged from classpath.
9608         (getQuery): Merged from classpath.
9609         * java/net/URLStreamHandler.java
9610         (toExternalForm): Merged from classpath.
9611
9612 2003-03-02  Mark Wielaard  <mark@klomp.org>
9613
9614         * java/util/Properties.java (load): Only skip line if the first
9615         character is a comment, whitespaces don't count.
9616
9617 2003-03-02  Michael Koch  <konqueror@gmx.de>
9618
9619         * java/net/NetPermission.java:
9620         Merged copyright with classpath.
9621
9622 2003-03-02  Michael Koch  <konqueror@gmx.de>
9623
9624         * java/lang/Package.java:
9625         Remerged from classpath.
9626
9627 2003-03-02  Michael Koch  <konqueror@gmx.de>
9628
9629         * java/net/HttpURLConnection.java
9630         (HTTP_SERVER_ERROR): Deprecated.
9631         * java/net/MulticastSocket.java
9632         (send): Replaced checkMulticast with appropriate checkPermission call,
9633         deprecated.
9634         * java/net/URLDecoder.java
9635         (decode): Deprecated.
9636         * java/net/URLEncoder.java
9637         (encode): Deprecated.
9638
9639 2003-03-02  Michael Koch  <konqueror@gmx.de>
9640
9641         * javax/swing/text/Caret.java
9642         (getMagicCaretPosition): Fixed typo in method name.
9643         * javax/swing/text/DefaultCaret.java
9644         (getMagicCaretPosition): Fixed typo in method name.
9645
9646 2003-03-02  Michael Koch  <konqueror@gmx.de>
9647
9648         * java/awt/List.java
9649         (setMultipleSelections): Deprecated.
9650         (delItem): Deprecated.
9651         * java/awt/MenuComponent.java
9652         (getPeer): Deprecated.
9653         * java/awt/ScrollPane.java
9654         (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
9655         * java/awt/dnd/MouseDragGestureRecognizer.java
9656         (mouseClicked): Added comment.
9657         (mousePressed): Added comment.
9658         (mouseReleased): Added comment.
9659         (mouseEntered): Added comment.
9660         (mouseExited): Added comment.
9661         (mouseDragged): Added comment.
9662         (mouseMoved): Added comment.
9663         * java/awt/event/KeyEvent.java
9664         (KeyEvent): Deprecated.
9665         (setModifiers): Deprecated.
9666         
9667 2003-03-02  Michael Koch  <konqueror@gmx.de>
9668
9669         * gnu/java/nio/FileChannelImpl.java
9670         (fd): Type FileDescriptor instead of int.
9671         (lengthInternal): Removed.
9672         (FileChannelImpl): Fixed arguments, check type of file object.
9673         (size): Made it native.
9674         (implPosition): New native method.
9675         (implTruncate): New native method.
9676         (position): Implemented.
9677         (truncate): Implemented.
9678         (nio_mmap_file): Changed arguments.
9679         (nio_munmap_file): Changed arguments.
9680         (nio_msync): Changed arguments.
9681         * gnu/java/nio/natFileChannelImpl.cc
9682         (lengthInternal): Removed.
9683         (size): New method.
9684         (implPosition): New method.
9685         (implTruncate): New method.
9686         (nio_mmap_file): Changed arguments.
9687         (nio_munmap_file): Changed arguments.
9688         (nio_msync): Changed arguments.
9689
9690 2003-03-02  Michael Koch  <konqueror@gmx.de>
9691
9692         * java/awt/dnd/DropTargetContext.java:
9693         Compile fix: Forgot to commit import.
9694         
9695 2003-03-02  Michael Koch  <konqueror@gmx.de>
9696
9697         * java/awt/Component.java,
9698         java/awt/ScrollPane.java:
9699         Fixed typos.
9700
9701 2003-03-02  Michael Koch  <konqueror@gmx.de>
9702
9703         * java/awt/dnd/DnDEventMulticaster.java: New file.
9704         * java/awt/dnd/DragSource.java
9705         (flavorMap): New member variable.
9706         (dragSourceListener): New member variable.
9707         (dragSourceMotionListener): New member variable.
9708         (getFlavorMap): Implemented.
9709         (createDragGestureRecognizer): Implemented.
9710         (addDragSourceListener): Implemented.
9711         (removeDragSourceListener): Implemented.
9712         (getDragSourceListeners): Implemented.
9713         (addDragSourceMotionListener): Implemented.
9714         (removeDragSourceMotionListener): Implemented.
9715         (getDragSourceMotionListeners): Implemented.
9716         (getListeners): Implemented.
9717         * java/awt/dnd/DragSourceContext.java
9718         (peer): New member variable.
9719         (cursor): New member variable.
9720         (transferable): New member variable.
9721         (trigger): New member variable.
9722         (dragSourceListener): New member variable.
9723         (image): New member variable.
9724         (offset): New member variable.
9725         (DragSourceContext): Implemented.
9726         (getDragSource): Implemented.
9727         (getComponent): Implemented.
9728         (getTrigger): Implemented.
9729         (getSourceActions): Implemented.
9730         (setCursor): Implemented.
9731         (getCursor): Implemented.
9732         (addDragSourceListener): Implemented.
9733         (removeDragSourceListener): Implemented.
9734         (getTransferable): Implemented.
9735         * java/awt/dnd/DropTarget.java
9736         (DropTargetAutoScroller.component): New member variable.
9737         (DropTargetAutoScroller.point): New member variable.
9738         (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
9739         (DropTargetAutoScroller.updateLocation): Implemented.
9740         (active): Renamed from isActive, defaults to true now.
9741         (component): New member variable.
9742         (flavorMap): New member variable.
9743         (actions): New member variable.
9744         (dropTargetContext): New member variable.
9745         (dropTargetListener): New member variable.
9746         (DropTarget): Implemented.
9747         (getComponent): Implemented.
9748         (setComponent): Implemented.
9749         (setDefaultActions): Implemented.
9750         (getDefaultActions): Implemented.
9751         (setActive): Use active instead of isActive.
9752         (isActive): Use active instead of isActive.
9753         (addDropTargetListener): Implemented.
9754         (removeDropTargetListener): Implemented.
9755         (getFlavorMap): Implemented.
9756         (setFlavorMap): Implemented.
9757         (getDropTargetContext): Implemented.
9758         (createDropTargetContext): Implemented.
9759         (createDropTargetAutoScroller): Implemented.
9760         * java/awt/dnd/DropTargetContext.java
9761         (TransferableProxy.getTransferDataFlavors): Implemented.
9762         (TransferableProxy.isDataFlavorSupported): Implemented.
9763         (TransferableProxy.getTransferData): Implemented.
9764         (dropTarget):  New member variable.
9765         (dtcp): New member variable.
9766         (DropTargetContext): New package private constructor.
9767         (getDropTarget): Implemented.
9768         (getComponent): Implemented.
9769         (addNotify): Implemented.
9770         (removeNotify): Implemented.
9771         (getCurrentDataFlavorsAsList): Implemented.
9772         (isDataFlavorSupported): Implemented.
9773         * java/awt/dnd/MouseDragGestureRecognizer.java
9774         (registerListeners): Implemented.
9775         (unregisterListeners): Implemented.
9776         * Makefile.am
9777         (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
9778         * Makefile.in: Regenerated.
9779
9780 2003-03-02  Michael Koch  <konqueror@gmx.de>
9781
9782         * java/awt/Component.java
9783         (eventTypeEnabled): New method.
9784         (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
9785         * java/awt/Container.java
9786         (changeSupport): New member variable.
9787         (addPropertyChangeListener): New methods.
9788         * java/awt/ContainerOrderFocusTraversalPolicy.java
9789         (ContainerOrderFocusTraversalPolicy): Added comment.
9790         (getComponentAfter): Throw exception, documentation added.
9791         (getComponentBefore): Throw exception, documentation added.
9792         (getFirstComponent): Throw exception, documentation added.
9793         (getLastComponent): Throw exception, documentation added.
9794         (getDefaultComponent): Throw exception, documentation added.
9795         * java/awt/EventQueue.java: Reindented.
9796         * java/awt/FocusTraversalPolicy.java:
9797         (FocusTraversalPolicy): Added comment.
9798         (getComponentAfter): Documentation added.
9799         (getComponentBefore): Documentation added.
9800         (getFirstComponent): Documentation added.
9801         (getLastComponent): Documentation added.
9802         (getDefaultComponent): Documentation added.
9803         (getInitialComponent): Documentation added.
9804         * java/awt/ScrollPane.java
9805         (wheelScrollingEnabled): New member variable.
9806         (ScrollPane): Initialize wheelScollingEnabled.
9807         (eventTypeEnabled): New method.
9808         (isWheelScrollingEnabled): New method.
9809         (setWheelScrollingEnabled): New method.
9810
9811 2003-03-02  Michael Koch  <konqueror@gmx.de>
9812
9813         * java/net/DatagramSocket.java
9814         (closed): New member variable.
9815         (close): Use closed variable.
9816         (getInetAddress): No need to call isConnected().
9817         (getPort): No need to call isConnected().
9818         (disconnect): Reset remoteAddress and remotePort, fixed typo.
9819         (isClosed): Reimplemented.
9820         
9821 2003-03-02  Michael Koch  <konqueror@gmx.de>
9822
9823         * configure.in: Added check for memory mapping of files.
9824         * configure: Regenerated.
9825         * config.h.in: Regenerated.
9826
9827 2003-03-01  Jason Thorpe  <thorpej@wasabisystems.com>
9828
9829         * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
9830         (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
9831
9832 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
9833
9834         * java/io/File.java (normalizePath): Remove trailing separator
9835         on Windows only if path is not of the form "x:\".
9836
9837         * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
9838         (java::io::File::attr): Change formatting a bit and use
9839         WIN32_EPOCH_MILLIS instead of magic numbers.
9840         (java::io::File::isAbsolute): Path must have at least 3 
9841         characters for a UNC network path.
9842         (java::io::File::init_native): Define.
9843         (java::io::File::performCreate): Likewise.
9844         (java::io::File::performSetReadOnly): Likewise.
9845         (java::io::File::performSetLastModified): Likewise.
9846         (java::io::File::performListRoots): Likewise.
9847
9848 2003-03-01  Tom Tromey  <tromey@redhat.com>
9849
9850         * java/lang/natObject.cc: Don't include assert.h.
9851         (heavy_lock_obj_finalization_proc): Use JvAssert.
9852         (remove_all_heavy): Likewise.
9853         (_Jv_MonitorEnter): Likewise.
9854         (_Jv_MonitorExit): Likewise.
9855         (wait): Likewise.
9856
9857 2003-03-01  Ranjit Mathew  <rmathew@hotmail.com>
9858
9859         * java/io/File (getAbsolutePath): Prefix drive specifier on
9860         Windows for paths starting with a '\'.
9861         (toURL): Make URL more consistent with what Sun's JDK returns.
9862
9863         * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
9864         true only if the path is a UNC network path or it starts with a
9865         drive specifier.
9866
9867         * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
9868         Be prepared to handle either '/' or '\\' in the file path for
9869         Windows if using the "file" protocol.
9870         Canonicalise the file path if using a relative path in the given
9871         context and the "file" protocol.
9872
9873 2003-03-01  Mohan Embar  <gnustuff@thisiscool.com>
9874
9875         * java/lang/natWin32Process.cc (startProcess): Double-quote each
9876         program array element passed to CreateProcess.
9877
9878 2003-03-01  Tom Tromey  <tromey@redhat.com>
9879
9880         * java/rmi/registry/RegistryHandler.java: Deprecate.
9881
9882 2003-03-01  Tom Tromey  <tromey@redhat.com>
9883
9884         * javax/accessibility/AccessibleEditableText.java,
9885         javax/accessibility/AccessibleHyperlink.java: New versions from
9886         Classpath.
9887
9888         * gnu/java/locale/LocaleInformation_af_ZA.java,
9889         gnu/java/locale/LocaleInformation_ar_AE.java,
9890         gnu/java/locale/LocaleInformation_ar_BH.java,
9891         gnu/java/locale/LocaleInformation_ar_DZ.java,
9892         gnu/java/locale/LocaleInformation_ar_EG.java,
9893         gnu/java/locale/LocaleInformation_ar_IN.java,
9894         gnu/java/locale/LocaleInformation_ar_IQ.java,
9895         gnu/java/locale/LocaleInformation_ar_JO.java,
9896         gnu/java/locale/LocaleInformation_ar_KW.java,
9897         gnu/java/locale/LocaleInformation_ar_LB.java,
9898         gnu/java/locale/LocaleInformation_ar_LY.java,
9899         gnu/java/locale/LocaleInformation_ar_MA.java,
9900         gnu/java/locale/LocaleInformation_ar_OM.java,
9901         gnu/java/locale/LocaleInformation_ar_QA.java,
9902         gnu/java/locale/LocaleInformation_ar_SD.java,
9903         gnu/java/locale/LocaleInformation_ar_SY.java,
9904         gnu/java/locale/LocaleInformation_ar_TN.java,
9905         gnu/java/locale/LocaleInformation_ar_YE.java,
9906         gnu/java/locale/LocaleInformation_be_BY.java,
9907         gnu/java/locale/LocaleInformation_bn_IN.java,
9908         gnu/java/locale/LocaleInformation_br_FR.java,
9909         gnu/java/locale/LocaleInformation_bs_BA.java,
9910         gnu/java/locale/LocaleInformation_ca_ES.java,
9911         gnu/java/locale/LocaleInformation_cs_CZ.java,
9912         gnu/java/locale/LocaleInformation_cy_GB.java,
9913         gnu/java/locale/LocaleInformation_da_DK.java,
9914         gnu/java/locale/LocaleInformation_de_AT.java,
9915         gnu/java/locale/LocaleInformation_de_BE.java,
9916         gnu/java/locale/LocaleInformation_de_CH.java,
9917         gnu/java/locale/LocaleInformation_de_DE.java,
9918         gnu/java/locale/LocaleInformation_de_LU.java,
9919         gnu/java/locale/LocaleInformation_el_GR.java,
9920         gnu/java/locale/LocaleInformation_en_AU.java,
9921         gnu/java/locale/LocaleInformation_en_BW.java,
9922         gnu/java/locale/LocaleInformation_en_CA.java,
9923         gnu/java/locale/LocaleInformation_en_DK.java,
9924         gnu/java/locale/LocaleInformation_en_GB.java,
9925         gnu/java/locale/LocaleInformation_en_HK.java,
9926         gnu/java/locale/LocaleInformation_en_IE.java,
9927         gnu/java/locale/LocaleInformation_en_IN.java,
9928         gnu/java/locale/LocaleInformation_en_NZ.java,
9929         gnu/java/locale/LocaleInformation_en_PH.java,
9930         gnu/java/locale/LocaleInformation_en_SG.java,
9931         gnu/java/locale/LocaleInformation_en_US.java,
9932         gnu/java/locale/LocaleInformation_en_ZA.java,
9933         gnu/java/locale/LocaleInformation_en_ZW.java,
9934         gnu/java/locale/LocaleInformation_es_AR.java,
9935         gnu/java/locale/LocaleInformation_es_BO.java,
9936         gnu/java/locale/LocaleInformation_es_CL.java,
9937         gnu/java/locale/LocaleInformation_es_CO.java,
9938         gnu/java/locale/LocaleInformation_es_CR.java,
9939         gnu/java/locale/LocaleInformation_es_DO.java,
9940         gnu/java/locale/LocaleInformation_es_EC.java,
9941         gnu/java/locale/LocaleInformation_es_ES.java,
9942         gnu/java/locale/LocaleInformation_es_GT.java,
9943         gnu/java/locale/LocaleInformation_es_HN.java,
9944         gnu/java/locale/LocaleInformation_es_MX.java,
9945         gnu/java/locale/LocaleInformation_es_NI.java,
9946         gnu/java/locale/LocaleInformation_es_PA.java,
9947         gnu/java/locale/LocaleInformation_es_PE.java,
9948         gnu/java/locale/LocaleInformation_es_PR.java,
9949         gnu/java/locale/LocaleInformation_es_PY.java,
9950         gnu/java/locale/LocaleInformation_es_SV.java,
9951         gnu/java/locale/LocaleInformation_es_US.java,
9952         gnu/java/locale/LocaleInformation_es_UY.java,
9953         gnu/java/locale/LocaleInformation_es_VE.java,
9954         gnu/java/locale/LocaleInformation_et_EE.java,
9955         gnu/java/locale/LocaleInformation_eu_ES.java,
9956         gnu/java/locale/LocaleInformation_fa_IR.java,
9957         gnu/java/locale/LocaleInformation_fi_FI.java,
9958         gnu/java/locale/LocaleInformation_fo_FO.java,
9959         gnu/java/locale/LocaleInformation_fr_BE.java,
9960         gnu/java/locale/LocaleInformation_fr_CA.java,
9961         gnu/java/locale/LocaleInformation_fr_CH.java,
9962         gnu/java/locale/LocaleInformation_fr_FR.java,
9963         gnu/java/locale/LocaleInformation_fr_LU.java,
9964         gnu/java/locale/LocaleInformation_ga_IE.java,
9965         gnu/java/locale/LocaleInformation_gd_GB.java,
9966         gnu/java/locale/LocaleInformation_gl_ES.java,
9967         gnu/java/locale/LocaleInformation_gv_GB.java,
9968         gnu/java/locale/LocaleInformation_he_IL.java,
9969         gnu/java/locale/LocaleInformation_hi_IN.java,
9970         gnu/java/locale/LocaleInformation_hr_HR.java,
9971         gnu/java/locale/LocaleInformation_hu_HU.java,
9972         gnu/java/locale/LocaleInformation_id_ID.java,
9973         gnu/java/locale/LocaleInformation_it_CH.java,
9974         gnu/java/locale/LocaleInformation_it_IT.java,
9975         gnu/java/locale/LocaleInformation_iw_IL.java,
9976         gnu/java/locale/LocaleInformation_ja_JP.java,
9977         gnu/java/locale/LocaleInformation_ka_GE.java,
9978         gnu/java/locale/LocaleInformation_kl_GL.java,
9979         gnu/java/locale/LocaleInformation_ko_KR.java,
9980         gnu/java/locale/LocaleInformation_kw_GB.java,
9981         gnu/java/locale/LocaleInformation_lt_LT.java,
9982         gnu/java/locale/LocaleInformation_lv_LV.java,
9983         gnu/java/locale/LocaleInformation_mi_NZ.java,
9984         gnu/java/locale/LocaleInformation_mk_MK.java,
9985         gnu/java/locale/LocaleInformation_mr_IN.java,
9986         gnu/java/locale/LocaleInformation_mt_MT.java,
9987         gnu/java/locale/LocaleInformation_nl_BE.java,
9988         gnu/java/locale/LocaleInformation_nl_NL.java,
9989         gnu/java/locale/LocaleInformation_nn_NO.java,
9990         gnu/java/locale/LocaleInformation_no_NO.java,
9991         gnu/java/locale/LocaleInformation_oc_FR.java,
9992         gnu/java/locale/LocaleInformation_pl_PL.java,
9993         gnu/java/locale/LocaleInformation_pt_BR.java,
9994         gnu/java/locale/LocaleInformation_pt_PT.java,
9995         gnu/java/locale/LocaleInformation_ro_RO.java,
9996         gnu/java/locale/LocaleInformation_ru_RU.java,
9997         gnu/java/locale/LocaleInformation_ru_UA.java,
9998         gnu/java/locale/LocaleInformation_se_NO.java,
9999         gnu/java/locale/LocaleInformation_sk_SK.java,
10000         gnu/java/locale/LocaleInformation_sl_SI.java,
10001         gnu/java/locale/LocaleInformation_sq_AL.java,
10002         gnu/java/locale/LocaleInformation_sr_YU.java,
10003         gnu/java/locale/LocaleInformation_sv_FI.java,
10004         gnu/java/locale/LocaleInformation_sv_SE.java,
10005         gnu/java/locale/LocaleInformation_ta_IN.java,
10006         gnu/java/locale/LocaleInformation_te_IN.java,
10007         gnu/java/locale/LocaleInformation_tg_TJ.java,
10008         gnu/java/locale/LocaleInformation_tl_PH.java,
10009         gnu/java/locale/LocaleInformation_tr_TR.java,
10010         gnu/java/locale/LocaleInformation_uk_UA.java,
10011         gnu/java/locale/LocaleInformation_ur_PK.java,
10012         gnu/java/locale/LocaleInformation_uz_UZ.java,
10013         gnu/java/locale/LocaleInformation_vi_VN.java,
10014         gnu/java/locale/LocaleInformation_yi_US.java,
10015         gnu/java/locale/LocaleInformation_zh_CN.java,
10016         gnu/java/locale/LocaleInformation_zh_HK.java,
10017         gnu/java/locale/LocaleInformation_zh_SG.java,
10018         gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
10019         info; from Classpath.
10020
10021         * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
10022         isPaintPending): New methods.
10023         * gnu/awt/xlib/XFramePeer.java (getState, setState,
10024         setMaximizedBounds): New methods.
10025         (beginLayout, endLayout, isPaintPending): Likewise.
10026         * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
10027         (requestFocus): Likewise.
10028         (isObscured): Likewise.
10029         (canDetermineObscurity): Likewise.
10030         (coalescePaintEvent): Likewise.
10031         (updateCursorImmediately): Likewise.
10032         (createVolatileImage): Likewise.
10033         (handlesWheelScrolling): Likewise.
10034         (createBuffers): Likewise.
10035         (getBackBuffer): Likewise.
10036         (flip): Likewise.
10037         (destroyBuffers): Likewise.
10038
10039         * Makefile.in: Rebuilt.
10040         * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
10041         RobotPeer.java.
10042         * gnu/java/awt/GLightweightPeer.java,
10043         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
10044         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
10045         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
10046         gnu/java/awt/peer/gtk/GtkFramePeer.java,
10047         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
10048         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
10049         java/awt/dnd/peer/DragSourceContextPeer.java,
10050         java/awt/dnd/peer/DropTargetContextPeer.java,
10051         java/awt/peer/ButtonPeer.java,
10052         java/awt/peer/CheckboxMenuItemPeer.java,
10053         java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
10054         java/awt/peer/ComponentPeer.java,
10055         java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
10056         java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
10057         java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
10058         java/awt/peer/MenuBarPeer.java,
10059         java/awt/peer/MenuComponentPeer.java,
10060         java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
10061         java/awt/peer/PopupMenuPeer.java,
10062         java/awt/peer/ScrollPanePeer.java,
10063         java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
10064         java/awt/peer/TextComponentPeer.java,
10065         java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
10066         New versions from Classpath.
10067         * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
10068         * java/awt/peer/RobotPeer.java: Likewise.
10069
10070 2003-03-01  Mark Wielaard  <mark@klomp.org>
10071
10072         * java/io/ObjectInputStream.java: Reindent.
10073         * java/io/ObjectOutputStream.java: Likewise.
10074
10075 2003-02-28  Hans Boehm  <Hans.Boehm@hp.com>
10076
10077         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
10078         jvalue for each argument. Simplify.
10079         * testsuite/libjava.jni/calls.c (docall),
10080         testsuite/libjava.jni/calls.java (longpb_f): check for argument
10081         misalignment.
10082
10083 2003-02-28  Mark Wielaard  <mark@klomp.org>
10084
10085         * Makefile.am (nat_source_files): Remove
10086         java/io/natObjectOutputStream.cc.
10087         * Makefile.in: Regenerated.
10088         * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
10089         * java/io/ObjectStreamField.java (typename): New field.
10090         (ObjectStreamField(String, Class)): Initialize new field.
10091         (ObjectStreamField(String, String)): New Constructor.
10092         (getTypeCode): Use new field.
10093         (getTypeString): Use new field.
10094         * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
10095         ObjectStreamExceptions. Remember and reset old BlockDataMode.
10096         Handle reading of Proxy classes. Never drain(), just write
10097         TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
10098         (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
10099         (flush): Call flush(), not just drain().
10100         (writeBoolean): Always use blockDataOutput.
10101         (writeByte): Likewise.
10102         (writeShort): Likewise.
10103         (writeChar): Likewise.
10104         (writeInt): Likewise.
10105         (writeLong): Likewise.
10106         (writeFloat): Likewise.
10107         (writeDouble): Likewise.
10108         (writeBytes): Likewise.
10109         (putfield (put(String,Object))): Throw IllegalArgumentException if
10110         field cannot be found.
10111         (putfield (write(ObjectOutput))): Remember old BlockDataMode.
10112         (writeArraySizeAndElements): Write byte[] in one go.
10113         (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
10114         set BlockDataMode to false.
10115         (annotateProxyClass): New method.
10116         (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
10117         (getField): No longer native.
10118         (getMethod): Likewise.
10119         (setBlockDataMode): Always drain() on switch, return old mode.
10120         (static): New static code block.
10121         * java/io/natObjectOutputStream.cc: Removed.
10122         * java/io/ObjectInputStream.java (getField): No longer native.
10123         (getMethod): Likewise.
10124         (readObject): Remember and reset old BlockDataMode. Track whether
10125         object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
10126         TC_LONGSTRING.
10127         (defaultReadObject): Set BlockDataMode to false during readFields.
10128         (resolveClass): Create new SecurityManager if necessary.
10129         Use Class.forName() if null ClassLoader found.
10130         (read(byte[],int,int): Copy remaining bytes to data before calling
10131         readNextBlock().
10132         (readFields): Set and reset BlockDataMode on call_read_method.
10133         Catch NoSuchFieldErrors.
10134         (setBlockDataMode): Return old mode.
10135         (static): New static code block.
10136         * java/io/natObjectInputStream.cc (getField): Removed.
10137         (getMethod): Likewise.
10138
10139 2003-02-27  Michael Koch  <konqueror@gmx.de>
10140
10141         * java/beans/Beans.java,
10142         java/beans/FeatureDescriptor.java
10143         java/beans/PropertyEditorManager.java:
10144         Reformated to GNU style.
10145
10146 2003-02-25  Michael Koch  <konqueror@gmx.de>
10147
10148         * gnu/java/nio/MappedByteFileBuffer.java,
10149         gnu/java/nio/natMappedByteFileBuffer.cc:
10150         New files, both are not compiled yet to get not noncompiling CVS.
10151
10152 2003-02-24  Tom Tromey  <tromey@redhat.com>
10153
10154         * java/util/prefs/AbstractPreferences.java (isUserNode):
10155         Implemented.
10156
10157 2003-02-24  Tom Tromey  <tromey@redhat.com>
10158
10159         * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
10160         Deprecate.
10161         * java/lang/Thread.java (resume): Deprecate.
10162         * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
10163         in @deprecated.
10164
10165 2003-02-23  Tom Tromey  <tromey@redhat.com>
10166
10167         * Makefile.in: Rebuilt.
10168         * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
10169
10170 2003-02-23  Tom Tromey  <tromey@redhat.com>
10171
10172         * java/lang/natRuntime.cc (libraries_size, libraries_count,
10173         libraries): Removed.
10174         (add_library): Removed.
10175         (_load): Don't call add_library.
10176         (loadLibraryInternal): Likewise.
10177         (init): Likewise.
10178         (lookup_data): New struct.
10179         (find_symbol): New function.
10180         (_Jv_FindSymbolInExecutable): Use it.
10181
10182 2002-02-21  Anthony Green  <green@redhat.com>
10183
10184         * java/lang/Thread.java (Thread): New constructor taking stack
10185         size parameter (ignored for now).
10186         * Many methods: Merged GNU Classpath documentation.
10187
10188         * java/lang/Class.java (finalize): throws a Throwable.
10189
10190 2003-02-21  Mark Wielaard  <mark@klomp.org>
10191
10192         * java/util/zip/ZipEntry.java (setComment): Don't check length when
10193         argument is null.
10194
10195 2003-02-21  Mark Wielaard  <mark@klomp.org>
10196
10197         * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
10198         then 65535 chars throw IllegalArgumentException.
10199
10200 2003-02-21  Mark Wielaard  <mark@klomp.org>
10201
10202         * java/util/zip/ZipFile.java (finalize): New method.
10203
10204 2003-02-21  Michael Koch  <konqueror@gmx.de>
10205
10206         * gnu/java/nio/natSocketChannelImpl.cc:
10207         Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
10208         <cato@df.lth.se> for pointing to it.
10209
10210 2003-02-20  Raif S. Naffah <raif@fl.net.au>
10211
10212         * java/math/BigInteger.java (euclidInv): Take result array as an
10213         argument.  Updated all callers.
10214         (modInverse): Removed unused variables.
10215
10216 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
10217
10218         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
10219         config.status.
10220         * configure: Rebuilt.
10221
10222 2003-02-19  Michael Koch  <konqueror@gmx.de>
10223
10224         * gnu/java/nio/natSocketChannelImpl.cc:
10225         Added support for platforms without network support.
10226
10227 2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10228
10229         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
10230         after config.h.  Use <> for consistency.
10231         * java/lang/natObject.cc: Likewise.
10232         * java/lang/natRuntime.cc: Likewise.
10233         * java/lang/natSystem.cc: Likewise.
10234         * java/util/natTimeZone.cc: Likewise.
10235         * win32.cc: Likewise.
10236         * include/posix.h (fcntl, socket, connect, close, bind, accept,
10237         listen, write, read): Undef to avoid interference from OS macros.
10238
10239 2003-02-19  Michael Koch  <konqueror@gmx.de>
10240
10241         * gnu/java/nio/ByteBufferImpl.java
10242         (ByteBufferImpl): Renamed two variables.
10243         * gnu/java/nio/CharBufferImpl.java
10244         (CharBufferImpl): Renamed two variables.
10245         * gnu/java/nio/DoubleBufferImpl.java
10246         (DoubleBufferImpl): Renamed two variables.
10247         * gnu/java/nio/FloatBufferImpl.java
10248         (FloatBufferImpl): Renamed two variables.
10249         * gnu/java/nio/IntBufferImpl.java
10250         (IntBufferImpl): Renamed two variables.
10251         * gnu/java/nio/LongBufferImpl.java
10252         (LongBufferImpl): Renamed two variables.
10253         * gnu/java/nio/ShortBufferImpl.java
10254         (ShortBufferImpl): Renamed two variables.
10255         * java/nio/CharBuffer.java
10256         (wrap): Fixed arguments to CharBufferImpl constructor.
10257         (hasArray): Only not read-only buffers have backing arrays.
10258         (length): Documentation added.
10259         (subSequence): Documentation added.
10260         * java/nio/DoubleBuffer.java
10261         (hasArray): Only not read-only buffers have backing arrays.
10262         * java/nio/FloatBuffer.java
10263         (hasArray): Only not read-only buffers have backing arrays.
10264         * java/nio/IntBuffer.java
10265         (hasArray): Only not read-only buffers have backing arrays.
10266         * java/nio/LongBuffer.java
10267         (hasArray): Only not read-only buffers have backing arrays.
10268         * java/nio/ShortBuffer.java
10269         (hasArray): Only not read-only buffers have backing arrays.
10270         
10271 2003-02-19  Michael Koch  <konqueror@gmx.de>
10272
10273         * javax/accessibility/AccessibleContext.java
10274         (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
10275
10276 2003-02-19  Michael Koch  <konqueror@gmx.de>
10277
10278         * java/awt/ScrollPaneAdjustable.java: Reformated.
10279
10280 2003-02-19  Michael Koch <konqueror@gmx.de>
10281
10282         * gnu/awt/j2d/Graphics2DImpl.java
10283         (getFontRenderContext): New method.
10284         (drawGlyphVector): New method.
10285         * java/awt/Graphics2D.java
10286         (getFontRenderContext): New abstract method.
10287         (drawGlyphVector): New abstract method.
10288         
10289 2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
10290
10291         * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
10292         if necessary.
10293         
10294         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
10295         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
10296         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
10297         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
10298         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
10299         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
10300         (setFont, gtkSetFont): add.
10301         gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
10302         Propagate font to peer.  (setFont): add FIXME comment.
10303
10304         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
10305         (gtkTextGetSize): fix height, width computation.
10306
10307         * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
10308         Make X font name a bit less bogus.
10309
10310         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
10311         (post_adjustment_event): Pass on GTK_SCROLL_NONE.
10312
10313         * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
10314         (processAdjustmentEvent): Adjust value.
10315
10316         * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
10317         logic errors.
10318
10319         * java/awt/Component.java (setVisible, show, hide): Call show and
10320         hide methods in subclasses.
10321         (getPreferredSize): don't set prefSize before we have peer.
10322
10323         * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
10324         Guess (0,0) if we don't have peer.
10325
10326
10327 2003-02-18  Michael Koch  <konqueror@gmx.de>
10328
10329         * java/nio/channels/FileChannel.java
10330         (toString): New implementation, added documentation.
10331         (map): Added exception documentation.
10332         (size): Added exception documentation.
10333         (write): New methods, documentation work.
10334         (read): New methods, documentation work.
10335         (implCloseChannel): Rewrote exception documentation.
10336         (force): Throws IOException, added documentation.
10337         (lock): New methods.
10338         (tryLock): New methods.
10339         (position): New methods.
10340         (transferTo): New method.
10341         (transferFrom): New method.
10342         (truncate): New method.
10343         * java/nio/channels/spi/SelectorProvider.java
10344         (provider): Implemented.
10345         * Makefile.am
10346         (ordinary_java_source_files): Added the following files:
10347         gnu/java/nio/DatagramChannelImpl.java
10348         gnu/java/nio/FileChannelImpl.java
10349         gnu/java/nio/PipeImpl.java
10350         gnu/java/nio/SelectionKeyImpl.java
10351         gnu/java/nio/SelectorImpl.java
10352         gnu/java/nio/SelectorProviderImpl.java
10353         gnu/java/nio/ServerSocketChannelImpl.java
10354         gnu/java/nio/SocketChannelImpl.java
10355         java/nio/channels/FileLock.java
10356         (nat_java_source_files): Added the following files:
10357         gnu/java/nio/natFileChannelImpl.cc
10358         gnu/java/nio/natSelectorImpl.cc
10359         gnu/java/nio/natSocketChannelImpl.cc
10360         * Makefile.in: Regenerated.
10361
10362 2003-02-17  Tom Tromey  <tromey@redhat.com>
10363
10364         * java/awt/image/ColorModel.java: Re-merged with Classpath.
10365         * java/awt/image/ImageFilter.java: Likewise.
10366
10367 2003-02-17  Raif S. Naffah <raif@fl.net.au>
10368
10369         * java/math/BigInteger.java (euclidInv): Return array of
10370         `BigInteger's.  Changed all callers.
10371
10372 2003-02-17  Ranjit Mathew  <rmathew@hotmail.com>
10373
10374         * java/util/Properties.java (store): Move the code formerly in
10375         list(), into this method.
10376         (list (PrintStream)): Just call list (PrintWriter) with a 
10377         PrintWriter object constructed from the given PrintStream object.
10378         (list (PrintWriter)): Emulate the output of Properties.list()
10379         as found in JDK 1.3/1.4.
10380
10381 2003-02-17  Michael Koch  <konqueror@gmx.de>
10382
10383         * java/net/DatagramSocket.java
10384         (connect): Merged with classpath.
10385         (disconnect): Merged documentation with classpath.
10386         (receice): Merged documentation with classpath.
10387         (send): Merged documentation with classpath.
10388         
10389 2003-02-17  Michael Koch  <konqueror@gmx.de>
10390
10391         * java/awt/dnd/DragSourceContext.java
10392         (addDragSourceListener): Added documentation.
10393         * java/awt/dnd/DragSourceDragEvent.java
10394         (serialVersionUID): New member variable.
10395         (getDropAction): Reformated.
10396         * java/awt/dnd/DragSourceDropEvent.java
10397         (serialVersionUID): New member variable.
10398         (dropSuccess): Renamed from success for serialization issues.
10399         * java/awt/dnd/DragSourceEvent.java
10400         (serialVersionUID): New member variable.
10401         * java/awt/dnd/DropTarget.java
10402         (serialVersionUID): New member variable.
10403         (DropTarget): Implemented, documentation reworked.
10404         (setComponent): Documentation added.
10405         (getComponent): Documentation added.
10406         (setDefaultActions): Documentation added.
10407         (getDefaultActions): Documentation added.
10408         (addDropTargetListener): Documentation added.
10409         * java/awt/dnd/DropTargetContext.java
10410         (DropTargetContext): Documentation added.
10411         (TransferableProxy.TransferableProxy): New method.
10412         (dropComplete): Fixed documentation.
10413         (getTransferable): Fixed documentation.
10414         (createTransferableProxy): Implemented.
10415         * java/awt/dnd/DropTargetDragEvent.java
10416         (DropTargetDragEvent): Documentation added.
10417         (serialVersionUID): New member variable.
10418         (DropTargetDragEvent): Throw exceptions, documentation added.
10419         (acceptDrag): Implemented.
10420         (getCurrentDataFlavors): Implemented.3yy
10421         (getCurrentDataFlavorsAsList): Implemented.
10422         (isDataFlavorSupported): Implemented.
10423         (rejectDrag): Implemented.
10424         * java/awt/dnd/DropTargetDropEvent.java
10425         (DropTargetDropEvent): Documentation added.
10426         (serialVersionUID): New member variable.
10427         (actions): Renamed from srcActions for serialization issues.
10428         (isLocalTx): Renamed from isLocalTx for serialization issues.
10429         (DropTargetDropEvent): New implementation, throw exceptions,
10430         documentation added.
10431         (getCurrentDataFlavors): Implemented.
10432         (getCurrentDataFlavorsAsList): Implemented.
10433         (isDataFlavorSupported): Implemented.
10434         (getSourceActions): Implemented.
10435         (getDropAction): Implemented.
10436         (getTransferable): Implemented.
10437         (acceptDrop): Implemented.
10438         (rejectDrop): Implemented.
10439         * java/awt/dnd/DropTargetListener.java
10440         (drop): Fixed documentation.
10441         * java/awt/dnd/MouseDragGestureRecognizer.java
10442         (MouseDragGestureRecognizer): Documentation added.
10443
10444 2003-02-17  Michael Koch  <konqueror@gmx.de>
10445
10446         * java/awt/font/FontRenderContext.java,
10447         java/awt/font/ShapeGraphicAttribute.java,
10448         java/awt/font/MultipleMaster.java,
10449         java/awt/font/TransformAttribute.java,
10450         java/awt/font/GlyphJustificationInfo.java,
10451         java/awt/font/LineBreakMeasurer.java,
10452         java/awt/font/TextMeasurer.java,
10453         java/awt/font/TextLayout.java,
10454         java/awt/font/LineMetrics.java,
10455         java/awt/font/TextAttribute.java,
10456         java/awt/font/GlyphMetrics.java,
10457         java/awt/font/OpenType.java,
10458         java/awt/font/GlyphVector.java,
10459         java/awt/font/GraphicAttribute.java,
10460         java/awt/font/ImageGraphicAttribute.java,
10461         java/awt/font/NumericShaper.java: New files.
10462         * Makefile.am
10463         (awt_java_source_files): Added the following files:
10464         java/awt/font/FontRenderContext.java
10465         java/awt/font/ShapeGraphicAttribute.java
10466         java/awt/font/MultipleMaster.java
10467         java/awt/font/TransformAttribute.java
10468         java/awt/font/GlyphJustificationInfo.java
10469         java/awt/font/LineBreakMeasurer.java
10470         java/awt/font/TextMeasurer.java
10471         java/awt/font/TextLayout.java
10472         java/awt/font/LineMetrics.java
10473         java/awt/font/TextAttribute.java
10474         java/awt/font/GlyphMetrics.java
10475         java/awt/font/OpenType.java
10476         java/awt/font/GlyphVector.java
10477         java/awt/font/GraphicAttribute.java
10478         java/awt/font/ImageGraphicAttribute.java
10479         java/awt/font/NumericShaper.java
10480         * Makefile.in: Regenerated.
10481
10482 2003-02-17  Michael Koch  <konqueror@gmx.de>
10483
10484         * java/awt/print/Paper.java
10485         (Paper): Implements Cloneable.
10486         * java/awt/print/PrinterJob.java
10487         (setJobName): Return value must be void.
10488         (print): Throws PrinterException.
10489         
10490 2003-02-16  Tom Tromey  <tromey@redhat.com>
10491
10492         * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
10493         variable.
10494
10495 2003-02-15  Michael Koch  <konqueror@gmx.de>
10496
10497         * java/awt/datatransfer/DataFlavor.java
10498         (isRepresentationClassByteBuffer): Removed try-catch block.
10499         (isRepresentationClassCharBuffer): Removed try-catch block.
10500         (isRepresentationClassReader): Removed try-catch block.
10501
10502 2003-02-15  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
10503
10504         * java/nio/charset/Charset.java
10505         (isRegistered): Fixed method args and implementation.
10506         * java/nio/charset/CharsetEncoder.java
10507         (unmappableCharacterAction): New method.
10508
10509 2003-02-15  Michael Koch  <konqueror@gmx.de>
10510
10511         * java/awt/CheckboxMenuItem.java
10512         (CheckBoxMenuItem): Dont implement Serializable.
10513         (getListeners): New method,
10514         (getItemListeners): New method.
10515         * java/awt/Choice.java
10516         (getListeners): New method,
10517         (getItemListeners): New method.
10518         * java/awt/Container.java
10519         (getListeners): Added exception documentation.
10520         (setFocusTraversalKeys): Throw exceptions, added documentattion.
10521         (getFocusTraversalKeys): Added documentation.
10522         (areFocusTraversalKeysSet): Added documentation.
10523         (applyComponentOrientation): Added documentation.
10524         * java/awt/ContainerOrderFocusTraversalPolicy.java
10525         (implicitDownCycleTraversal): Renamed from downCycle for
10526         serialization.
10527         (ContainerOrderFocusTraversalPolicy): Added documentation.
10528         (accept): Reformated.
10529         * java/awt/Dialog.java
10530         (Dialog): Dont implement Serializable.
10531         (Dialog): Added documentation.
10532         * java/awt/Font.java
10533         (Font): Dont use absolute class name.
10534         * java/awt/Frame.java
10535         (Frame): Font implement Serializable.
10536         * java/awt/List.java
10537         (getListeners): New method,
10538         (getActionListeners): New method.       
10539         (getItemListeners): New method.
10540         * java/awt/Menu.java
10541         (countItems): New deprecated method.
10542         * java/awt/Scrollbar.java
10543         (getListeners): New method,
10544         (getAdjustmentListeners): New method,
10545         * java/awt/TextComponent.java
10546         (getListeners): New method,
10547         (getTextListeners): New method,
10548         * java/awt/TextField.java
10549         (getListeners): New method,
10550         (getActionListeners): New method.       
10551         * java/awt/Window.java
10552         (windowFocusListener): New member variable.
10553         (windowStateListener): New member variable.
10554         (getWindowFocusListeners): New method.
10555         (getWindowStateListeners): New method.
10556         (addWindowFocusListener): New method.
10557         (addWindowStateListener): New method.
10558         (removeWindowFocusListener): New method.
10559         (removeWindowStateListener): New method.
10560         * java/awt/datatransfer/DataFlavor.java
10561         (isRepresentationClassByteBuffer): New method.
10562         (isRepresentationClassCharBuffer): New method.
10563         (isRepresentationClassReader): New method.
10564
10565 2003-02-14  Mark Wielaard  <mark@klomp.org>
10566
10567         * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
10568         zero when there is an exponent and the significant is zero.
10569         (divide): Always set scale to newScale even in special ZERO case.
10570
10571 2003-02-14  Tom Tromey  <tromey@redhat.com>
10572
10573         * java/lang/System.java (properties): Use Properties.clone.
10574         (setProperties): Likewise.
10575
10576 2003-02-14  Michael Koch  <konqueror@gmx.de>
10577
10578         * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
10579         * gnu/java/nio/ServerSocketChannelImpl.java
10580         (SocketAccept): Removed.
10581         (accept): Commented out use of SocketAccept.
10582
10583 2003-02-13  Tom Tromey  <tromey@redhat.com>
10584
10585         * verify.cc (state::seen_subrs): New field.
10586         (state::state): Initialize it.
10587         (state::clean_subrs): New method.
10588         (state::~state): Call it.
10589         (state::copy): Copy subroutine list.
10590         (state::add_subr): New method.
10591         (state::merge): Only register a change if the current subroutine
10592         hasn't yet been noted.
10593
10594 2003-02-13  Mark Wielaard  <mark@klomp.org>
10595
10596         * java/io/InputStreamReader.java (getEncoding): Return null when
10597         closed.
10598         * java/io/OutputStreamWriter.java (getEncoding): Likewise.
10599
10600 2003-02-13  Mark Wielaard  <mark@klomp.org>
10601  
10602         * java/util/zip/InflaterInputStream.java (read): Return zero when len
10603         is zero.
10604
10605 2003-02-13  Mark Wielaard  <mark@klomp.org>
10606
10607         * java/io/BufferedOutputStream.java (write(int)): Only flush when
10608         next byte cannot be buffered.
10609
10610 2003-02-13  Michael Koch  <konqueror@gmx.de>
10611  
10612         * java/awt/Label.java
10613         (Label): Don't implement Serializable directly.
10614         (addNotify): Fixed typo in documentation.
10615         * java/awt/List.java
10616         (List): Don't implement Serializable directly.
10617         * java/awt/PopupMenu.java
10618         (PopupMenu): Don't implement Serializable directly.
10619         * java/awt/ScrollPane.java
10620         (ScrollPane): Don't implement Serializable directly.
10621         * java/awt/Scrollbar.java
10622         (Scrollbar): Don't implement Serializable directly.
10623         * java/awt/TextArea.java
10624         (preferredSize): Fixed method arguments.
10625         * java/awt/TextField.java
10626         (TextField): Don't implement Serializable directly.
10627         * java/awt/color/ICC_ColorSpace.java
10628         (fromCIOXYZ): Documentation added.
10629         (getMinValue): Documentation added.
10630         (getMaxValue): Documentation added.
10631         * java/awt/datatransfer/DataFlavor.java
10632         (isMimeTypeEqual): May not be final.
10633         (clone): Throws CloneNotSupportedException.
10634         (getReaderForText): Don't throws UnsupportedEncodingException.
10635
10636 2003-02-13  Michael Koch  <konqueror@gmx.de>
10637  
10638         * gnu/java/awt/peer/gtk/GdkGraphics.java
10639         (drawString): New stubbed method.
10640         * java/awt/Graphics.java
10641         (drawString): New method.
10642
10643 2003-02-13  Casey Marshall  <rsdio@metastatic.org>
10644
10645         PR libgcj/9271:
10646         * java/security/SecureRandom.java (next): Avoid bias in results.
10647
10648 2003-02-13  Michael  <konqueror@gmx.de>
10649
10650         * gnu/java/nio/FileChannelImpl.java
10651         (lengthInternal): Must be native.
10652         (size): Check if channel is already closed.
10653         (implCloseChannel): Reformated.
10654         (read): w was unused, removed it.
10655         (read): Removed.
10656         (read): New method.
10657         (write): New method.
10658         (map): Check arguments.
10659         (force): Throws IOException, check if channel is closed.
10660         (transferTo): New method.
10661         (transferFrom): New method.
10662         (lock): New method.
10663         (tryLock): New method.
10664         (position): New method.
10665         (truncate): New method.
10666         (nio_mmap_file): Uncommented.
10667         (nio_munmap_file): Uncommented.
10668         (nio_msync): Uncommented.
10669         * gnu/java/nio/natFileChannelImpl.cc: New file.
10670         
10671 2003-02-13  Michael Koch  <konqueror@gmx.de>
10672
10673         * java/nio/ByteBuffer.java
10674         (endian): New member variable.
10675         (get): New methods.
10676         (equals): New method.
10677         (compareTo): New method.
10678         (order): New methods.
10679         (compact): New method.
10680         (isDirect): New method.
10681         (slice): New method.
10682         (duplicate): New method.
10683         (asReadOnlyBuffer): New method.
10684         (asCharBuffer): New method.
10685         (asDoubleBuffer): New method.
10686         (asFloatBuffer): New method.
10687         (asIntBuffer): New method.
10688         (asLongBuffer): New method.
10689         (asShortBuffer): New method.
10690         (get*): New methods.
10691         (put*): New methods.
10692         (toString): New method.
10693         * java/nio/CharBuffer.java
10694         (CharBuffer): Implement Comparable instead of Cloneable.
10695         (get): May not be final.
10696         (put): May not be final.
10697         
10698 2002-02-13  Ranjit Mathew  <rmathew@hotmail.com>
10699
10700         * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
10701         lastIndexOf( ) instead of indexOf( ) to find the colon before
10702         the line number, because Win32 file names might contain a 
10703         drive letter and a colon at the start of an absolute path.
10704
10705 2003-02-13  Michael Koch  <konqueror@gmx.de>
10706
10707         * gnu/java/nio/natSocketChannelImpl.cc
10708         (SocketConnect): This is not implemented yet.
10709         (SocketBind): This is not implemented yet.
10710
10711 2003-02-13  Michael Koch  <konqueror@gmx.de>
10712
10713         * gnu/java/nio/natByteBufferImpl.cc,
10714         gnu/java/nio/natCharBufferImpl.cc,
10715         gnu/java/nio/natDoubleBufferImpl.cc,
10716         gnu/java/nio/natFloatBufferImpl.cc,
10717         gnu/java/nio/natIntBufferImpl.cc,
10718         gnu/java/nio/natLongBufferImpl.cc,
10719         gnu/java/nio/natShortBufferImpl.cc:
10720         Added copyright and license.
10721         * java/nio/DoubleBuffer.java,
10722         java/nio/FloatBuffer.java,
10723         java/nio/IntBuffer.java,
10724         java/nio/LongBuffer.java,
10725         java/nio/ShortBuffer.java
10726         (array): Throw exceptions.
10727         (arrayOffset): Throw exceptions.
10728
10729 2003-02-13  Michael Koch  <konqueror@gmx.de>
10730  
10731         * gnu/java/util/prefs/FileBasedFactory.java,
10732         gnu/java/util/prefs/MemmoryBasedFactory.java,
10733         gnu/java/util/prefs/MemoryBasedPreferences.java,
10734         gnu/java/util/prefs/NodeReader.java,
10735         gnu/java/util/prefs/NodeWriter.java,
10736         java/util/prefs/AbstractPreferences.java,
10737         java/util/prefs/BackingStoreException.java,
10738         java/util/prefs/InvalidPreferencesFormatException.java,
10739         java/util/prefs/NodeChangeEvent.java,
10740         java/util/prefs/NodeChangeListener.java,
10741         java/util/prefs/PreferenceChangeEvent.java,
10742         java/util/prefs/PreferenceChangeListener.java,
10743         java/util/prefs/Preferences.java,
10744         java/util/prefs/PreferencesFactory.java:
10745         New files, all merged from classpath.
10746         * Makefile.am
10747         (ordinary_java_source_files): Added the following files:
10748         gnu/java/util/prefs/FileBasedFactory.java,
10749         gnu/java/util/prefs/MemmoryBasedFactory.java,
10750         gnu/java/util/prefs/MemoryBasedPreferences.java,
10751         gnu/java/util/prefs/NodeReader.java,
10752         gnu/java/util/prefs/NodeWriter.java,
10753         (core_java_source_files): Added the following files:
10754         java/util/prefs/AbstractPreferences.java,
10755         java/util/prefs/BackingStoreException.java,
10756         java/util/prefs/InvalidPreferencesFormatException.java,
10757         java/util/prefs/NodeChangeEvent.java,
10758         java/util/prefs/NodeChangeListener.java,
10759         java/util/prefs/PreferenceChangeEvent.java,
10760         java/util/prefs/PreferenceChangeListener.java,
10761         java/util/prefs/Preferences.java,
10762         java/util/prefs/PreferencesFactory.java
10763         * Makefile.in: Regenerated.
10764  
10765 2003-02-13  Michael Koch  <konqueror@gmx.de>
10766
10767         * java/net/NetPermission.java
10768         (NetPermission): Make doucmentation match the method declaration.
10769         * java/net/NetworkInterface.java
10770         (equals): Reformated for GNU coding style.
10771         * java/net/ServerSocket.java: Merged with classpath.
10772         * java/net/Socket.java: Partly merged with classpath (Added some @since).
10773         * java/net/SocketImpl.java
10774         (localPort): Merged with classpath (initialize with -1).
10775         * java/net/SocketPermission.java: Merged with classpath (reindented).
10776         * java/net/URLDecoder.java: Merged with classpath (reindented).
10777
10778 2003-02-13  Michael Koch  <konqueror@gmx.de>
10779
10780         * java/awt/GridBagConstraints.java
10781         (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
10782         LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
10783         * java/awt/KeyboardFocusManager.java
10784         (setGlobalCurrentFocusCycleRoot): Must be public.
10785         * java/awt/MenuComponent.java
10786         (MenuComponent): Must be public.
10787         * java/awt/Toolkit.java:
10788         Added some empty lines to make documentation more readable.
10789         (getFontPeer): Added @deprecated.
10790         (getColorModel): Added exception documentation.
10791         (getProperty): Fixed documentation.
10792  
10793 2003-02-12  Jeff Sturm  <jsturm@one-point.com>
10794
10795         * configure.host (alpha*-*): Default to -mieee.
10796         * configure.in (IEEESPEC): New.
10797         * libgcj.spec.in (jc1): Add IEEESPEC.
10798         * configure: Rebuild.
10799
10800 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
10801
10802         * include/win32.h: Include ws2tcpip.h instead of
10803         winsock.h to obtain definition of the socklen_t type.
10804         Remove IP_TOS definition - not needed with ws2tcpip.h
10805         (_Jv_connect): Correct slight formatting error.
10806
10807 2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
10808
10809         * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
10810         size of the arguments for a JNI function. For Win32,
10811         modify to search for all forms of possible exported
10812         names of an stdcall JNI function.
10813         (_Jv_JNIMethod::call): Modify to calculate the size
10814         of the arguments passed to a JNI function and pass
10815         it to _Jv_LookupJNIMethod.
10816
10817 2003-02-12  Michael Koch  <konqueror@gmx.de>
10818
10819         * java/nio/channels/Channels.java: New file.
10820         * Makefile.am
10821         (ordinary_java_source_files): Added java/nio/channels/Channels.java.
10822         * Makefile.in: Regenerated.
10823
10824 2003-02-12  Michael Koch  <konqueror@gmx.de>
10825
10826         * java/nio/ByteBuffer.java
10827         (allocate): Implemented.
10828         (wrap): Implemented.
10829         * java/nio/CharBuffer.java:
10830         Some documentation added and reworked.
10831         (endian): Removed.
10832         (allocate): Implemented.
10833         (wrap): Implemented.
10834         (array): Throw exceptions.
10835         (arrayOffset): Throw exceptions.
10836         (toString): Implemented.
10837         (length): Implemented.
10838         (put): Implemented.
10839         (charAt): Implemented.
10840
10841 2003-02-11  John Leuner  <jewel@debian.org>
10842
10843         * java/util/zip/ZipInputStream.java: Fix problem with 0-length 
10844         reads from end of file.
10845
10846 2003-02-11  Ranjit Mathew  <rmathew@hotmail.com>
10847
10848         * java/io/natFileDescriptorWin32.cc 
10849         (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
10850         returns with Win32 error code ERROR_BROKEN_PIPE.
10851
10852 2003-02-11  Michael Koch  <konqueror@gmx.de>
10853
10854         * Makefile.in
10855         (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
10856
10857 2003-02-11  Michael Koch  <konqueror@gmx.de>
10858
10859         * gnu/java/nio/ByteBufferImpl.java:
10860         Reformated and removed some code.
10861         (backing_buffer): Removed.      
10862         (array_offset): Removed.
10863         (ro): Renamed to readOnly.
10864         (ByteBufferImpl): Use parent constructor, initialize readOnly.
10865         * gnu/java/nio/CharBufferImpl.java:
10866         Reformated and removed some code.
10867         (array_offset): Removed.
10868         (ro): Renamed to readOnly.
10869         (CharBufferImpl): Use parent constructor, initialize readOnly.
10870         (inc_pos): Removed.
10871         (order): New method.
10872         * gnu/java/nio/DoubleBufferImpl.java:
10873         Reformated and removed some code.
10874         (array_offset): Removed.
10875         (ro): Renamed to readOnly.
10876         (DoubleBufferImpl): Use parent constructor, initialize readOnly.
10877         (inc_pos): Removed.
10878         (order): New method.
10879         * gnu/java/nio/FloatBufferImpl.java:
10880         Reformated and removed some code.
10881         (array_offset): Removed.
10882         (ro): Renamed to readOnly.
10883         (FloatBufferImpl): Use parent constructor, initialize readOnly.
10884         (inc_pos): Removed.
10885         (order): New method.
10886         * gnu/java/nio/IntBufferImpl.java:
10887         Reformated and removed some code.
10888         (array_offset): Removed.
10889         (ro): Renamed to readOnly.
10890         (IntBufferImpl): Use parent constructor, initialize readOnly.
10891         (inc_pos): Removed.
10892         (order): New method.
10893         * gnu/java/nio/LongBufferImpl.java:
10894         Reformated and removed some code.
10895         (array_offset): Removed.
10896         (ro): Renamed to readOnly.
10897         (LongBufferImpl): Use parent constructor, initialize readOnly.
10898         (inc_pos): Removed.
10899         (order): New method.
10900         * gnu/java/nio/ShortBufferImpl.java:
10901         Reformated and removed some code.
10902         (array_offset): Removed.
10903         (ro): Renamed to readOnly.
10904         (ShortBufferImpl): Use parent constructor, initialize readOnly.
10905         (inc_pos): Removed.
10906         (order): New method.
10907         * Makefile.am
10908         (ordinary_java_source_files): Added the following files:
10909         gnu/java/nio/ByteBufferImpl.java
10910         gnu/java/nio/CharBufferImpl.java
10911         gnu/java/nio/DoubleBufferImpl.java
10912         gnu/java/nio/FloatBufferImpl.java
10913         gnu/java/nio/IntBufferImpl.java
10914         gnu/java/nio/LongBufferImpl.java
10915         gnu/java/nio/ShortBufferImpl.java
10916         java/nio/DoubleBuffer.java
10917         java/nio/FloatBuffer.java
10918         java/nio/IntBuffer.java
10919         java/nio/LongBuffer.java
10920         java/nio/ShortBuffer.java
10921         (nat_source_files): Added the following files:
10922         gnu/java/nio/natByteBufferImpl.cc
10923         gnu/java/nio/natCharBufferImpl.cc
10924         gnu/java/nio/natDoubleBufferImpl.cc
10925         gnu/java/nio/natFloatBufferImpl.cc
10926         gnu/java/nio/natIntBufferImpl.cc
10927         gnu/java/nio/natLongBufferImpl.cc
10928         gnu/java/nio/natShortBufferImpl.cc
10929         * Makefile.in: Regenerated.
10930
10931 2003-02-11  Michael Koch  <konqueror@gmx.de>
10932
10933         * gnu/java/nio/natCharBufferImpl.cc
10934         (nio_cast): Removed.
10935         (nio_put_*): Removed.
10936         (nio_get_*): Removed.
10937         * gnu/java/nio/natDoubleBufferImpl.cc
10938         (nio_cast): Removed.
10939         (nio_put_*): Removed.
10940         (nio_get_*): Removed.
10941         * gnu/java/nio/natFloatBufferImpl.cc
10942         (nio_cast): Removed.
10943         (nio_put_*): Removed.
10944         (nio_get_*): Removed.
10945         * gnu/java/nio/natIntBufferImpl.cc
10946         (nio_cast): Removed.
10947         (nio_put_*): Removed.
10948         (nio_get_*): Removed.
10949         * gnu/java/nio/natLongBufferImpl.cc
10950         (nio_cast): Removed.
10951         (nio_put_*): Removed.
10952         (nio_get_*): Removed.
10953         * gnu/java/nio/natShortBufferImpl.cc
10954         (nio_cast): Removed.
10955         (nio_put_*): Removed.
10956         (nio_get_*): Removed.
10957         * gnu/java/nio/SelectorProviderImpl.java
10958         (openDatagramChannel): Throws IOException.
10959         (openPipe): Throws IOException.
10960         (openSelector): Throws IOException.
10961         (openServerSocketChannel): Throws IOException.
10962         (openSocketChannel): Throws IOException.
10963         * gnu/java/nio/ServerSocketChannelImpl.java
10964         (ServerSocketChannelImpl): Throws IOException.
10965         (implCloseSelectableChannel): Throws IOException.
10966         (implConfigureBlocking): Throws IOException.
10967         * java/nio/ByteBuffer.java
10968         (readOnly): Removed.
10969         (hasArray): Use isReadOnly() instead of readOnly.
10970         (array): Use isReadOnly() instead of readOnly.
10971         (arrayOffset): Use isReadOnly() instead of readOnly.
10972         * java/nio/CharBuffer.java
10973         (CharBuffer): Implements Cloneable and CharSequence.
10974
10975 2003-02-11  Michael Koch  <konqueror@gmx.de>
10976
10977         * java/nio/DoubleBuffer.java
10978         (DoubleBuffer): Implements Comparable.
10979         (endian): Removed.
10980         (array_offset): New member variable.
10981         (DoubleBuffer): New constuctor.
10982         (get): May not be final.
10983         (put): May not be final.
10984         (arrayOffset): Implemented.
10985         (order): Made abstract.
10986         (order): Removed.
10987         (as*Buffer): Removed.
10988         (get*): Removed.
10989         (put*): Removed.
10990         * java/nio/FloatBuffer.java
10991         (FloatBuffer): Implements Comparable.
10992         (endian): Removed.
10993         (array_offset): New member variable.
10994         (FloatBuffer): New constuctor.
10995         (get): May not be final.
10996         (put): May not be final.
10997         (arrayOffset): Implemented.
10998         (order): Made abstract.
10999         (order): Removed.
11000         (as*Buffer): Removed.
11001         (get*): Removed.
11002         (put*): Removed.
11003         * java/nio/IntBuffer.java
11004         (IntBuffer): Implements Comparable.
11005         (endian): Removed.
11006         (array_offset): New member variable.
11007         (IntBuffer): New constuctor.
11008         (get): May not be final.
11009         (put): May not be final.
11010         (arrayOffset): Implemented.
11011         (order): Made abstract.
11012         (order): Removed.
11013         (as*Buffer): Removed.
11014         (get*): Removed.
11015         (put*): Removed.
11016         * java/nio/LongBuffer.java
11017         (LongBuffer): Implements Comparable.
11018         (endian): Removed.
11019         (array_offset): New member variable.
11020         (LongBuffer): New constuctor.
11021         (get): May not be final.
11022         (put): May not be final.
11023         (arrayOffset): Implemented.
11024         (order): Made abstract.
11025         (order): Removed.
11026         (as*Buffer): Removed.
11027         (get*): Removed.
11028         (put*): Removed.
11029         * java/nio/ShortBuffer.java
11030         (ShortBuffer): Implements Comparable.
11031         (endian): Removed.
11032         (array_offset): New member variable.
11033         (ShortBuffer): New constuctor.
11034         (get): May not be final.
11035         (put): May not be final.
11036         (arrayOffset): Implemented.
11037         (order): Made abstract.
11038         (order): Removed.
11039         (as*Buffer): Removed.
11040         (get*): Removed.
11041         (put*): Removed.
11042
11043 2003-02-11   Michael Koch  <konqueror@gmx.de>
11044
11045         * java/nio/channels/SelectionKey.java
11046         (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
11047         values.
11048
11049 2003-02-11  Michael Koch  <konqueror@gmx.de>
11050
11051         * java/nio/channels/DatagramChannel.java
11052         (write): Throws IOException.
11053         (connect): Throws IOException.
11054         (disconnect): Throws IOException.
11055         (read): Throws IOException.
11056         (receive): Throws IOException.
11057         (send): Throws IOException.
11058         * java/nio/channels/Pipe.java
11059         (open): Throws IOException.
11060         * java/nio/channels/SelectableChannel.java
11061         (configureBlocking): Throws IOException.
11062         * java/nio/channels/ServerSocketChannel.java
11063         (accept): Throws IOException.
11064         * java/nio/channels/SocketChannel.java
11065         (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
11066         GatheringByteChannel.
11067         (read): Throws IOException.
11068         (write): Throws IOException.
11069         (finishConnect): Throws IOException.
11070         * java/nio/channels/spi/AbstractInterruptibleChannel.java
11071         (end): Throws AsynchronousCloseException.
11072         * java/nio/channels/spi/AbstractSelectableChannel.java
11073         (configureBlocking): Throws IOException.
11074         (implCloseChannel): Throws IOException.
11075         (implCloseSelectableChannel): Throws IOException.
11076         (implConfigureBlocking): Throws IOException.
11077         * java/nio/channels/spi/SelectorProvider.java
11078         (openDatagramChannel): Throws IOException.
11079         (openPipe): Throws IOException.
11080         (openSelector): Throws IOException.
11081         (openServerSocketChannel): Throws IOException.
11082         (openSocketChannel): Throws IOException.
11083
11084 2003-02-11  Michael Koch  <konqueror@gmx.de>
11085
11086         * gnu/java/nio/FileLockImpl.java,
11087         java/nio/channels/FileLock.java: New files.
11088
11089 2003-02-11  Michael Koch  <konqueror@gmx.de>
11090
11091         * java/nio/charset/IllegalCharsetNameException.java
11092         (serialVersionUID): New member variable.
11093         (charsetName): New member variable.
11094         (IllegalCharsetException): New implementation.
11095         (getCharsetName): New implementation.
11096         * java/nio/charset/UnsupportedCharsetException.java
11097         (serialVersionUID): New member variable.
11098         (charsetName): New member variable.
11099         (UnsupportedCharsetException): New implementation.
11100         (getCharsetName): New implementation.
11101
11102 2003-02-10  Tom Tromey  <tromey@redhat.com>
11103
11104         * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
11105         (ex): Renamed from sqlException.
11106
11107 2003-02-10  Raif S. Naffah  <raif@fl.net.au>
11108
11109         * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new 
11110         method used to ensure seeding has occurred and that a specific 
11111         seed can be set and used.
11112
11113 2003-02-10  Ranjit Mathew  <rmathew@hotmail.com>
11114
11115         * java/lang/Win32Process.java (destroy): Declare as native.
11116         (hasExited): New native method.
11117         (exitValue): Define.
11118         (getErrorStream): Likewise.
11119         (getInputStream): Likewise.
11120         (getOutputStream): Likewise.
11121         (waitFor): Declare as native.
11122         (startProcess): New native method.
11123         (cleanup): Likewise.
11124         (ConcreteProcess): Define.
11125         (outputStream, inputStream, errorStream): New members.
11126         (procHandle, exitCode): Likewise.
11127
11128         * java/lang/natWin32Process.cc
11129         (java::lang::ConcreteProcess::cleanup): Define.
11130         (java::lang::ConcreteProcess::destroy): Likewise.
11131         (java::lang::ConcreteProcess::hasExited): Likewise.
11132         (java::lang::ConcreteProcess::waitFor): Likewise.
11133         (new_string): Likewise.
11134         (java::lang::ConcreteProcess::startProcess): Likewise.
11135
11136 2003-02-10  Raif S. Naffah <raif@fl.net.au>
11137
11138         * java/math/BigInteger.java:
11139         Updated notice to include years 2002 and 3.
11140         Added 2 private (int) arrays with values from the HAC (Handbook of
11141         Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
11142         and t[] that contains nbr. of tests --used in isProbablePrime().
11143
11144         * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
11145
11146         * java/math/BigInteger.java (make(int[],int), add(int,int),
11147         add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
11148         isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
11149         bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
11150         make(long).
11151
11152         * java/math/BigInteger.java (euclidInv): Reduce number of work vars
11153         (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
11154         (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
11155         BIs and returns void.
11156         (modInverse(BI)): Use new signatures of euclidInv().
11157
11158         * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
11159         static small primes instead of remainder().
11160         Use pre-computed max nbr of trials based on bitlength of BI to test.
11161         Use pre-computed small primes for the trial tests instead of random
11162         numbers.
11163
11164         * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
11165         not used.
11166
11167         * java/math/BigInteger.java (format(int,StringBuffer)): Removed
11168         invoacation of MPN.chars_per_word().  not used.
11169
11170         * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
11171         local var and used where needed.
11172
11173         * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
11174         Combined declaration with initialisation of locals.
11175         Removed unused var.
11176
11177         * java/math/BigInteger.java: Style changes
11178         (pow(int)): Removed 'else' keyword.
11179         (toString(int)): idem.
11180         (doubleValue()): idem.
11181         (bitLength()): idem.
11182         (equals(Object)): Use static methods name in same class w/o prepending
11183         class name.
11184         (doubleValue()): idem.
11185         (setNegative(BI)): idem.
11186         (negate()): idem.
11187         (and(BI,int)): idem.
11188         (and(BI)): idem.
11189         (gcd(BI)): idem.
11190         (byteArrayToIntArray()): Removed casting to (int). this is
11191         std. behaviour.
11192         (canonicalize()): idem.
11193         (alloc(int)): Always instantiate a new BI.
11194
11195 2003-02-10  Tom Tromey  <tromey@redhat.com>
11196
11197         * java/sql/Timestamp.java (compareTo(Object)): New method.
11198         (compareTo(Timestamp)): Likewise.
11199         (serialVersionUID): Updated.
11200
11201 2003-02-07  Mark Wielaard  <mark@klomp.org>
11202
11203         * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
11204         when verify is true.
11205         (JarFile(File, boolean)): Likewise.
11206         (manifestRead): Set manifestRead field correctly.
11207
11208 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
11209
11210         * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
11211         tests; see patch #1016 on Savannah.
11212
11213 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
11214
11215         * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
11216         (toString): do not return Strings starting with . and - erroneously.
11217         Improves Mauve results to 12 of 600 instead of 16 of 338 on
11218         DiagBigDecimal.
11219
11220 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
11221
11222         * java/beans/PropertyDescriptor.java
11223         (PropertyDescriptor(String, Class)): Sanity check getter and setter
11224         methods.
11225         (PropertyDescriptor(String, Class, String, String)): Likewise.
11226         (PropertyDescriptor(String, Method, Method): Factor out getter and
11227         setter method sanity checks into new method.
11228         (findMethods): Don't do parameter sanity checking of get method here.
11229         (checkMethods): New method.
11230
11231 2003-02-07  Stephen Crawley  <crawley@dstc.edu.au>
11232
11233         * java/beans/PropertyDescriptor.java: Reformat.
11234
11235 2003-02-04  Tom Tromey  <tromey@redhat.com>
11236
11237         * java/io/PipedOutputStream.java (flush): Declare as throwing
11238         IOException.
11239         (close): Likewise.
11240         * java/io/PipedWriter.java (close): Declare as throwing
11241         IOException.
11242         * java/io/StringWriter.java (close): Declare as throwing
11243         IOException.
11244
11245 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
11246
11247         * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
11248         of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
11249         could also have been exported as "JNI_OnLoad@8" (MinGW) or
11250         "_JNI_OnLoad@8" (MSVC).
11251
11252 2003-02-03  Ranjit Mathew <rmathew@hotmail.com>
11253
11254         * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
11255         convention on Win32 to invoke native JNI methods.
11256
11257 2003-02-03  Andrew Haley  <aph@redhat.com>
11258
11259         * configure.host (x86_64): Enable interpreter.
11260
11261 2003-02-03  Andrew Haley  <aph@redhat.com>
11262
11263         * libgcj.spec.in (jc1): Add BACKTRACESPEC.
11264         * configure.host (x86_64): Default to -fno-omit-frame-pointer.
11265         * configure.in (BACKTRACESPEC): New.
11266         * configure: Regenerate.
11267
11268 2003-02-02  Tom Tromey  <tromey@redhat.com>
11269
11270         * configure: Rebuilt.
11271         * configure.in (TOOLKIT) [xlib]: Set correctly.
11272
11273         * Makefile.in: Rebuilt.
11274         * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
11275         libstdc++.
11276
11277 2003-01-31  Mark WIelaard  <mark@klomp.org>
11278
11279         * Makefile.in: Rebuilt.
11280         * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
11281
11282 2003-01-31  Tom Tromey  <tromey@redhat.com>
11283
11284         * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
11285         cast to element type.
11286         (_Jv_JNI_SetObjectArrayElement): Check array bounds.
11287         (_Jv_JNI_GetObjectArrayElement): Likewise.
11288
11289         * Makefile.in: Rebuilt.
11290         * Makefile.am (cond_x_ltlibrary): Renamed library to
11291         lib-gnu-awt-xlib.la.
11292         (lib_gnu_awt_xlib_la_SOURCES): Renamed.
11293         (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
11294         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
11295         (lib_gnu_awt_xlib_la_LIBADD): Likewise.
11296         (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
11297         (lib_gnu_awt_xlib_la_LINK): Likewise.
11298         (install-exec-hook): Removed.
11299         (lib-gnu-awt-xlib.la): Renamed.
11300
11301 2003-01-31  Tom Tromey  <tromey@redhat.com>
11302
11303         * aclocal.m4, configure, include/config.h.in: Rebuilt.
11304         * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
11305         aclocal.m4 and lost in some merge.
11306
11307         * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
11308         Don't try to find graphics configuration.
11309         * java/awt/Toolkit.java (default_toolkit_name): Use new
11310         Configuration entry.
11311         * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
11312         New global.
11313         * configure: Rebuilt.
11314         * configure.in (TOOLKIT): New subst.
11315         (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
11316         Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
11317         directory.  Make output directories for .c files.
11318         * Makefile.in: Rebuilt.
11319         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
11320         (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
11321         (all_java_source_files): Added new sources.
11322         ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
11323         (gtk_c_files): New macro.
11324         (gtk_c_source_files): New macro.
11325         (cond_gtk_ltlibrary): New macro.
11326         ($(gtk_c_files)): New target.
11327         (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
11328         (gtk_awt_peer_sources): New macro.
11329         (gtk_c_headers): New macro.
11330         ($(gtk_c_headers)): New target.
11331         (ACLOCAL_AMFLAGS): New macro.
11332         * gtk.m4, glib.m4, libart.m4: New files.
11333         * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
11334         gnu/java/awt/peer/gtk/GdkGraphics.java,
11335         gnu/java/awt/peer/gtk/GtkArg.java,
11336         gnu/java/awt/peer/gtk/GtkArgList.java,
11337         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
11338         gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
11339         gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
11340         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
11341         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
11342         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
11343         gnu/java/awt/peer/gtk/GtkClipboard.java,
11344         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11345         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
11346         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
11347         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
11348         gnu/java/awt/peer/gtk/GtkFontPeer.java,
11349         gnu/java/awt/peer/gtk/GtkFramePeer.java,
11350         gnu/java/awt/peer/gtk/GtkGenericPeer.java,
11351         gnu/java/awt/peer/gtk/GtkImage.java,
11352         gnu/java/awt/peer/gtk/GtkImagePainter.java,
11353         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
11354         gnu/java/awt/peer/gtk/GtkListPeer.java,
11355         gnu/java/awt/peer/gtk/GtkMainThread.java,
11356         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
11357         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
11358         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
11359         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
11360         gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
11361         gnu/java/awt/peer/gtk/GtkPanelPeer.java,
11362         gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
11363         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
11364         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
11365         gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11366         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
11367         gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
11368         gnu/java/awt/peer/gtk/GtkToolkit.java,
11369         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11370         gnu/java/awt/peer/gtk/TestAWT.java,
11371         gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
11372         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
11373         jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
11374         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
11375         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
11376         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
11377         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
11378         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
11379         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
11380         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
11381         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
11382         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
11383         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
11384         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
11385         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
11386         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
11387         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
11388         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
11389         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
11390         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
11391         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
11392         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
11393         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
11394         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
11395         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
11396         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
11397         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
11398         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
11399         jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
11400         jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
11401         jni/classpath/jnilink.c, jni/classpath/jnilink.h,
11402         jni/classpath/native_state.c, jni/classpath/native_state.h,
11403         jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
11404
11405 2003-01-31  Julian Dolby  <dolby@us.ibm.com>
11406
11407         * java/util/Properties.java (load): Ignore backslash before EOF.
11408
11409 2003-01-30  Jeff Sturm  <jsturm@one-point.com>
11410
11411         * java/lang/natClass.cc (initializeClass): Check tables when
11412         (state == JV_STATE_IN_PROGRESS).
11413         (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
11414         * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
11415         interpreted classes.
11416         (linkClass0): Use _Jv_WaitForState.
11417
11418 2003-01-28  Oscar Pearce  <oscar@pearceenterprises.com>
11419
11420         * java/awt/Component.java (processPaintEvent): Dispose of Graphics
11421         object when finished.
11422
11423 2003-01-28  Andreas Tobler  <a.tobler@schweiz.ch>
11424
11425         * libjava/configure.host: Disable can_unwind_signal on darwin.
11426
11427 2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
11428
11429         Fixes PR java/9254:
11430         * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
11431         additionally containing id of the owner thread as well as
11432         the number of nested times the thread has acquired the mutex.
11433         (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
11434         (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
11435         (_Jv_MutexUnlock): Check if really the owner thread, reset
11436         owner thread id to 0 before leaving, if leaving for the last
11437         time.
11438         (_Jv_MutexLock): Set owner thread id in the mutex and increment
11439         refcount.
11440         (_Jv_ThreadYield): Yield using a call to Sleep(0).
11441         * win32-threads.cc (_Jv_CondWait): Check if really owner of
11442         the passed mutex.
11443         Pass handle of the broadcast event, instead of a pointer to it
11444         in Win32 ResetEvent( ) call.
11445         Remove incorrect return values.
11446         (_Jv_CondDestroy): Close both event handles and delete
11447         critical section.
11448         (_Jv_CondNotify): Check if really the owner thread.
11449         (_Jv_CondNotifyAll): Check if really the owner thread.
11450         (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
11451         (really_start): Use SetEvent( ) to signal daemon_cond.
11452         (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
11453         WaitForSingleObject( ) instead to wait for daemon_cond to be
11454         signalled.
11455
11456 2003-01-27  Ranjit Mathew  <rmathew@hotmail.com>
11457
11458         * configure.in: Specifically define HAVE_BACKTRACE if building
11459         for MinGW.
11460         * include/win32.h: Remove HAVE_BACKTRACE definition.
11461         * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
11462         * configure: Rebuilt.
11463
11464 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
11465
11466         * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
11467         Set and AC_SUBST.  Remove USE_LIBDIR conditional.
11468         * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
11469         (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
11470         * Makefile.in, configure: Rebuilt.
11471
11472 2003-01-24  Ranjit Mathew  <rmathew@hotmail.com>
11473
11474         Fixes PR java/9253:
11475         * java/io/natFileWin32.cc (performList): Append only "*.*"
11476         if the canonical file path already has a "\" at the end.
11477
11478 2003-01-24  Tom Tromey  <tromey@redhat.com>
11479
11480         * defineclass.cc (handleMethodsEnd): Precompute code for static
11481         method.
11482         (handleCodeAttribute): Likewise.
11483         * resolve.cc (ncode): Use run_class for unsynchronized static
11484         methods.
11485         * include/java-interp.h (class _Jv_InterpMethod): Declare
11486         run_class.
11487         * interpret.cc (run_synch_class): Initialize class.
11488         (run) [insn_invokestatic]: Don't initialize class.
11489         [insn_anewarray]: Likewise.
11490         [insn_multianewarray]: Likewise.
11491         (run_class): New function.
11492
11493 2003-01-24  Tom Tromey  <tromey@redhat.com>
11494
11495         * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
11496         comment.
11497
11498 2003-01-22  Andrew Haley  <aph@redhat.com>
11499
11500         * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
11501         * configure.host (CHECKREFSPEC): Define for x86_64.
11502
11503 2003-01-21  Tom Tromey  <tromey@redhat.com>
11504
11505         * java/util/natResourceBundle.cc (getCallingClassLoader): Start
11506         search at 2, not 3.
11507
11508 2003-01-21  Vladimir Puskas  <vpuskas@eunet.yu>
11509
11510         * java/io/natFileWin32.cc (isAbsolute): Check path length before
11511         looking at any characters.
11512         * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
11513         be used.
11514         (isAbsolute): Check path's length as well.
11515
11516 2003-01-17  Mark Wielaard  <mark@klomp.org>
11517
11518         * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
11519         (nat_source_files): Add natVMObjectStreamClass.cc.
11520         * Makefile.in: Regenerated.
11521         * gcj/javaprims.h (namespace java): Regenerated.
11522         * java/io/ObjectStreamClass.java (getClassUID): Call
11523         VMObjectStreamClass.hasClassInitializer().
11524         (hasClassInitializer): Removed.
11525         * java/io/VMObjectStreamClass.java: New class.
11526         * java/io/natVMObjectStreamClass.cc: New file.
11527         * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
11528
11529 2003-01-16  Mark Wielaard  <mark@klomp.org>
11530
11531         * java/net/SocketImpl.java (toString): Don't explicitly call
11532         toString() on possible null address.
11533
11534 2003-01-16  Michael Koch  <konqueror@gmx.de>
11535
11536         * java/net/MulticastSocket.java
11537         (setInterface): Reindented.
11538
11539 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
11540
11541         * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
11542         * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
11543         * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
11544         translateY arguments.  Implement.
11545         * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
11546         down translation arguments.
11547         (drawPolyline, drawPolygon): Fix incorrect tests.
11548         * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
11549         translateX and translateY arguments.
11550
11551 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
11552
11553         * Makefile.in: Rebuilt.
11554         * Makefile.am (xlib_includes): New macro.
11555         (INCLUDES): Use it.
11556
11557 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
11558
11559         * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
11560         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
11561         16-bit display mode.
11562
11563 2003-01-15  Scott Gilbertson  <scottg@mantatest.com>
11564
11565         * java/awt/CardLayout.java (show): Rewrote.
11566         (gotoComponent): Removed `target' argument.  Simplified code.
11567         Don't pre-compute `choice' unless `what' is FIRST or LAST.
11568         Changed all callers.
11569         (NONE): Removed.
11570         
11571 2003-01-14  Michael Koch  <konqueror@gmx.de>
11572
11573         * java/net/InetSocketAddress.java
11574         (serialVersionUID): New member variable.
11575         * java/net/NetPermission.java
11576         (NetPermission): Dont implement java.io.Serialization directly.
11577         * java/net/SocketAddress.java:
11578         (serialVersionUID): Documentation added.
11579         
11580 2003-01-14  Michael Koch  <konqueror@gmx.de>
11581
11582         * java/awt/Label.java
11583         (Label): Implements javax.accessibility.Accessible;
11584         * java/awt/List.java
11585         (List): Implements javax.accessibility.Accessible;
11586         * java/awt/ScrollPane.java
11587         (ScrollPane): Implements javax.accessibility.Accessible;
11588         * java/awt/Scrollbar.java
11589         (Scrollbar): Implements javax.accessibility.Accessible;
11590         * java/awt/TextComponent.java
11591         (setCaretPosition): Throw exception, documentation added.
11592         * java/awt/Toolkit.java:
11593         Added some newlines in method documentations.
11594         (createButton): Exception documentation added.
11595         (createTextField): Exception documentation added.
11596         (createLabel): Exception documentation added.
11597         (createList): Exception documentation added.
11598         (createCheckbox): Exception documentation added.
11599         (createScrollbar): Exception documentation added.
11600         (createScrollPane): Exception documentation added.
11601         (createTextArea): Exception documentation added.
11602         (createChoice): Exception documentation added.
11603         (createFrame): Exception documentation added.
11604         (createWindow): Exception documentation added.
11605         (createDialog): Exception documentation added.
11606         (createMenuBar): Exception documentation added.
11607         (createMenu): Exception documentation added.
11608         (createMenuItem): Exception documentation added.
11609         (createFileDialog): Exception documentation added.
11610         (createCheckboxMenuItem): Exception documentation added.
11611         (loadSystemColors): Exception documentation added.
11612         (setDynamicLayout): Exception documentation added.
11613         (isDynamicLayoutSet): Exception documentation added.
11614         (isDynamicLayoutActive): Exception documentation added.
11615         (getScreenSize): Exception documentation added.
11616         (getScreenResolution): Exception documentation added.
11617         (getScreenInsets): Exception documentation added.
11618         (getColorModel): Exception documentation added.
11619         (getSystemClipboard): Exception documentation added.
11620         (getSystemSelection): Exception documentation added.
11621         (getMenuShortcutKeyMask): Exception documentation added.
11622         (getSystemEventQueue): Exception documentation added.
11623         * java/awt/Window.java:
11624         Reindented some code.
11625         (Window): Centralized implementation, documentation added.
11626         (finalize): Documentation added.
11627         (hide): Fixed typo in comment.
11628         (getWindowListeners): Documentation added.
11629         * java/awt/color/ColorSpace.java
11630         (toRGB): Documentation added.
11631         * java/awt/color/ICC_ColorSpace.java
11632         (ICC_ColorSpace): Documentation added.
11633         (toRGB): Throw exception, documentation added.
11634         (fromRGB): Throw exception, documentation added.
11635         (toCIEXYZ): Documentation added.
11636         (fromCIEXYZ): Documentation added.
11637         (getMinValue): Documentation added.
11638         (getMaxValue): Documentation added.
11639         * java/awt/geom/Dimension2D.java
11640         (clone): Documentation added.
11641         * java/awt/geom/GeneralPath.java
11642         (clone): Documentation added.
11643         * java/awt/geom/Line2D.java
11644         (clone): Documentation added.
11645         * java/awt/geom/QuadCurve2D.java
11646         (clone): Documentation added.
11647         * java/awt/image/ColorModel.java
11648         (ColorModel): Throw exception, documentation added.
11649         * java/awt/image/ImageFilter.java
11650         (clone): Doesnt throw CloneNotSupportedException.
11651
11652 2003-01-14  Andrew Haley  <aph@redhat.com>
11653
11654         * java/lang/natRuntime.cc (_load): StackTrace access needs to be
11655         in a try block.
11656
11657 2003-01-10  Andrew Haley  <aph@redhat.com>
11658
11659         * include/dwarf2-signal.h: Remove x86_64.
11660         * configure.host (x86_64 DIVIDESPEC): Remove.
11661         * include/x86_64-signal.h: New file.
11662         * configure.in: Regenerate.
11663
11664 2003-01-10  Michael Koch  <konqueror@gmx.de>
11665
11666         * java/net/DatagramSocket.java
11667         (ch): Description added.
11668         (remotePort): Initialize with -1.
11669         (connect): Doesnt throws SocketException.
11670         * java/net/MulticastSocket.java
11671         (setInterface): Merge with Classpath.
11672         * java/net/ServerSocket.java
11673         (closed): New member variable.
11674         (bind): Check if socket is closed.
11675         (close): Close an associated channel too, set new value to closed.
11676         (isBound): Reindented.
11677         (isClosed): Implemented.
11678         * java/net/Socket.java
11679         (closed): New member variable.
11680         (bind): Check if socket is closed.
11681         (connect): Check if socket is closed.
11682         (close): Close an associated channel too, set new value to closed.
11683         (isClosed): Implemented.
11684
11685 2003-01-10  Michael Koch  <konqueror@gmx.de>
11686
11687         * java/awt/DisplayMode.java
11688         (equals): Fixed argument type and implementation.
11689
11690 2003-01-07  Tom Tromey  <tromey@redhat.com>
11691
11692         * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
11693         JV_HASH_SYNCHRONIZATION.
11694         * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
11695         JV_HASH_SYNCHRONIZATION.
11696
11697 2003-01-07  Michael Koch  <konqueror@gmx.de>
11698  
11699         * java/net/DatagramSocket.java:
11700         Added classpath license info.
11701         (DatagramSocket): Merged description with classpath.
11702         (close): Merged description with classpath.
11703         (getChannel): Merged description with classpath.
11704         (getInetAddress): Merged description with classpath.
11705         (getPort): Merged description with classpath.
11706         (getLocalAddress): Merged description with classpath.
11707         (getLocalPort): Merged description with classpath.
11708         (getSoTimeout): Merged description with classpath.
11709         (setSoTimeout): Merged description with classpath.
11710         (getSendBufferSize): Merged description with classpath.
11711         (setSendBufferSize): Merged description with classpath.
11712         (getReceiveBufferSize): Merged description with classpath.
11713         (setReceiveBufferSize): Merged description with classpath.
11714         
11715 2003-01-04  Tom Tromey  <tromey@redhat.com>
11716
11717         * java/awt/List.java: Merged with Classpath.
11718
11719 2003-01-03  Mark Wielaard  <mark@klomp.org>
11720
11721         * java/io/FileDescriptor.java (position): New private field.
11722         * java/io/natFileDescriptorPosix.cc (write): Up position.
11723         (setLength): Use and set position.
11724         (seek): Set position.
11725         (getFilePointer): Return position.
11726         (read): Up position.
11727
11728 2003-01-03  Mark Wielaard  <mark@klomp.org>
11729
11730         Merge with Classpath:
11731         * java/io/ObjectStreamClass.java (lookup): Split method and call
11732         lookupForClassObject().
11733         (lookupForClassObject): New method.
11734         (isProxyClass): New field.
11735         (setClass): Set isProxyClass, add object to classLookupTable, set
11736         superClass and calculateOffsets.
11737         (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
11738         and not a proxy class.
11739         (setFields): Set accessible true for serialPersistentFields.
11740         (getClassUID): Same for suid. And check if suid is of type long.
11741         (hasClassInitializer): Don't throw NoSuchMethodError.
11742
11743 2003-01-03  Mark Wielaard  <mark@klomp.org>
11744
11745         * java/io/FileInputStream.java (finalize): Don't explicitly
11746         finalize FileDescriptor.
11747
11748 2003-01-03  Jeff Sturm  <jsturm@one-point.com>
11749
11750         * configure.host (sparc*-*): Enable bytecode interpreter.
11751
11752 2003-01-03  Dhek Bhun Kho  <bhun@chello.nl>
11753
11754         * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
11755         Don't throw RemoteException.
11756         * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
11757         throw RemoteException.
11758
11759 2003-01-03  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
11760
11761         * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
11762         proxyHost): New static fields.
11763         (<clinit>): Initialize new fields.
11764         (connect): Use proxy if necessary.
11765         (usingProxy): Implement.
11766
11767 2003-01-03  Eric Blake  <ebb9@email.byu.edu>
11768
11769         * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
11770         (TreeIterator.remove): Prefer IllegalStateException over
11771         ConcurrentModificationException, to match Sun.
11772
11773 2002-12-22  Anthony Green  <green@redhat.com>
11774
11775         * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
11776
11777 2003-01-02  Mark Wielaard  <mark@klomp.org>
11778
11779         * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
11780         public.
11781         (HTTP_USE_PROXY): Add field.
11782         (getResponseVals): Only set responseCode when not yet explicitly
11783         set by subclass.
11784
11785 2003-01-02  Artur Biesiadowski  <abies@pg.gda.pl>
11786             Mark Wielaard  <mark@klomp.org>
11787
11788         * java/util/zip/ZipFile.java (entries): Now HashMap.
11789         (readLeShort(DataInput, byte[])): Read from given byte array.
11790         (readLeInt(DataInput, byte[]): Likewise.
11791         (readLeShort(byte[] b, int off)): New method.
11792         (readLeInt(byte[] b, int off)): Likewise.
11793         (readEntries): Use byte arrays to read info in bigger chunks.
11794         (getEntries): Return HashMap.
11795         (getEntry): Use HashMap.
11796         (locBuf): New private field.
11797         (checkLocalHeader): Use locBuf to read info in one chunk.
11798         (getInputStream): Use entries HashMap, wrap PartialInputStream
11799         in BufferedInputStream.
11800         (ZipEntryEnumeration): Use HashMap and Interator.
11801
11802 2003-01-02  Mark Wielaard  <mark@klomp.org>
11803             Jeroen Frijters  <jeroen@sumatra.nl>
11804
11805         * java/net/URLClassLoader.java (Resource.getCodeSource):
11806         Fix check certs == null.
11807         (getCanonicalFileURL): Removed method.
11808         (JarURLLoader): Don't call removed method.
11809         (FileURLLoader): Likewise.
11810         (FileURLLoader.getResource): Don't canonicalize file name.
11811
11812 2003-01-01  Tom Tromey  <tromey@redhat.com>
11813
11814         * Makefile.in: Rebuilt.
11815         * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
11816         * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
11817         java/awt/BufferCapabilities.java, java/awt/Button.java,
11818         java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
11819         java/awt/Container.java, java/awt/Cursor.java,
11820         java/awt/EventQueue.java, java/awt/FileDialog.java,
11821         java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
11822         java/awt/MenuBar.java, java/awt/MenuComponent.java,
11823         java/awt/PopupMenu.java, java/awt/ScrollPane.java,
11824         java/awt/Scrollbar.java, java/awt/TextArea.java,
11825         java/awt/TextField.java, java/awt/color/CMMException.java,
11826         java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
11827         java/awt/color/ProfileDataException.java,
11828         java/awt/datatransfer/Clipboard.java,
11829         java/awt/datatransfer/DataFlavor.java,
11830         java/awt/datatransfer/FlavorMap.java,
11831         java/awt/datatransfer/SystemFlavorMap.java,
11832         java/awt/dnd/DragGestureEvent.java,
11833         java/awt/dnd/DragGestureRecognizer.java,
11834         java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
11835         java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
11836         java/awt/im/InputMethodHighlight.java,
11837         java/io/PipedOutputStream.java, java/io/PipedWriter.java,
11838         java/rmi/server/RMIClassLoader.java: Merged from Classpath.
11839
11840         * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
11841         `op' to BufferedImageOp.
11842
11843 2002-12-31  Tom Tromey  <tromey@redhat.com>
11844
11845         Fix for PR libgcj/7416:
11846         * javax/naming/InitialContext.java (init): Use
11847         gnu.classpath.home.url.
11848         * java/security/Security.java: Use new properties.
11849         (loadProviders): Accept base url; use it.
11850         * java/lang/System.java: Document gnu.classpath.vm.shortname, and
11851         gnu.classpath.home.url.
11852         (gnu.classpath.home.url): Define.
11853         (gnu.classpath.vm.shortname): Likewise.
11854
11855 2002-12-31  Tom Tromey  <tromey@redhat.com>
11856             Ranjit Mathew  <rmathew@hotmail.com>
11857
11858         Fix for PR libgcj/8997:
11859         * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
11860         Include platform.h.
11861         * include/posix.h (_Jv_platform_usleep): New function.
11862         * include/win32.h (_Jv_platform_usleep): New function.
11863
11864 2002-12-29  Tom Tromey  <tromey@redhat.com>
11865
11866         * gcj/javaprims.h: Updated.
11867         * scripts/classes.pl (scan): Removed stray semicolon.
11868
11869 2002-12-30  Mark Wielaard  <mark@klomp.org>
11870
11871         * java/net/URLStreamHandler.java (toExternalForm): Ignore port
11872         if zero or smaller.
11873
11874 2002-12-30  Mark Wielaard  <mark@klomp.org>
11875
11876         * java/util/Properties (formatForOutput): Don't fall through to
11877         default case after escaping character.
11878
11879 2002-12-30  Mark Wielaard  <mark@klomp.org>
11880
11881         * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
11882         against count.
11883
11884 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
11885
11886         * boehm.cc: Remove stray semicolon.
11887         * interpret.cc: Likewise.
11888         * prims.cc: Likewise.
11889         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
11890         earlier to ensure default arguments are processed.
11891         * gcj/array.h (JArray): Add forward declaration.
11892         (elements): Likewise.
11893         * gcj/javaprim.h: Remove stray semicolons.
11894         * include/bohm-gc.h: Likewise.
11895         * include/jni.h: Likewise.
11896         * include/jvm.h: Likewise.
11897         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
11898         
11899 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
11900
11901         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
11902         of catch_type.
11903         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
11904         idt tables after initializing superclass.
11905         * java/lang/natClassLoader.cc (uaddr): New typedef.
11906         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
11907         if they are constant pool indicies.  Don't link vtable, otable yet.
11908
11909 2002-12-21  Anthony Green  <green@redhat.com>
11910
11911         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
11912         libraries.
11913         * Makefile.in: Rebuilt.
11914
11915 2002-12-19  Anthony Green  <green@redhat.com>
11916
11917         * Makefile.am (ordinary_java_source_files): Add
11918         org/xml/sax/helpers/NewInstance.java.
11919         * Makefile.in: Rebuilt.
11920         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
11921         org/xml/sax/helpers/package.html: New files.
11922         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
11923         http://www.saxproject.org.
11924
11925 2002-12-19  Andrew Haley  <aph@redhat.com>
11926
11927         * java/util/natResourceBundle.cc: Include
11928         ArrayIndexOutOfBoundsException.h.
11929         (getCallingClassLoader): Don't put upper bound on stack search.
11930         Catch ArrayIndexOutOfBoundsException.
11931
11932 2002-12-19  Tom Tromey  <tromey@redhat.com>
11933
11934         * libtool-version: Increased `current'.
11935
11936 2002-12-19  Tom Tromey  <tromey@redhat.com>
11937
11938         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
11939         comment.
11940         * java/lang/ClassLoader.java (defineClass): Use chained
11941         exception when rethrowing.
11942         * defineclass.cc (handleClassBegin): Mark class as interpreted.
11943         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
11944         constants.
11945         * resolve.cc (_Jv_PrepareMissingMethods): New function.
11946         (_Jv_PrepareClass): Use it.
11947         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
11948         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
11949         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
11950         (Class): _Jv_PrepareMissingMethods now friend.
11951         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
11952         Record `NULL' for system class loader.
11953         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
11954         system class loader.
11955         (_Jv_FindClassInCache): Likewise.
11956         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
11957         (_Jv_FindClass): Special case system class loader.
11958         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
11959         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
11960         vtable slots.
11961         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
11962         in a final class.
11963         (_getDeclaredMethod): Don't return synthetic methods.
11964         (getDeclaredMethods): Likewise.
11965         (_getMethod): Likewise.
11966         (_getMethods): Likewise.
11967
11968 2002-12-18  Raif Naffah  <raif@fl.net.au>
11969
11970         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
11971         canonical form after divide().
11972         (modInverse): Likewise.
11973
11974 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
11975             Mark Wielaard  <mark@klomp.org>
11976
11977         * java/security/SecurityRandom (digest): Removed field.
11978         (SecureRandom): Check all providers for case-insensitive SecureRandom
11979         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
11980         if necessary.
11981         (getInstance(String,Provider,boolean): New method.
11982         (getInstance(String)): Use new method.
11983         (getInstance(String,String)): Likewise.
11984         (getInstance(String,Provider)): Likewise.
11985
11986 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
11987
11988         * java/security/Security.java (loadProviders): Increment i only once.
11989
11990 2002-12-12  Mark Wielaard  <mark@klomp.org>
11991
11992         * java/lang/ClassLoader.java (resolveClass0): Transform
11993         ClassNotFoundException to NoClassDefFoundError. Transform all other
11994         throwables to LinkageError.
11995
11996 2002-12-11  Tom Tromey  <tromey@redhat.com>
11997
11998         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
11999
12000         * java/lang/ClassLoader.java (loadedClasses): New field.
12001         (defineClass): Fixed indentation.  Put new class in
12002         loadedClasses.
12003         (findLoadedClass): Implement here.
12004         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
12005
12006 2002-12-10  Tom Tromey  <tromey@redhat.com>
12007
12008         * Makefile.in: Rebuilt.
12009         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
12010         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
12011         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
12012         * java/lang/natClassLoader.cc
12013         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
12014
12015 2002-12-10  Mark Wielaard  <mark@klomp.org>
12016             Tom Tromey  <tromey@redhat.com>
12017
12018         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
12019         (JarURLLoader): Use it.
12020         (FileURLLoader): Likewise.
12021         (JarURLResource.getURL): Use chained exception.
12022         (FileResource.getURL): Likewise.
12023         (FileURLLoader.getResource): Use canonical file name.
12024         (addURL): Indentation fix.
12025
12026 2002-12-10  Tom Tromey  <tromey@redhat.com>
12027
12028         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
12029         From Laurent Bardet <l.bardet@magic.fr>.
12030
12031 2002-12-09  Tom Tromey  <tromey@redhat.com>
12032
12033         * include/win32.h (_Jv_platform_solib_prefix): New define.
12034         (_Jv_platform_solib_suffix): Likewise.
12035         * include/posix.h (_Jv_platform_solib_prefix): New define.
12036         (_Jv_platform_solib_suffix): Likewise.
12037         * java/lang/natRuntime.cc: Include StackTrace.h.
12038         (_load): Use findLibrary and new platform defines.
12039         (nativeGetLibname): Use new platform defines.
12040
12041         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
12042         `t' won't be null.
12043
12044 2002-12-08  Mark Wielaard  <mark@klomp.org>
12045
12046         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
12047         cache remote jar files.
12048         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
12049         add File.separator to URL when it is a directory.
12050         * java/lang/ClassLoader.java: Add Classpath javadoc.
12051         (parent): final.
12052         (getParent): Add (disabled) security check.
12053         (findLibrary): New default method.
12054         * java/net/JarURLConnection.java (getManifest): Implement.
12055         (getInputStream): Only create InputStream when entry exists.
12056         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
12057         when they exist.
12058         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
12059
12060 2002-12-08  Mark Wielaard  <mark@klomp.org>
12061
12062         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
12063         (lastDefaultLocale): New field.
12064         (getBundle): When Locale.getDefault != lastDefaultLocale reset
12065         resourceBundleCache.
12066
12067 2002-12-06  Mark Wielaard  <mark@klomp.org>
12068
12069         * java/net/InetAddress.java (toString): Use hostname when not null,
12070         don't do an explicit reverse getHostName() lookup.
12071         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
12072         NullPointerException.
12073
12074 2002-12-06  Tom Tromey  <tromey@redhat.com>
12075
12076         * include/java-interp.h (class _Jv_InterpMethod): Added
12077         JV_MARKOBJ_DECL.
12078         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
12079         mark `prepared' field of interpreted method.
12080         * interpret.cc (compile): Use _Jv_AllocBytes.
12081
12082 2002-12-05  Andrew Haley  <aph@redhat.com>
12083
12084         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
12085         #ifdef (HAVE_BACKTRACE) around the whole function body.
12086
12087 2002-12-05  Tom Tromey  <tromey@redhat.com>
12088
12089         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
12090         * resolve.cc: Don't include AbstractMethodError.h.
12091         (_Jv_abstractMethodError): Removed.
12092         * defineclass.cc (handleMethodsBegin): Initialize method index to
12093         -1.
12094         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
12095         method index for "new" final method.
12096         (_Jv_SetVTableEntries): Compare index against -1 instead of using
12097         isVirtualMethod.  Added `flags' argument.
12098         (_Jv_MakeVTable): Throw exception for abstract method in concrete
12099         class.
12100
12101 2002-12-04  Tom Tromey  <tromey@redhat.com>
12102
12103         * java/net/SocketPermission.java (hashCode): Rewrote.
12104
12105 2002-12-04  Tom Tromey  <tromey@redhat.com>
12106
12107         * Makefile.in: Rebuilt.
12108         * Makefile.am (nat_source_files): Added natVMSecurityManager,
12109         natResourceBundle.
12110         * java/util/ResourceBundle.java (Security): Removed.
12111         (getCallingClassLoader): Now native.
12112         * java/util/natResourceBundle.cc: New file.
12113         * java/lang/natVMSecurityManager.cc: New file.
12114         * java/lang/VMSecurityManager.java (getClassContext): Now native.
12115
12116 2002-12-03  Mark Wielaard  <mark@klomp.org>
12117
12118         * java/util/jar/JarFile.java (manifest): Not final.
12119         (manifestRead): New field.
12120         (JarFile): Don't read Manifest in constructor.
12121         (getManifest): New method.
12122         (JarEnumeration.nextElement): Use new method.
12123         (getEntry): Likewise.
12124         * java/util/zip/ZipFile.java (name): Final.
12125         (raf): Likewsie.
12126         (entries): Change type to Hashtable.
12127         (closed): New field.
12128         (ZipFile): Don't read enties in constructor.
12129         (readEntries): Use Hashtable.
12130         (close): Set new close flag and set entries to null inside
12131         synchronized block.
12132         (entries): Contruct enumeration using new getEntries() method and
12133         entries Hashtable.
12134         (getEntryIndex): Removed.
12135         (getEntries): New method.
12136         (getEntry): Use new getEntries() method and entries Hastable.
12137         (getInputStream): Likewise.
12138         (size): Return getEntries().size().
12139         (ZipEntryEnumeration): Wrap entries Hashtable elements.
12140         * java/util/zip/ZipEntry.java (cal): Don't initialize.
12141         (time): Removed
12142         (dostime): New field.
12143         (zipFileIndex): Removed.
12144         (ZipEntry(ZipEntry)): Copy dostime.
12145         (setDOSTime): Now final and doesn't convert dos time.
12146         (getDOSTime): Likewise.
12147         (setTime): Convert dos time.
12148         (getTime): Likewise.
12149         (getCalendar): New method.
12150         (setExtra): Use setTime().
12151         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
12152
12153 2002-12-03  Tom Tromey  <tromey@redhat.com>
12154
12155         * java/lang/Character.java (forDigit): Formatting fix.
12156
12157 2002-12-03  Raif Naffah  <raif@fl.net.au>
12158
12159         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
12160         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
12161         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
12162
12163 2002-12-03  Andrew Haley  <aph@redhat.com>
12164
12165         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
12166         _Jv_PushClass.
12167         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
12168         (_Jv_PopClass): New.
12169         (_Jv_PushClass): New.
12170         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
12171         discover the ClassLoader of our caller.
12172         (_Jv_CheckArrayStore): Don't check that a class is assignment
12173         compatible with Object.
12174         * java/lang/natVMTHrowable.cc: Delete.
12175         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
12176         java.lang.VMThrowable.
12177         (StackTrace(), StackTrace(int)): New constructors.
12178         (classAt, methodAt, update, methodAtAddress): New methods.
12179         (map): New field.
12180         * java/lang/VMThrowable.java: Use StackTrace instead of
12181         natVMTHrowable.
12182         * java/lang/Class.h (getClassLoaderInternal): New.
12183         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
12184         Be friendly with gnu::gcj::runtime::StackTrace.
12185         (Object.chain): New field.
12186         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
12187         gnu::gcj::runtime::StackTrace.
12188         * gnu/gcj/runtime/natStackTrace.cc: New file.
12189         * gnu/gcj/runtime/MethodRef.java: New file.
12190         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
12191         instead of getClassLoader().
12192         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
12193         java::lang::VMThrowable.
12194         * Makefile.am (core_java_source_files): Add MethodRef.java,
12195         StackTrace.java.
12196         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
12197         * Makefile.in: Rebuild.
12198
12199 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
12200
12201         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
12202         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
12203         yes also for sh-linux* and sh[34]*-linux*.
12204         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
12205         set SIGNAL_HANDLER to use DWARF2 exception for them.
12206         * configure: Regenerate.
12207
12208 2002-12-02  Tom Tromey  <tromey@redhat.com>
12209
12210         * jni.cc: Added `name' argument.
12211         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
12212         `const char *' argument.
12213         (class _Jv_JNIEnv) [DefineClass]: Likewise.
12214
12215 2002-12-01  Tom Tromey  <tromey@redhat.com>
12216
12217         Bug compatibility, for PR libgcj/8738:
12218         * java/io/CharArrayWriter.java (close): Do nothing.
12219         (flush): Likewise.
12220         (reset): Don't touch `closed'.
12221         (write(int)): Don't throw IOException.
12222         (write(char[],int,int)): Likewise.
12223         (write(String,int,int)): Likewise.
12224         (closed): Removed.
12225
12226 2002-12-01  Mark Wielaard  <mark@klomp.org>
12227
12228         * java/lang/SecurityManager.java: Remerge comments, indenting and
12229         checkXXX methods with Classpath.
12230
12231 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
12232
12233         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
12234         getNormalizedComponents): Fix calculation which was using one too
12235         many bits in the unnormalized format.
12236
12237 2002-11-29  Gary Benson  <gbenson@redhat.com>
12238
12239         For PR libgcj/8759:
12240         * java/beans/Introspector.java (flushCaches): New method.
12241         (flushFromCaches): Likewise.
12242
12243 2002-11-29  Michael Koch <konqueror@gmx.de>
12244
12245         * java/nio/channels/DatagramChannel.java
12246         (open): Added exception documentation.
12247         (write): Added exception documentation.
12248         (connect): Added exception documentation.
12249         (disconnect): Added exception documentation.
12250         (isConnected): Added exception documentation.
12251         (read): Added exception documentation.
12252         (receive): Added exception documentation.
12253         (send): Added exception documentation.
12254         (validOps): Added exception documentation.
12255         * java/nio/channels/SocketChannel.java
12256         (open): Added exception documentation.
12257         (read): Added exception documentation.
12258         (write): Added exception documentation.
12259         (connect): Added exception documentation.
12260         (finishConnect): Added exception documentation.
12261
12262 2002-11-29  Michael Koch <konqueror@gmx.de>
12263
12264         * gnu/java/nio/DatagramChannelImpl:
12265         (fd): New member variable to store file descriptor of socket.
12266         * gnu/java/nio/SelectionKeyImpl.java:
12267         (ops): Removed.
12268         (readyOps): New member variable.
12269         (interestOps): New member variable.
12270         (readyOps): Implemented.
12271         (readyOps): New method to set member variable readyOps.
12272         (interestOps): Replaced ops by interestOps.
12273         * gnu/java/nio/SelectorImpl.java:
12274         (SelectorImpl): Initialize key sets.
12275         (select): Call select with -1 instead of Long.MAX_VALUE).
12276         (java_do_select): Make it a native method.
12277         (getFDsAsArray): New helper method.
12278         (select): Remove canceled keys, give only interested file discriptors
12279         to java_do_select, set ready ops.
12280         (add): No need to initialize keys set here.
12281         (add_selected): No need to initialize selected set here.
12282         (deregisterCanceledKeys): New helper method.
12283         (register): Set interest ops, set attachments, added handling of datagram
12284         channels.
12285         * gnu/java/nio/ServerSocketChannelImpl:
12286         (SocketAccept): Renamed from NioSocketAccept.
12287         (implConfigureBlocking): Implemented.
12288         (accept): Use SocketAccept instead of NioSocketAccept.
12289         * gnu/java/nio/SocketChannelImpl:
12290         Reactivate native methods.
12291
12292 2002-11-29  Michael Koch <konqueror@gmx.de>
12293
12294         * gnu/java/nio/natByteBufferImpl.cc,
12295         gnu/java/nio/natCharBufferImpl.cc,
12296         gnu/java/nio/natDoubleBufferImpl.cc,
12297         gnu/java/nio/natFloatBufferImpl.cc,
12298         gnu/java/nio/natIntBufferImpl.cc,
12299         gnu/java/nio/natLongBufferImpl.cc,
12300         gnu/java/nio/natSelectorImpl.cc,
12301         gnu/java/nio/natServerSocketChannelImpl.cc,
12302         gnu/java/nio/natShortBufferImpl.cc,
12303         gnu/java/nio/natSocketChannelImpl.cc:
12304         New files that implement native functionalities.
12305
12306 2002-11-29  Michael Koch <konqueror@gmx.de>
12307
12308         * gnu/java/nio/ByteBufferImpl.java
12309         (ByteBufferImpl): Moved position() after limit.
12310         (nio_*): Use native implementation.
12311         * gnu/java/nio/CharBufferImpl.java:
12312         Reformated.
12313         (endian): New member variable string endianess of buffer.
12314         (CharBufferImpl): Moved position() after limit.
12315         (nio_*): Use native implementation.
12316         (subSequence): Implemented.
12317         * gnu/java/nio/DoubleBufferImpl.java
12318         (DoubleBufferImpl): Moved position() after limit.
12319         (nio_*): Use native implementation.
12320         * gnu/java/nio/FloatBufferImpl.java
12321         Reformated.
12322         (FloatBufferImpl): Moved position() after limit.
12323         (nio_*): Use native implementation.
12324         * gnu/java/nio/IntBufferImpl.java
12325         Added needed imports, Reformated.
12326         (IntBufferImpl): Moved position() after limit.
12327         (nio_*): Use native implementation.
12328         * gnu/java/nio/LongBufferImpl.java
12329         Reformated.
12330         (LongBufferImpl): Moved position() after limit.
12331         (nio_*): Use native implementation.
12332         * gnu/java/nio/ShortBufferImpl.java
12333         Reformated.
12334         (ShortBufferImpl): Moved position() after limit.
12335         (nio_*): Use native implementation.
12336
12337 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
12338
12339         * java/util/Locale.java (toString): Improve efficiency if country
12340         and variant are both empty.
12341
12342 2002-11-26  Tom Tromey  <tromey@redhat.com>
12343
12344         * verify.cc (pop_init_ref): New method.
12345         (verify_instructions_0) [op_iaload, op_laload, op_faload,
12346         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
12347         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
12348         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
12349         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
12350         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
12351         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
12352         let `this' argument be uninitialized.  Don't let `null' be passed
12353         as `this' to construtor.
12354
12355 2002-11-26  Mark Wielaard  <mark@klomp.org>
12356
12357         * javax/transaction/HeuristicCommitException.java: Classpath merge.
12358         * javax/transaction/HeuristicMixedException.java: Likewise.
12359         * javax/transaction/HeuristicRollbackException.java: Likewise.
12360         * javax/transaction/InvalidTransactionException.java: Likewise.
12361         * javax/transaction/NotSupportedException.java: Likewise.
12362         * javax/transaction/RollbackException.java: Likewise.
12363         * javax/transaction/Status.java: Likewise.
12364         * javax/transaction/Synchronization.java: Likewise.
12365         * javax/transaction/SystemException.java: Likewise.
12366         * javax/transaction/Transaction.java: Likewise.
12367         * javax/transaction/TransactionManager.java: Likewise.
12368         * javax/transaction/TransactionRequiredException.java: Likewise.
12369         * javax/transaction/TransactionRolledbackException.java: Likewise.
12370         * javax/transaction/UserTransaction.java: Likewise.
12371         * javax/transaction/xa/XAException.java: Likewise.
12372         * javax/transaction/xa/XAResource.java: Likewise.
12373         * javax/transaction/xa/Xid.java: Likewise.
12374
12375 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
12376
12377         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
12378         define.
12379         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
12380         * include/posix.h (socklen_t): Define if not already defined.
12381
12382 2002-11-25  Tom Tromey  <tromey@redhat.com>
12383
12384         * verify.cc (type::compatible): Backed out broken change.
12385
12386         * verify.cc (type::compatible): Check initialization status
12387         first.
12388         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
12389         Don't use NULLCHECK.
12390
12391 2002-11-23  H.J. Lu <hjl@gnu.org>
12392
12393         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
12394         Include ../config/accross.m4.
12395         * aclocal.m4; Rebuild.
12396         * configure: Likewise.
12397
12398 2002-11-23  Mark Wielaard  <mark@klomp.org>
12399
12400         * javax/naming/AuthenticationException.java: Update copyright header.
12401         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
12402         * javax/naming/Binding.java: Likewise.
12403         * javax/naming/CannotProceedException.java: Likewise.
12404         * javax/naming/CommunicationException.java: Likewise.
12405         * javax/naming/CompositeName.java: Likewise.
12406         * javax/naming/CompoundName.java: Likewise.
12407         * javax/naming/ConfigurationException.java: Likewise.
12408         * javax/naming/Context.java: Likewise.
12409         * javax/naming/ContextNotEmptyException.java: Likewise.
12410         * javax/naming/InitialContext.java: Likewise.
12411         * javax/naming/InsufficientResourcesException.java: Likewise.
12412         * javax/naming/InterruptedNamingException.java: Likewise.
12413         * javax/naming/LimitExceededException.java: Likewise.
12414         * javax/naming/LinkException.java: Likewise.
12415         * javax/naming/LinkLoopException.java: Likewise.
12416         * javax/naming/LinkRef.java: Likewise.
12417         * javax/naming/MalformedLinkException.java: Likewise.
12418         * javax/naming/NameAlreadyBoundException.java: Likewise.
12419         * javax/naming/NameClassPair.java: Likewise.
12420         * javax/naming/NameNotFoundException.java: Likewise.
12421         * javax/naming/NameParser.java: Likewise.
12422         * javax/naming/NamingEnumeration.java: Likewise.
12423         * javax/naming/NamingSecurityException.java: Likewise.
12424         * javax/naming/NoInitialContextException.java: Likewise.
12425         * javax/naming/NoPermissionException.java: Likewise.
12426         * javax/naming/NotContextException.java: Likewise.
12427         * javax/naming/OperationNotSupportedException.java: Likewise.
12428         * javax/naming/PartialResultException.java: Likewise.
12429         * javax/naming/Reference.java: Likewise.
12430         * javax/naming/Referenceable.java: Likewise.
12431         * javax/naming/ReferralException.java: Likewise.
12432         * javax/naming/ServiceUnavailableException.java: Likewise.
12433         * javax/naming/SizeLimitExceededException.java: Likewise.
12434         * javax/naming/TimeLimitExceededException.java: Likewise.
12435         * javax/naming/directory/Attribute.java: Likewise.
12436         * javax/naming/directory/AttributeInUseException.java: Likewise.
12437         * javax/naming/directory/AttributeModificationException.java: Likewise.
12438         * javax/naming/directory/Attributes.java: Likewise.
12439         * javax/naming/directory/BasicAttribute.java: Likewise.
12440         * javax/naming/directory/BasicAttributes.java: Likewise.
12441         * javax/naming/directory/DirContext.java: Likewise.
12442         * javax/naming/directory/InitialDirContext.java: Likewise.
12443         * javax/naming/directory/InvalidAttributeIdentifierException.java:
12444         Likewise.
12445         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
12446         * javax/naming/directory/InvalidAttributesException.java: Likewise.
12447         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
12448         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
12449         * javax/naming/directory/ModificationItem.java: Likewise.
12450         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
12451         * javax/naming/directory/SchemaViolationException.java: Likewise.
12452         * javax/naming/directory/SearchControls.java: Likewise.
12453         * javax/naming/directory/SearchResult.java: Likewise.
12454         * javax/naming/event/EventContext.java: Likewise.
12455         * javax/naming/event/EventDirContext.java: Likewise.
12456         * javax/naming/event/NamespaceChangeListener.java: Likewise.
12457         * javax/naming/event/NamingEvent.java: Likewise.
12458         * javax/naming/event/NamingExceptionEvent.java: Likewise.
12459         * javax/naming/event/NamingListener.java: Likewise.
12460         * javax/naming/event/ObjectChangeListener.java: Likewise.
12461         * javax/naming/ldap/Control.java: Likewise.
12462         * javax/naming/ldap/ControlFactory.java: Likewise.
12463         * javax/naming/ldap/ExtendedRequest.java: Likewise.
12464         * javax/naming/ldap/ExtendedResponse.java: Likewise.
12465         * javax/naming/ldap/HasControls.java: Likewise.
12466         * javax/naming/ldap/InitialLdapContext.java: Likewise.
12467         * javax/naming/ldap/LdapContext.java: Likewise.
12468         * javax/naming/ldap/LdapReferralException.java: Likewise.
12469         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
12470         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
12471         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
12472         * javax/naming/spi/DirObjectFactory.java: Likewise.
12473         * javax/naming/spi/DirStateFactory.java: Likewise.
12474         * javax/naming/spi/DirectoryManager.java: Likewise.
12475         * javax/naming/spi/InitialContextFactory.java: Likewise.
12476         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
12477         * javax/naming/spi/NamingManager.java: Likewise.
12478         * javax/naming/spi/ObjectFactory.java: Likewise.
12479         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
12480         * javax/naming/spi/ResolveResult.java: Likewise.
12481         * javax/naming/spi/Resolver.java: Likewise.
12482         * javax/naming/spi/StateFactory.java: Likewise.
12483
12484         * javax/naming/spi/NamingManager.java (ofb): Package private.
12485
12486 2002-11-21  Mark Wielaard  <mark@klomp.org>
12487
12488         * java/net/URL.java: Merge with Classpath (partly).
12489         * java/net/URLStreamHandler: Merge with Classpath.
12490
12491 2002-11-22  Michael Koch <konqueror@gmx.de>
12492
12493         * include/posix.h:
12494         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
12495         * include/win32.h:
12496         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
12497         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
12498
12499 2002-11-21  Michael Koch <konqueror@gmx.de>
12500
12501         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
12502         Only the new network functions should be in it.
12503
12504 2002-11-21  Michael Koch <konqueror@gmx.de>
12505
12506         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
12507         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
12508
12509 2002-11-21  Michael Koch <konqueror@gmx.de>
12510
12511         * java/nio/channels/AsynchronousCloseException.java,
12512         java/nio/channels/CancelledKeyException.java,
12513         java/nio/channels/ClosedByInterruptException.java,
12514         java/nio/channels/ConnectionPendingException.java,
12515         java/nio/channels/FileLockInterruptionException.java,
12516         java/nio/channels/IllegalSelectorException.java,
12517         java/nio/channels/NoConnectionPendingException.java,
12518         java/nio/channels/NonReadableChannelException.java,
12519         java/nio/channels/NonWritableChannelException.java,
12520         java/nio/channels/NotYetBoundException.java,
12521         java/nio/channels/NotYetConnectedException.java,
12522         java/nio/channels/OverlappingFileLockException.java,
12523         java/nio/channels/UnresolvedAddressException.java,
12524         java/nio/channels/UnsupportedAddressTypeException.java:
12525         New files.
12526         * Makefile.am (ordinary_java_source_files): Added new files.
12527         * Makefile.in: Regenerated.
12528
12529 2002-11-21  Michael Koch <konqueror@gmx.de>
12530
12531         * include/posix.h
12532         (_Jv_socket): New method.
12533         (_Jv_connect): New method.
12534         (_Jv_close): New method.
12535         (_Jv_platform_close_on_exec): Prefixed system function with "::".
12536         (_Jv_bind): New method.
12537         (_Jv_listen): New method.
12538         (_Jv_write): New method.
12539         (_Jv_read): New method.
12540         * include/win32.h
12541         (_Jv_socket): New method.
12542         (_Jv_connect): New method.
12543         (_Jv_close): New method.
12544         (_Jv_bind): New method.
12545         (_Jv_listen): New method.
12546         (_Jv_write): New method.
12547         (_Jv_read): New method.
12548         * java/net/natNetworkInterface.cc:
12549         Include platform.h, removed inclusion of socket.h
12550         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
12551         ::close() by _Jv_close().
12552         * java/net/natPlainDatagramSocketImpl.cc:
12553         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
12554         added some new lines to make code more readable.
12555         (create): Replaced ::socket() by _Jv_socket().
12556         (close): Replaced NATIVE_CLOSE() by _Jv_close().
12557         * java/net/natPlainSocketImpl.cc:
12558         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
12559         removed include of socket.h, removed some windows defines
12560         (now in include/win32.h).
12561         (create): Replaced ::socket() by _Jv_socket().
12562         (close): Replaced NATIVE_CLOSE() by _Jv_close().
12563         (write): Replaced ::read by _Jv_write().
12564         (read): Replaced ::read by _Jv_read().
12565
12566 2002-11-20  Michael Koch <konqueror@gmx.de>
12567
12568         * Makefile.am (ordinary_java_source_files):
12569         Added java/nio/channels/FileChannel.java.
12570         * Makefile.in: Regenerated.
12571
12572 2002-11-20  Michael Koch <konqueror@gmx.de>
12573
12574         * java/io/FileInputStream.java
12575         (getChannel): New method.
12576         * java/io/FileOutputStream.java
12577         (getChannel): New method.
12578         * java/net/ServerSocket.java
12579         (bind): Removed duplicate code and called another bind method instead.
12580         * java/nio/channels/SelectionKey.java
12581         (isValid): Removed wrong exception documentation.
12582         * java/nio/channels/ServerSocketChannel.java
12583         (accept): Added exception documentation.
12584         (open): Fixed typo, added exception documentation.
12585         * java/nio/channels/spi/AbstractSelectableChannel.java
12586         (implCloseChannel): Added exception documentation.
12587         (add): Reformated.
12588         (register): Added exception documentation.
12589
12590 2002-11-20  Andreas Jaeger  <aj@suse.de>
12591
12592         * configure: Regenerated with new libtool.m4.
12593
12594 2002-11-19  Tom Tromey  <tromey@redhat.com>
12595
12596         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
12597         `referent'.
12598         (finalize_referred_to_object): Don't modify `referent' or `copy'
12599         fields.
12600         (add_to_hash): Correctly set `n->next' when updating list.
12601         * java/lang/ref/Reference.java (enqueue): Return false if already
12602         enqueued.
12603
12604 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
12605
12606         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
12607         to function and function pointer declarations in accordance with
12608         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
12609         based on whether __GCJ_JNI_IMPL__ has been defined or not.
12610         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
12611         JNI function definitions.
12612
12613 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
12614
12615         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
12616         that was causing CoderResults to be cached, not WeakReferences
12617         to CoderResults.
12618
12619 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
12620
12621         * java/security/KeyStore.java (getInstance): Fix
12622         comment and throw IllegalArgumentException if
12623         given provider is null.
12624         (getInstance): New method for jdk1.4 compatibility.
12625
12626 2002-11-18  Michael Koch <konqueror@gmx.de>
12627
12628         * java/net/PlainSocketImpl.java: Fix imports.
12629
12630 2002-11-18  Michael Koch <konqueror@gmx.de>
12631
12632         * java/nio/channels/SelectionKey.java
12633         (isValid): Added exception documentation.
12634         * java/nio/channels/Selector.java
12635         (open): Declare "throws IOException".
12636
12637 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
12638
12639         * java/nio/charset/Charset.java
12640         (<clinit>): New method.
12641         (encode): Synchronize use of cached encoder object.
12642         (decode): Synchronize use of cached encoder object.
12643
12644 2002-11-18  Michael Koch <konqueror@gmx.de>
12645
12646         * gnu/java/nio/ByteBufferImpl.java,
12647         gnu/java/nio/CharBufferImpl.java,
12648         gnu/java/nio/DatagramChannelImpl.java,
12649         gnu/java/nio/DoubleBufferImpl.java,
12650         gnu/java/nio/FileChannelImpl.java,
12651         gnu/java/nio/FloatBufferImpl.java,
12652         gnu/java/nio/IntBufferImpl.java,
12653         gnu/java/nio/LongBufferImpl.java,
12654         gnu/java/nio/PipeImpl.java,
12655         gnu/java/nio/SelectionKeyImpl.java,
12656         gnu/java/nio/SelectorImpl.java,
12657         gnu/java/nio/SelectorProviderImpl.java,
12658         gnu/java/nio/ServerSocketChannelImpl.java,
12659         gnu/java/nio/ShortBufferImpl.java,
12660         gnu/java/nio/SocketChannelImpl.java,
12661         java/nio/DoubleBuffer.java,
12662         java/nio/FloatBuffer.java,
12663         java/nio/IntBuffer.java,
12664         java/nio/LongBuffer.java,
12665         java/nio/ShortBuffer.java,
12666         java/nio/channels/FileChannel.java: New files.
12667
12668 2002-11-18  Michael Koch <konqueror@gmx.de>
12669
12670         * Makefile.am (ordinary_java_source_files):
12671         Added java/nio/ReadOnlyBufferException.java and
12672         java/nio/channels/ClosedSelectorException.java.
12673         * Makefile.in: Regenerated.
12674
12675 2002-11-18  Michael Koch <konqueror@gmx.de>
12676
12677         * java/net/PlainSocketImpl.java: Reworked imports.
12678         * java/net/ServerSocket.java
12679         (ServerSocket): Create socket.
12680         * java/net/SocketAddress.java: Documentation added.
12681         * java/net/natPlainSocketImpl.cc: Reindented.
12682         * java/nio/ReadOnlyBufferException.java: New file
12683         * java/nio/channels/ClosedChannelException.java: Documentation added.
12684         * java/nio/channels/ClosedSelectorException.java: New file.
12685
12686 2002-11-17  Mark Wielaard  <mark@klomp.org>
12687
12688         * java/net/HttpURLConnection.java ((getPermission): Take port
12689         into consideration.
12690         (getErrorStream): Implement.
12691
12692 2002-11-17  Mark Wielaard  <mark@klomp.org>
12693
12694         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
12695
12696 2002-11-16  Mark Wielaard  <mark@klomp.org>
12697
12698         Integrate work by Raif S. Naffah (raif@fl.net.au)
12699         * java/security/DummyKeyPairGenerator.java (clone): New method.
12700         * java/security/DummyMessageDigest.java (clone): New method.
12701         (engineUpdate): Now public.
12702         (engineReset): Likewise.
12703         (engineDigest): Likewise.
12704         (engineGetDigestLength): New method.
12705         * java/security/DummySignature.java (clone): New method.
12706         * java/security/KeyPairGenerator.java (provider): Now package private.
12707         (getInstance(String)): Use getInstance(String,Provider).
12708         (getInstance(String,String): Use getInstance(String,Provider)
12709         (getInstance(String,Provider): New method.
12710         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
12711         * java/security/KeyPairGeneratorSpi.java (clone): New method.
12712         * java/security/MessageDigest.java (provider): Now package private.
12713         (getInstance(String): Use getInstance(String,Provider).
12714         (getInstance(String,String): Use getInstance(String,Provider)
12715         (getInstance(String,Provider): New method.
12716         * java/security/Provider.java (toCanonicalKey): New method.
12717         (get): New method that uses toCanonicalKey().
12718         (put): Use toCanonicalKey().
12719         (remove): Likewise.
12720         * java/security/Security.java (insertProviderAt): Provider index is one
12721         based, not zero based.
12722         (addProvider): Likewise.
12723         (removeProvider): Likewise.
12724         * java/security/Signature.java (provider): Now package private.
12725         (getInstance(String)): Use getInstance(String,Provider).
12726         (getInstance(String,String): Use getInstance(String,Provider)
12727         (getInstance(String,Provider): New method.
12728         (getInstance(String,String,Provider): Don't cast DummySignature.
12729
12730 2002-11-15  Tom Tromey  <tromey@redhat.com>
12731
12732         For PR libgcj/8593:
12733         * java/util/zip/GZIPInputStream.java (read): Check file size.
12734         Look in inflater for remaining input bytes.
12735         (read4): Added buf and offset arguments.
12736
12737 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
12738
12739         * java/applet/AppletContext.java: Fix typo and remove redundant
12740         modifiers.
12741
12742 2002-11-14  Tom Tromey  <tromey@redhat.com>
12743
12744         * java/lang/natRuntime.cc (insertSystemProperties): Set
12745         gnu.classpath.home.
12746
12747 2002-11-13  Michael Koch <konqueror@gmx.de>
12748
12749         * java/nio/ByteBuffer.java
12750         (allocate): New method.
12751         (wrap): New method.
12752         (put): New method.
12753         (get): New method.
12754
12755 2002-11-13  Michael Koch <konqueror@gmx.de>
12756
12757         * java/nio/channels/AlreadyConnectedException.java:
12758         Removed unneeded import.
12759         (AlreadyConnectedException): Documentation added.
12760         * java/nio/channels/Pipe.java
12761         (SinkChannel.SinkChannel): Documentation added.
12762         (SinkChannel.validOps): New method.
12763         (SourceChannel.SourceChannel): Documentation added.
12764         (SourceChannel.validOps): New method.
12765         (Pipe): Documentation added.
12766         (open): Documentation added.
12767         (SinkChannel.channel): Documentation added.
12768         (SourceChannel.channel): Documentation added.
12769         * java/nio/channel/SelectableChannel.java
12770         (SelectableChannel): Documentation added.
12771         (blockingLock): Documentation added.
12772         (configureBlocking):Documentation added.
12773         (isBlocking):Documentation added.
12774         (isRegistered):Documentation added.
12775         (keyFor):Documentation added.
12776         (provider):Documentation added.
12777         (register): Documentation added.
12778         (validOps): Documentation added.
12779         * jaba/nio/channels/SelectionKey.java
12780         (SelectionKey): Documentation added.
12781         (attach): Documentation added.
12782         (attachment): Documentation added.
12783         (isAcceptable): Documentation added.
12784         (isConnetable): Documentation added.
12785         (isReadable): Documentation added.
12786         (isWritable): Documentation added.
12787         (cancel): Documentation added.
12788         (channel): Documentation added.
12789         (interestOps): Documentation added.
12790         (isValid): Documentation added.
12791         (readyOps): Documentation added.
12792         (selector): Documentation added.
12793         * jaba/nio/channels/Selector.java
12794         (Selector): Documentation added.
12795         (open): Documentation added.
12796         (close): Documentation added.
12797         (isOpen): Documentation added.
12798         (keys): Documentation added.
12799         (provider): Documentation added.
12800         (select): Documentation added.
12801         (selectedKeys): Documentation added.
12802         (selectNow): Documentation added.
12803         (wakeup): Documentation added.
12804         * java/nio/channels/spi/AbstractInterruptibleChannel.java
12805         (AbstractInterruptibleChannel): Documentation added.
12806         (opened): Default to true;
12807         (begin): Documentation added.
12808         (close): Set opened to false, documentation added.
12809         (isOpen): Documentation added.
12810         * java/nio/channels/spi/AbstractSelectionKey.java
12811         (AbstractSelectionKey): Documentation added.
12812         (cancel): Documentation added.
12813         (isValid): Documentation added.
12814         * java/nio/channels/spi/AbstractSelector.java
12815         (AbstractSelector): Documentation added.
12816         (begin): Documentation added.
12817         (close): Documentation added.
12818         (isOpen): Documentation added.
12819         (deregister): Documentation added.
12820         (end): Documentation added.
12821         (provider): Documentation added.
12822         (implCloseSelector): Documentation added.
12823         (register): Documentation added.
12824         * java/nio/channels/spi/SelectorProvider.java
12825         (SelectorProvider): Documentation added.
12826         (openDatagramChannel): Documentation added.
12827         (openPipe): Documentation added.
12828         (openSelector): Documentation added.
12829         (openServerSocketChannel): Documentation added.
12830         (openSocketChannel): Documentation added.
12831         (provider): Documentation added.
12832
12833 2002-11-12  Michael Koch <konqueror@gmx.de>
12834
12835         * java/nio/Buffer.java: Implemented.
12836         * java/nio/CharBuffer.java: New file.
12837         * java/nio/InvalidMarkException.java: New file.
12838         * java/nio/channels/DatagramChannel.java: Implemented.
12839         * java/nio/channels/ServerSocketChannel.java: Implemented.
12840         * java/nio/channels/SocketChannel.java: Implemented.
12841         * java/nio/channels/spi/AbstractChannel.java: Removed.
12842         * java/nio/channels/spi/AbstractSelectableChannel.java:
12843         Implemented.
12844         * java/nio/charset/Charset.java:
12845         Merge from Classpath.
12846         * java/nio/charset/CharsetDecoder.java: New file.
12847         * java/nio/charset/CharsetEncoder.java: New file.
12848         * java/nio/charset/CoderResult.java: New file.
12849         * Makefile.am (ordinary_java_source_files): Added new files.
12850         * Makefile.in: Regenerated.
12851
12852 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
12853
12854         * gnu/java/nio/charset/ISO_8859_1.java,
12855         gnu/java/nio/charset/Provider.java,
12856         gnu/java/nio/charset/US_ASCII.java,
12857         gnu/java/nio/charset/UTF_16.java,
12858         gnu/java/nio/charset/UTF_16BE.java,
12859         gnu/java/nio/charset/UTF_16Decoder.java,
12860         gnu/java/nio/charset/UTF_16Encoder.java,
12861         gnu/java/nio/charset/UTF_16LE.java,
12862         gnu/java/nio/charset/UTF_8.java: New files.
12863
12864 2002-11-11  Michael Koch <konqueror@gmx.de>
12865
12866         * java/nio/charset/CharacterCodingException.java:
12867         This class must be public.
12868         * java/nio/charset/CoderMalfunctionError.java:
12869         This class must be public.
12870         * java/nio/charset/CodingErrorAction.java:
12871         This class must be public.
12872         * java/nio/charset/IllegalCharsetNameException.java:
12873         This class must be public, better implementation.
12874         * java/nio/charset/MalformedInputException.java:
12875         This class must be public, better implementation.
12876         * java/nio/charset/UnmappableCharacterException.java:
12877         This class must be public, better implementation.
12878         * java/nio/charset/UnsupportedCharsetException.java:
12879         This class must be public, better implementation.
12880
12881 2002-11-11  Michael Koch <konqueror@gmx.de>
12882
12883         * java/nio/BufferOverflowException.java,
12884         java/nio/BufferUnderflowException.java: New file.
12885         * Makefile.am (ordinary_java_source_files):
12886         Added new files.
12887         * Makefile.in: Regenerated.
12888
12889 2002-11-10  Tom Tromey  <tromey@redhat.com>
12890
12891         * java/awt/Container.java (validate): Use tree lock.
12892         (getComponent): Likewise.
12893         (getComponents): Likewise.
12894         (addImpl): Likewise.
12895         (remove): Likewise.
12896         (removeAll): Likewise.
12897         (processEvent): Fixed indentation.
12898         (getComponentAt): Use tree lock.
12899         (findComponentAt): Likewise.
12900         (removeNotify): Likewise.
12901         (isAncestorOf): Likewise.
12902         (list): Likewise.
12903         (visitChildren): Likewise.
12904         (findNextFocusComponent): Likewise.
12905         (addNotifyContainerChildren): Likewise.
12906         (getAccessibleChildrenCount): Likewise.
12907         (getAccessibleChild): Likewise.
12908
12909         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
12910         (getSize): Likewise.
12911         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
12912         (getSize): Likewise.
12913         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
12914         (calcSize): Likewise.
12915         * java/awt/CardLayout.java (getSize): Use tree lock.
12916         (gotoComponent): Likewise.
12917         (layoutContainer): Likewise.
12918
12919         * java/io/natFileDescriptorWin32.cc (read): Handle case where
12920         count is 0.
12921         * java/io/natFileDescriptorPosix.cc (read): Handle case where
12922         count is 0.
12923
12924         * java/io/Externalizable.java, java/io/FilePermission.java,
12925         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
12926         java/io/SerializablePermission.java, java/text/Format.java,
12927         java/util/AbstractMap.java, java/util/HashMap.java,
12928         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
12929         versions from Classpath.
12930
12931 2002-11-10  Anthony Green  <green@redhat.com>
12932
12933         * java/util/jar/Attributes.java (Name): Fix name check.
12934
12935 2002-11-10  Mark Wielaard  <mark@klomp.org>
12936
12937         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
12938         with getName() as message.
12939         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
12940         type as message.
12941
12942         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
12943         unused.
12944
12945 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
12946
12947         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
12948         for Win32. JNICALL has been defined to __stdcall to be compatible
12949         with Sun's JDKs.
12950
12951 2002-11-10  Tom Tromey  <tromey@redhat.com>
12952
12953         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
12954         (setRows): Check newRows, not rows.
12955
12956         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
12957
12958 2002-11-09  Tom Tromey  <tromey@redhat.com>
12959
12960         * java/applet/Applet.java, java/applet/AppletContext.java,
12961         java/applet/AppletStub.java, java/applet/AudioClip.java,
12962         java/awt/CardLayout.java,
12963         java/awt/ContainerOrderFocusTraversalPolicy.java,
12964         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
12965         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
12966         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
12967         java/awt/color/ICC_ColorSpace.java,
12968         java/awt/color/ICC_Profile.java,
12969         java/awt/color/ICC_ProfileGray.java,
12970         java/awt/color/ICC_ProfileRGB.java,
12971         java/awt/datatransfer/DataFlavor.java,
12972         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
12973         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
12974         New versions from Classpath.
12975         * Makefile.in: Rebuilt.
12976         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
12977         ICC_ProfileRGB.
12978
12979         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
12980         display policy.
12981
12982         * java/awt/List.java (processEvent): Added missing `else's.
12983
12984         * java/awt/Window.java (show): validate() before showing.  Make
12985         parent displayable.
12986         (isDisplayable): New method.
12987
12988 2002-11-07  Mark Wielaard  <mark@klomp.org>
12989
12990         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
12991         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
12992
12993         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
12994         annotation.
12995         (loadClass): Take String as codebases.
12996         (getClassAnnotation): Use MyClassLoader annotations.
12997         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
12998         call exportObject(this).
12999
13000         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
13001         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
13002         (setAnnotation): Don't set locBytesStream and locStream.
13003         (replaceObject): Removed.
13004         (flush): Don't test locStream.
13005         (getLocBytes): LikeWise.
13006         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
13007         (leaseCache): New field.
13008         (dirty): Use leaseCache.
13009         (LeaseRecord): New inner class.
13010         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
13011         explicitly call exportObject().
13012         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
13013         false to communicate with Sun JDK130.
13014         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
13015         * gnu/java/rmi/server/RMIObjectInputStream.java
13016         (UnicastConnectionManager): Removed field.
13017         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
13018         Use UnicastServer.getExportedRef().
13019         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
13020         (expireTime): Likewise.
13021         (CONNECTION_TIMEOUT): Likewise.
13022         (disconnect): Call sock.close().
13023         (isExpired): New method.
13024         (resetTime): Likewise.
13025         (run): Use do while loop and catch Exception for discardConnection().
13026         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
13027         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
13028         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
13029         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
13030         (exportObject): Use refcache.
13031         (unexportObject): Likewise.
13032         (getExportedRef): New method.
13033         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
13034         constructor.
13035         (exportObject): Save manager.serverobj.
13036         (getStub): New method.
13037
13038 2002-11-07  Mark Wielaard  <mark@klomp.org>
13039
13040         * java/lang/reflect/natField.cc (getBoolean): Use getType().
13041         (getByte): Likewise.
13042         (getShort): Likewise.
13043         (getInt): Likewise.
13044         (getLong): Likewise.
13045         (getFloat): Likewise.
13046         (getDouble): Likewise.
13047         (get): Likewise.
13048         (setChar): Likewise.
13049         (setByte): Likewise.
13050         (setShort): Likewise.
13051         (setInt): Likewise.
13052         (setLong): Likewise.
13053         (setFloat): Likewise.
13054         (setDouble): Likewise.
13055
13056 2002-11-07  Michael Koch <konqueror@gmx.de>
13057
13058         * java/awt/Choice.java,
13059         java/awt/Container.java,
13060         java/awt/GridBagLayout.java:
13061         Fixed documentation.
13062         * java/awt/peer/ContainerPeer.java:
13063         Reindented.
13064
13065 2002-11-07  Michael Koch <konqueror@gmx.de>
13066
13067         * java/awt/color/ICC_Profile.java:
13068         Added missing constants.
13069         * java/awt/color/ICC_ColorSpace.java
13070         (getMinValue): Added dummy implementation.
13071         (getMaxValue): Added dummy implementation.
13072         * java/awt/datatransfer/DataFlavor.java
13073         (imageFlavor): Added.
13074         (isMimeTypeEqual): Must be final.
13075         (getDefaultRepresentationClass): Must be non-static.
13076         (getDefaultRepresentationClassAsString): Must be non-static.
13077         * java/awt/dnd/DragSourceContext.java
13078         (dragExit): Corrected argument.
13079         (dragDropEnd): Corrected argument.
13080         * java/awt/dnd/DragSourceListener.java.java
13081         (dragExit): Corrected argument.
13082         (dragDropEnd): Corrected argument.
13083         * java/awt/font/TextHitInfo.java
13084         (toString): Added stubbed implementation.
13085         * java/awt/geom/PathIterator.java:
13086         The constants must be static.
13087         * java/awt/image/VolatileImage.java
13088         (IMAGE_INCOMPATIBLE): Fixed typo.
13089         * java/awt/image/renderable/RenderableImage.java
13090         (HINTS_OBSERVED): Must be static.
13091         * java/beans/BeanInfo.java:
13092         Constants must be final.
13093
13094 2002-11-06  Tom Tromey  <tromey@redhat.com>
13095
13096         From svens@it.uu.se.  For PR libgcj/8481.
13097         * java/util/Random.java (nextInt(int)): Only use 31 bits.
13098
13099 2002-11-06  Tom Tromey  <tromey@redhat.com>
13100
13101         * jni.cc (array_from_valist): Assume that jlong won't be
13102         promoted.
13103
13104 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
13105
13106         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
13107         Return 20.
13108         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
13109         Return 16.
13110
13111 2002-11-03  Tom Tromey  <tromey@redhat.com>
13112
13113         * java/lang/ClassLoader.java (loadClass): Call loadClass on
13114         VMClassLoader, not findClass.
13115
13116 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
13117
13118         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
13119         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
13120         _Jv_DetermineVTableIndex, to determine vtable offset.
13121         (_Jv_DetermineVTableIndex): Remove.
13122         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
13123
13124         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
13125
13126 2002-11-03  Tom Tromey  <tromey@redhat.com>
13127
13128         * java/nio/channels/AlreadyConnectedException.java: Extend
13129         IllegalStateException, per spec.
13130
13131 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
13132
13133         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
13134
13135 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
13136
13137         * java/util/ArrayList.java (readObject, writeObject): Only read/write
13138         size items.
13139
13140 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
13141
13142         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
13143         initial estimated size to avoid enlarge buffer frequently.
13144
13145 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
13146
13147         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
13148         ClassLoader when null.
13149         (ProxyType.hashCode): Loader null check no longer needed.
13150         (ProxyType.sameTypes): New method.
13151         (ProxyType.equals): Use new method.
13152
13153 2002-10-31  Mark Wielaard  <mark@klomp.org>
13154
13155         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
13156         length of String.
13157         * java/net/URLEncoder.java (encode): Likewise.
13158
13159 2002-10-31  Mark Wielaard  <mark@klomp.org>
13160
13161         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
13162         when stream is closed.
13163         (closeEntry): Likewise.
13164         (read): Likewise.
13165         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
13166         ZipException when no entry active.
13167         (closeEntry): Likewise.
13168         (write): Likewise.
13169
13170 2002-11-02  Tom Tromey  <tromey@redhat.com>
13171
13172         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
13173         * java/lang/natClass.cc (initializeClass): Don't return just
13174         because self==thread.
13175
13176         For PR java/8415:
13177         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
13178         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
13179
13180 2002-11-02  Andreas Schwab  <schwab@suse.de>
13181
13182         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
13183         pass GCJFLAGS.
13184         (FLAGS_TO_PASS): Define.
13185         * Makefile.in: Regenerated.
13186
13187 2002-11-01  Michael Koch  <konqueror@gmx.de>
13188
13189         * java/nio/ByteOrder.java: New file.
13190         * java/nio/channels/DatagramChannel.java:
13191         (DatagramChannel): New constructor.
13192         * java/nio/channels/Pipe.java: New file.
13193         * java/nio/channels/SelectableChannel.java: New file.
13194         * java/nio/channels/SelectionKey.java: New file.
13195         * java/nio/channels/Selector.java: New file.
13196         * java/nio/channels/ServerSocketChannel.java
13197         (ServerSocketChannel): New constructor.
13198         * java/nio/channels/SocketChannel.java
13199         (SocketChannel): New constructor.
13200         * java/nio/channels/Pipe.java: New file.
13201         * java/nio/channels/spi/AbstractChannel.java: New file.
13202         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
13203         * java/nio/channels/spi/AbstractSelectableChannel.java:
13204         License added
13205         (AbstractSelectableChannel): New stubbed method.
13206         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
13207         * java/nio/channels/spi/AbstractSelector.java: New file.
13208         * java/nio/channels/spi/SelectorProvider.java: New file.
13209         * java/nio/charset/Charset.java: New file.
13210         * java/nio/charset/CoderMalfunctionError.java: New file.
13211         * java/nio/charset/CodingErrorAction.java: New file.
13212         * java/nio/charset/spi/CharsetProvider.java
13213         (charsetForName): Uncommented.
13214         * Makefile.am (java_native_source_files): Added new files.
13215         * Makefile.in: Regenerated.
13216
13217 2002-11-01  Michael Koch  <konqueror@gmx.de>
13218
13219         * java/net/InetAddress.java:
13220         (isAnyLocalAddress): Implemented.
13221         (isLoopbackAddress): Implemented, comment added.
13222         (isLinkLocalAddress): Implemented, documentation added.
13223         (isSiteLocalAddress): Implemented, documentation added.
13224         (isMCGlobal): Implemented, documentation added.
13225         (isMCNodeLocal): Implemented, documentation added.
13226         (isMCLinkLocal): Implemented, documentation added.
13227         (isMCSiteLocal): Implemented, documentation added.
13228         (isMCOrgLocal): Implemented, documentation added.
13229         (getHostName): Documentation added.
13230         (getCanonicalHostName): Implemented, documentation added.
13231         (getAddress): Documentation added.
13232         (hashCode): Documentation added.
13233         (equals): Documentation added.
13234         (toString): Fixed implementation.
13235         (getByAddress): Use Inet4Address and Inet6Address.
13236         (lookup): New linewrap.
13237         (getByName): SecurityManager check added, support Inet4Address and
13238         Inet6address, comments added.
13239         (getAllByName): SecurityManager check added, comments added.
13240         * java/net/Inet6Address.java:
13241         (Inet6Address): Initialize parent class with addr instead of null.
13242         * java/net/URL.java
13243         (equals): Documentation added.
13244         (getFile): Documentation added.
13245         (hashCode): Documentation added.
13246         * java/net/natInetAddress.cc:
13247         (aton): Fix IPv6 support.
13248         * java/net/natPlainDatagramSocketImpl.cc:
13249         (peek): Throw PortUnreachableException when suitable.
13250         (peekData): Throw PortUnreachableException when suitable.
13251         (send): Throw PortUnreachableException when suitable.
13252         (receive): Throw PortUnreachableException when suitable.
13253
13254 2002-10-27  Mark Wielaard  <mark@klomp.org>
13255
13256         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
13257         argument.
13258         (readLeShort): Likewise and use byte[].
13259         (readLeInt): Likewise.
13260         (readEntries): Use new versions of methods and use byte[] for reading
13261         a complete zip entry. Add ZipFile name to exceptions.
13262         (entries): Add ZipFile name to exceptions.
13263         (getEntry): Likewise.
13264         (checkLocalHeader): Use new versions of methods and add ZipFile name
13265         to exceptions.
13266
13267 2002-10-31  Mark Anderson  <mark@panonet.net>
13268
13269         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
13270         added
13271
13272 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
13273
13274         * configure.in: Disable hash sync when not using threads.
13275         * configure: Regenerated.
13276
13277 2002-10-24  Tom Tromey  <tromey@redhat.com>
13278
13279         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
13280         (_Jv_FindSymbolInExecutable): Removed argument name.
13281         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
13282         java.library.path is set.
13283
13284         * gij.cc (help): Document --showversion.
13285         (version): Don't exit.
13286         (main): Handle --showversion.  Exit if --version given.
13287
13288 2002-10-23  Tom Tromey  <tromey@redhat.com>
13289
13290         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
13291         (array_from_valist): Correctly handle promotion for jint, jlong,
13292         jfloat, and jdouble.
13293
13294 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
13295
13296         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
13297         GetFileAttributesEx( ) to find file length and modification times,
13298         as the latter is not present on Windows 95.
13299
13300 2002-10-21  Michael Koch  <konqueror@gmx.de>
13301
13302         * java/net/URL.java
13303         (URL): Activate SecurityManager checks.
13304         (equals): Use URLStreamHandler implementation instead of doing it
13305         alone. This allows special protocol stream handlers to change default
13306         behaviour.
13307         (hashCode): Use URLStreamHandler implementation instead of doing it
13308         alone. This allows special protocol stream handlers to change default
13309         behaviour.
13310         * java/net/URLStreamHandler.java
13311         (equals): Implemented default URL equality check.
13312         (hostsEqual): Implemented default URL equality check.
13313         (hashCode): Implemented default URL hashCode algorithm.
13314         * java/net/natPlainDatagramSocketImpl.cc:
13315         No lines longer then 80 characters.
13316
13317 2002-10-20  Adam Megacz <adam@xwt.org>
13318
13319         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
13320         * configure.in: enabled hash sync on Win32
13321         * include/win32-threads.h (_Jv_ThreadId_t): added.
13322         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
13323         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
13324         removed some posix-isms, use Thread::sleep() instead of usleep,
13325         added code to clear bottom three bits if platform has a broken
13326         linker.
13327         * include/win32-threads.h (_Jv_ThreadId_t): added.
13328
13329 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
13330
13331         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
13332         runtime property "gnu.gcj.progname" containing the name used to
13333         invoke the current Java program (similar to argv[0] for C
13334         programs).
13335
13336 2002-10-15  Tom Tromey  <tromey@redhat.com>
13337
13338         Fix for PR libgcj/8234:
13339         * java/util/zip/natInflater.cc (reset): Reset avail_in.
13340         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
13341
13342 2002-10-13  Mark Wielaard  <mark@klomp.org>
13343
13344         * mauve-libgcj: Enable Mauve tests that compile now.
13345
13346 2002-10-11  Mark Wielaard  <mark@klomp.org>
13347
13348         Fix for PR libgcj/8142
13349         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
13350         loading native modules.
13351
13352 2002-10-10  Michael Koch  <konqueror@gmx.de>
13353
13354         * javax/swing/AbstractListModel.java
13355         (getListDataListeners): New stubbed method.
13356         javax/swing/DefaultBoundedRangeModel.java
13357         (getChangeListeners): New stubbed method.
13358         javax/swing/DefaultSingleSelectionModel.java
13359         (getChangeListeners): New stubbed method.
13360
13361 2002-10-10  Michael Koch  <konqueror@gmx.de>
13362
13363         * gcj/.cvsignore: New file to ignore files generated during build.
13364         * include/.cvsignore: New file to ignore files generated during build.
13365
13366 2002-10-10  Michael Koch  <konqueror@gmx.de>
13367
13368         * java/net/HttpURLConnection.java
13369         (getPermission): New method.
13370         (getErrorStream): New stub method.
13371         (getHeaderFieldDate): New stub method.
13372         * java/net/Inet4Address.java:
13373         (isLinkLocalAddress): Typo fixed.
13374         * java/net/InetAddress.java:
13375         (readResolve): New stubbed method (for serialization).
13376         (isAnyLocalAddress): New stubbed method.
13377         (isLoopbackAddress): New stubbed method.
13378         (isLinkLocalAddress): New stubbed method.
13379         (isSiteLocalAddress): New stubbed method.
13380         (isMCGlobal): New stubbed method.
13381         (isMCNodeGlobal): New stubbed method.
13382         (isMCLinkLocal): New stubbed method.
13383         (isMCSiteLocal): New stubbed method.
13384         (isMCOrgLocal): New stubbed method.
13385         (getCanonicalHostName): New stubbed method.
13386         (getByAddress): Create instances of Inet4Address/Inet6Address,
13387         instead of InetAddress, documentation added.
13388         * java/net/MulticastSocket.java
13389         (getInterface): Removed FIXME.
13390         (getNetworkInterface): New method.
13391         (setNetworkInterface): New method.
13392         * java/net/NetworkInterface.java:
13393         (toString): Use property "line.separator" instead of "\n".
13394         * java/net/URLConnection.java
13395         (getContent): New stubbed method.
13396         * java/net/URLStreamHandler.java:
13397         (equals): New stubbed method.
13398         (hostsEqual): New stubbed method.
13399         (hashCode): New stubbed method.
13400         * java/net/natNetworkInterface.cc:
13401         (getRealNetworkInterfaces): Create Inet4Address object
13402         instead of InetAddress.
13403
13404 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
13405
13406         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
13407         unsigned long temporary to implement insn_iushr shifts.
13408
13409 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
13410
13411         * configure.host [s390*-*]: Enable Java interpreter.
13412         Enable hash synchronization.  Add sysdeps dir.
13413         * sysdep/s390/locks.h: New file.
13414
13415 2002-10-06  Mark Wielaard  <mark@klomp.org>
13416
13417         * java/lang/Thread.java (setDaemon): Check startable_flag,
13418         not isAlive().
13419
13420 2002-10-07  Michael Koch  <konqueror@gmx.de>
13421
13422         * java/nio/Buffer.java: New stub file.
13423         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
13424         of class Charset.
13425         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
13426         * Makefile.in: Regenerated.
13427
13428 2002-10-07  Michael Koch  <konqueror@gmx.de>
13429
13430         * java/nio/ByteBuffer.java:
13431         removed import of not commited class.
13432
13433 2002-10-07  Michael Koch  <konqueror@gmx.de>
13434
13435         * java/nio/ByteBuffer.java,
13436         java/nio/MappedByteBuffer.java:
13437         New files, forgot to add these dummies.
13438         * Makefile.am (java_native_source_files): Added new files.
13439         * Makefile.in: Regenerated.
13440
13441 2002-10-07  Michael Koch  <konqueror@gmx.de>
13442
13443         * java/nio/channels/AlreadyConnectedException.java,
13444         java/nio/channels/ClosedChannelException.java,
13445         java/nio/channels/ReadableByteChannel.java,
13446         java/nio/channels/InterruptibleChannel.java,
13447         java/nio/channels/Channel.java,
13448         java/nio/channels/ByteChannel.java,
13449         java/nio/channels/GatheringByteChannel.java,
13450         java/nio/channels/ScatteringByteChannel.java,
13451         java/nio/channels/WritableByteChannel.java,
13452         java/nio/charset/CharacterCodingException.java,
13453         java/nio/charset/IllegalCharsetNameException.java,
13454         java/nio/charset/MalformedInputException.java,
13455         java/nio/charset/UnmappableCharacterException.java,
13456         java/nio/charset/UnsupportedCharsetException.java,
13457         java/nio/charset/spi/CharsetProvider.java: New file.
13458         These files are exceptions or interfaces,
13459         no real or abstract classes.
13460         * Makefile.am (java_native_source_files): Added new files.
13461         * Makefile.in: Regenerated.
13462
13463 2002-10-05  Michael Koch  <konqueror@gmx.de>
13464
13465         * java/net/InetAddress.java
13466         (getByAddress): Fixed documentation.
13467         (getByAddress): New method.
13468         * java/net/Inet4Address.java: New file.
13469         * java/net/URL.java
13470         (URL): Documentation added.
13471         (getContent): Documentation added.
13472         (getContent): New stubbed method.
13473         (getQuery): New method.
13474         (openConnection): Documentation added.
13475         (openStream): Documentation added.
13476         (setURLStreamHandlerFactory): Documentation added.
13477         * java/net/URI.java: New stub file.
13478         * Makefile.am
13479         (java_native_source_files): Added java/net/Inet4Address.java,
13480         java/net/Inet6Address.java and java/net/URI.java.
13481         * Makefile.in: Regenerated.
13482
13483 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
13484
13485         * java/lang/ProtectionDomain.java (linesep): Remove field.
13486         (toString): Use System.getProperty("line.separator").
13487
13488 2002-10-04  Michael Koch  <konqueror@gmx.de>
13489
13490         * java/security/Identity.java: Added serialVersionUID.
13491         * java/security/KeyPair.java: Added serialVersionUID.
13492         * java/security/Provider.java: Added serialVersionUID.
13493         * java/security/SecureRandom.java: Added serialVersionUID.
13494         * java/security/SecureRandomSpi.java: Added serialVersionUID.
13495         * java/security/SignedObject.java: Added serialVersionUID.
13496         * java/security/cert/Certificate.java: Added serialVersionUID.
13497
13498 2002-10-04  Mark Wielaard <mark@klomp.org>
13499
13500         * java/security/Security.java: Use java.home or gnu.classpath.home
13501         to load providers.
13502         (loadProviders): Extra dir argument.
13503         (getProvider): Return null when not found.
13504
13505 2002-10-04  Mark Wielaard  <mark@klomp.org>
13506
13507         * java/lang/Throwable.java: Remerge with Classpath.
13508
13509 2002-10-04  Michael Koch  <konqueror@gmx.de>
13510
13511         * java/net/InetAddress.java:
13512         (isMulticastAddress): Added documentation.
13513         (getHostAddress): Added documentation.
13514         (toString): Added documentation.
13515         (getByAddress): Fixed documentation.
13516         (getByName): Added documentation.
13517         (getAllByName): Added documentation.
13518         (getLocalHost): Added documentation.
13519
13520 2002-10-04  Michael Koch  <konqueror@gmx.de>
13521
13522         * java/beans/beancontext/BeanContextChildSupport.java:
13523         Added serialVersionUID.
13524         * java/text/Collator.java: (compare): Made documentation HTML-aware.
13525         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
13526         * javax/naming/Name.java: Added serialVersionUID.
13527
13528 2002-10-03  Adam Megacz <adam@xwt.org>
13529
13530         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
13531         some functionality that isn't supported yet on WIN32.
13532
13533 2002-10-03  Tom Tromey  <tromey@redhat.com>
13534
13535         * Makefile.in: Rebuilt.
13536         * Makefile.am (awt_java_source_files): Added new files.
13537
13538 2002-10-03  Michael Koch  <konqueror@gmx.de>
13539
13540         * java/net/InetAddress.java
13541         (class InetAddress): Removed final keyword.
13542         (equals): Fixed typo.
13543         (getByAddress): New method.
13544
13545 2002-10-03  Michael Koch  <konqueror@gmx.de>
13546
13547         * java/awt/dnd/Autoscroll.java:
13548         New file, merge from Classpath.
13549         * java/awt/dnd/DragSourceAdapter.java:
13550         (dragExit): Fixed typos in argument type.
13551         (dragDropEnd): Fixed typos in argument type.
13552         * java/awt/dnd/DragSourceDropEvent.java:
13553         New file, merge from Classpath.
13554         * java/awt/dnd/DropTarget.java:
13555         Added stubs, merge from Classpath.
13556         * java/awt/dnd/DropTargetAdapter.java:
13557         New file, merge from Classpath.
13558         * java/awt/dnd/DropTargetContext.java:
13559         New file, merge from Classpath.
13560         * java/awt/dnd/DropTargetDragEvent.java:
13561         New file, merge from Classpath.
13562         * java/awt/dnd/DropTargetDropEvent.java:
13563         New file, merge from Classpath.
13564         * java/awt/dnd/DropTargetEvent.java:
13565         New file, merge from Classpath.
13566         * java/awt/dnd/DropTargetListener.java:
13567         New file, merge from Classpath.
13568         * java/awt/dnd/MouseDragGestureRecognizer.java:
13569         New file, merge from Classpath.
13570         * java/awt/dnd/peer/DropTargetContextPeer.java:
13571         New file, merge from Classpath.
13572
13573 2002-10-03  Michael Koch  <konqueror@gmx.de>
13574
13575         * java/net/DatagramPacket.java
13576         (setLength): Fixed typo and be HTML-aware.
13577         * java/net/InetSocketAddress.java
13578         (InetSocketAddress): Correct initialization of hostname, fixed typo.
13579         (equals): Added comment about equality of InetSocketAddress objects.
13580         * java/net/ServerSocket.java
13581         (accept): Added checks.
13582         (isClosed): New stubbed method.
13583         * java/net/SocketOptions.java: Reindention.
13584         * java/net/SocketPermission
13585         (SocketPermission): Documentation fixed.
13586
13587 2002-10-03  Michael Koch  <konqueror@gmx.de>
13588
13589         * java/net/DatagramSocket.java
13590         (receive): Check with SecurityManager AFTER the packet is received,
13591         check if connected to multicast address, documentation added.
13592         (send): Only check SecurityManager if connected, check address of
13593         packet to send.
13594         (connect): Implemented, documentation added.
13595         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
13596         * java/net/InetSocketAddress.java
13597         (whole file): Reindented.
13598         (hostname): New attribute.
13599         (InetSocketAddress): Initialize new attribute.
13600         (getAddress): Documentation added.
13601         (getHostName): Documentation added.
13602         (getPort): Documentation added.
13603         (hashCode): Documentation added.
13604         (isUnresolved): Documentation added.
13605         (toString): Conform to output of JDK 1.4.1, documentation added.
13606         * java/net/MulticastSocket.java
13607         (joinGroup): Removed FIXME, documentation added.
13608         (leaveGroup): Removed FIXME, documentation added.
13609         (send): Documentation added.
13610         * java/net/Socket.java
13611         (inputShutdown): New variable.
13612         (outputShutdown): New variable.
13613         (Socket): Initialize new variables.
13614         (getRemoteSocketAddress): Check if connected.
13615         (shutdownInput): Set new variable.
13616         (shutdownOutput): Set new variable.
13617         (isConnected): New method.
13618         (isClosed): New method.
13619         (isInputShutdown): New method.
13620         (isOutputShutdown): New method.
13621         * java/net/URLStreamHandler.java
13622         (URLStreamHandler): New method.
13623         (openConnection): Added documentation.
13624         (parseURL): Added documentation.
13625         (getHostAddress): New method.
13626         (getDefaultPort): New method.
13627
13628 2002-10-02  Tom Tromey  <tromey@redhat.com>
13629
13630         * java/rmi/activation/ActivationDesc.java,
13631         java/rmi/activation/ActivationGroupDesc.java,
13632         java/rmi/activation/ActivationGroupID.java,
13633         java/rmi/activation/ActivationID.java: New versions from
13634         Classpath.
13635
13636 2002-09-30  Bo Thorsen  <bo@suse.de>
13637
13638         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
13639
13640 2002-09-30  Tom Tromey  <tromey@redhat.com>
13641
13642         * java/io/ObjectInputStream.java (resolveProxyClass): New method
13643         from Classpath.
13644         * Makefile.in: Rebuilt.
13645         * Makefile.am (rmi_java_source_files): Added new files.
13646         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
13647         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
13648         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
13649         Classpath.
13650         * gnu/java/rmi/dgc/DGCImpl.java,
13651         gnu/java/rmi/dgc/DGCImpl_Skel.java,
13652         gnu/java/rmi/dgc/DGCImpl_Stub.java,
13653         gnu/java/rmi/registry/RegistryImpl_Skel.java,
13654         gnu/java/rmi/registry/RegistryImpl_Stub.java,
13655         gnu/java/rmi/server/RMIHashes.java,
13656         gnu/java/rmi/server/RMIObjectInputStream.java,
13657         gnu/java/rmi/server/RMIObjectOutputStream.java,
13658         gnu/java/rmi/server/UnicastConnection.java,
13659         gnu/java/rmi/server/UnicastConnectionManager.java,
13660         gnu/java/rmi/server/UnicastRef.java,
13661         gnu/java/rmi/server/UnicastServer.java,
13662         gnu/java/rmi/server/UnicastServerRef.java,
13663         java/rmi/MarshalledObject.java,
13664         java/rmi/server/RMIClassLoader.java,
13665         java/rmi/server/RemoteObject.java,
13666         java/rmi/server/UnicastRemoteObject.java,
13667         java/security/SecureClassLoader.java: Merged from Classpath.
13668
13669 2002-09-29  Anthony Green  <green@redhat.com>
13670
13671         * java/lang/reflect/UndeclaredThrowableException.java: New file.
13672         Imported from GNU Classpath.
13673         * java/lang/reflect/natProxy.cc: New file.
13674         * java/lang/reflect/InvocationHandler.java: New file.  Imported
13675         from GNU Classpath.
13676         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
13677         Classpath.
13678         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
13679         Classpath.
13680         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
13681         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
13682         New statics.
13683         * gcj/javaprims.h ("Java"): Add new classes.
13684         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
13685         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
13686         java/lang/reflect/Proxy$$ProxyType.h): And this.
13687         (inner_nat_headers): Add these new headers.
13688         (ordinary_java_source_files): Add new files.
13689         (nat_source_files): Add new file.
13690         * Makefile.in: Rebuilt.
13691
13692 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
13693
13694         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
13695         a single configuration.
13696
13697 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13698
13699         * java/util/TimeZone.java (getDSTSavings): New method.
13700         Fixes PR libgcj/7786.
13701
13702 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13703
13704         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
13705         to see if `the_method == 0' before looking up vtable index.
13706         Fixes PR libgcj/7709.
13707
13708 2002-09-25  Tom Tromey  <tromey@redhat.com>
13709
13710         * java/lang/natClassLoader.cc:
13711         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
13712         * resolve.cc: Include NoClassDefFoundError.h, not
13713         ClassNotFoundException.h.
13714         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
13715
13716         * defineclass.cc: Don't include ClassNotFoundException.h.
13717
13718         * resolve.cc: Include StringBuffer.
13719         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
13720
13721         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
13722         allocated but not initialized.
13723
13724 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
13725
13726         Fix for PR libgcj/7766:
13727         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
13728         (getNextEntry): Set it.
13729         (closeEntry): Likewise.
13730         (read): Likewise.
13731         (close): Likewise.
13732         (available): Use it.
13733
13734 2002-09-25  Michael Koch  <konqueror@gmx.de>
13735
13736         * java/net/DatagramSocket.java
13737         (DatagramSocket): Initialize new instance variables.
13738         (close): Reset new instance variables.
13739         (getLocalAddress): Remove unneeded SecurityManager usage.
13740         (getLocalPort): Check if socket is already bound.
13741         (isConnected): New method.
13742         (getInetAddress): Implemented.
13743         (getPort): Better Implementation, documentation fixed.
13744         (getRemoteSocketAddress): New method.
13745         * java/net/JarURLConnection.java
13746         (element): Typo fixed.
13747         (getMainAttributes): New method.
13748         (getAttributes): New method (stub only).
13749         (getManifest): New method (stub only).
13750         * java/net/NetPermission.java: Added serialVersionsUID.
13751         * java/net/Socket.java
13752         (connect): Check blocking mode of associated channel,
13753         documentation added.
13754         (getLocalSocketAddress): Better implementation.
13755         (getRemoteSocketAddress): Implemented.
13756         (isBound): New method.
13757         (setSendBufferSize): Documentation added.
13758         * java/net/SocketAddress.java: Added serialVersionsUID.
13759         * java/net/SocketPermission.java: Added serialVersionsUID.
13760         * java/net/URL.java
13761         (URL): Wrap for shorter lines, initialize new instance variables,
13762         documentation added.
13763         (equals): Check new instance variables too.
13764         (getContent): Documentation added.
13765         (getPath): Documentation added.
13766         (getAuthority): New method.
13767         (getHost): Documentation added.
13768         (getPort): Documentation added.
13769         (getDefaultPort): New method.
13770         (getProtocol): Documentation added.
13771         (getUserInfo): Documentation added.
13772         (set): Initialize new instance variables, documentation added.
13773         * java/net/URLStreamHandler.java
13774         (setURL): New method.
13775         * java/net/natPlainDatagramSocketImpl.cc
13776         (connect): Fix exception name.
13777         (disconnect): Fix exception name.
13778
13779 2002-09-25  Michael Koch  <konqueror@gmx.de>
13780
13781         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
13782         * java/nio/channels/DatagramChannel.java:
13783         extends AbstractSelectableChannel
13784         * java/nio/channels/ServerSocketChannel.java:
13785         extends AbstractSelectableChannel
13786         * java/nio/channels/SocketChannel.java:
13787         extends AbstractSelectableChannel
13788         * Makefile.am (ordinary_java_source_files):
13789         java/nio/channels/spi/AbstractSelectableChannel.java added.
13790         * Makefile.in: Regenerated.
13791
13792 2002-09-25  Michael Koch  <konqueror@gmx.de>
13793
13794         * java/net/DatagramSocket.java
13795         (DatagramSocket): Exception documentation added.
13796         (bind): Exception documentation added, addded SecurityManager check,
13797         added SocketAddress type check.
13798         (getSoTimeout): Check impl.
13799         (receive): Fix SecurityManager check, check impl, documentation added.
13800         (send): Check channel mode, documentation added.
13801         (connect): New method.
13802         (disconnect): Implemented.
13803         (getLocalSocketAddress): New method.
13804         (getReceiveBufferSize): Check impl.
13805         (setReuseAddress): Check impl.
13806         (getReuseAddress): Check impl.
13807         (setBroadcast): Check impl.
13808         (getBroadcast): Check impl.
13809         (setTrafficClass): Check impl, Documentation cleared.
13810         (getTrafficClass): Check impl.
13811         (getSendBufferSize): Check impl.
13812         (setReceiveBufferSize): Check impl, documentation added.
13813         (setSendBufferSize): Documentation added.
13814         (setDatagramSocketImplFactory): New method.
13815         * java/net/HttpURLConnection.java
13816         (HTTP_INTERNAL_ERROR): The correct code is 500.
13817         (HTTP_NOT_IMPLEMENTED): Added new constant.
13818         (setFollowRedirects): Documentation added.
13819         (getInstanceFollowRedirects): New method.
13820         (setInstanceFollowRedirects): New method.
13821         (setRequestMethod): Documentation added.
13822         (getResponseCode): Documentation added.
13823         (getResponseMessage): Documentation added.
13824         * java/net/JarURLConnection.java
13825         (JarURLConnection): protected since JDK 1.4.
13826         (getJarEntry): java.io.IOException to IOException, documentation added.
13827         (getJarFile): Documentation added.
13828         * java/net/ServerSocket.java
13829         (ServerSocket): Private to public, exception added.
13830         (ServerSocket): java.io.IOException to IOException, documentation added.
13831         (bind): Check socket address type, documentation added.
13832         (bind): java.io.IOException to IOException, documentation added.
13833         (accept): Documentation added.
13834         (implAccept): Check ch is not non-blocking, documentation added.
13835         (setSoTimeout): Documentation fixed.
13836         (setReceiveBufferSize): Documentation added.
13837         * java/net/Socket.java
13838         (Socket): Documentation added.
13839         (bind): Documentation added.
13840         (connect): Check socket address type, documentation added.
13841         (getRemoteSocketAddress): New method.
13842         (getLocalSocketAddress): New method.
13843         (setSoLinger): Documentation added.
13844         (getReuseAddress): New method.
13845         (setReuseAddress): New method.
13846         (getTrafficClass): New method.
13847         (setTrafficClass): New method.
13848         * java/net/URLStreamHandler.java
13849         (openConnection): java.io.IOException to IOException.
13850         (parseURL): Documentation added.
13851         (sameFile): public to protected, documentation added.
13852         (setURL): Documentation added.
13853         * java/nio/IllegalBlockingModeException.java: New file.
13854         * Makefile.am (ordinary_java_source_files):
13855         added java/nio/IllegalBlockingModeException.java
13856         * Makefile.in: Regenerated.
13857
13858 2002-09-25  Michael Koch  <konqueror@gmx.de>
13859
13860         * java/net/DatagramPacket
13861         (DatagramPacket): Exception documentation added.
13862         (setData): Likewise.
13863         (setSocketAddress): Likewise.
13864         * java/net/DatagramSocketImpl.java
13865         (peek): Documentation addded.
13866         (peekData): Documentation addded.
13867         (send): Documentation addded.
13868         (receive): Documentation addded.
13869         (connect): New method.
13870         (disconnect): New method.
13871         (joinGroup): New abstract method.
13872         (leaveGroup): New abstract method.
13873         * java/net/InetSocketAddress.java
13874         (InetSocketAddress): Documentation added.
13875         (equals): final keyword added.
13876         (getAddress): final keyword added.
13877         (getHostName): final keyword added.
13878         (getPort): final keyword added.
13879         (hashCode): final keyword added.
13880         (isUnresolved): final keyword added.
13881         * java/net/MulticastSocket.java
13882         (MulticastSocket): Documentation added.
13883         (MulticastSocket): New method.
13884         (joinGroup): Documentation added.
13885         (joinGroup): New method.
13886         (leaveGroup): Documentation added.
13887         (leaveGroup): New method.
13888         (send): Documentation added.
13889         * java/net/NetworkInterface.java
13890         (getByName): Documentation added.
13891         (getByInetAddress): Documentation added.
13892         (getNetworkInterfaces): Documentation added.
13893         * java/net/PlainDatagramSocketImpl.java
13894         (connect): New method.
13895         (disconnect): New method.
13896         * java/net/SocketImpl.java
13897         (create): Documentation added.
13898         (shutdownInput): Convert public to protected, as it always was.
13899         (shutdownOutput): Convert public to protected, as it always was.
13900         * java/net/SocketOptions.java
13901         (whole file): Reintented.
13902         * java/net/URLClassLoader.java
13903         (URLClassLoader): SecurityManager check added, documentation added.
13904         (findResources): Documentation added.
13905         (findClass): Documentation added.
13906         (newInstance): More correct method arguments.
13907         * java/net/URLConnection.java
13908         (connect): Documentation added.
13909         (getContent): Documentation added.
13910         (getPermission): Documentation added.
13911         (getInputStream): Documentation added.
13912         (getOutputStream): Documentation added.
13913         (setDoInput): Throw correct exception, documentation added.
13914         (setDoOutput): Throw correct exception, documentation added.
13915         (setAllowUserInteraction): Throw correct exception, documentation added.
13916         (setUseCaches): Throw correct exception, documentation added.
13917         (setIfModifiedSince): Throw correct exception, documentation added.
13918         (setRequestProperty): Throw exception, documentation added.
13919         (addRequestProperty): Throw exception, documentation added.
13920         (getRequestProperty): Throw exception, documentation added.
13921         (getRequestProperties): Documentation added.
13922         (setContentHandlerFactory): Documentation added.
13923         (guessContentTypeFromName): protected to public.
13924         (setFileNameMap): Documentation added.
13925         * java/net/URLDecoder.java
13926         (URLDecoder): New method.
13927         (decode): Documentation added.
13928         (whole file): Reindented.
13929         * java/net/URLEncoder.java
13930         (encode): Documentation added.
13931         * java/net/natPlainDatagramSocketImpl.cc
13932         (connect): New method.
13933         (disconnect): New method.
13934         * javax/naming/RefAddr:
13935         (addrType): addrType was never final.
13936         (equals): Fix typo in method name.
13937         * javax/naming/BinaryRefAddr:
13938         (equals): Fix typo in method name.
13939
13940 2002-09-22  Tom Tromey  <tromey@redhat.com>
13941
13942         Fix for PR libgcj/6576:
13943         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
13944         didn't find a given bundle.
13945         (getBundle): Don't require base bundle.
13946         (setParent): Removed old comment.
13947         (tryLocalBundle): Try components even if preceding components were
13948         empty.
13949
13950 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13951
13952         * Makefile.am (all-multi): Fix multilib parallel build.
13953
13954 2002-09-21  Michael Koch  <konqueror@gmx.de>
13955
13956         * java/net/Socket.java
13957         (sendUrgentData): New method.
13958         (getChannel): New method.
13959         * java/net/ServerSocket.java
13960         (getChannel): New method.
13961         (isBound): New method.
13962         * java/net/DatagramSocket.java
13963         (DatagramSocket): Two new methods.
13964         (bind): New method.
13965         (getChannel): New method.
13966         (isBound): New method.
13967         (send): Added newline to to make shorter lines.
13968         * java/net/PlainDatagramSocketImpl.java
13969         (mcastGrp): Added argument.
13970         (join): Use new mcastGrp.
13971         (leave): Use new mcastGrp.
13972         (joinGroup): New method.
13973         (leaveGroup): New method.
13974         * java/net/natPlainDatagramSocketImpl.cc
13975         (mcastGrp): Added argument, no yet really implemented.
13976         (getOption): Added newline for shorter lines.
13977         * java/net/natPlainSocketImpl.cc
13978         (read, setOption, getOption): Added newline for shorter lines.
13979
13980 2002-09-19  Tom Tromey  <tromey@redhat.com>
13981
13982        * java/lang/ClassLoader.java (resolveClass0): Set cause for
13983        newly-created exception.
13984
13985 2002-09-18  Michael Koch  <konqueror@gmx.de>
13986
13987         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
13988         java/util/regex/PatternSyntaxException.java:
13989         Merge with classpath, new files.
13990         * Makefile.am (core_java_source_files):
13991         Added java/util/regex/Matcher.java,
13992         java/util/regex/Pattern.java,
13993         java/util/regex/PatternSyntaxException.java
13994         * Makefile.in: Regenerated.
13995         * include/config.h.in: Added HAVE_NET_IF_H.
13996         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
13997         Removed #if 0 ... #endif.
13998
13999 2002-09-17  Michael Koch  <konqueror@gmx.de>
14000
14001         * java/net/natNetworkInterface.cc:
14002         Removed unneed and yet wrong includes.
14003
14004 2002-09-17  Michael Koch  <konqueror@gmx.de>
14005
14006         * java/net/NetworkInterface.java: New file.
14007         * java/net/natNetworkInterface.java: New file.
14008         * configure.in: Added check for net/if.h.
14009         * configure: Regenerated.
14010         * Makefile.am
14011         (ordinary_java_source_files): Added NetworkInterface.java.
14012         (nat_source_files): Added natNetworkInterface.cc.
14013         * Makefile.in: Regenerated.
14014
14015 2002-09-16  Tom Tromey  <tromey@redhat.com>
14016
14017         * java/net/URLClassLoader.java (findClass): Code source for a
14018         class from a jar is not necessarily a jar: URL.
14019
14020 2002-09-16  Michael Koch  <konqueror@gmx.de>
14021
14022         * java/lang/AssertionError.java:
14023         Merge with classpath, fixes HTML.
14024         * java/rmi/server/LogStream.java:
14025         Merge with classpath, fixes some constants.
14026         * java/net/server/RemoteServer.java:
14027         Merge with classpath, adds serialVersionUID.
14028         * javax/naming/BinaryRefAddr.java:
14029         Merge with classpath, s/equal/equals/.
14030         * javax/naming/NamingException.java:
14031         Merge with classpath, fixed typo.
14032         * javax/naming/RefAddr.java:
14033         Merge with classpath, s/equal/equals/.
14034         * java/awt/Toolkit.java:
14035         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
14036         and typo fixed.
14037
14038 2002-09-15  Adam Megacz <adam@xwt.org>
14039
14040         * java/net/natPlainSocketImpl.cc: fixed typo.
14041
14042 2002-09-15  Adam Megacz <adam@xwt.org>
14043
14044         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
14045         which don't work on Win32 (yet).
14046
14047 2002-09-14  Adam Megacz <adam@xwt.org>
14048
14049         * java/net/natPlainDatagramSocket.cc: removed #include
14050         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
14051         * include/win32.h: included definition for IP_TOS to satisfy
14052         natPlainDatagramSocket.cc
14053
14054 2002-09-13  Michael Koch  <konqueror@gmx.de>
14055
14056         * java/net/DatagramPacket.java (DatagramPacket):
14057         Added linebreak for 80 chars per line.
14058         * java/net/JarURLConection.java
14059         (getInputStreami, getJarEntry): Likewise.
14060         * java/net/SocketPErmission.java
14061         (SocketPermission class docu, implies): Likewise.
14062         * java/net/URLClassLoader.java (findResources): Likewise.
14063         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
14064
14065 2002-09-13  Michael Koch  <konqueror@gmx.de>
14066
14067         * java/nio/channels/DatagramChannel.java,
14068         java/nio/channels/ServerSocketChannel.java
14069         java/nio/channels/SocketChannel.java:
14070         New dummy files to make java.net fully JDK 1.4 compatible
14071         * Makefile.am (ordinary_java_source_files): Added
14072         java/net/DatagramSocketImplFactory.java (long forgotten),
14073         java/nio/SocketChannel.java,
14074         java/nio/ServerSocketChannel.java,
14075         java/nio/DatagramChannel.java
14076         * Makefile.in: Regenrated.
14077
14078 2002-09-12  Michael Koch  <konqueror@gmx.de>
14079
14080         * java/net/DatagramSocketImpl.java
14081         (peekData): New method.
14082         * java/net/PlainDatagramSocketImpl.java
14083         (peekData): New method.
14084         * java/net/natPlainDatagramSocketImpl.cc
14085         (peekData): New method.
14086         * java/net/URLConnection
14087         (getPermission): New method.
14088         (addRequestProperty): New method.
14089         (getRequestProperties): New method.
14090         (guessContentTypeFromStream): New method, not really implemented.
14091         (URLConnection): Added/updated documentation.
14092         (connect): Added/updated documentation.
14093         (getURL): Added/updated documentation.
14094         (getContentLength): Added/updated documentation.
14095         (getContentType: Added/updated documentation.
14096         (getContentEncoding): Added/updated documentation.
14097         (getExpiration): Added/updated documentation.
14098         (getDate): Added/updated documentation.
14099         (getLastModified): Added/updated documentation.
14100         (getHeaderField): Added/updated documentation.
14101         (getHeaderFields): Added/updated documentation.
14102         (getHeaderFieldInt): Added/updated documentation.
14103         (getHeaderFieldDate): Added/updated documentation.
14104         (getHeaderFieldKey): Added/updated documentation.
14105         (getContent): Added/updated documentation.
14106         (getInputStream): Added/updated documentation.
14107         (getOutputStream): Added/updated documentation.
14108         (toString): Added/updated documentation.
14109         (setDoInput): Added/updated documentation.
14110         (getDoInput): Added/updated documentation.
14111         (setDoOutput): Added/updated documentation.
14112         (getDoOutput): Added/updated documentation.
14113         (setAllowUserInteraction): Added/updated documentation.
14114         (getAllowUserInteraction): Added/updated documentation.
14115         (setDefaultAllowUserInteraction): Added/updated documentation.
14116         (getDefaultAllowUserInteraction): Added/updated documentation.
14117         (setUseCaches): Added/updated documentation.
14118         (getUseCaches): Added/updated documentation.
14119         (setIfModifiedSince): Added/updated documentation.
14120         (getIfModifiedSince): Added/updated documentation.
14121         (getDefaultUseCaches): Added/updated documentation.
14122         (setDefaultUseCaches): Added/updated documentation.
14123         (setRequestProperty): Added/updated documentation.
14124         (getRequestProperty): Added/updated documentation.
14125         (setDefaultRequestProperty): Added/updated documentation.
14126         (getDefaultRequestProperty): Added/updated documentation.
14127         (setContentHandlerFactory): Added/updated documentation.
14128         (guessContentTypeFromName): Added/updated documentation.
14129         (getFileNameMap): Added/updated documentation.
14130         (setFileNameMap): Added/updated documentation.
14131
14132 2002-09-11  Michael Koch  <konqueror@gmx.de>
14133
14134         * java/net/Socket.java
14135         (Socket): protected to public (since JDK 1.4). Added @specnote.
14136         (bind): New method.
14137         (connect): Two new methods.
14138         (getKeepalive): Get correct socket option.
14139         (setKeepalive): Set correct socket option.
14140         (getOOBInline): New method.
14141         (setOOBInline): New method.
14142         * java/net/ServerSocket.java
14143         (bind): Two new methods.
14144         (getInetAddress): Reimplemented, catch exception.
14145         (getLocalSocketAddress): New method.
14146         (setReuseAddress): New method.
14147         (getReuseAdress): New method.
14148         (setReceiveBufferSize): New method.
14149         (getReceiveBufferSize): New method.
14150         (toString): Made string JDK 1.4 compliant.
14151
14152 2002-09-10  Michael Koch  <konqueror@gmx.de>
14153
14154         * java/net/SocketImpl.java
14155         (connect): New method.
14156         (supportsUrgentData): New method.
14157         (sendUrgentData): New method.
14158         * java/net/PlainSocketImpl.java
14159         (connect): One new method and two new implementation.
14160         (sendUrgentData): New method.
14161         * java/natPlainSocketImpl.cc
14162         (connect): Arguments changed, added support for timeouts.
14163         (getOption): Another __java_boolean to jboolean.
14164
14165 2002-09-07  Adam Megacz <adam@xwt.org>
14166
14167         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
14168         definition of IP_TOS.
14169
14170 2002-09-04  Michael Koch  <konqueror@gmx.de>
14171
14172         * java/net/DatagramSocket.java
14173         (DatagramSocket): Added documentation.
14174         (close): Likewise.
14175         (getLocalAddress): Likewise.
14176         (getLocalPort): Likewise.
14177         (receive): Likewise.
14178         (send): Likewise.
14179         (setSoTimeout): Likewise.
14180         (connect): New method.
14181         (disconnect): New method.
14182         (getInetAddress): New method (FIXME)
14183         (getPort): New method.
14184         (setReuseAddress): New method.
14185         (getReuseAddress): New method.
14186         (setBroadcast): New method.
14187         (getBroadcast): New method.
14188         (setTrafficClass): New method.
14189         (getTrafficClass): New method.
14190         * java/net/MulticastSocket.java):
14191         (getTTL): Added @see in documentation.
14192         (setTTL): Added @see in documentation.
14193         (setLoopbackMode): New method.
14194         (getLoopbackMode): New method.
14195         * java/net/PlainSocketImpl.java:
14196         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
14197         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14198         * java/net/PlainDatagramSocketImpl.java
14199         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
14200         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14201         * java/net/natPlainSocketImpl.cc
14202         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
14203         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14204         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
14205         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14206         This should also fix SO_KEEPALIVE
14207         * java/net/natPlainDatagramSocketImpl.cc
14208         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
14209         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14210         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
14211         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
14212
14213 2002-09-04  Michael Koch  <konqueror@gmx.de>
14214
14215         * java/net/SocketOptions.java: added static variables to be JDK 1.4
14216         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
14217         IP_MULTICAST_LOOP, IP_TOS
14218
14219 2002-09-03  Tom Tromey  <tromey@redhat.com>
14220
14221         * java/lang/Class.h (_getDeclaredMethod): Declare.
14222         (_getMethod): Now private.
14223         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
14224         getDeclaredMethod.  Now returns NULL on failure.
14225         * java/lang/Class.java (_getDeclaredMethod): Declare.
14226         (getDeclaredMethod): No longer native; implements access checks.
14227
14228 2002-09-01  Mark Wielaard  <mark@klomp.org>
14229
14230         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
14231         (sanitizeStack): Correctly reset unknown and interpreter counters,
14232         detect interpreter runtime frames.
14233         (demangleInterpreterMethod): New method.
14234         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
14235         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
14236         filling in addrs[].
14237
14238 2002-09-02  Michael Koch  <konqueror@gmx.de>
14239
14240         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
14241         re-indented documentation.
14242
14243 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
14244
14245         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
14246         public, per 1.4 spec.  Fixes PR libgcj/7785.
14247
14248 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
14249
14250         * Makefile.in: Rebuilt.
14251         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
14252
14253 2002-08-29  Tom Tromey  <tromey@redhat.com>
14254
14255         * java/net/JarURLConnection.java (getCertificates): New method
14256         from Classpath.
14257         * java/net/URLClassLoader.java (URLClassLoader): Extends
14258         SecureClassLoader.
14259         (definePackage): New method from Classpath.
14260         (getPermissions): Likewise.
14261         (newInstance): Likewise.
14262         (findClass): Construct CodeSource for new class (from Classpath).
14263         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
14264         methods.
14265         * java/net/URL.java (getUserInfo): New method.
14266         (set(String,String,int,String,String,String,String,String)): New
14267         method.
14268         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
14269         (shutdownInput, shutdownOutput): Declare.
14270         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
14271         Define.
14272         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
14273         (getOption): Likewise.
14274         (shutdownInput): New method.
14275         (shutdownOutput): Likewise.
14276         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
14277         keepalive.
14278         (getOption): Likewise.
14279         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
14280         * java/net/Socket.java (setKeepAlive): New method.
14281         (getKeepAlive): Likewise.
14282         (shutdownInput, shutdownOutput): New methods.
14283
14284 2002-08-29  Michael Koch  <konqueror@gmx.de>
14285
14286         * java/net/DatagramPacket.java: updated to JDK 1.4 API
14287         new methods are:
14288         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
14289           address),
14290         DatagramPacket(byte[] buf, int length, SocketAddress address),
14291         void setSocketAddress(SocketAddress address)
14292         public SocketAddress getSocketAddress()
14293
14294 2002-08-29  Tom Tromey  <tromey@redhat.com>
14295
14296         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
14297         ftruncate is missing.
14298         * configure, include/config.h.in: Rebuilt.
14299         * acconfig.h (HAVE_FTRUNCATE): Mention.
14300         * configure.in: Check for ftruncate.
14301
14302 2002-08-29  Tom Tromey  <tromey@redhat.com>
14303
14304         * include/jvm.h (struct _Jv_frame_info): New structure.
14305         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
14306         java-interp.h.
14307         (lookupInterp): New method.
14308         (getAddrAsString): Use _Jv_frame_info.
14309         (dladdrLookup): Likewise.
14310         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
14311         interpreted frame.
14312         (lookupInterp): Declare.
14313         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
14314         (fillInStackTrace): Collect information on interpreted frames.
14315         Use _Jv_frame_info.
14316         * interpret.cc: Include Thread.h.
14317         (run): Create and push _Jv_MethodChain object.
14318         (_Jv_EndOfInterpreter): New global.
14319         * java/lang/Thread.java (interp_frame): New field.
14320         * include/java-interp.h (struct _Jv_MethodChain): New structure.
14321         Include NameFinder.h.
14322
14323 2002-08-28  Tom Tromey  <tromey@redhat.com>
14324
14325         * java/lang/Class.h: Include Package.h.
14326         (Class::getProtectionDomain): Declare.
14327         (Class::getPackage): Declare.
14328
14329 2002-08-28  Michael Koch <konqueror@gmx.de>
14330
14331         * java/net/InetSocketAddress.java: Added some documentation and argument
14332         checks for the port numbers.
14333         * java/net/DatagramSocketImplFactory.java: New file.
14334
14335 2002-08-28  Michael Koch <konqueror@gmx.de>
14336
14337         * java/net/Authenticator.java: added some documentation.
14338
14339 2002-08-27  Tom Tromey  <tromey@redhat.com>
14340
14341         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
14342         class.
14343         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
14344
14345 2002-08-27  Michael Koch <konqueror@gmx.de>
14346
14347         * java/net/BindException.java,
14348         java/net/JarURLConnection.java,
14349         java/net/FileNameMap.java,
14350         java/net/HttpURLConnection.java,
14351         java/net/InetSocketAddress.java,
14352         java/net/DatagramPacket.java,
14353         java/net/DatagramSocket.java,
14354         java/net/DatagramSocketImpl.java,
14355         java/net/MulticastSocket.java,
14356         java/net/PasswordAuthentication.java,
14357         java/net/ServerSocket.java,
14358         java/net/Socket.java,
14359         java/net/URLClassLoader.java,
14360         java/net/URLConnection.java: add/update of some @since/@deprecated
14361
14362 2002-08-27  Tony Kimball <alk@pobox.com>
14363             Tom Tromey  <tromey@redhat.com>
14364
14365         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
14366         define.
14367         (::close): Removed.
14368         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
14369         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
14370         (::close): Removed.
14371         (PlainSocketImpl::close): Use NATIVE_CLOSE.
14372         * include/win32.h (getcwd): Removed declaration.  Include io.h.
14373
14374 2002-08-25  Adam Megacz <adam@xwt.org>
14375
14376         * include/win32.h (getcwd): copied function declaration as
14377         temporary fix for header confusion.
14378
14379 2002-08-24  Mark Wielaard <mark@klomp.org>
14380
14381         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
14382         (core_java_source_files): Add VMThrowable.java and NameFinder.java
14383         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
14384         and natNameFinder.cc.
14385         * Makefile.in: Regenerate.
14386         * prims.cc: Use trace_enabled from VMThrowable.
14387         * name-finder.cc: Removed.
14388         * gcj/javaprims.h: Add class VMThrowable.
14389         * gnu/gcj/runtime/NameFinder.java: New file.
14390         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
14391         * include/name-finder.h: Removed.
14392         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
14393         method stackTraceString().
14394         (printStackTrace (PrintWriter)): Likewise.
14395         (stackTraceString): Complete rewrite of old printStackTrace using
14396         StringBuffer.
14397         (stackTraceStringBuffer): New helper method for stackTraceString().
14398         (fillInStackTrace): Delegate to VMTrowable.
14399         (getStackTrace): Likewise.
14400         (getStackTrace0): Removed.
14401         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
14402         (setStackTrace): Copy given array.
14403         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
14404         * java/lang/VMThrowable.java: New class.
14405         * java/lang/natVMThrowable.cc: New file.
14406
14407 2003-08-23  Michael Koch  <konqueror@gmx.de>
14408
14409         * java/net/URLConnection.java,
14410         java/netJarURLConnection.java,
14411         gnu/gcj/protocol/core/Connection.java,
14412         gnu/gcj/protocol/file/Connection.java,
14413         gnu/gcj/protocol/http/Connection.java: Added implementation of
14414         getHeaderFields().
14415
14416 2002-08-22  Tom Tromey  <tromey@redhat.com>
14417
14418         * gij.cc (help): Document -cp and -classpath.
14419         (main): Handle -classpath.
14420
14421 2002-08-21  Tom Tromey  <tromey@redhat.com>
14422
14423         * Makefile.in: Rebuilt.
14424         * Makefile.am (ordinary_java_source_files): Added
14425         SocketAddress.java, InetSocketAddress.java.
14426         * java/net/PortUnreachableException.java: Merged with Classpath.
14427         * java/net/SocketTimeoutException.java: Likewise.
14428         * java/net/URISyntaxException.java: Likewise.
14429         * java/net/SocketAddress.java: New class from Classpath.
14430         * java/net/InetSocketAddress.java: Likewise.
14431
14432 2003-08-21  Michael Koch  <konqueror@gmx.de>
14433
14434         * java/net/Authenticator.java: updated JDK 1.4
14435         * java/net/ContentHandler.java: updated JDK 1.4
14436
14437 2002-08-20  Michael Koch  <konqueror@gmx.de>
14438
14439         * java/net/URISyntaxException.java: New file.
14440         * java/net/SocketTimeoutException.java: New file.
14441         * java/net/PortUnreachableException.java: New file.
14442         * Makefile.am: Updated.
14443         * Makefile.in: Rebuilt.
14444
14445 2002-08-18  Mark Wielaard  <mark@klomp.org>
14446
14447         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
14448         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
14449         MessageDigestSpi (fixes Classpath bug #783).
14450
14451 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
14452
14453         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
14454         (startProcess): Allocate path for chdir in async-signal-safe way.
14455
14456 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
14457
14458         Fix for PR libgcj/7570 and PR libgcj/7578:
14459         * java/lang/natPosixProcess.cc: Include java/io/File.h.
14460         (startProcess): Handle new `dir' argument.
14461         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
14462         argument.
14463         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
14464         argument.
14465         (startProcess): Likewise.
14466         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
14467         argument.
14468         * java/lang/Runtime.java (execInternal): Added `dir' argument.
14469         (exec): Don't create new environment if ENV==null.  Pass DIR to
14470         execInternal.
14471         * java/lang/natRuntime.cc: Include java/io/File.h.
14472         (execInternal): Added `dir' argument.
14473
14474 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
14475
14476         * java/io/RandomAccessFile.java (skipBytes): Return number of
14477         bytes skipped.
14478
14479 2002-08-01  Mark Wielaard  <mark@klomp.org>
14480
14481         Reenable patch since shared library troubles on powerpc are solved:
14482         * gnu/java/security/provider/Gnu.java: Reference all implementation
14483         classes by using Class.getName().
14484         * gnu/java/security/der/DEREncodingException.java,
14485         gnu/java/security/provider/DERReader.java,
14486         gnu/java/security/provider/DERWriter.java,
14487         gnu/java/security/provider/DSAKeyPairGenerator.java,
14488         gnu/java/security/provider/DSAParameterGenerator.java,
14489         gnu/java/security/provider/DSAParameters.java,
14490         gnu/java/security/provider/DSASignature.java,
14491         gnu/java/security/provider/GnuDSAPrivateKey.java,
14492         gnu/java/security/provider/GnuDSAPublicKey.java,
14493         gnu/java/security/provider/MD5.java,
14494         gnu/java/security/util/Prime.java: New classes
14495         * Makefile.am (ordinary_java_source_files): Add above files.
14496         * Makefile.in: Regenerate.
14497         * gnu/java/security/provider/DefaultPolicy.java
14498         (getPermissions): Don't maintain static class variable of Permissions.
14499         * gnu/java/security/provider/SHA.java
14500         (engineUpdate): algorithm change.
14501         (engineDigest): algorithm change.
14502
14503 2002-08-09  Mark Wielaard  <mark@klomp.org>
14504
14505         * java/awt/image/MemoryImageSource.java: Change constructor to take
14506         int[] not byte[].
14507         * java/awt/Graphics2D.java: Uncomment methods that can now be
14508         compiled.
14509         * java/awt/GridBagLayout.java: New stub implementation.
14510         * javax/swing/text/html/HTML.java: Stub implementation.
14511         * javax/swing/text/html/parser/ParserDelegator.java: New stub
14512         implementation.
14513
14514         * Makefile.am: Add new files.
14515         * Makefile.in: Rebuilt.
14516
14517 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14518
14519         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
14520         methods in Graphics2D.
14521
14522 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14523
14524         AWT/Swing merge from GNU Classpath.
14525
14526         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
14527         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
14528         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
14529         java/awt/color/ProfileDataException.java,
14530         java/awt/CompositeContext.java, java/awt/Composite.java,
14531         java/awt/ContainerOrderFocusTraversalPolicy.java,
14532         java/awt/datatransfer/FlavorTable.java,
14533         java/awt/DefaultFocusTraversalPolicy.java,
14534         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
14535         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
14536         java/awt/dnd/DragGestureListener.java,
14537         java/awt/dnd/DragGestureRecognizer.java,
14538         java/awt/dnd/DragSourceAdapter.java,
14539         java/awt/dnd/DragSourceContext.java,
14540         java/awt/dnd/DragSourceDragEvent.java,
14541         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
14542         java/awt/dnd/DragSourceListener.java,
14543         java/awt/dnd/DragSourceMotionListener.java,
14544         java/awt/dnd/DropTarget.java,
14545         java/awt/dnd/InvalidDnDOperationException.java,
14546         java/awt/dnd/peer/DragSourceContextPeer.java,
14547         java/awt/event/AWTEventListenerProxy.java,
14548         java/awt/event/MouseWheelEvent.java,
14549         java/awt/event/MouseWheelListener.java,
14550         java/awt/event/WindowFocusListener.java,
14551         java/awt/event/WindowStateListener.java,
14552         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
14553         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
14554         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
14555         java/awt/geom/FlatteningPathIterator.java,
14556         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
14557         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
14558         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
14559         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
14560         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
14561         java/awt/image/ImagingOpException.java,
14562         java/awt/image/RasterFormatException.java,
14563         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
14564         java/awt/image/VolatileImage.java,
14565         java/awt/image/WritableRenderedImage.java,
14566         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
14567         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
14568         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
14569         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
14570         java/awt/PageAttributes.java, java/awt/print/Book.java,
14571         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
14572         java/awt/print/Paper.java, java/awt/print/Printable.java,
14573         java/awt/print/PrinterAbortException.java,
14574         java/awt/print/PrinterException.java,
14575         java/awt/print/PrinterGraphics.java,
14576         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
14577         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
14578         java/awt/Stroke.java, java/awt/TexturePaint.java,
14579         javax/accessibility/AccessibleAction.java,
14580         javax/accessibility/AccessibleBundle.java,
14581         javax/accessibility/AccessibleComponent.java,
14582         javax/accessibility/AccessibleContext.java,
14583         javax/accessibility/AccessibleEditableText.java,
14584         javax/accessibility/AccessibleExtendedComponent.java,
14585         javax/accessibility/AccessibleExtendedTable.java,
14586         javax/accessibility/AccessibleHyperlink.java,
14587         javax/accessibility/AccessibleHypertext.java,
14588         javax/accessibility/AccessibleIcon.java,
14589         javax/accessibility/Accessible.java,
14590         javax/accessibility/AccessibleKeyBinding.java,
14591         javax/accessibility/AccessibleRelation.java,
14592         javax/accessibility/AccessibleRelationSet.java,
14593         javax/accessibility/AccessibleResourceBundle.java,
14594         javax/accessibility/AccessibleRole.java,
14595         javax/accessibility/AccessibleSelection.java,
14596         javax/accessibility/AccessibleState.java,
14597         javax/accessibility/AccessibleStateSet.java,
14598         javax/accessibility/AccessibleTable.java,
14599         javax/accessibility/AccessibleTableModelChange.java,
14600         javax/accessibility/AccessibleText.java,
14601         javax/accessibility/AccessibleValue.java,
14602         javax/swing/AbstractAction.java,
14603         javax/swing/AbstractButton.java,
14604         javax/swing/AbstractCellEditor.java,
14605         javax/swing/AbstractListModel.java,
14606         javax/swing/AbstractSet.java, javax/swing/Action.java,
14607         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
14608         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
14609         javax/swing/border/CompoundBorder.java,
14610         javax/swing/border/EmptyBorder.java,
14611         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
14612         javax/swing/border/LineBorder.java,
14613         javax/swing/border/MatteBorder.java,
14614         javax/swing/border/TitledBorder.java,
14615         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
14616         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
14617         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
14618         javax/swing/CellRendererPane.java,
14619         javax/swing/colorchooser/AbstractColorChooserPanel.java,
14620         javax/swing/colorchooser/ColorChooserComponentFactory.java,
14621         javax/swing/colorchooser/ColorSelectionModel.java,
14622         javax/swing/colorchooser/DefaultColorSelectionModel.java,
14623         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
14624         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
14625         javax/swing/DefaultBoundedRangeModel.java,
14626         javax/swing/DefaultButtonModel.java,
14627         javax/swing/DefaultCellEditor.java,
14628         javax/swing/DefaultCellRenderer.java,
14629         javax/swing/DefaultComboBoxModel.java,
14630         javax/swing/DefaultDesktopManager.java,
14631         javax/swing/DefaultFocusManager.java,
14632         javax/swing/DefaultListCellRenderer.java,
14633         javax/swing/DefaultListModel.java,
14634         javax/swing/DefaultListSelectionModel.java,
14635         javax/swing/DefaultSingleSelectionModel.java,
14636         javax/swing/DesktopManager.java,
14637         javax/swing/event/AncestorEvent.java,
14638         javax/swing/event/AncestorListener.java,
14639         javax/swing/event/CaretEvent.java,
14640         javax/swing/event/CaretListener.java,
14641         javax/swing/event/CellEditorListener.java,
14642         javax/swing/event/ChangeEvent.java,
14643         javax/swing/event/ChangeListener.java,
14644         javax/swing/event/DocumentEvent.java,
14645         javax/swing/event/DocumentListener.java,
14646         javax/swing/event/EventListenerList.java,
14647         javax/swing/event/HyperlinkEvent.java,
14648         javax/swing/event/HyperlinkListener.java,
14649         javax/swing/event/InternalFrameAdapter.java,
14650         javax/swing/event/InternalFrameEvent.java,
14651         javax/swing/event/InternalFrameListener.java,
14652         javax/swing/event/ListDataEvent.java,
14653         javax/swing/event/ListDataListener.java,
14654         javax/swing/event/ListSelectionEvent.java,
14655         javax/swing/event/ListSelectionListener.java,
14656         javax/swing/event/MenuDragMouseEvent.java,
14657         javax/swing/event/MenuDragMouseListener.java,
14658         javax/swing/event/MenuEvent.java,
14659         javax/swing/event/MenuKeyEvent.java,
14660         javax/swing/event/MenuKeyListener.java,
14661         javax/swing/event/MenuListener.java,
14662         javax/swing/event/MouseInputAdapter.java,
14663         javax/swing/event/MouseInputListener.java,
14664         javax/swing/event/PopupMenuEvent.java,
14665         javax/swing/event/PopupMenuListener.java,
14666         javax/swing/event/SwingPropertyChangeSupport.java,
14667         javax/swing/event/TableColumnModelEvent.java,
14668         javax/swing/event/TableColumnModelListener.java,
14669         javax/swing/event/TableModelEvent.java,
14670         javax/swing/event/TableModelListener.java,
14671         javax/swing/event/TreeExpansionEvent.java,
14672         javax/swing/event/TreeExpansionListener.java,
14673         javax/swing/event/TreeModelEvent.java,
14674         javax/swing/event/TreeModelListener.java,
14675         javax/swing/event/TreeSelectionEvent.java,
14676         javax/swing/event/TreeSelectionListener.java,
14677         javax/swing/event/TreeWillExpandListener.java,
14678         javax/swing/event/UndoableEditEvent.java,
14679         javax/swing/event/UndoableEditListener.java,
14680         javax/swing/filechooser/FileFilter.java,
14681         javax/swing/filechooser/FileSystemView.java,
14682         javax/swing/filechooser/FileView.java,
14683         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
14684         javax/swing/Icon.java, javax/swing/ImageIcon.java,
14685         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
14686         javax/swing/JApplet.java, javax/swing/JButton.java,
14687         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
14688         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
14689         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
14690         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
14691         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
14692         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
14693         javax/swing/JLayeredPane.java, javax/swing/JList.java,
14694         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
14695         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
14696         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
14697         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
14698         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
14699         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
14700         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
14701         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
14702         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
14703         javax/swing/JTextField.java, javax/swing/JTextPane.java,
14704         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
14705         javax/swing/JToolTip.java, javax/swing/JTree.java,
14706         javax/swing/JViewport.java, javax/swing/JWindow.java,
14707         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
14708         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
14709         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
14710         javax/swing/MenuSelectionManager.java,
14711         javax/swing/MutableComboBoxModel.java,
14712         javax/swing/OverlayLayout.java,
14713         javax/swing/plaf/ActionMapUIResource.java,
14714         javax/swing/plaf/basic/BasicBorders.java,
14715         javax/swing/plaf/basic/BasicButtonUI.java,
14716         javax/swing/plaf/basic/BasicCheckBoxUI.java,
14717         javax/swing/plaf/basic/BasicDefaults.java,
14718         javax/swing/plaf/basic/BasicGraphicsUtils.java,
14719         javax/swing/plaf/basic/BasicIconFactory.java,
14720         javax/swing/plaf/basic/BasicLabelUI.java,
14721         javax/swing/plaf/basic/BasicListUI.java,
14722         javax/swing/plaf/basic/BasicLookAndFeel.java,
14723         javax/swing/plaf/basic/BasicOptionPaneUI.java,
14724         javax/swing/plaf/basic/BasicPanelUI.java,
14725         javax/swing/plaf/basic/BasicRadioButtonUI.java,
14726         javax/swing/plaf/basic/BasicScrollPaneUI.java,
14727         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
14728         javax/swing/plaf/basic/BasicTextUI.java,
14729         javax/swing/plaf/basic/BasicToggleButtonUI.java,
14730         javax/swing/plaf/basic/BasicTreeUI.java,
14731         javax/swing/plaf/basic/BasicViewportUI.java,
14732         javax/swing/plaf/BorderUIResource.java,
14733         javax/swing/plaf/ButtonUI.java,
14734         javax/swing/plaf/ColorChooserUI.java,
14735         javax/swing/plaf/ColorUIResource.java,
14736         javax/swing/plaf/ComboBoxUI.java,
14737         javax/swing/plaf/ComponentInputMapUIResource.java,
14738         javax/swing/plaf/ComponentUI.java,
14739         javax/swing/plaf/DesktopIconUI.java,
14740         javax/swing/plaf/DesktopPaneUI.java,
14741         javax/swing/plaf/DimensionUIResource.java,
14742         javax/swing/plaf/FileChooserUI.java,
14743         javax/swing/plaf/FontUIResource.java,
14744         javax/swing/plaf/IconUIResource.java,
14745         javax/swing/plaf/InputMapUIResource.java,
14746         javax/swing/plaf/InsetsUIResource.java,
14747         javax/swing/plaf/InternalFrameUI.java,
14748         javax/swing/plaf/LabelUI.java,
14749         javax/swing/plaf/ListUI.java,
14750         javax/swing/plaf/MenuBarUI.java,
14751         javax/swing/plaf/MenuItemUI.java,
14752         javax/swing/plaf/OptionPaneUI.java,
14753         javax/swing/plaf/PanelUI.java,
14754         javax/swing/plaf/PopupMenuUI.java,
14755         javax/swing/plaf/ProgressBarUI.java,
14756         javax/swing/plaf/RootPaneUI.java,
14757         javax/swing/plaf/ScrollBarUI.java,
14758         javax/swing/plaf/ScrollPaneUI.java,
14759         javax/swing/plaf/SeparatorUI.java,
14760         javax/swing/plaf/SliderUI.java,
14761         javax/swing/plaf/SplitPaneUI.java,
14762         javax/swing/plaf/TabbedPaneUI.java,
14763         javax/swing/plaf/TableHeaderUI.java,
14764         javax/swing/plaf/TableUI.java,
14765         javax/swing/plaf/TextUI.java,
14766         javax/swing/plaf/ToolBarUI.java,
14767         javax/swing/plaf/ToolTipUI.java,
14768         javax/swing/plaf/TreeUI.java,
14769         javax/swing/plaf/UIResource.java,
14770         javax/swing/plaf/ViewportUI.java,
14771         javax/swing/ProgressMonitorInputStream.java,
14772         javax/swing/ProgressMonitor.java,
14773         javax/swing/Renderer.java,
14774         javax/swing/RepaintManager.java,
14775         javax/swing/RootPaneContainer.java,
14776         javax/swing/Scrollable.java,
14777         javax/swing/ScrollPaneConstants.java,
14778         javax/swing/ScrollPaneLayout.java,
14779         javax/swing/SingleSelectionModel.java,
14780         javax/swing/SizeRequirements.java,
14781         javax/swing/SizeSequence.java,
14782         javax/swing/SwingConstants.java,
14783         javax/swing/SwingUtilities.java,
14784         javax/swing/table/AbstractTableModel.java,
14785         javax/swing/table/DefaultTableCellRenderer.java,
14786         javax/swing/table/DefaultTableColumnModel.java,
14787         javax/swing/table/DefaultTableModel.java,
14788         javax/swing/table/TableCellEditor.java,
14789         javax/swing/table/TableCellRenderer.java,
14790         javax/swing/table/TableColumn.java,
14791         javax/swing/table/TableColumnModel.java,
14792         javax/swing/table/TableModel.java,
14793         javax/swing/text/AbstractDocument.java,
14794         javax/swing/text/AttributeSet.java,
14795         javax/swing/text/BadLocationException.java,
14796         javax/swing/text/Caret.java,
14797         javax/swing/text/CharacterIterator.java,
14798         javax/swing/text/ComponentView.java,
14799         javax/swing/text/DefaultCaret.java,
14800         javax/swing/text/DefaultEditorKit.java,
14801         javax/swing/text/Document.java,
14802         javax/swing/text/EditorKit.java,
14803         javax/swing/text/Element.java,
14804         javax/swing/text/GapContent.java,
14805         javax/swing/text/JTextComponent.java,
14806         javax/swing/text/Keymap.java,
14807         javax/swing/text/MutableAttributeSet.java,
14808         javax/swing/text/PlainDocument.java,
14809         javax/swing/text/PlainEditorKit.java,
14810         javax/swing/text/Position.java,
14811         javax/swing/text/Segment.java,
14812         javax/swing/text/StyledDocument.java,
14813         javax/swing/text/StyledEditorKit.java,
14814         javax/swing/text/Style.java,
14815         javax/swing/text/TextAction.java,
14816         javax/swing/text/ViewFactory.java,
14817         javax/swing/text/View.java,
14818         javax/swing/Timer.java,
14819         javax/swing/ToggleButtonModel.java,
14820         javax/swing/ToolTipManager.java,
14821         javax/swing/tree/AbstractLayoutCache.java,
14822         javax/swing/tree/DefaultMutableTreeNode.java,
14823         javax/swing/tree/DefaultTreeCellEditor.java,
14824         javax/swing/tree/DefaultTreeCellRenderer.java,
14825         javax/swing/tree/DefaultTreeModel.java,
14826         javax/swing/tree/DefaultTreeSelectionModel.java,
14827         javax/swing/tree/ExpandVetoException.java,
14828         javax/swing/tree/FixedHeightLayoutCache.java,
14829         javax/swing/tree/MutableTreeNode.java,
14830         javax/swing/tree/RowMapper.java,
14831         javax/swing/tree/TreeCellEditor.java,
14832         javax/swing/tree/TreeCellRenderer.java,
14833         javax/swing/tree/TreeModel.java,
14834         javax/swing/tree/TreeNode.java,
14835         javax/swing/tree/TreePath.java,
14836         javax/swing/tree/TreeSelectionModel.java,
14837         javax/swing/tree/VariableHeightLayoutCache.java,
14838         javax/swing/UIDefaults.java,
14839         javax/swing/UIManager.java,
14840         javax/swing/undo/AbstractUndoableEdit.java,
14841         javax/swing/undo/CannotRedoException.java,
14842         javax/swing/undo/CannotUndoException.java,
14843         javax/swing/undo/CompoundEdit.java,
14844         javax/swing/undo/StateEditable.java,
14845         javax/swing/undo/StateEdit.java,
14846         javax/swing/undo/UndoableEdit.java,
14847         javax/swing/undo/UndoableEditSupport.java,
14848         javax/swing/undo/UndoManager.java,
14849         javax/swing/UnsupportedLookAndFeelException.java,
14850         javax/swing/ViewportLayout.java,
14851         javax/swing/WindowConstants.java: New files, from GNU Classpath.
14852
14853         * java/awt/ActiveEvent.java,
14854         java/awt/Adjustable.java, java/awt/AWTError.java,
14855         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
14856         java/awt/AWTException.java, java/awt/AWTPermission.java,
14857         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
14858         java/awt/Color.java, java/awt/Component.java,
14859         java/awt/ComponentOrientation.java, java/awt/Container.java,
14860         java/awt/datatransfer/MimeTypeParseException.java,
14861         java/awt/datatransfer/Transferable.java,
14862         java/awt/datatransfer/UnsupportedFlavorException.java,
14863         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
14864         java/awt/event/ActionListener.java,
14865         java/awt/event/AdjustmentEvent.java,
14866         java/awt/event/AdjustmentListener.java,
14867         java/awt/event/AWTEventListener.java,
14868         java/awt/event/ComponentAdapter.java,
14869         java/awt/event/ComponentEvent.java,
14870         java/awt/event/ComponentListener.java,
14871         java/awt/event/ContainerAdapter.java,
14872         java/awt/event/ContainerEvent.java,
14873         java/awt/event/ContainerListener.java,
14874         java/awt/event/FocusAdapter.java,
14875         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
14876         java/awt/event/HierarchyBoundsAdapter.java,
14877         java/awt/event/HierarchyBoundsListener.java,
14878         java/awt/event/HierarchyEvent.java,
14879         java/awt/event/HierarchyListener.java,
14880         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
14881         java/awt/event/InputMethodListener.java,
14882         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
14883         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
14884         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
14885         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
14886         java/awt/event/MouseListener.java,
14887         java/awt/event/MouseMotionAdapter.java,
14888         java/awt/event/MouseMotionListener.java,
14889         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
14890         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
14891         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
14892         java/awt/event/WindowListener.java, java/awt/Font.java,
14893         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
14894         java/awt/geom/Ellipse2D.java,
14895         java/awt/geom/IllegalPathStateException.java,
14896         java/awt/geom/Line2D.java,
14897         java/awt/geom/NoninvertibleTransformException.java,
14898         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
14899         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
14900         java/awt/geom/RoundRectangle2D.java,
14901         java/awt/GraphicsConfiguration.java,
14902         java/awt/IllegalComponentStateException.java,
14903         java/awt/image/IndexColorModel.java,
14904         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
14905         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
14906         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
14907         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
14908         java/awt/MenuItem.java, java/awt/PaintContext.java,
14909         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
14910         java/awt/Polygon.java, java/awt/PrintGraphics.java,
14911         java/awt/PrintJob.java, java/awt/Rectangle.java,
14912         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
14913         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
14914         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
14915
14916         * java/awt/im/spi/InputMethod.java,
14917         java/awt/im/spi/InputMethodContext.java,
14918         java/awt/im/spi/InputMethodDescriptor.java,
14919         java/awt/image/renderable/ContextualRenderedImageFactory.java,
14920         java/awt/image/renderable/ParameterBlock.java,
14921         java/awt/image/renderable/RenderContext.java,
14922         java/awt/image/renderable/RenderableImage.java,
14923         java/awt/image/renderable/RenderableImageOp.java,
14924         java/awt/image/renderable/RenderableImageProducer.java,
14925         java/awt/image/renderable/RenderedImageFactory.java: New files from
14926         classpath.
14927
14928         * gnu/java/awt/EventModifier.java,
14929         gnu/java/awt/image/ImageDecoder.java,
14930         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
14931
14932         * gnu/awt/xlib/XGraphicsConfiguration.java,
14933         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
14934         API.
14935
14936         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
14937         GNU Classpath.
14938
14939         * Makefile.am: Add new files.
14940         * Makefile.in: Rebuilt.
14941
14942 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14943
14944         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
14945         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
14946         findResource, getResources, findResources): Add javadoc from classpath.
14947         (getSystemResources): Implemented.
14948
14949 2002-08-01  Mark Wielaard  <mark@klomp.org>
14950
14951         Revert patch that breaks libgcj shared library on powerpc:
14952         * gnu/java/security/provider/Gnu.java: Reverse referencing all
14953         implementation classes by using Class.getName(). Uses Strings again.
14954         * gnu/java/security/der/DEREncodingException.java,
14955         gnu/java/security/provider/DERReader.java,
14956         gnu/java/security/provider/DERWriter.java,
14957         gnu/java/security/provider/DSAKeyPairGenerator.java,
14958         gnu/java/security/provider/DSAParameterGenerator.java,
14959         gnu/java/security/provider/DSAParameters.java,
14960         gnu/java/security/provider/DSASignature.java,
14961         gnu/java/security/provider/GnuDSAPrivateKey.java,
14962         gnu/java/security/provider/GnuDSAPublicKey.java,
14963         gnu/java/security/provider/MD5.java,
14964         gnu/java/security/util/Prime.java: Removed.
14965         * Makefile.am (ordinary_java_source_files): Remove above files.
14966         * Makefile.in: Regenerate.
14967         * gnu/java/security/provider/DefaultPolicy.java
14968         (getPermissions): Revert to maintaining static class variable of
14969         Permissions.
14970         * gnu/java/security/provider/SHA.java
14971         (engineUpdate): Revert algorithm change.
14972         (engineDigest): Revert algorithm change.
14973
14974 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
14975
14976         * configure.host: Add SH support.
14977         * sysdep/sh/locks.h: New file.
14978
14979 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
14980
14981         * java/awt/Frame.java (Frame): Remove println calls.
14982
14983 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
14984
14985         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
14986         * configure: Rebuilt.
14987
14988 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
14989
14990         * sysdep/powerpc/locks.h: Formatting.
14991         (_LARX): Define.
14992         (_STCX): Define.
14993         (compare_and_swap): Use _LARX and _STCX.
14994         (compare_and_swap_release): Likewise.
14995
14996 2002-07-26  Tom Tromey  <tromey@redhat.com>
14997
14998         * java/net/Authenticator.java: New version from Classpath.
14999         * java/net/DatagramSocketImpl.java: New version from Classpath.
15000
15001 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
15002
15003         * configure.host: Add powerpc64*-* entry.
15004
15005 2002-07-26  Tom Tromey  <tromey@redhat.com>
15006
15007         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
15008         fcntl.h.
15009
15010 2002-07-24  Tom Tromey  <tromey@redhat.com>
15011
15012         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
15013         argument to _load.
15014
15015 2002-07-24  Tom Tromey  <tromey@redhat.com>
15016             Tony Kimball <alk@pobox.com>
15017
15018         * java/io/natFileDescriptorWin32.cc (setLength): New method.
15019         * java/io/natFileDescriptorPosix.cc (setLength): New method.
15020         * java/io/RandomAccessFile.java (setLength): New method.
15021         * java/io/natFileDescriptorEcos.cc (setLength): New method.
15022         * java/io/FileDescriptor.java (setLength): New method.
15023
15024 2002-07-24  Mark Wielaard  <mark@klomp.org>
15025
15026         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
15027         * java/io/ObjectInputStream.java (setBooleanField): Before setting
15028         field call setAccessible(true).
15029         (setByteField): Likewise.
15030         (setCharField): Likewise.
15031         (setDoubleField): Likewise.
15032         (setFloatField): Likewise.
15033         (setIntField): Likewise.
15034         (setLongField): Likewise.
15035         (setShortField): Likewise.
15036         (setObjectField): Likewise.
15037
15038 2002-07-24  Tom Tromey  <tromey@redhat.com>
15039
15040         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
15041         use toString() to format array element.
15042
15043 2002-07-23  Mark Wielaard  <mark@klomp.org>
15044
15045         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
15046         MessageDigestSpi (fixes Classpath bug #783).
15047
15048 2002-07-21  Mark Wielaard  <mark@klomp.org>
15049
15050         * gnu/java/security/provider/Gnu.java: Reference all implementation
15051         classes by using Class.getName().
15052
15053 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
15054
15055         * java/lang/ieeefp.h: Add x86-64 support.
15056         * configure.in: Likewise.
15057         * configure.host: Likewise.
15058         * configure: Regenerated.
15059         * sysdep/x86-64/locks.h: New file with x86-64 locks.
15060
15061 2002-07-16  Mark Wielaard  <mark@klomp.org>
15062
15063         * java/io/StreamTokenizer.java (pushBack): Update documentation.
15064         (whitespaceChars): call resetChar().
15065
15066 2002-07-15  Tom Tromey  <tromey@redhat.com>
15067
15068         * Makefile.in: Rebuilt.
15069         * Makefile.am (awt_java_source_files): Added new files.
15070         * java/beans/ExceptionListener.java: Merged with Classpath.
15071         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
15072         * java/beans/PropertyChangeListener.java: Merged with Classpath.
15073         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
15074         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
15075         * java/beans/VetoableChangeListener.java: Merged with Classpath.
15076         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
15077         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
15078
15079 2002-07-14  Mark Wielaard  <mark@klomp.org>
15080
15081         * gnu/java/security/der/DEREncodingException.java,
15082         gnu/java/security/provider/DERReader.java,
15083         gnu/java/security/provider/DERWriter.java,
15084         gnu/java/security/provider/DSAKeyPairGenerator.java,
15085         gnu/java/security/provider/DSAParameterGenerator.java,
15086         gnu/java/security/provider/DSAParameters.java,
15087         gnu/java/security/provider/DSASignature.java,
15088         gnu/java/security/provider/GnuDSAPrivateKey.java,
15089         gnu/java/security/provider/GnuDSAPublicKey.java,
15090         gnu/java/security/provider/MD5.java,
15091         gnu/java/security/util/Prime.java: New files from Classpath.
15092         * Makefile.am (ordinary_java_source_files): Add new files.
15093         * Makefile.in: Regenerate.
15094
15095 2002-07-14  C. Brian Jones <cbj@gnu.org>
15096
15097         * gnu/java/security/provider/DefaultPolicy.java
15098         (getPermissions): do not maintain static class variable of
15099         Permissions
15100         * gnu/java/security/provider/SHA.java
15101         (engineUpdate): algorithm change
15102         (engineDigest): algorithm change
15103
15104 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
15105
15106         For PR libgcj/7292:
15107         * java/lang/Character.java (toString(char)): Now static.
15108
15109 2002-07-12  Mark Wielaard  <mark@klomp.org>
15110
15111         * java/lang/natThrowable.cc (printRawStackTrace): removed.
15112         (getStackTrace0): new method.
15113         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
15114         (printStackTrace(PrintWriter)): replace with pure java implementation.
15115         (printRawStackTrace): removed.
15116         (getStackTrace0): new method.
15117         * java/lang/StackTraceElement.java (toString): add extra whitespace.
15118         * gcj/javaprims.h: regenerate class list.
15119         * include/name-finder.h (lookup): new returns StackTraceElement*.
15120         (method_name, file_name): fields removed.
15121         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
15122         (~_Jv_name_finder): close new descriptors.
15123         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
15124         (createStackTraceElement): new method.
15125         (lookup): returns StackTraceElement*, uses createStackTraceElement().
15126
15127 2002-07-10  Tom Tromey  <tromey@redhat.com>
15128
15129         * configure: Rebuilt.
15130         * configure.in: Use `test' after `&&'.  From Chris Faylor.
15131
15132 2002-07-08  Mark Wielaard  <mark@klomp.org>
15133
15134         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
15135         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
15136         java.sql.DatabaseMetaData.TestJdbc20
15137
15138 2002-07-05  Tony Kimball  <alk@pobox.com>
15139
15140         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
15141
15142 2002-07-04  Tom Tromey  <tromey@redhat.com>
15143             Jeff Sturm  <jsturm@one-point.com>
15144
15145         Fix for PR libgcj/7060:
15146         * java/lang/Class.h (_getMethod): Renamed from getMethod.
15147         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
15148         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
15149         * java/lang/Class.java (getMethod): New Java implementation;
15150         complies with spec.
15151         (_getMethod): New native method.
15152
15153 2002-07-02  Tom Tromey  <tromey@redhat.com>
15154             David Hovemeyer  <daveho@cs.umd.edu>
15155
15156         * java/text/ChoiceFormat.java
15157         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
15158         in check loop.
15159         * java/text/MessageFormat.java
15160         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
15161         to MessageFormat.
15162
15163 2002-07-01  Tom Tromey  <tromey@redhat.com>
15164
15165         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
15166         StringTokenizer on null string.  For PR libgcj/7180.
15167         From daveho@cs.umd.edu.
15168
15169 2002-06-24  Tom Tromey  <tromey@redhat.com>
15170
15171         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
15172         (IntegerClass): Likewise.
15173         * java/lang/natClass.cc (CloneableClass): Removed.
15174         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
15175         ConstructorClass): Likewise.
15176         * java/lang/natClassLoader.cc (CloneableClass): Removed.
15177         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
15178         SerializableClass): Likewise.
15179         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
15180         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
15181         LongClass, FloatClass, DoubleClass): Likewise.
15182
15183         * verify.cc (branch_prepass): Updated for change to exception
15184         handler type.
15185         (verify_instructions_0): Likewise.
15186         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
15187         (handleExceptionTableEntry): Updated for change to exception
15188         handler type.
15189         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
15190         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
15191         (union _Jv_InterpPC): New.
15192         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
15193         (class _Jv_InterpMethod): Added new `prepared' field.
15194         (class _Jv_InterpMethod): Added `compile' method.  Removed
15195         `continue1' and `find_exception'.  Changed arguments to `run'.
15196         * interpret.cc (union insn_slot): New.
15197         (find_exception): Removed.
15198         (run_normal): Removed most logic.
15199         (run_synch_object): Likewise; also, use JvSynchronize.
15200         (run_synch_class): Likewise.
15201         (run): Removed.
15202         (continue1): Renamed as `run'.  Compile bytecode if required.
15203         Add new code to allow refinement of direct-threaded code at
15204         runtime.  Handle exceptions.
15205         (SAVE_PC): Removed.
15206         (compile): New method.
15207         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
15208         (NULLARRAYCHECK): Don't use SAVE_PC.
15209         (pc_t): New typedef.
15210         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
15211         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
15212
15213 2002-06-23  Tom Tromey  <tromey@redhat.com>
15214
15215         * configure: Rebuilt.
15216         * configure.in (INTERPRETER): New subst.
15217         (AM_RUNTESTFLAGS): Don't subst.
15218
15219         * Makefile.in: Rebuilt.
15220         * Makefile.am ($(srcdir)/java/lang/Object.h,
15221         $(srcdir)/java/lang/Class.h): Added dummy targets.
15222
15223 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15224
15225         Reformat JDBC classes and add new JDK 1.4 classes and methods.
15226
15227         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
15228         java/sql/Savepoint.java: New files.
15229         * java/sql/Array.java, java/sql/BatchUpdateException.java,
15230         java/sql/Blob.java, java/sql/CallableStatement.java,
15231         java/sql/Clob.java, java/sql/Connection.java,
15232         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
15233         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
15234         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
15235         java/sql/Ref.java, java/sql/ResultSet.java,
15236         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
15237         java/sql/SQLException.java, java/sql/SQLInput.java,
15238         java/sql/SQLOutput.java, java/sql/SQLWarning.java
15239         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
15240         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
15241         (JDK 1.4) specification.
15242         * javax/sql/ConnectionEvent.java,
15243         javax/sql/ConnectionEventListener.java,
15244         javax/sql/ConnectionPoolDataSource.java,
15245         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
15246         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
15247         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
15248         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
15249         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
15250         javax/sql/XADataSource.java: New files.
15251         * Makefile.am: Add new files.
15252         * Makefile.in: Rebuilt.
15253
15254 2002-06-20  Tom Tromey  <tromey@redhat.com>
15255
15256         For PR libgcj/7073:
15257         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
15258         exists.
15259         * defineclass.cc (handleClassBegin): Superclass for interface is
15260         `null'.
15261
15262 2002-06-18  Tom Tromey  <tromey@redhat.com>
15263
15264         * gcj/javaprims.h: Updated class declaration list.
15265         * Makefile.in: Rebuilt.
15266         * Makefile.am (core_java_source_files): Removed
15267         BasicMapEntry.java.
15268         * java/util/BasicMapEntry.java: Removed.
15269
15270 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
15271
15272         * java/net/natPlainDatagramSocketImpl.cc (receive):
15273         Check bounds of argument to FD_SET.
15274         (setOption): Throw exception if socket is closed.
15275
15276         * java/net/natPlainSocketImpl.cc (accept, read):
15277         Check bounds of argument to FD_SET.
15278         (setOption): Throw exception if socket is closed.
15279
15280 2002-06-18  Tom Tromey  <tromey@redhat.com>
15281
15282         * gcj/javaprims.h: Updated class declaration list.
15283         * Makefile.in: Rebuilt.
15284         * Makefile.am (core_java_source_files): Added
15285         PropertyPermissionCollection.java.
15286         * java/lang/Thread.java (group, name): Now package-private.
15287         * java/lang/ThreadGroup.java: Re-merge with Classpath.
15288         * java/util/AbstractList.java: Likewise.
15289         * java/util/AbstractMap.java: Likewise.
15290         * java/util/Calendar.java: Likewise.
15291         * java/util/Collections.java: Likewise.
15292         * java/util/HashMap.java: Likewise.
15293         * java/util/Hashtable.java: Likewise.
15294         * java/util/LinkedHashMap.java: Likewise.
15295         * java/util/LinkedList.java: Likewise.
15296         * java/util/List.java: Likewise.
15297         * java/util/ListResourceBundle.java: Likewise.
15298         * java/util/Map.java: Likewise.
15299         * java/util/Observable.java: Likewise.
15300         * java/util/Properties.java: Likewise.
15301         * java/util/PropertyPermission.java: Likewise.
15302         * java/util/PropertyPermissionCollection.java: Likewise.
15303         * java/util/PropertyResourceBundle.java: Likewise.
15304         * java/util/Random.java: Likewise.
15305         * java/util/SimpleTimeZone.java: Likewise.
15306         * java/util/StringTokenizer.java: Likewise.
15307         * java/util/TimerTask.java: Likewise.
15308         * java/util/TreeMap.java: Likewise.
15309         * java/util/WeakHashMap.java: Likewise.
15310         * java/util/jar/Attributes.java: Likewise.
15311         * java/util/jar/JarException.java: Likewise.
15312         * java/util/jar/Manifest.java: Likewise.
15313
15314 2002-06-17  Tom Tromey  <tromey@redhat.com>
15315
15316         * gcj/javaprims.h: Updated class declaration list.
15317         * Makefile.in: Rebuilt.
15318         * Makefile.am (core_java_source_files): Added new file.
15319         * java/util/EventListenerProxy.java: New file.
15320         * java/util/EventListener.java: Re-merge with Classpath.
15321         * java/util/EventObject.java: Re-merge with Classpath.
15322
15323 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
15324
15325         * java/lang/ClassNotFoundException.java: New Classpath version.
15326
15327 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
15328
15329         * java/rmi/activation/ActivateFailedException.java: Remerge from
15330         Classpath version.
15331         * java/rmi/activation/ActivationException.java: Ditto.
15332         * java/rmi/activation/UnknownGroupException.java: Ditto.
15333         * java/rmi/activation/UnknownObjectException.java: Ditto.
15334         * java/rmi/server/ExportException: Ditto.
15335         * java/rmi/server/ServerCloneException: Ditto.
15336         * java/rmi/server/ServerNotActiveException: Ditto.
15337         * java/rmi/server/SkeletonMismatchException: Ditto.
15338         * java/rmi/server/SkeletonNotFoundException: Ditto.
15339         * java/rmi/server/SocketSecurityException: Ditto.
15340
15341 2002-06-16  Tom Tromey  <tromey@redhat.com>
15342
15343         * gcj/javaprims.h: Updated class declaration list.
15344
15345         * java/io/LineNumberInputStream.java: Merged with Classpath.
15346
15347         * java/lang/RuntimeException.java: Re-merge with Classpath.
15348         * java/util/ArrayList.java: Likewise.
15349         * java/util/Arrays.java: Likewise.
15350         * java/util/BitSet.java: Likewise.
15351         * java/util/Dictionary.java: Likewise.
15352         * java/util/IdentityHashMap.java: Likewise.
15353         * java/util/MissingResourceException.java: Likewise.
15354         * java/util/Observer.java: Likewise.
15355         * java/util/TooManyListenersException.java: Likewise.
15356         * java/util/zip/DataFormatException.java: Likewise.
15357         * java/util/zip/ZipException.java: Likewise.
15358
15359 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
15360
15361         * java/rmi/AccessException.java: Remerge from Classpath.
15362         * java/rmi/AlreadyBoundException.java: Ditto.
15363         * java/rmi/ConnectException.java: Ditto.
15364         * java/rmi/ConnectIOException.java: Ditto.
15365         * java/rmi/MarshalException.java: Ditto.
15366         * java/rmi/NoSuchObjectException.java: Ditto.
15367         * java/rmi/NotBoundException.java: Ditto.
15368         * java/rmi/RemoteException.java: Ditto.
15369         * java/rmi/RMISecurityException.java: Ditto.
15370         * java/rmi/ServerError.java: Ditto.
15371         * java/rmi/ServerException.java: Ditto.
15372         * java/rmi/ServerRuntimeException.java: Ditto.
15373         * java/rmi/StubNotFoundException.java: Ditto.
15374         * java/rmi/UnexpectedExcpetion.java: Ditto.
15375         * java/rmi/UnknownHostException.java: Ditto.
15376         * java/rmi/UnmarshalException.java: Ditto.
15377
15378 2002-06-15  Tom Tromey  <tromey@redhat.com>
15379
15380         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
15381         * java/lang/ArithmeticException.java: Likewise.
15382         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
15383         * java/lang/ArrayStoreException.java: Likewise.
15384         * java/lang/Byte.java: Likewise.
15385         * java/lang/CharSequence.java: Likewise.
15386         * java/lang/ClassCastException.java: Likewise.
15387         * java/lang/ClassCircularityError.java: Likewise.
15388         * java/lang/ClassFormatError.java: Likewise.
15389         * java/lang/CloneNotSupportedException.java: Likewise.
15390         * java/lang/Cloneable.java: Likewise.
15391         * java/lang/Comparable.java: Likewise.
15392         * java/lang/Compiler.java: Likewise.
15393         * java/lang/Error.java: Likewise.
15394         * java/lang/ExceptionInInitializerError.java: Likewise.
15395         * java/lang/IllegalAccessError.java: Likewise.
15396         * java/lang/IllegalAccessException.java: Likewise.
15397         * java/lang/IllegalArgumentException.java: Likewise.
15398         * java/lang/IllegalMonitorStateException.java: Likewise.
15399         * java/lang/IllegalStateException.java: Likewise.
15400         * java/lang/IllegalThreadStateException.java: Likewise.
15401         * java/lang/IncompatibleClassChangeError.java: Likewise.
15402         * java/lang/IndexOutOfBoundsException.java: Likewise.
15403         * java/lang/InheritableThreadLocal.java: Likewise.
15404         * java/lang/InstantiationError.java: Likewise.
15405         * java/lang/InstantiationException.java: Likewise.
15406         * java/lang/InternalError.java: Likewise.
15407         * java/lang/InterruptedException.java: Likewise.
15408         * java/lang/LinkageError.java: Likewise.
15409         * java/lang/NegativeArraySizeException.java: Likewise.
15410         * java/lang/NoClassDefFoundError.java: Likewise.
15411         * java/lang/NoSuchFieldError.java: Likewise.
15412         * java/lang/NoSuchFieldException.java: Likewise.
15413         * java/lang/NoSuchMethodError.java: Likewise.
15414         * java/lang/NoSuchMethodException.java: Likewise.
15415         * java/lang/NullPointerException.java: Likewise.
15416         * java/lang/NumberFormatException.java: Likewise.
15417         * java/lang/OutOfMemoryError.java: Likewise.
15418         * java/lang/Process.java: Likewise.
15419         * java/lang/Runnable.java: Likewise.
15420         * java/lang/RuntimePermission.java: Likewise.
15421         * java/lang/SecurityException.java: Likewise.
15422         * java/lang/Short.java: Likewise.
15423         * java/lang/StackOverflowError.java: Likewise.
15424         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
15425         * java/lang/ThreadDeath.java: Likewise.
15426         * java/lang/ThreadLocal.java: Likewise.
15427         * java/lang/UnknownError.java: Likewise.
15428         * java/lang/UnsatisfiedLinkError.java: Likewise.
15429         * java/lang/UnsupportedClassVersionError.java: Likewise.
15430         * java/lang/UnsupportedOperationException.java: Likewise.
15431         * java/lang/VerifyError.java: Likewise.
15432         * java/lang/VirtualMachineError.java: Likewise.
15433         * java/lang/reflect/InvocationTargetException.java: Likewise.
15434         * java/net/BindException.java: Likewise.
15435         * java/net/ConnectException.java: Likewise.
15436         * java/net/MalformedURLException.java: Likewise.
15437         * java/net/NoRouteToHostException.java: Likewise.
15438         * java/net/ProtocolException.java: Likewise.
15439         * java/net/SocketException.java: Likewise.
15440         * java/net/UnknownHostException.java: Likewise.
15441         * java/net/UnknownServiceException.java: Likewise.
15442
15443         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
15444         * java/io/CharConversionException.java: Likewise.
15445         * java/io/EOFException.java: Likewise.
15446         * java/io/FileNotFoundException.java: Likewise.
15447         * java/io/IOException.java: Likewise.
15448         * java/io/InterruptedIOException.java: Likewise.
15449         * java/io/InvalidClassException.java: Likewise.
15450         * java/io/InvalidObjectException.java: Likewise.
15451         * java/io/NotActiveException.java: Likewise.
15452         * java/io/NotSerializableException.java: Likewise.
15453         * java/io/ObjectStreamException.java: Likewise.
15454         * java/io/ObjectStreamConstants.java: Likewise.
15455         * java/io/OptionalDataException.java: Likewise.
15456         * java/io/PipedInputStream.java: Likewise.
15457         * java/io/PushbackInputStream.java: Likewise.
15458         * java/io/StreamCorruptedException.java: Likewise.
15459         * java/io/SyncFailedException.java: Likewise.
15460         * java/io/UTFDataFormatException.java: Likewise.
15461         * java/io/UnsupportedEncodingException.java: Likewise.
15462         * java/io/WriteAbortedException.java: Likewise.
15463
15464 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
15465
15466         * java/text/ChoiceFormat.java: Update comments from Classpath.
15467         * java/text/ParseException.java (serialVersionUID): New
15468         field from Classpath.
15469         * java/text/ParseException.java: Update formatting & comments
15470         from Classpath.
15471
15472 2002-06-15  Tom Tromey  <tromey@redhat.com>
15473
15474         * java/util/zip/InflaterInputStream.java (read): Loop if data has
15475         been read but none output by inflater.
15476         * java/util/zip/natDeflater.cc (reset): Set is_finished.
15477         * java/util/zip/natInflater.cc (reset): Set dist_needed and
15478         is_finished.
15479         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
15480         version.
15481         * java/util/zip/ZipFile.java: Replaced with Classpath version.
15482         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
15483         * java/util/zip/ZipInputStream.java: Replaced with Classpath
15484         version.
15485         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
15486
15487 2002-06-13  Tom Tromey  <tromey@redhat.com>
15488
15489         * java/lang/natString.cc (init): Handle case where DONT_COPY is
15490         true and OFFSET!=0.
15491         * java/lang/String.java (String(char[],int,int,boolean): New
15492         constructor.
15493         * java/lang/Long.java: Imported new version from Classpath.
15494         * java/lang/Number.java: Likewise.
15495         * java/lang/Integer.java: Likewise.
15496         * java/lang/Long.java: Likewise.
15497         * java/lang/Float.java: Likewise.
15498         * java/lang/Boolean.java: Likewise.
15499         * java/lang/Double.java: Likewise.
15500         * java/lang/Void.java: Likewise.
15501
15502 2002-06-12  Tom Tromey  <tromey@redhat.com>
15503
15504         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
15505         Fixes PR libgcj/6652.
15506
15507 2002-06-10  Tom Tromey  <tromey@redhat.com>
15508
15509         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
15510         (Class::getPackagePortion): Likewise.
15511         * java/lang/Class.java (desiredAssertionStatus): New method from
15512         Classpath.
15513         (getPackagePortion): Likewise.
15514         * java/lang/VMClassLoader.java (defaultAssertionStatus,
15515         packageAssertionStatus, classAssertionStatus): New methods from
15516         Classpath.
15517         * java/lang/ClassLoader.java (defaultAssertionStatus,
15518         systemPackageAssertionStatus, packageAssertionStatus,
15519         systemClassAssertionStatus, classAssertionStatus): New fields from
15520         Classpath.
15521         (setDefaultAssertionStatus, setPackageAssertionStatus,
15522         setClassAssertionStatus, clearAssertionStatus): New methods from
15523         Classpath.
15524         * Makefile.in: Rebuilt.
15525         * Makefile.am (core_java_source_files): Added AssertionError.java.
15526         * java/lang/AssertionError.java: New from Classpath.
15527
15528 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15529
15530         * configure.host: Disable hash synchronization and slow_pthread_self
15531         for cygwin.
15532
15533 2002-06-06  Adam Megacz <adam@xwt.org>
15534
15535         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
15536         locking, just like the Sun JVM does.
15537
15538 2002-06-05  H.J. Lu  (hjl@gnu.org)
15539
15540         * Makefile.am (libgcj_convenience.la): Revert the last change.
15541         (libgcj.la): Likewise.
15542         * Makefile.in: Regenerated.
15543
15544 2002-06-04  H.J. Lu  (hjl@gnu.org)
15545
15546         * Makefile.am (libgcj_convenience.la): New target.
15547         (libgcj.la): Depend on libgcj_convenience.la.
15548         * Makefile.in: Regenerated.
15549
15550 2002-06-04  H.J. Lu  (hjl@gnu.org)
15551
15552         * configure.in (--with-newlib): New option:
15553         Check ${with_newlib} instead of ${with_cross_host} for newlib.
15554         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
15555         Linux.
15556         * configure: Regenerated.
15557
15558 2002-06-04  Tom Tromey  <tromey@redhat.com>
15559
15560         * java/util/natTimeZone.cc: Include <stdio.h>.
15561
15562 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
15563
15564         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
15565         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
15566         Set SIGNAL_HANDLER=include/s390-linux.h.
15567         * configure: Regenerate.
15568         * include/s390-linux.h: New file.
15569
15570 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15571
15572         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
15573         not "stackTrace".
15574
15575 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15576
15577         Merge JDK 1.4 java.security changes from classpath.
15578
15579         * java/security/AccessControlException.java: Merge from Classpath.
15580         * java/security/AccessController.java: Likewise.
15581         * java/security/AllPermission.java: Likewise.
15582         * java/security/BasicPermission.java: Likewise.
15583         * java/security/Certificate.java: Likewise.
15584         * java/security/CodeSource.java: Likewise.
15585         * java/security/DigestException.java: Likewise.
15586         * java/security/DigestOutputStream.java: Likewise.
15587         * java/security/DomainCombiner.java: Likewise.
15588         * java/security/GeneralSecurityException.java: Likewise.
15589         * java/security/Guard.java: Likewise.
15590         * java/security/GuardedObject.java: Likewise.
15591         * java/security/InvalidAlgorithmParameterException.java: Likewise.
15592         * java/security/InvalidKeyException.java: Likewise.
15593         * java/security/InvalidParameterException.java: Likewise.
15594         * java/security/Key.java: Likewise.
15595         * java/security/KeyException.java: Likewise.
15596         * java/security/KeyManagementException.java: Likewise.
15597         * java/security/KeyStoreException.java: Likewise.
15598         * java/security/MessageDigest.java: Likewise.
15599         * java/security/NoSuchAlgorithmException.java: Likewise.
15600         * java/security/NoSuchProviderException.java: Likewise.
15601         * java/security/Permission.java: Likewise.
15602         * java/security/PermissionCollection.java: Likewise.
15603         * java/security/Permissions.java: Likewise.
15604         * java/security/Policy.java: Likewise.
15605         * java/security/Principal.java: Likewise.
15606         * java/security/PrivateKey.java: Likewise.
15607         * java/security/PrivilegedAction.java: Likewise.
15608         * java/security/PrivilegedActionException.java: Likewise.
15609         * java/security/PrivilegedExceptionAction.java: Likewise.
15610         * java/security/ProtectionDomain.java: Likewise.
15611         * java/security/ProviderException.java: Likewise.
15612         * java/security/PublicKey.java: Likewise.
15613         * java/security/SecureClassLoader.java: Likewise.
15614         * java/security/SecurityPermission.java: Likewise.
15615         * java/security/SignatureException.java: Likewise.
15616         * java/security/UnrecoverableKeyException.java: Likewise.
15617         * java/security/UnresolvedPermission.java: Likewise.
15618         * java/security/acl/AclNotFoundException.java: Likewise.
15619         * java/security/acl/LastOwnerException.java: Likewise.
15620         * java/security/acl/NotOwnerException.java: Likewise.
15621         * java/security/cert/CRLException.java: Likewise.
15622         * java/security/cert/CertificateEncodingException.java: Likewise.
15623         * java/security/cert/CertificateException.java: Likewise.
15624         * java/security/cert/CertificateExpiredException.java: Likewise.
15625         * java/security/cert/CertificateFactory.java: Likewise.
15626         * java/security/cert/CertificateNotYetValidException.java: Likewise.
15627         * java/security/cert/CertificateParsingException.java: Likewise.
15628         * java/security/spec/InvalidKeySpecException.java: Likewise.
15629         * java/security/spec/InvalidParameterSpecException.java: Likewise.
15630
15631         * java/security/cert/CertPath.java: New file.
15632         * java/security/cert/CertPathBuilderException.java: New file.
15633         * java/security/cert/CertPathValidatorException.java: New file.
15634         * java/security/cert/CertStoreException.java: New file.
15635
15636         * Makefile.am: Add new CertPath classes.
15637         * Makefile.in: Rebuilt.
15638
15639         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
15640
15641 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15642
15643         Merge JDK 1.4 exception chaining support from classpath.
15644
15645         * java/lang/Throwable.java: Merge 1.4 support from classpath.
15646         (stackTraceBytes): Rename from stackTrace.
15647         * java/lang/Exception.java: Merge from classpath.
15648         * java/lang/StackTraceElement: New file from classpath.
15649         * gcj/javaprims.h: Rebuild CNI namespace declarations.
15650         * Makefile.am: Add StackTraceElement.
15651         * Makefile.in: Rebuilt.
15652
15653 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15654
15655         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
15656         they build first.
15657         * Makefile.in: Rebuilt.
15658
15659 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
15660
15661         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
15662         * configure.in: Likewise.
15663         * aclocal.m4: Regenerate.
15664         * configure: Regenerate.
15665
15666 2002-05-13  Tom Tromey  <tromey@redhat.com>
15667
15668         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
15669         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
15670         Include platform.h.
15671
15672         Fixes PR libgcj/6389:
15673         * Makefile.in: Rebuilt.
15674         * Makefile.am (nat_source_files): Added natTimeZone.cc.
15675         * java/util/natTimeZone.cc: New file.
15676         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
15677         * java/lang/System.java: Merged with Classpath.
15678         * java/lang/Runtime.java: Merged with Classpath.
15679         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
15680         security check.
15681         (setIn0): Renamed from setIn; don't run security check.
15682         (setOut0): Renamed from setOut; don't run security check.
15683         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
15684         init_properties): Moved to natRuntime.cc.
15685         Moved many includes to natRuntime.cc.
15686         (isWordsBigEndian): New method.
15687         * java/lang/natRuntime.cc: Include Long.h, also other includes
15688         previously in natSystem.cc.
15689         (maxMemory): New function.
15690         (exitInternal): Renamed from `_exit'.
15691         (exit): Removed.
15692         (init): Don't set finalize_on_exit.
15693         (exitInternal): Use `finalizeOnExit'.
15694         (file_encoding, getpwuid_adaptor): New functions from
15695         natSystem.cc.
15696         (insertSystemProperties): New method, renamed from
15697         System::init_properties.  Don't set user.timezone.
15698         (_load): Don't call checkLink.
15699         (execInternal): New method.
15700         (availableProcessors): Likewise.
15701         (nativeGetLibname): Likewise.
15702
15703 2002-05-11  Mark Wielaard  <mark@klomp.org>
15704
15705         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
15706         space characters.
15707         (previous_internal): Likewise.
15708
15709 2002-05-09  Tom Tromey  <tromey@redhat.com>
15710
15711         * jni.cc (_Jv_JNIFunctions): Fixed typo.
15712
15713         * java/util/ResourceBundle.java: New version from Classpath.
15714         * java/util/Locale.java: Likewise.
15715
15716 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
15717
15718         * testsuite/lib/libjava.exp (libjava_arguments): Append all
15719         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
15720         LD_LIBRARY_PATH.
15721
15722 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
15723
15724         * libjava/Makefile.am (all_java_source_files): New variable.
15725         (all_java_class_files): Likewise.
15726         .java.class: New rule.
15727         (CLEANFILES): Remove tmp-list.
15728         * libjava/Makefile.in: Regenerated.
15729
15730 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
15731
15732         * testsuite/lib/libjava.exp (test_libjava_from_javac):
15733         Append .exe to executable names.  Fix for cygwin.
15734
15735 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
15736
15737         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
15738         script entry, and set LD to it when configuring multilibs.
15739         * configure: Rebuilt.
15740
15741 2002-05-07  Tom Tromey  <tromey@redhat.com>
15742
15743         * java/lang/natString.cc (unintern): Fixed typo.
15744
15745 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
15746
15747         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
15748         with -no-install on *-*-cygwin*.
15749
15750 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
15751
15752         * testsuite/lib/libjava.exp (test_libjava_from_source):
15753         Add comment explaining last patch
15754
15755 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
15756
15757         * testsuite/lib/libjava.exp (test_libjava_from_source):
15758         Append .exe to executable names.  If no suffix is present,
15759         then ".exe" is added by default on win32.  Harmless
15760         elsewhere so always do it.
15761
15762 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
15763             Tom Tromey  <tromey@redhat.com>
15764
15765         * java/lang/natSystem.cc (getSystemTimeZone): Use
15766         HAVE_UNDERSCORE_TIMEZONE.
15767         * include/config.h.in: Rebuilt.
15768         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
15769         * aclocal.m4, configure: Rebuilt.
15770         * acinclude.m4: Run AC_EXEEXT.
15771         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
15772         Add test for `_timezone'.
15773
15774 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
15775
15776         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15777         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
15778         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
15779         * Makefile.in: Rebuilt.
15780
15781 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
15782
15783         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
15784         use sigaction instead of __libc_sigaction.
15785
15786 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
15787
15788         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
15789         (libjava_init): Use it to find libgcj.spec.
15790         (libjava_arguments): Likewise.
15791
15792 2002-05-02  David S. Miller  <davem@redhat.com>
15793
15794         PR bootstrap/6525
15795         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
15796         __libc_sigaction on Sparc.
15797
15798 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
15799
15800         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
15801         sys/filio.h, if present.
15802
15803 2002-04-30  Tom Tromey  <tromey@redhat.com>
15804
15805         * java/io/BufferedReader.java (fill): Handle case where markPos
15806         point to ignored \n.  Fixes PR libgcj/6301.
15807
15808 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
15809
15810         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
15811
15812 2002-04-29  Adam King <aking@dreammechanics.com>
15813
15814         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
15815         of file in APPEND mode.
15816
15817 2002-04-25  David S. Miller  <davem@redhat.com>
15818
15819         PR target/6422
15820         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
15821         program counter to next program counter minus 8.  Update
15822         comments in this macro to explain why.
15823
15824 2002-04-26  Tom Tromey  <tromey@redhat.com>
15825
15826         * verify.cc (construct_primitive_array_type) [void_type]: New
15827         case.
15828         (branch_prepass): Added dummy entries for unused instruction
15829         values.
15830         (verify_instructions_0): Likewise.
15831         * interpret.cc (continue1): Comment fix.
15832         * include/java-insns.h (op_xxxunusedxxx1): Removed.
15833         * Makefile.in: Rebuilt.
15834         * Makefile.am: Added -Wswitch-enum.
15835
15836 2002-04-24  Tom Tromey  <tromey@redhat.com>
15837
15838         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
15839         correct length of UTF-8 encoded name.  Strip leading `/'.
15840         (_Jv_RegisterResource): Use _Jv_Malloc.
15841
15842 2002-04-23  Adam Megacz <adam@xwt.org>
15843
15844         * win32.cc, include/win32.cc (backtrace): Added this function
15845         because Win32 does not supply it.
15846
15847 2002-04-21  David S. Miller  <davem@redhat.com>
15848
15849         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
15850         magic instruction reading sequence.
15851
15852 2002-04-21  Mark Wielaard  <mark@klomp.org>
15853
15854         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
15855
15856 2002-04-19  David S. Miller  <davem@redhat.com>
15857
15858         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
15859         arg.
15860         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
15861         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
15862         on Sparc too.
15863         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
15864         for 64-bit sparc.
15865         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
15866         * sysdeps/sparc/locks.h: New file.
15867         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
15868         on all sparc Solaris configurations.  Set to
15869         include/dwarf2-signal.h on sparc Linux.
15870         * configure: Regenerate
15871         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
15872
15873 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
15874
15875         * configure: Rebuilt.
15876         * configure.in (backtrace): Function doesn't work on IA-64.
15877
15878 2002-04-17  Adam King <aking@dreammechanics.com>
15879
15880         * java/io/File.java (normalizePath): Add Win32 support for auto
15881         conversion of a '/' path separator to Win32's '\' separator.
15882
15883 2002-04-16  Tom Tromey  <tromey@redhat.com>
15884
15885         Fix for PR libgcj/6081:
15886         * Makefile.in: Rebuilt.
15887         * Makefile.am (install-data-local): Use GNU make trick to avoid
15888         shell limit.
15889
15890 2002-04-16  Adam King <aking@dreammechanics.com>
15891             Tom Tromey  <tromey@redhat.com>
15892
15893         * java/io/natFileWin32.cc (performList): Return the correct array
15894         type.  Don't duplicate the creation of a File since it's already
15895         done earlier in the method and the existing code would cause a
15896         ArrayStoreException.  Don't use fixed-size array.
15897         (_access, _stat, attr, getCanonicalPath, performMkdir,
15898         performRenameTo): Don't use fixed-size array.
15899         (getCanonicalPath): Use throw, not _Jv_Throw.
15900
15901 2002-04-15  DJ Delorie  <dj@redhat.com>
15902
15903         * configure.in: Allow building in $srcdir.
15904         * configure: Regenerated.
15905
15906 2002-04-14  Mark Wielaard <mark@klomp.org>
15907
15908         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
15909         * java/net/natSocketImpl.cc (close): Likewise.
15910
15911 2002-04-14  Mark Wielaard <mark@klomp.org>
15912
15913         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
15914
15915 2002-04-13  Adam King <aking@dreammechanics.com>
15916
15917         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
15918         the f/F/d/D modifiers.
15919
15920 2002-04-12  Anthony Green  <green@redhat.com>
15921
15922         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
15923         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
15924         * Makefile.in: Rebuilt.
15925         * configure.in: Substitute gcc_version.
15926         * configure: Rebuilt.
15927
15928 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
15929
15930         * configure.host: Set can_unwind_signal on hosts which support it.
15931         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
15932         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
15933         exceptions and can_unwind_signal isn't set.
15934         * configure: Rebuilt.
15935
15936 2002-04-11  Tom Tromey  <tromey@redhat.com>
15937
15938         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
15939
15940 2002-04-11  Adam King <aking@dreammechanics.com>
15941             Tom Tromey  <tromey@redhat.com>
15942
15943         * include/jvm.h (_Jv_ThrowBadArrayIndex,
15944         _Jv_ThrowNullPointerException): Mark as noreturn.
15945         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
15946         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
15947         fixes.
15948
15949 2002-04-10  Tom Tromey  <tromey@redhat.com>
15950
15951         * Makefile.in: Rebuilt.
15952         * Makefile.am (java/lang/Thread.h): Mark
15953         _Jv_AttachCurrentThreadAsDaemon as friend.
15954         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
15955         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
15956         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
15957         function.
15958         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
15959         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
15960         (_Jv_JNI_InvokeFunctions): Added
15961         _Jv_JNI_AttachCurrentThreadAsDaemon.
15962         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
15963         (JNI_GetDefaultJavaVMInitArgs): Likewise.
15964         (JNI_CreateJavaVM): Likewise.
15965         (_Jv_JNI_AttachCurrentThread): Likewise.
15966         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
15967         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
15968         (_Jv_JNIFunctions): Initialize new fields.
15969         (_Jv_JNI_NewDirectByteBuffer): New function.
15970         (_Jv_JNI_GetDirectBufferAddress): Likewise.
15971         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
15972         * include/jni.h (JNI_VERSION_1_4): New macro.
15973         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
15974         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
15975         (JNINativeInterface::NewDirectByteBuffer): New field.
15976         (JNINativeInterface::GetDirectBufferAddress): New field.
15977         (JNINativeInterface::GetDirectBufferCapacity): New field.
15978         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
15979         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
15980         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
15981
15982 2002-04-09  Tom Tromey  <tromey@redhat.com>
15983
15984         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
15985
15986 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
15987
15988         Fix for PR libgcj/6187:
15989         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
15990         distance.
15991
15992 2002-04-07  Mark Wielaard <mark@klomp.org>
15993
15994         * java/util/AbstractMap.java (putAll): Use entrySet size.
15995         (toString): Explicitly use getKey() and getValue().
15996
15997 2002-04-07  Mark Wielaard <mark@klomp.org>
15998
15999         * java/util/Hashtable.java (contains): Remove NullPointer check.
16000         (containsValue): Add NullPointer check.
16001         (remove): Always throw NullPointerException when key
16002         is null.
16003
16004 2002-04-07  Adam King <aking@dreammechanics.com>
16005
16006         * java/lang/natSystem.cc (init_properties): Call new function
16007         _Jv_platform_initProperties.
16008         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
16009         support for the System properties os.name, os.arch, os.version,
16010         user.name, user.home, and user.dir.
16011         * include/posix.h, include/win32.h, posix.cc: New function
16012         _Jv_platform_initProperties.
16013
16014 2002-04-06  Mark Wielaard <mark@klomp.org>
16015
16016         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
16017
16018 2002-04-06  Mark Wielaard <mark@klomp.org>
16019
16020         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
16021         all of the remaining elements.
16022         * java/util/Vector.java (addAll(int,Collection)): Likewise.
16023         (removeRange): If toIndex == fromIndex do
16024         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
16025         (removeAll): Always throw NullPointerException when collection is
16026         null.
16027         (retrainAll): Likewise.
16028
16029 2002-04-05  Mark Wielaard <mark@klomp.org>
16030
16031         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
16032         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
16033
16034 2002-04-05  Adam Megacz <adam@xwt.org>
16035
16036         * exception.cc (abort): added static modifier
16037
16038 2002-04-04  Adam Megacz <adam@xwt.org>
16039
16040         * include/win32.h (_Jv_platform_close_on_exec): added inline
16041         modifier.
16042
16043 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
16044
16045         * configure.host: Add case statement to support generic port
16046         properties.  Add *-*-freebsd* section.
16047
16048 2002-04-04  Mark Wielaard  <mark@klomp.org>
16049
16050         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
16051         test.
16052         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
16053         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
16054         that depend on awt code and BufferedByteOutputStream.interrupt.
16055
16056 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16057
16058         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
16059         incorrect "hi" value when count > 40.
16060
16061 2002-04-03  Mark Wielaard  <mark@klomp.org>
16062
16063         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
16064         ordering.
16065
16066 2002-04-02  Tom Tromey  <tromey@redhat.com>
16067
16068         * java/lang/natClassLoader.cc (findClass): Compare against `3',
16069         not `0'.
16070
16071 2002-04-02  Mark Wielaard  <mark@klomp.org>
16072
16073         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
16074         list of testsuite crashers.
16075
16076 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16077
16078         * java/util/IdentityHashMap.java (put): Set new threshold correctly
16079         when resizing table.
16080
16081 2002-04-01  Mark Wielaard  <mark@klomp.org>
16082
16083         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
16084         NegativeArraySizeException
16085         (clear(int)): Use sign extended shift.
16086         (flip(int)): Likewise.
16087         (get(int)): Likewise.
16088         (nextClearBit(int)): Likewise.
16089         (nextSetBit(int)): Likewise.
16090         (set(int)): Likewise.
16091
16092 2002-04-01  Mark Wielaard  <mark@klomp.org>
16093
16094         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
16095         that can be compiled now and add testsuite crashers to ignore list.
16096
16097 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
16098
16099         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
16100
16101         * libgcj.spec.in: Override libgcc, not lib.
16102         * libgcj-test.spec.in: Likewise.
16103
16104 2002-03-29  Tom Tromey  <tromey@redhat.com>
16105
16106         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
16107         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
16108
16109 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
16110
16111         * java/net/PlainDatagramSocketImpl.java
16112         (close): Use native implementation.
16113         (finalize): New method.
16114
16115         * java/net/PlainSocketImpl.java (finalize): New method.
16116
16117         * java/net/natPlainDatagramSocketImpl.cc
16118         (java/io/FileDescriptor.h): Don't include.
16119         (close): Implement method here.
16120         (create): Don't assign fd.
16121
16122         * java/net/natPlainSocketImpl.cc
16123         (java/io/FileDescriptor.h): Don't include.
16124         (create): Don't assign fd.
16125         (accept): Likewise.
16126         (close): Synchronize.
16127
16128 2002-03-27  Richard Henderson  <rth@redhat.com>
16129
16130         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
16131
16132 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
16133
16134         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
16135         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
16136         instead of syscall on IA-64.
16137         Add FIXME comment.
16138
16139 2002-03-27  Anthony Green  <green@redhat.com>
16140
16141         * libgcj.spec.in: Add CHECKREFSPEC.
16142         * configure.in: Ditto.
16143         * configure.host: Ditto.  Check references for xscale-elf.
16144         * configure: Rebuilt.
16145
16146 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
16147
16148         * include/dwarf2-signal.h: Temporarily back out last change.
16149
16150 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
16151
16152         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
16153
16154 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
16155
16156         * configure.in, configure: enable dwarf2-exception-style
16157         exception handling on IA-64.
16158         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
16159         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
16160         Add FIXME comment.
16161
16162 2002-03-25  Tom Tromey  <tromey@redhat.com>
16163
16164         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
16165         (jv_convert_LDFLAGS): Likewise.
16166         (gij_LDFLAGS): Likewise.
16167         (rmic_LDFLAGS): Likewise.
16168         (rmiregistry_LDFLAGS): Likewise.
16169         * configure.in (THREADLDFLAGS): New subst; set correctly for
16170         *BSD.
16171
16172 2002-03-25  Tom Tromey  <tromey@redhat.com>
16173
16174         For PR libgcj/5303:
16175         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
16176         and --version.
16177         (help): New method.
16178         (version): Likewise.
16179         * gnu/gcj/convert/Convert.java (version): Removed extraneous
16180         "GNU".
16181         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
16182         "GNU".
16183
16184 2002-03-25  Tom Tromey  <tromey@redhat.com>
16185
16186         * java/awt/Component.java (processEvent): Check ComponentEvent
16187         after KeyEvent.
16188
16189 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16190
16191         * java/io/PushbackReader.java: Reformat.
16192
16193         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
16194         calculate correct number of bytes skipped.
16195
16196         Based on patch from Intel's ORP team:
16197         * java/io/PushbackInputStream.java (available): Calculate correct
16198         number of bytes in buffer.
16199         (read): Remove redundant bound check. Return bytes from both the
16200         buffer and the stream.
16201
16202 2002-03-24  Tom Tromey  <tromey@redhat.com>
16203
16204         * java/awt/TextComponent.java (TextComponent): Editable by
16205         default.
16206
16207         * java/awt/MenuItem.java (eventMask): No longer private.
16208         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
16209         superclass if we didn't handle event.
16210         * java/awt/Checkbox.java (dispatchEventImpl): New method.
16211         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
16212         * java/awt/Choice.java (dispatchEventImpl): New method.
16213         * java/awt/List.java (dispatchEventImpl): New method.
16214         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
16215         * java/awt/TextComponent.java (dispatchEventImpl): New method.
16216         * java/awt/TextField.java (dispatchEventImpl): New method.
16217
16218 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
16219
16220         * java/beans/IntrospectionException.java: Update to 1.4.
16221         * java/beans/PropertyVetoException.java: Ditto.
16222
16223 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
16224
16225         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
16226         Arrays.equals instead of ArrayHelper.equalsArray.
16227
16228 2002-03-24  C. Brian Jones <cbj@gnu.org>
16229
16230         * java/beans/Introspector.java: added new static final fields
16231         introduced in 1.2, lots of other updates remain to be done
16232
16233 2002-03-24  C. Brian Jones <cbj@gnu.org>
16234
16235         * java/beans/Introspector.java: reformatting
16236
16237 2002-03-24  C. Brian Jones <cbj@gnu.org>
16238
16239         * java/beans/Introspector.java: default beanInfoSearchPath will
16240         not include sun.beans.infos given we provide no such package and
16241         the API doesn't really require it; gnu.java.beans.info is the
16242         default.
16243
16244 2002-03-24  Mark Wielaard  <mark@klomp.org>
16245
16246         Thanks to Orp developers
16247         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
16248         switch TRUE and FALSE return values.
16249
16250 2002-03-23  Tom Tromey  <tromey@redhat.com>
16251
16252         * include/name-finder.h (_Jv_name_finder::myclose): New method.
16253         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
16254
16255 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
16256
16257         * java/util/GregorianCalendar.java (minimums, maximums): Correct
16258         MONTH entry.  Fixes PR libgcj/6045.
16259
16260 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
16261
16262         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
16263
16264 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16265
16266         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
16267         not release_set.
16268         * sysdep/powerpc/locks.h (write_barrier): New function.
16269         * sysdep/i386/locks.h (write_barrier): New function.
16270
16271 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
16272
16273         * include/jni.h Use correct C comments.
16274
16275 2002-03-18  Tom Tromey  <tromey@redhat.com>
16276
16277         * include/jni.h (JNIIMPORT): New macro.
16278         (JNIEXPORT): Likewise.
16279         (JNICALL): Likewise.
16280
16281 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
16282
16283         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
16284         systems.
16285
16286 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
16287
16288         * include/i386-signal.h (old_i386_kernel_sigaction): New.
16289         INIT_SEGV: Use old_i386_kernel_sigaction.
16290         INIT_FP: Likewise.
16291
16292 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16293
16294         * java/lang/natSystem.cc (init_properties): Update VM version
16295         properties.
16296         * configure.in: Set GCJVERSION.
16297         * acconfig.h: Add GCJVERSION.
16298         * configure: Rebuilt.
16299         * include/config.h.in: Rebuilt.
16300
16301 2002-03-17  Anthony Green  <green@redhat.com>
16302
16303         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
16304
16305 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16306
16307         Build a single libgcj.so, without separate gc and zlib libraries.
16308         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
16309         SYS_ZLIBS if system zlib is used.
16310         * configure: Rebuilt.
16311         * Makefile.am: Use boehm-gc and zlib convenience libraries.
16312         * Makefile.in: Rebuilt.
16313         * libtool-version: Increment .so version number.
16314
16315         * Makefile.am: Escape quotes in echo.
16316         * Makefile.in: Rebuilt.
16317
16318 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16319
16320         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
16321         * Makefile.in: Rebuilt.
16322
16323 2002-03-15  Anthony Green  <green@redhat.com>
16324
16325         * configure.host (FILE): New macro for specifing File
16326         implementation.
16327         * configure: Rebuilt.
16328         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
16329
16330 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
16331
16332         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
16333         already implicitly brought in from libgcj.la.
16334         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
16335         * Makefile.in: Rebuilt.
16336
16337 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
16338
16339         * THANKS: Fix punctuation, alphabetization.
16340
16341 2002-03-15  Tom Tromey  <tromey@redhat.com>
16342             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16343
16344         Fix for PR libgcj/5944.
16345         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
16346
16347 2002-03-15  Anthony Green  <green@redhat.com>
16348
16349         * configure.in (tool_include_dir): Define.
16350         * configure: Rebuilt.
16351         * gcj/Makefile.am: Install libgcj-config.h relative to
16352         tool_include_dir.
16353         * gcj/Makefile: Rebuilt.
16354         * gcj/libgcj-config.h: Add warning comment.
16355
16356 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
16357
16358         * configure.host (powerpc*-darwin*): Enable interpreter.
16359
16360 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16361
16362         * include/posix.h: Add multiple include header protection.
16363         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
16364
16365 2002-03-10  Adam Megacz <adam@xwt.org>
16366
16367         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
16368
16369 2002-03-10  Tom Tromey  <tromey@redhat.com>
16370
16371         * java/awt/GridLayout.java (layoutContainer): Handle case where
16372         there are no items in container.
16373
16374         * java/lang/Win32Process.java: Added comment.
16375         * include/posix.h (_Jv_platform_close_on_exec): New function.
16376         Include fcntl.h.
16377         * include/win32.h (_Jv_platform_close_on_exec): New function.
16378         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
16379         flag.
16380         (accept): Likewise.
16381         * java/net/natPlainDatagramSocketImpl.cc (create): Set
16382         close-on-exec flag.
16383         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
16384         flag.
16385
16386 2002-03-09  Tom Tromey  <tromey@redhat.com>
16387
16388         * verify.cc (state::NO_STACK): New constant.
16389         (state::is_unmerged_ret_state): Handle case where stacktop is
16390         NO_STACK.
16391         (state::merge): Handle NO_STACK merges.
16392         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
16393         for instruction following jsr.
16394         (stacktop, stackdepth): Removed unused variables.
16395         (pop_jump): Ignore case where all remaining states are skipped.
16396
16397 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16398
16399         * java/awt/ImageMediaEntry: Removed.
16400         * java/awt/MediaEntry: Removed.
16401
16402 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16403
16404         Hashtable synchronization for PowerPC.
16405         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
16406         slow_pthread_self. Set up symlink for sysdeps directory.
16407         * configure: Rebuild.
16408         * configure.host: Document more shell variables. Set sysdeps_dir
16409         for most platforms. Set slow_pthread_self for i686. Set
16410         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
16411         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
16412         that memory barrier is emitted where required.
16413         * prims.cc: 64-bit align static primitive class instances.
16414         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
16415         read_barrier() to enforce ordering of reads.
16416         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
16417         primitives for PowerPC.
16418         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
16419         moved from natObject.cc.
16420         * sysdep/alpha/locks.h: Likewise.
16421         * sysdep/ia64/locks.h: Likewise.
16422         * sysdep/generic/locks.h: Likewise.
16423         * java/lang/natObject.cc: Move thread synchronization primitives to
16424         system-dependent headers.
16425
16426 2002-03-09  Adam Megacz  <adam@xwt.org>
16427
16428         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
16429         bytes read and no failure code returned.
16430
16431 2002-03-09  Adam Megacz  <adam@xwt.org>
16432
16433         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
16434         definitions to simulate -mthreads.
16435
16436 2002-03-09  Adam Megacz  <adam@xwt.org>
16437
16438         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
16439         avoid precision loss.
16440
16441 2002-03-09  Per Bothner  <per@bothner.com>
16442
16443         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
16444         * gnu/gcj/xlib/XImage.java:  Likewise.
16445         * gnu/gcj/xlib/XColor.java:  Likewise.
16446
16447 2002-03-09  Adam Megacz  <adam@xwt.org>
16448
16449         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
16450         IOException so that Throwable.printStackTrace fails correctly.
16451
16452 2002-03-08  Adam Megacz  <adam@xwt.org>
16453
16454         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
16455         fixed.
16456
16457 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16458
16459         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
16460         truncated to int.
16461
16462 2002-03-08  Tom Tromey  <tromey@redhat.com>
16463
16464         * include/jni.h: Include stdio.h.
16465
16466 2002-03-08  Tom Tromey  <tromey@redhat.com>
16467
16468         * posix.cc (internal_gettimeofday): New function.
16469         (_Jv_select): Use it.
16470
16471 2002-03-07  Adam Megacz  <adam@xwt.org>
16472
16473         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
16474         WIN32, and added thunks for read(), write(), and close().
16475         * java/net/natPlainSocketImpl.cc (accept, read, read):
16476         Disabled timeouts on WIN32 pending discussion.
16477
16478 2002-03-07  Adam Megacz  <adam@xwt.org>
16479
16480         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
16481         returns jlong. Added implementation
16482         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
16483         returns jlong.
16484         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
16485         returns jlong.
16486         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
16487         returns jlong.
16488         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
16489         _Jv_platform_gettimeofday signature.
16490
16491 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16492
16493         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
16494         (read): Call recv() directly, not _Jv_recv().
16495
16496 2002-03-06  Tom Tromey  <tromey@redhat.com>
16497
16498         * java/io/natFileDescriptorEcos.cc (init): Don't use
16499         GetStdHandle.
16500         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
16501         is negative.
16502         (init): Don't use GetStdHandle.
16503
16504         * include/config.h.in: Rebuilt.
16505         * configure: Rebuilt.
16506         * Makefile.in: Rebuilt.
16507
16508 2002-03-06  Adam Megacz  <adam@xwt.org>
16509
16510         * java/io/FileDescriptor.java: Initialize in/out/err in init().
16511         * java/io/natFileDescriptorWin32.cc (init()): Added function.
16512         * java/io/natFileDescriptorPosix.cc (init()): Added function.
16513         * java/io/natFileDescriptorEcos.cc (init()): Added function.
16514
16515 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
16516
16517         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
16518         the code for generating include/java-chartables.h.
16519         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
16520         merge with Classpath.
16521         * scripts/unicode-muncher.pl: Copy from Classpath.
16522         * scritps/MakeCharTables.java: New file.
16523         * gnu/gcj/convert/Blocks-3.txt: New file.
16524         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
16525         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
16526         * gnu/java/lang/CharData.java: Copy from Classpath.
16527         * Makefile.am (ordinary_java_source_files): Add
16528         gnu/java/lang/CharData.java.
16529         * configure.in: Remove --enable-fast-character option.
16530         * java/lang/Character.java: Merge algorithms and Javadoc with
16531         Classpath.
16532         * java/lang/natCharacter.cc: Implement Unicode lookup table more
16533         efficiently.
16534         * include/java-chardecomp.h: Regenerate.
16535         * include/java-chartables.h: Regenerate.
16536
16537 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16538
16539         * java/awt/MediaTracker.java: Implemented.
16540         * Makefile.am: Add MediaTracker.
16541         * Makefile.in: Rebuilt.
16542
16543 2002-03-05  Tom Tromey  <tromey@redhat.com>
16544
16545         * java/lang/natPosixProcess.cc (fail): Removed.
16546         (startProcess): Simplified error-handling.  Preserve
16547         LD_LIBRARY_PATH across exec.
16548
16549         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
16550         AbstractMethodError.
16551
16552 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16553
16554         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
16555         * Makefile.in: Rebuilt.
16556
16557 2002-03-03 Mark Wielaard <mark@klomp.org>
16558
16559         * java/util/Timer (TaskQueue.stop): set elements to zero.
16560
16561 2002-02-28  Anthony Green  <green@redhat.com>
16562
16563         * java/lang/reflect/natMethod.cc (result): Add void* element.
16564         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
16565         constructor test.
16566
16567 2002-02-27  Adam Megacz <adam@xwt.org>
16568
16569         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
16570         '#undef STRICT'.
16571
16572 2002-02-26  Tom Tromey  <tromey@redhat.com>
16573
16574         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
16575         * gij.cc (version): Use __VERSION__.
16576         * include/config.h.in: Rebuilt.
16577         * acconfig.h (GCJVERSION): Removed.
16578         * configure: Rebuilt.
16579         * configure.in (GCJVERSION): Removed.
16580
16581 2002-02-26  Andreas Schwab  <schwab@suse.de>
16582
16583         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
16584         glibcpp_CXX, since libjava uses even another CXX.
16585         * aclocal.m4, configure: Regenerated.
16586
16587 2002-02-26  Tom Tromey  <tromey@redhat.com>
16588
16589         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
16590         `1'.
16591
16592 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16593
16594         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
16595         dependency tracking for .java files.
16596         * Makefile.in: Rebuilt.
16597
16598 2002-02-24  Adam Megacz  <adam@xwt.org>
16599
16600         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
16601         typo. Sorry.
16602
16603 2002-02-24  Adam Megacz  <adam@xwt.org>
16604
16605         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
16606         for Win32, changed #ifdefs to check WIN32 instead of the
16607         (now-obsolete) USE_WINSOCK, and removed support for socket
16608         timeouts on Win32 pending further discussion.
16609
16610 2002-02-24  Adam Megacz  <adam@xwt.org>
16611
16612         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
16613         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
16614         delete
16615
16616 2002-02-24  Adam Megacz  <adam@xwt.org>
16617
16618         * java/lang/Win32Process.java: Created a dummy class to allow
16619         build process to run to completion.
16620
16621 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
16622
16623         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
16624         Define ffi_result union for ffi_call result.  Cast
16625         ffi_result members to jvalue.
16626
16627 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
16628
16629         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
16630         * testsuite/Makefile.in: Likewise.
16631
16632 2002-02-20  Per Bothner  <per@bothner.com>
16633
16634         * java/net/URL.java (getPath):  New JDK 1.3 method.
16635
16636         * java/net/URLStreamHandler.java (parseURL):
16637         It is wrong to prepend '/' to the file part of a relative url.
16638
16639         * java/net/URLStreamHandler.java (parseURL):
16640         Minor optizations - append '/' rather than "/".
16641
16642         * java/net/URLStreamHandler.java (parseURL):
16643         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
16644         We probably should canonicalize for a context-relative url, though.
16645         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
16646         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
16647         (sameFile):  New method.  Uses canonicalizeFilename.
16648
16649 2002-02-22  Tom Tromey  <tromey@redhat.com>
16650
16651         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
16652         java.vendor and java.vm.vendor.
16653         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
16654         recent copyright date.
16655         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
16656         * gij.cc (version): Print `Inc'.
16657
16658 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
16659
16660         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
16661         * aclocal.m4, configure: Rebuilt.
16662
16663 2002-02-20  Per Bothner  <per@bothner.com>
16664
16665         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
16666         and/or output streams immediately here, instead of using File.exists.
16667         (inputStream, outputStream):  New fields to save open streams.
16668         (getInputStream, getOutputStream):  Use already-opened streams.
16669
16670 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
16671
16672         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
16673         Use it.
16674         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
16675         * aclocal.m4, configure, Makefile.in: Rebuilt.
16676
16677 2002-02-19  Tom Tromey  <tromey@redhat.com>
16678
16679         Fix for PR libgcj/5696:
16680         * verify.cc (is_assignable_from_slow): Never call
16681         _Jv_IsAssignableFrom.
16682         (verify_instructions_0): Added new debug statement.
16683         (state::print): Print information about whether local has
16684         changed.
16685         (state::merge): Don't call note_variable when merging locals.
16686         (state::set_exception): Removed old FIXME comment.
16687
16688 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16689
16690         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
16691         enable SO_BROADCAST.
16692
16693 2002-02-18  Jason Merrill  <jason@redhat.com>
16694
16695         * name-finder.cc (toHex): Use word mode, not long long.
16696
16697         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
16698
16699 2002-02-15  Tom Tromey  <tromey@redhat.com>
16700
16701         Fix for PR libgcj/5695:
16702         * verify.cc (is_assignable_from_slow): Check to see if target is
16703         an Object before checking to see if source is an interface.
16704         (verify_instructions_0) [op_invokeinterface]: Handle case where
16705         we're making an interface call on Object.
16706
16707 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16708
16709         * Makefile.in: Rebuilt with Eric's change below.
16710
16711         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
16712         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
16713         Removed functions which are now implemented in Math.java.
16714
16715 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
16716
16717         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
16718         * Makefile.am (core_java_source_files): Add
16719         java/lang/StrictMath.java.
16720         * java/lang/Math.java: Merge with Classpath.
16721         * java/lang/StrictMath.java: New file - merge with Classpath.
16722
16723 2002-02-14  Mark Wielaard  <mark@klomp.org>
16724
16725         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
16726         package as a workaround for gcj 3.0.x
16727
16728 2002-02-14  Mark Wielaard <mark@klomp.org>
16729
16730         * java/security/BasicPermission.java: extends with fully qualified
16731         classname as workaround for gcj 3.0.4.
16732
16733 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
16734
16735         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
16736         around gcj bug of wrong emitted qualifier for inherited method.
16737         * java/net/SocketImpl.java (setOption, getOption): Ditto.
16738         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
16739         constructor to reduce amount of emitted bytecode. While this
16740         happens to work around a jikes 1.15 bug, it is still a useful
16741         patch even for correct compilers.
16742         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
16743         * gnu/java/rmi/server/UnicastRemoteCall.java
16744         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
16745
16746 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
16747
16748         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
16749         * java/net/SocketImpl.java: Ditto.
16750         * java/rmi/server/RMIClassLoader.java: Ditto.
16751         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
16752
16753 2002-02-14  Mark Wielaard <mark@klomp.org>
16754
16755         Thanks to Takashi Okamoto
16756         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
16757         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
16758         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
16759
16760 2002-02-13  Todd Stock  <toddastock@yahoo.com>
16761
16762         Fix for PR libgcj/5670:
16763         * verify.cc (is_assignable_from_slow): If `source' is interface,
16764         recursively look for merge with `target'.
16765
16766 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
16767
16768         * include/jni.h: Fix typo.
16769
16770 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
16771
16772         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
16773         correctly.
16774
16775 2002-02-13  Todd Stock  <toddastock@yahoo.com>
16776
16777         Fix for PR libgcj/5671:
16778         * verify.cc (state::merge): Handle case where we're merging
16779         against an interface.
16780
16781 2002-02-12  Tom Tromey  <tromey@redhat.com>
16782
16783         * exception.cc (std::abort): Mark as noreturn.
16784
16785 2002-02-12  Adam Megacz <adam@xwt.org>
16786
16787         * java/lang/Win32Process.java: Filled in a placeholder
16788         implementation so Win32 will build.
16789
16790 2002-02-12  Adam Megacz <adam@xwt.org>
16791
16792         * java/io/natFilePosix.cc: Copied this from natFile.cc.
16793         * java/io/natFile.cc: Removed from repository.
16794         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
16795
16796 2002-02-12  Adam Megacz <adam@xwt.org>
16797
16798         * win32.cc: Added two #includes to make win32.cc compile.
16799
16800 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16801
16802         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
16803         declarations.
16804         (_Jv_InitGC): Don't bother locking, as this is always called from a
16805         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
16806
16807 2002-02-11  Adam Megacz <adam@xwt.org>
16808
16809         * include/win32.h: Added _Jv_platform_gettimeofday.
16810         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
16811
16812 2002-02-11  Adam Megacz <adam@xwt.org>
16813
16814         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
16815         Added #undef STRICT to make windows.h and
16816         java/lang/reflect/Modifier.h cooperate.
16817
16818 2002-02-11  Adam Megacz <adam@xwt.org>
16819
16820         * java/io/natFileWin32.cc: Created a placeholder class with lots
16821         of FIXMEs.
16822
16823 2002-02-11  Adam Megacz <adam@xwt.org>
16824
16825         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
16826         std::abort() to simply abort(). Also added "fake" std::abort() so
16827         we can #include unwind-pe.h without having to link against
16828         libstdc++-v3.
16829
16830 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
16831
16832         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
16833
16834 2002-02-08  Tom Tromey  <tromey@redhat.com>
16835
16836         * interpret.cc (convert): New function.
16837         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
16838         convert.
16839         Include Long.h.
16840
16841 2002-02-08  Anthony Green  <green@redhat.com>
16842
16843         * configure.host: Add support for xscale-elf embedded target.
16844
16845 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
16846
16847         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
16848         dereferenced.
16849         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
16850         frame.
16851
16852 2002-02-07  Tom Tromey  <tromey@redhat.com>
16853
16854         * java/io/natFile.cc (_access): Use __builtin_alloca.
16855         (_stat): Likewise.
16856         (attr): Likewise.
16857         (getCanonicalPath): Likewise.
16858         (performList): Likewise.
16859         (performMkdir): Likewise.
16860         (performSetReadOnly): Likewise.
16861         (performRenameTo): Likewise.
16862         (performSetLastModified): Likewise.
16863         (performCreate): Likewise.
16864         (performDelete): Likewise.
16865
16866 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16867
16868         * HACKING: Fix URL for the automake-gcj.
16869
16870 2002-02-07  Tom Tromey  <tromey@redhat.com>
16871
16872         * java/lang/natThrowable.cc: Updated copyright.
16873         * java/io/natFileWin32.cc: Updated copyright.
16874         * java/io/natFileDescriptorWin32.cc: Updated copyright.
16875         * win32-threads.cc: Updated copyright.
16876         * name-finder.cc: Updated copyright.
16877         * include/name-finder.h: Updated copyright.
16878
16879         * include/name-finder.h: Conditionally include sys/wait.h.
16880         * include/config.h.in: Rebuilt.
16881
16882         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
16883         Size buffer based on real size of string.
16884         (_stat): Likewise.
16885         (attr): Likewise.
16886         (getCanonicalPath): Likewise.
16887         (performList): Likewise.
16888         (performMkdir): Likewise.
16889         (performSetReadOnly): Likewise.
16890         (unixroot): Removed.
16891         (performRenameTo): Likewise.
16892         (performSetLastModified): Likewise.
16893         (performCreate): Likewise.
16894         (performDelete): Likewise.
16895         (performListRoots): Always return new array.
16896
16897         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
16898         * win32.cc (win32_exception_handler): Now static.
16899         * include/win32.h (_Jv_platform_initialize): Declare.
16900         (win32_exception_handler): Don't declare.
16901         * java/lang/natSystem.cc (currentTimeMillis): Use
16902         _Jv_platform_gettimeofday.
16903         * posix.cc (_Jv_platform_gettimeofday): Renamed.
16904         (_Jv_select): Use new name.
16905         (_Jv_platform_initialize): New function.
16906         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
16907         _Jv_gettimeofday.
16908         (_Jv_platform_initialize): Declare.
16909
16910         * configure: Rebuilt.
16911         * configure.in: Removed unnecessary parens.
16912
16913 2002-02-06  Adam Megacz <adam@xwt.org>
16914
16915        * configure.in: Changed mingw) to *mingw*).
16916        * win32.cc: Created this file.
16917        * win32.h: Created this file.
16918        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
16919        win32_exception_handler from prims.cc to win32.cc, added
16920        header in win32.h.
16921        * prims.cc: removed some #ifdef-WIN32'd headers which are no
16922        longer needed now that we have platform.h
16923
16924 2002-02-06  Adam Megacz <adam@xwt.org>
16925
16926         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
16927         use uint<n>_t instead of LONG and BYTE
16928
16929 2002-02-06  Adam Megacz <adam@xwt.org>
16930
16931         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
16932
16933 2002-02-06  Anthony Green  <green@redhat.com>
16934
16935         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
16936         Implement missing method stubs.
16937         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
16938         targets.
16939         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
16940         concept of timezones.
16941         (init_properties): Don't refer to _Jv_Environment_Properties
16942         when this feature is not available.
16943         * include/config.h.in: Rebuilt.
16944         * acconfig.h: Add DISABLE_MAIN_ARGS.
16945         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
16946         * configure: Rebuilt.
16947         * configure.in: Add --disable-main-args option.  Test for
16948           opendir function.  Replace AC_CHECK_SIZEOF with
16949           AC_COMPILE_CHECK_SIZEOF.
16950         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
16951         * aclocal.m4: Rebuilt.
16952         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
16953
16954 2002-02-06  Tom Tromey  <tromey@redhat.com>
16955
16956         * verify.cc (require_array_type): If argument is a null array of
16957         references, return null as the element type.
16958
16959 2002-02-06  Mark Wielaard  <mark@klomp.org>
16960
16961         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
16962         duplicate of a wide type.
16963
16964 2002-02-06  Tom Tromey  <tromey@redhat.com>
16965
16966         * verify.cc (type::isnull): New method.
16967         (require_array_type): Handle case where array is null.
16968         (verify_instructions_0) [op_arraylength]: Likewise.
16969
16970 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
16971
16972         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
16973         Symlink PLATFORMH to platform.h.
16974         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
16975         PLATFORMOBJS.
16976         * java/lang/natSystem.cc: #include platform.h not posix.h.
16977         * Makefile.in: Rebuilt with libgcj automake.
16978         * configure: Rebuilt.
16979
16980 2002-02-05  Richard Henderson  <rth@redhat.com>
16981
16982         * Makefile.in: Undo munging last change.
16983
16984 2002-02-04  Adam Megacz <adam@xwt.org>
16985
16986         * win32.cc: Created it.
16987         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
16988         which is set to posix.cc or win32.cc.
16989         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
16990
16991 2002-02-04  Adam Megacz <adam@xwt.org>
16992
16993         * configure.in: Corrected mingw case branches; added * before
16994         and after.
16995
16996 2002-02-04  Adam Megacz <adam@xwt.org>
16997
16998         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
16999         if compiling for win32
17000
17001 2002-02-04  Adam Megacz <adam@xwt.org>
17002
17003         * win32-threads.cc: #undef STRICT after gc.h inclusion
17004
17005 2002-02-02  Tom Tromey  <tromey@redhat.com>
17006
17007         * Makefile.in: Rebuilt.
17008
17009 2002-02-02  Jason Merrill  <jason@redhat.com>
17010
17011         * Makefile.am (clean-nat): New target.
17012
17013 2002-02-02  Tom Tromey  <tromey@redhat.com>
17014
17015         * java/io/natFile.cc: Removed old "FIXME" comments.
17016
17017 2002-02-01  Tom Tromey  <tromey@redhat.com>
17018
17019         * java/lang/natPosixProcess.cc (myclose): New function.
17020         (fail): Use it.
17021         (startProcess): Likewise.
17022
17023 2002-02-01  Adam Megacz <adam@xwt.org>
17024
17025         * prims.cc: Added #undef STRICT after #include<windows.h>.
17026
17027 2002-02-01  Adam Megacz <adam@xwt.org>
17028
17029         * prims.cc
17030         (_Jv_CreateJavaVM): We now use WIN32 instead of
17031         USE_WIN32_SIGNALLING and USE_WINSOCK.
17032         (win32_exception_handler): Now throws an exception out of
17033         the signal handler; assumes SJLJ.
17034
17035 2002-02-01  Adam Megacz <adam@xwt.org>
17036
17037         * win32-threads.cc:
17038         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
17039         wait() algorithm to make it safe.
17040         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
17041         Added lazy creation of Win32 Events for better performance
17042         (really_start): This now uses GC_CreateThread so boehm-gc
17043         knows about new threads even when statically linked.
17044
17045 2002-02-01  Adam Megacz <adam@xwt.org>
17046
17047         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
17048         enable safer wait() algorithm.
17049         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
17050         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
17051         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
17052         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
17053         instead of mutex.
17054         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
17055
17056 2002-02-01  Adam Megacz <adam@xwt.org>
17057
17058         * configure.in: Added support for mingw.
17059         * java/lang/Win32Process.java: Created as empty file.
17060         * java/lang/natWin32Process.cc: Created as empty file.
17061
17062 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
17063
17064         PR java/4972
17065         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
17066         for libiconv in LIBICONV variable.
17067         * configure: Regenerated.
17068
17069 2002-01-31  Tom Tromey  <tromey@redhat.com>
17070
17071         * verify.cc (state::enter_subroutine): New method.
17072         (handle_jsr_insn): Use it.
17073         (state::merge): When processing a `ret', correctly use
17074         subroutine's state to determine which local variables have
17075         changed.
17076         (push_exception_jump): Don't let stack overflow.
17077
17078 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
17079
17080         * gnu/gcj/convert/Convert.java: Only include one copyright year in
17081         --version output.
17082
17083 2002-01-30  Tom Tromey  <tromey@redhat.com>
17084
17085         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
17086         parameter for `recv' return type.
17087
17088         * verify.cc (handle_ret_insn): Check for subroutine merge here...
17089         (state::merge): ... not here.
17090         (subr_entry_info): New structure.
17091         (entry_points): New field.
17092         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
17093         entry_points.
17094
17095 2002-01-29  Tom Tromey  <tromey@redhat.com>
17096
17097         * java/awt/List.java (addNotify): Correctly check to see if peer
17098         does not exist.
17099
17100         * java/awt/GridLayout.java (layoutContainer): Use number of rows
17101         to compute height of each cell, and number of columns to compute
17102         width of each cell.
17103         * java/awt/Window.java (getOwnedWindows): Don't return null.
17104         * java/awt/FlowLayout.java (layoutContainer): Set width and height
17105         of component.  Increment x using horizontal gap, not vertical
17106         gap.
17107
17108 2002-01-28  Tom Tromey  <tromey@redhat.com>
17109
17110         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
17111         `nargs' byte is number of words, not number of arguments.
17112
17113 2002-01-27  Tom Tromey  <tromey@redhat.com>
17114
17115         * java/awt/event/MouseEvent.java (modifiers): Removed field.
17116         (when): Likewise.
17117         * java/awt/event/InputEvent.java (modifiers, when): Now
17118         package-private.
17119
17120         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
17121         and to-do list.
17122         (state::merge): Use current class' class loader.
17123         (state::print): Print subroutine.
17124         (state::merge): Don't look at subroutine of unmerged `ret'.
17125
17126 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
17127
17128         * nogc.cc: Remove warnings.
17129         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
17130         New functions.
17131
17132 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
17133
17134         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
17135         int, int):  Remove empty "if" statement to work around compiler bug.
17136         (newPixels(int[], ColorModel, int, int): Likewise.
17137
17138 2002-01-25  Per Bothner  <per@bothner.com>
17139
17140         * verify.cc (verify_fail):  Change from being a top-level function
17141         to e method of _Jv_BytecodeVerifier.  Emit current method name.
17142         Pass the current verifier to type: and state: methods as needed,
17143         for better error messages, and for resolve.
17144         (resolve):  Pass current class's loader for Class.forName and
17145         _Jv_FindClassFromSignature, rather than using the default loader.
17146         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
17147         (get_type_val_for_signature):  Make non-static.
17148         (various methods):  Pass start_PC implicitly, not explicitly.
17149
17150 2002-01-25  Tom Tromey  <tromey@redhat.com>
17151
17152         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
17153         loop termination condition.
17154         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
17155         width.
17156
17157 2002-01-24  Tom Tromey  <tromey@redhat.com>
17158
17159         * java/awt/Shape.java: Merged with Classpath.
17160         * java/awt/Scrollbar.java: Merged with Classpath.
17161
17162         * java/awt/Container.java (addNotify): Unconditionally call
17163         addNotifyContainerChildren and superclass addNotify.
17164
17165         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
17166         getAlpha, not getBlue.
17167
17168 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
17169
17170         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
17171
17172         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
17173         (grabPixels(long)): Wait to be notified that the ImageProducer has
17174         completed.
17175
17176 2002-01-24  Per Bothner  <per@bothner.com>
17177
17178         * verify.cc (is_assignable_from_slow): If target is an interface,
17179         we must still check the source's superclass before giving up.
17180
17181 2002-01-24  Tom Tromey  <tromey@redhat.com>
17182
17183         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
17184
17185 2002-01-23  Tom Tromey  <tromey@redhat.com>
17186
17187         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
17188         `else'.
17189
17190         * Makefile.in: Rebuilt.
17191         * Makefile.am (awt_java_source_files): Added new files.
17192         * java/awt/Toolkit.java: Merged with Classpath.
17193         * java/awt/PrintGraphics.java: New file from Classpath.
17194         * java/awt/PrintJob.java: New file from Classpath.
17195         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
17196         * java/awt/datatransfer/ClipboardOwner.java: New file from
17197         Classpath.
17198         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
17199         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
17200         * java/awt/datatransfer/MimeTypeParseException.java: New file from
17201         Classpath.
17202         * java/awt/datatransfer/StringSelection.java: New file from
17203         Classpath.
17204         * java/awt/datatransfer/SystemFlavorMap.java: New file from
17205         Classpath.
17206         * java/awt/datatransfer/Transferable.java: New file from
17207         Classpath.
17208         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
17209         from Classpath.
17210
17211         * Makefile.in: Rebuilt.
17212         * Makefile.am (awt_java_source_files): Added new files.
17213         * java/awt/image/AreaAveragingScaleFilter.java: New file from
17214         Classpath.
17215         * java/awt/image/CropImageFilter.java: New file from Classpath.
17216         * java/awt/image/FilteredImageSource.java: New file from
17217         Classpath.
17218         * java/awt/image/ImageFilter.java: New file from Classpath.
17219         * java/awt/image/MemoryImageSource.java: New file from Classpath.
17220         * java/awt/image/PixelGrabber.java: New file from Classpath.
17221         * java/awt/image/RGBImageFilter.java: New file from Classpath.
17222         * java/awt/image/ReplicateScaleFilter.java: New file from
17223         Classpath.
17224         * java/awt/image/ImageProducer.java: Replaced with Classpath
17225         version.
17226         * java/awt/image/ImageObserver.java: Replaced with Classpath
17227         version.
17228         * java/awt/image/ImageConsumer.java: Replaced with Classpath
17229         version.
17230         * java/awt/GridBagConstraints.java (clone): Catch
17231         CloneNotSupportedException.
17232
17233 2002-01-23  Per Bothner  <per@bothner.com>
17234
17235         * java/lang/reflect/natField.cc (setAddr):  New function.
17236         Calls getAddr and then checks that the field isn't final.
17237         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
17238         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
17239         (set):  Call setAddr before check that new value has right type,
17240         to better match specified semantics.
17241
17242 2002-01-22  Tom Tromey  <tromey@redhat.com>
17243
17244         * java/awt/TextField.java: Replaced with Classpath version.
17245         * java/awt/TextArea.java: Replaced with Classpath version.
17246         * java/awt/TextComponent.java: Replaced with Classpath version.
17247
17248         * java/awt/GridBagConstraints.java: Updated copyright.
17249
17250 2002-01-22  Mark Wielaard <mark@klomp.org>
17251
17252         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
17253         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
17254         java/awt/Dialog.java java/awt/FileDialog.java
17255         java/awt/Font.java java/awt/FontMetrics.java
17256         java/awt/Image.java java/awt/ImageMediaEntry.java
17257         java/awt/Insets.java java/awt/List.java
17258         java/awt/MediaEntry.java java/awt/MediaTracker.java
17259         java/awt/Menu.java java/awt/MenuBar.java
17260         java/awt/MenuContainer.java java/awt/MenuShortcut.java
17261         java/awt/PaintContext.java java/awt/Panel.java
17262         java/awt/PopupMenu.java java/awt/SystemColor.java
17263         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
17264         java/awt/peer/CheckboxMenuItemPeer.java
17265         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
17266         java/awt/peer/ComponentPeer.java
17267         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
17268         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
17269         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
17270         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
17271         java/awt/peer/MenuBarPeer.java
17272         java/awt/peer/MenuComponentPeer.java
17273         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
17274         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
17275         java/awt/peer/ScrollPanePeer.java
17276         java/awt/peer/ScrollbarPeer.java
17277         java/awt/peer/TextAreaPeer.java
17278         java/awt/peer/TextComponentPeer.java
17279         java/awt/peer/TextFieldPeer.java
17280         java/awt/peer/WindowPeer.java: Add license clarification.
17281
17282 2002-01-22  Mark Wielaard <mark@klomp.org>
17283
17284         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
17285         gnu/gcj/runtime/StringBuffer.java
17286         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
17287         gnu/java/awt/ComponentDataBlitOp.java
17288         gnu/java/awt/GLightweightPeer.java
17289         gnu/java/beans/BeanInfoEmbryo.java
17290         gnu/java/beans/EmptyBeanInfo.java
17291         gnu/java/beans/ExplicitBeanInfo.java
17292         gnu/java/beans/IntrospectionIncubator.java
17293         gnu/java/beans/editors/ColorEditor.java
17294         gnu/java/beans/editors/FontEditor.java
17295         gnu/java/beans/editors/NativeBooleanEditor.java
17296         gnu/java/beans/editors/NativeByteEditor.java
17297         gnu/java/beans/editors/NativeDoubleEditor.java
17298         gnu/java/beans/editors/NativeFloatEditor.java
17299         gnu/java/beans/editors/NativeIntEditor.java
17300         gnu/java/beans/editors/NativeLongEditor.java
17301         gnu/java/beans/editors/NativeShortEditor.java
17302         gnu/java/beans/editors/StringEditor.java
17303         gnu/java/beans/info/ComponentBeanInfo.java
17304         gnu/java/io/ClassLoaderObjectInputStream.java
17305         gnu/java/io/NullOutputStream.java
17306         gnu/java/io/ObjectIdentityWrapper.java
17307         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
17308         gnu/java/lang/reflect/TypeSignature.java
17309         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
17310         gnu/java/locale/Calendar_en.java
17311         gnu/java/locale/Calendar_nl.java
17312         gnu/java/locale/LocaleInformation.java
17313         gnu/java/locale/LocaleInformation_de.java
17314         gnu/java/locale/LocaleInformation_en.java
17315         gnu/java/locale/LocaleInformation_nl.java
17316         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
17317         gnu/java/rmi/registry/RegistryImpl.java
17318         gnu/java/rmi/rmic/Compile_gcj.java
17319         gnu/java/rmi/rmic/Compiler.java
17320         gnu/java/rmi/rmic/CompilerProcess.java
17321         gnu/java/rmi/rmic/RMIC.java
17322         gnu/java/rmi/rmic/TabbedWriter.java
17323         gnu/java/rmi/server/ProtocolConstants.java
17324         gnu/java/rmi/server/RMIDefaultSocketFactory.java
17325         gnu/java/rmi/server/RMIHashes.java
17326         gnu/java/rmi/server/RMIObjectInputStream.java
17327         gnu/java/rmi/server/RMIObjectOutputStream.java
17328         gnu/java/rmi/server/UnicastConnection.java
17329         gnu/java/rmi/server/UnicastConnectionManager.java
17330         gnu/java/rmi/server/UnicastRef.java
17331         gnu/java/rmi/server/UnicastRemoteCall.java
17332         gnu/java/rmi/server/UnicastRemoteStub.java
17333         gnu/java/rmi/server/UnicastServer.java
17334         gnu/java/rmi/server/UnicastServerRef.java
17335         gnu/java/security/provider/DefaultPolicy.java
17336         gnu/java/security/provider/Gnu.java
17337         gnu/java/security/provider/SHA.java
17338         gnu/java/security/provider/SHA1PRNG.java
17339         gnu/java/text/BaseBreakIterator.java
17340         gnu/java/text/CharacterBreakIterator.java
17341         gnu/java/text/LineBreakIterator.java
17342         gnu/java/text/SentenceBreakIterator.java
17343         gnu/java/text/WordBreakIterator.java
17344         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
17345         java/applet/AppletContext.java java/applet/AppletStub.java
17346         java/applet/AudioClip.java java/awt/AWTError.java
17347         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
17348         java/awt/AWTException.java java/awt/AWTPermission.java
17349         java/awt/ActiveEvent.java java/awt/BorderLayout.java
17350         java/awt/Button.java java/awt/Canvas.java
17351         java/awt/CardLayout.java java/awt/Checkbox.java
17352         java/awt/CheckboxGroup.java java/awt/Component.java
17353         java/awt/ComponentOrientation.java java/awt/Container.java
17354         java/awt/Dimension.java java/awt/Event.java
17355         java/awt/EventDispatchThread.java java/awt/EventQueue.java
17356         java/awt/FlowLayout.java java/awt/Frame.java
17357         java/awt/Graphics.java java/awt/Graphics2D.java
17358         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
17359         java/awt/IllegalComponentStateException.java
17360         java/awt/ItemSelectable.java java/awt/Label.java
17361         java/awt/LayoutManager.java java/awt/LayoutManager2.java
17362         java/awt/MenuComponent.java java/awt/MenuItem.java
17363         java/awt/Paint.java java/awt/Point.java
17364         java/awt/Rectangle.java java/awt/RenderingHints.java
17365         java/awt/Transparency.java java/awt/Window.java
17366         java/awt/color/ColorSpace.java
17367         java/awt/color/ICC_ColorSpace.java
17368         java/awt/color/ICC_Profile.java
17369         java/awt/event/HierarchyBoundsAdapter.java
17370         java/awt/event/HierarchyBoundsListener.java
17371         java/awt/event/HierarchyEvent.java
17372         java/awt/event/HierarchyListener.java
17373         java/awt/geom/AffineTransform.java
17374         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
17375         java/awt/geom/IllegalPathStateException.java
17376         java/awt/geom/Line2D.java
17377         java/awt/geom/NoninvertibleTransformException.java
17378         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
17379         java/awt/geom/Rectangle2D.java
17380         java/awt/geom/RectangularShape.java
17381         java/awt/geom/RoundRectangle2D.java
17382         java/awt/image/BufferedImage.java
17383         java/awt/image/ColorModel.java
17384         java/awt/image/ComponentColorModel.java
17385         java/awt/image/ComponentSampleModel.java
17386         java/awt/image/DataBuffer.java
17387         java/awt/image/DataBufferByte.java
17388         java/awt/image/DataBufferInt.java
17389         java/awt/image/DataBufferUShort.java
17390         java/awt/image/DirectColorModel.java
17391         java/awt/image/PackedColorModel.java
17392         java/awt/image/Raster.java java/awt/image/RasterOp.java
17393         java/awt/image/SampleModel.java
17394         java/awt/image/SinglePixelPackedSampleModel.java
17395         java/awt/image/WritableRaster.java
17396         java/beans/AppletInitializer.java
17397         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
17398         java/beans/Beans.java java/beans/Customizer.java
17399         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
17400         java/beans/FeatureDescriptor.java
17401         java/beans/IndexedPropertyDescriptor.java
17402         java/beans/IntrospectionException.java
17403         java/beans/Introspector.java java/beans/MethodDescriptor.java
17404         java/beans/ParameterDescriptor.java
17405         java/beans/PropertyChangeEvent.java
17406         java/beans/PropertyChangeListener.java
17407         java/beans/PropertyChangeSupport.java
17408         java/beans/PropertyDescriptor.java
17409         java/beans/PropertyEditor.java
17410         java/beans/PropertyEditorManager.java
17411         java/beans/PropertyEditorSupport.java
17412         java/beans/PropertyVetoException.java
17413         java/beans/SimpleBeanInfo.java
17414         java/beans/VetoableChangeListener.java
17415         java/beans/VetoableChangeSupport.java
17416         java/beans/Visibility.java
17417         java/beans/beancontext/BeanContext.java
17418         java/beans/beancontext/BeanContextChild.java
17419         java/beans/beancontext/BeanContextChildComponentProxy.java
17420         java/beans/beancontext/BeanContextChildSupport.java
17421         java/beans/beancontext/BeanContextContainerProxy.java
17422         java/beans/beancontext/BeanContextEvent.java
17423         java/beans/beancontext/BeanContextMembershipEvent.java
17424         java/beans/beancontext/BeanContextMembershipListener.java
17425         java/beans/beancontext/BeanContextProxy.java
17426         java/beans/beancontext/BeanContextServiceAvailableEvent.java
17427         java/beans/beancontext/BeanContextServiceProvider.java
17428         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
17429         java/beans/beancontext/BeanContextServiceRevokedEvent.java
17430         java/beans/beancontext/BeanContextServiceRevokedListener.java
17431         java/beans/beancontext/BeanContextServices.java
17432         java/beans/beancontext/BeanContextServicesListener.java
17433         java/io/BufferedInputStream.java
17434         java/io/BufferedOutputStream.java java/io/BufferedReader.java
17435         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
17436         java/io/ByteArrayOutputStream.java
17437         java/io/CharArrayReader.java java/io/CharArrayWriter.java
17438         java/io/CharConversionException.java java/io/DataInput.java
17439         java/io/DataInputStream.java java/io/DataOutput.java
17440         java/io/EOFException.java java/io/Externalizable.java
17441         java/io/FileFilter.java java/io/FileNotFoundException.java
17442         java/io/FilePermission.java java/io/FileReader.java
17443         java/io/FileWriter.java java/io/FilenameFilter.java
17444         java/io/FilterInputStream.java java/io/FilterOutputStream.java
17445         java/io/FilterReader.java java/io/FilterWriter.java
17446         java/io/IOException.java java/io/InputStream.java
17447         java/io/InterruptedIOException.java
17448         java/io/InvalidClassException.java
17449         java/io/InvalidObjectException.java
17450         java/io/NotActiveException.java
17451         java/io/NotSerializableException.java java/io/ObjectInput.java
17452         java/io/ObjectInputStream.java
17453         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
17454         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
17455         java/io/ObjectStreamConstants.java
17456         java/io/ObjectStreamException.java
17457         java/io/ObjectStreamField.java
17458         java/io/OptionalDataException.java java/io/OutputStream.java
17459         java/io/PipedInputStream.java java/io/PipedOutputStream.java
17460         java/io/PipedReader.java java/io/PipedWriter.java
17461         java/io/PrintWriter.java java/io/PushbackInputStream.java
17462         java/io/PushbackReader.java java/io/Reader.java
17463         java/io/SequenceInputStream.java java/io/Serializable.java
17464         java/io/SerializablePermission.java
17465         java/io/StreamCorruptedException.java
17466         java/io/StreamTokenizer.java
17467         java/io/StringBufferInputStream.java java/io/StringReader.java
17468         java/io/StringWriter.java java/io/SyncFailedException.java
17469         java/io/UTFDataFormatException.java
17470         java/io/UnsupportedEncodingException.java
17471         java/io/WriteAbortedException.java java/io/Writer.java
17472         java/lang/AbstractMethodError.java
17473         java/lang/ArithmeticException.java
17474         java/lang/ArrayIndexOutOfBoundsException.java
17475         java/lang/ArrayStoreException.java java/lang/Boolean.java
17476         java/lang/Byte.java java/lang/CharSequence.java
17477         java/lang/ClassCastException.java
17478         java/lang/ClassCircularityError.java
17479         java/lang/ClassFormatError.java
17480         java/lang/ClassNotFoundException.java
17481         java/lang/CloneNotSupportedException.java
17482         java/lang/Cloneable.java java/lang/Comparable.java
17483         java/lang/Compiler.java java/lang/Double.java
17484         java/lang/Error.java java/lang/Exception.java
17485         java/lang/ExceptionInInitializerError.java
17486         java/lang/Float.java java/lang/IllegalAccessError.java
17487         java/lang/IllegalAccessException.java
17488         java/lang/IllegalArgumentException.java
17489         java/lang/IllegalMonitorStateException.java
17490         java/lang/IllegalStateException.java
17491         java/lang/IllegalThreadStateException.java
17492         java/lang/IncompatibleClassChangeError.java
17493         java/lang/IndexOutOfBoundsException.java
17494         java/lang/InheritableThreadLocal.java
17495         java/lang/InstantiationError.java
17496         java/lang/InstantiationException.java java/lang/Integer.java
17497         java/lang/InternalError.java
17498         java/lang/InterruptedException.java
17499         java/lang/LinkageError.java java/lang/Long.java
17500         java/lang/NegativeArraySizeException.java
17501         java/lang/NoClassDefFoundError.java
17502         java/lang/NoSuchFieldError.java
17503         java/lang/NoSuchFieldException.java
17504         java/lang/NoSuchMethodError.java
17505         java/lang/NoSuchMethodException.java
17506         java/lang/NullPointerException.java java/lang/Number.java
17507         java/lang/NumberFormatException.java
17508         java/lang/OutOfMemoryError.java java/lang/Package.java
17509         java/lang/Process.java java/lang/Runnable.java
17510         java/lang/RuntimeException.java
17511         java/lang/RuntimePermission.java
17512         java/lang/SecurityException.java
17513         java/lang/SecurityManager.java java/lang/Short.java
17514         java/lang/StackOverflowError.java java/lang/StringBuffer.java
17515         java/lang/StringIndexOutOfBoundsException.java
17516         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
17517         java/lang/ThreadLocal.java java/lang/UnknownError.java
17518         java/lang/UnsatisfiedLinkError.java
17519         java/lang/UnsupportedClassVersionError.java
17520         java/lang/UnsupportedOperationException.java
17521         java/lang/VerifyError.java java/lang/VirtualMachineError.java
17522         java/lang/Void.java java/lang/ref/PhantomReference.java
17523         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
17524         java/lang/ref/SoftReference.java
17525         java/lang/ref/WeakReference.java
17526         java/lang/reflect/AccessibleObject.java
17527         java/lang/reflect/InvocationTargetException.java
17528         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
17529         java/lang/reflect/ReflectPermission.java
17530         java/math/BigDecimal.java java/math/BigInteger.java
17531         java/net/Authenticator.java java/net/BindException.java
17532         java/net/ConnectException.java java/net/ContentHandler.java
17533         java/net/ContentHandlerFactory.java
17534         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
17535         java/net/FileNameMap.java java/net/MalformedURLException.java
17536         java/net/MulticastSocket.java java/net/NetPermission.java
17537         java/net/NoRouteToHostException.java
17538         java/net/PasswordAuthentication.java
17539         java/net/ProtocolException.java java/net/ServerSocket.java
17540         java/net/Socket.java java/net/SocketException.java
17541         java/net/SocketImpl.java java/net/SocketImplFactory.java
17542         java/net/SocketOptions.java java/net/SocketPermission.java
17543         java/net/URLDecoder.java java/net/URLEncoder.java
17544         java/net/URLStreamHandlerFactory.java
17545         java/net/UnknownHostException.java
17546         java/net/UnknownServiceException.java
17547         java/rmi/AccessException.java
17548         java/rmi/AlreadyBoundException.java
17549         java/rmi/ConnectException.java
17550         java/rmi/ConnectIOException.java
17551         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
17552         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
17553         java/rmi/NotBoundException.java
17554         java/rmi/RMISecurityException.java
17555         java/rmi/RMISecurityManager.java java/rmi/Remote.java
17556         java/rmi/RemoteException.java java/rmi/ServerError.java
17557         java/rmi/ServerException.java
17558         java/rmi/ServerRuntimeException.java
17559         java/rmi/StubNotFoundException.java
17560         java/rmi/UnexpectedException.java
17561         java/rmi/UnknownHostException.java
17562         java/rmi/UnmarshalException.java
17563         java/rmi/activation/Activatable.java
17564         java/rmi/activation/ActivateFailedException.java
17565         java/rmi/activation/ActivationDesc.java
17566         java/rmi/activation/ActivationException.java
17567         java/rmi/activation/ActivationGroup.java
17568         java/rmi/activation/ActivationGroupDesc.java
17569         java/rmi/activation/ActivationGroupID.java
17570         java/rmi/activation/ActivationID.java
17571         java/rmi/activation/ActivationInstantiator.java
17572         java/rmi/activation/ActivationMonitor.java
17573         java/rmi/activation/ActivationSystem.java
17574         java/rmi/activation/Activator.java
17575         java/rmi/activation/UnknownGroupException.java
17576         java/rmi/activation/UnknownObjectException.java
17577         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
17578         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
17579         java/rmi/registry/Registry.java
17580         java/rmi/registry/RegistryHandler.java
17581         java/rmi/server/ExportException.java
17582         java/rmi/server/LoaderHandler.java
17583         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
17584         java/rmi/server/Operation.java
17585         java/rmi/server/RMIClassLoader.java
17586         java/rmi/server/RMIClientSocketFactory.java
17587         java/rmi/server/RMIFailureHandler.java
17588         java/rmi/server/RMIServerSocketFactory.java
17589         java/rmi/server/RMISocketFactory.java
17590         java/rmi/server/RemoteCall.java
17591         java/rmi/server/RemoteObject.java
17592         java/rmi/server/RemoteRef.java
17593         java/rmi/server/RemoteServer.java
17594         java/rmi/server/RemoteStub.java
17595         java/rmi/server/ServerCloneException.java
17596         java/rmi/server/ServerNotActiveException.java
17597         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
17598         java/rmi/server/SkeletonMismatchException.java
17599         java/rmi/server/SkeletonNotFoundException.java
17600         java/rmi/server/SocketSecurityException.java
17601         java/rmi/server/UID.java
17602         java/rmi/server/UnicastRemoteObject.java
17603         java/rmi/server/Unreferenced.java
17604         java/security/AccessControlContext.java
17605         java/security/AccessControlException.java
17606         java/security/AccessController.java
17607         java/security/AlgorithmParameterGenerator.java
17608         java/security/AlgorithmParameterGeneratorSpi.java
17609         java/security/AlgorithmParameters.java
17610         java/security/AlgorithmParametersSpi.java
17611         java/security/AllPermission.java
17612         java/security/BasicPermission.java
17613         java/security/Certificate.java java/security/CodeSource.java
17614         java/security/DigestException.java
17615         java/security/DigestInputStream.java
17616         java/security/DigestOutputStream.java
17617         java/security/DomainCombiner.java
17618         java/security/DummyKeyPairGenerator.java
17619         java/security/DummyMessageDigest.java
17620         java/security/DummySignature.java
17621         java/security/GeneralSecurityException.java
17622         java/security/Guard.java java/security/GuardedObject.java
17623         java/security/Identity.java java/security/IdentityScope.java
17624         java/security/InvalidAlgorithmParameterException.java
17625         java/security/InvalidKeyException.java
17626         java/security/InvalidParameterException.java
17627         java/security/Key.java java/security/KeyException.java
17628         java/security/KeyFactory.java java/security/KeyFactorySpi.java
17629         java/security/KeyManagementException.java
17630         java/security/KeyPair.java java/security/KeyPairGenerator.java
17631         java/security/KeyPairGeneratorSpi.java
17632         java/security/KeyStore.java
17633         java/security/KeyStoreException.java
17634         java/security/KeyStoreSpi.java
17635         java/security/MessageDigest.java
17636         java/security/MessageDigestSpi.java
17637         java/security/NoSuchAlgorithmException.java
17638         java/security/NoSuchProviderException.java
17639         java/security/Permission.java
17640         java/security/PermissionCollection.java
17641         java/security/Permissions.java java/security/Policy.java
17642         java/security/Principal.java java/security/PrivateKey.java
17643         java/security/PrivilegedAction.java
17644         java/security/PrivilegedActionException.java
17645         java/security/PrivilegedExceptionAction.java
17646         java/security/ProtectionDomain.java
17647         java/security/Provider.java
17648         java/security/ProviderException.java
17649         java/security/PublicKey.java
17650         java/security/SecureClassLoader.java
17651         java/security/SecureRandom.java
17652         java/security/SecureRandomSpi.java java/security/Security.java
17653         java/security/SecurityPermission.java
17654         java/security/Signature.java
17655         java/security/SignatureException.java
17656         java/security/SignatureSpi.java
17657         java/security/SignedObject.java java/security/Signer.java
17658         java/security/UnrecoverableKeyException.java
17659         java/security/UnresolvedPermission.java
17660         java/security/acl/Acl.java java/security/acl/AclEntry.java
17661         java/security/acl/AclNotFoundException.java
17662         java/security/acl/Group.java
17663         java/security/acl/LastOwnerException.java
17664         java/security/acl/NotOwnerException.java
17665         java/security/acl/Owner.java java/security/acl/Permission.java
17666         java/security/cert/CRL.java
17667         java/security/cert/CRLException.java
17668         java/security/cert/Certificate.java
17669         java/security/cert/CertificateEncodingException.java
17670         java/security/cert/CertificateException.java
17671         java/security/cert/CertificateExpiredException.java
17672         java/security/cert/CertificateFactory.java
17673         java/security/cert/CertificateFactorySpi.java
17674         java/security/cert/CertificateNotYetValidException.java
17675         java/security/cert/CertificateParsingException.java
17676         java/security/cert/X509CRL.java
17677         java/security/cert/X509CRLEntry.java
17678         java/security/cert/X509Certificate.java
17679         java/security/cert/X509Extension.java
17680         java/security/interfaces/DSAKey.java
17681         java/security/interfaces/DSAKeyPairGenerator.java
17682         java/security/interfaces/DSAParams.java
17683         java/security/interfaces/DSAPrivateKey.java
17684         java/security/interfaces/DSAPublicKey.java
17685         java/security/interfaces/RSAKey.java
17686         java/security/interfaces/RSAPrivateCrtKey.java
17687         java/security/interfaces/RSAPrivateKey.java
17688         java/security/interfaces/RSAPublicKey.java
17689         java/security/spec/AlgorithmParameterSpec.java
17690         java/security/spec/DSAParameterSpec.java
17691         java/security/spec/DSAPrivateKeySpec.java
17692         java/security/spec/DSAPublicKeySpec.java
17693         java/security/spec/EncodedKeySpec.java
17694         java/security/spec/InvalidKeySpecException.java
17695         java/security/spec/InvalidParameterSpecException.java
17696         java/security/spec/KeySpec.java
17697         java/security/spec/PKCS8EncodedKeySpec.java
17698         java/security/spec/RSAKeyGenParameterSpec.java
17699         java/security/spec/RSAPrivateCrtKeySpec.java
17700         java/security/spec/RSAPrivateKeySpec.java
17701         java/security/spec/RSAPublicKeySpec.java
17702         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
17703         java/sql/BatchUpdateException.java java/sql/Blob.java
17704         java/sql/CallableStatement.java java/sql/Clob.java
17705         java/sql/Connection.java java/sql/DataTruncation.java
17706         java/sql/DatabaseMetaData.java java/sql/Date.java
17707         java/sql/Driver.java java/sql/DriverManager.java
17708         java/sql/DriverPropertyInfo.java
17709         java/sql/PreparedStatement.java java/sql/Ref.java
17710         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
17711         java/sql/SQLData.java java/sql/SQLException.java
17712         java/sql/SQLInput.java java/sql/SQLOutput.java
17713         java/sql/SQLWarning.java java/sql/Statement.java
17714         java/sql/Struct.java java/sql/Time.java
17715         java/sql/Timestamp.java java/sql/Types.java
17716         java/text/Annotation.java
17717         java/text/AttributedCharacterIterator.java
17718         java/text/AttributedString.java
17719         java/text/AttributedStringIterator.java
17720         java/text/BreakIterator.java java/text/CharacterIterator.java
17721         java/text/ChoiceFormat.java java/text/Collator.java
17722         java/text/DateFormat.java java/text/DateFormatSymbols.java
17723         java/text/DecimalFormat.java
17724         java/text/DecimalFormatSymbols.java
17725         java/text/FieldPosition.java java/text/Format.java
17726         java/text/MessageFormat.java java/text/NumberFormat.java
17727         java/text/ParseException.java java/text/ParsePosition.java
17728         java/text/SimpleDateFormat.java
17729         java/text/StringCharacterIterator.java
17730         java/util/AbstractCollection.java java/util/AbstractList.java
17731         java/util/AbstractMap.java
17732         java/util/AbstractSequentialList.java
17733         java/util/AbstractSet.java java/util/ArrayList.java
17734         java/util/Arrays.java java/util/BasicMapEntry.java
17735         java/util/BitSet.java java/util/Calendar.java
17736         java/util/Collection.java java/util/Collections.java
17737         java/util/Comparator.java
17738         java/util/ConcurrentModificationException.java
17739         java/util/Date.java java/util/Dictionary.java
17740         java/util/EmptyStackException.java java/util/Enumeration.java
17741         java/util/EventListener.java java/util/EventObject.java
17742         java/util/GregorianCalendar.java java/util/HashMap.java
17743         java/util/HashSet.java java/util/Hashtable.java
17744         java/util/IdentityHashMap.java java/util/Iterator.java
17745         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
17746         java/util/LinkedList.java java/util/List.java
17747         java/util/ListIterator.java java/util/ListResourceBundle.java
17748         java/util/Locale.java java/util/Map.java
17749         java/util/MissingResourceException.java
17750         java/util/NoSuchElementException.java
17751         java/util/Observable.java java/util/Observer.java
17752         java/util/Properties.java java/util/PropertyPermission.java
17753         java/util/PropertyResourceBundle.java java/util/Random.java
17754         java/util/RandomAccess.java java/util/ResourceBundle.java
17755         java/util/Set.java java/util/SimpleTimeZone.java
17756         java/util/SortedMap.java java/util/SortedSet.java
17757         java/util/Stack.java java/util/StringTokenizer.java
17758         java/util/TimeZone.java java/util/Timer.java
17759         java/util/TimerTask.java
17760         java/util/TooManyListenersException.java
17761         java/util/TreeMap.java java/util/TreeSet.java
17762         java/util/Vector.java java/util/WeakHashMap.java
17763         java/util/jar/Attributes.java java/util/jar/JarEntry.java
17764         java/util/jar/JarException.java java/util/jar/JarFile.java
17765         java/util/jar/JarInputStream.java
17766         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
17767         java/util/zip/Adler32.java java/util/zip/CRC32.java
17768         java/util/zip/CheckedInputStream.java
17769         java/util/zip/CheckedOutputStream.java
17770         java/util/zip/Checksum.java
17771         java/util/zip/DataFormatException.java
17772         java/util/zip/Deflater.java
17773         java/util/zip/DeflaterOutputStream.java
17774         java/util/zip/GZIPInputStream.java
17775         java/util/zip/GZIPOutputStream.java
17776         java/util/zip/Inflater.java
17777         java/util/zip/InflaterInputStream.java
17778         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
17779         java/util/zip/ZipException.java java/util/zip/ZipFile.java
17780         java/util/zip/ZipInputStream.java
17781         java/util/zip/ZipOutputStream.java
17782         javax/naming/BinaryRefAddr.java
17783         javax/naming/InvalidNameException.java javax/naming/Name.java
17784         javax/naming/NamingException.java javax/naming/RefAddr.java
17785         javax/naming/StringRefAddr.java: Add license clarification.
17786
17787 2002-01-22  Tom Tromey  <tromey@redhat.com>
17788
17789         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
17790         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
17791         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
17792         version.
17793         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
17794         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
17795         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
17796         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
17797         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
17798         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
17799         * java/awt/peer/FontPeer.java: Replace with Classpath version.
17800         * java/awt/peer/FramePeer.java: Replace with Classpath version.
17801         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
17802         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
17803         * java/awt/peer/ListPeer.java: Replace with Classpath version.
17804         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
17805         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
17806         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
17807         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
17808         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
17809         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
17810         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
17811         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
17812         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
17813         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
17814         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
17815         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
17816         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
17817         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
17818         (minimumSize, preferredSize, reshape): Likewise.
17819         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
17820         getColorModel): New methods.
17821         * java/awt/PopupMenu.java: Merged with Classpath.
17822         * java/awt/MenuBar.java: Merged with Classpath.
17823         * java/awt/SystemColor.java: Replace with Classpath version.
17824         * java/awt/Panel.java: Merged with Classpath.
17825         * java/awt/PaintContext.java: Updated copyright.
17826         * java/awt/MenuShortcut.java: Merged with Classpath.
17827         * java/awt/MenuContainer.java: Merged with Classpath.
17828         * java/awt/Menu.java: Merged with Classpath.
17829         * java/awt/MediaEntry.java: New file from Classpath.
17830         * java/awt/MediaTracker.java: New file from Classpath.
17831         * java/awt/List.java: Merged with Classpath version.
17832         * java/awt/Insets.java: Merged with Classpath version.
17833         * java/awt/ImageMediaEntry.java: New file from Classpath.
17834         * java/awt/Image.java: Replaced with Classpath version.
17835         * java/awt/FontMetrics.java: Merged with Classpath version.
17836         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
17837         constant.
17838         * java/awt/Font.java: Merged with Classpath version.
17839         * java/awt/Dialog.java: Merged with Classpath version.
17840         * java/awt/Color.java: Merged with Classpath version.
17841         * java/awt/Choice.java: Merged with Classpath version.
17842         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
17843         * java/awt/Adjustable.java: Replace with Classpath version.
17844         * java/awt/MenuItem.java (paramString): Don't include class name
17845         or brackets.  Call superclass paramString.
17846         * java/awt/MenuComponent.java (toString): Call paramString.
17847         (paramString): Compute string; don't call toString.
17848         * java/awt/Label.java (paramString): Don't include class name
17849         or brackets.  Call superclass paramString.
17850         * java/awt/Checkbox.java (paramString): Don't include class name
17851         or brackets.  Call superclass paramString.
17852         * java/awt/Button.java (paramString): Don't include class name or
17853         brackets.  Call superclass paramString.
17854         * java/awt/MenuComponent.java (getTreeLock): Now protected.
17855
17856 2002-01-20  Andreas Schwab  <schwab@suse.de>
17857
17858         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
17859         function and of parameter recv_func to ssize_t, as specified by
17860         POSIX.
17861
17862 2002-01-19  Per Bothner  <per@bothner.com>
17863
17864         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
17865         uncompressed_size in readiness for next entry.
17866
17867 2002-01-18  Tom Tromey  <tromey@redhat.com>
17868
17869         * java/net/natPlainSocketImpl.cc: Include
17870         IllegalArgumentException.h.
17871         (_Jv_recv): New template function.
17872         (BooleanClass): Removed.
17873         (read): Use _Jv_recv.
17874         (setOption): Use Boolean::class$.  Throw exception if object is
17875         not Boolean or Integer.
17876
17877 2002-01-17  Tom Tromey  <tromey@redhat.com>
17878
17879         * java/awt/MenuComponent.java: Merged with Classpath.
17880         * java/awt/MenuItem.java: Merged with Classpath.
17881         * java/awt/Button.java: Merged with Classpath.
17882
17883         * java/awt/ActiveEvent.java: Updated copyright.
17884
17885         * java/awt/AWTError.java: Replaced with Classpath version.
17886         * java/awt/AWTException.java: Replaced with Classpath version.
17887         * java/awt/IllegalComponentStateException.java: Replaced with
17888         Classpath version.
17889
17890 2002-01-16  Tom Tromey  <tromey@redhat.com>
17891
17892         * java/awt/Canvas.java (serialVersionUID): New constant.
17893         Updated copyright.  Added javadoc from Classpath.
17894         * java/awt/ItemSelectable.java: Replaced with Classpath version.
17895
17896         * java/awt/CheckboxGroup.java: Merged with Classpath.
17897         * java/awt/Checkbox.java: Merged with Classpath.
17898
17899         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
17900         Classpath.
17901         * java/awt/Point.java: Updated copyright.
17902
17903         * java/awt/Point.java (toString): Use getClass().getName().
17904         Added javadoc.
17905
17906         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
17907         commented code.
17908         (hash): Correctly compute initial value for `h'.
17909
17910         * java/awt/Label.java: Merged with Classpath.
17911
17912 2002-01-15  Tom Tromey  <tromey@redhat.com>
17913
17914         * java/awt/AWTPermission.java: Updated copyright.
17915
17916         * java/awt/LayoutManager2.java: Merged with Classpath.
17917         * java/awt/LayoutManager.java: Merged with Classpath.
17918         * java/awt/GridLayout.java: Updated copyright and javadoc.
17919         (getSize): Use `parent.ncomponents'.  Handle insets.
17920         (layoutContainer): Use `parent.ncomponents'.  Handle case where
17921         there are fewer children than columns.  Correctly compute size of
17922         each cell in the grid.  Handle case where there isn't enough
17923         space.
17924         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
17925         all users.
17926         (gotoComponent): Use parent.ncomponents.  Ensure child exists
17927         before calling setVisible() on it.  Last item is `num - 1', not
17928         `num'.
17929         (layoutContainer): Hoist invariants out of loop.
17930
17931         Start of AWT merge with Classpath:
17932         * Makefile.in: Rebuilt.
17933         * Makefile.am (awt_java_source_files): Reference files in
17934         gnu/java/awt, not gnu/gcj/awt.
17935         * java/awt/image/BufferedImage.java: Updated copyright.
17936         * java/awt/image/ComponentColorModel.java: Updated copyright.
17937         * java/awt/image/ComponentSampleModel.java: Updated copyright.
17938         * java/awt/image/DataBuffer.java: Updated copyright.
17939         * java/awt/image/DataBufferByte.java: Updated copyright.
17940         * java/awt/image/DataBufferInt.java: Updated copyright.
17941         * java/awt/image/DataBufferUShort.java: Updated copyright.
17942         * java/awt/image/IndexColorModel.java: Updated copyright.
17943         * java/awt/image/PackedColorModel.java: Updated copyright.
17944         * java/awt/image/Raster.java: Updated copyright.
17945         * java/awt/image/RasterOp.java: Updated copyright.
17946         * java/awt/image/SampleModel.java: Updated copyright.
17947         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
17948         * java/awt/image/WritableRaster.java: Updated copyright.
17949         * java/awt/color/ColorSpace.java: Updated copyright.
17950         * java/awt/color/ICC_ColorSpace.java: Updated copyright
17951         * java/awt/color/ICC_Profile.java: Updated copyright.
17952         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
17953         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
17954         * java/awt/event/HierarchyEvent.java: Updated copyright.
17955         * java/awt/event/HierarchyListener.java: Updated copyright.
17956         * java/awt/geom/AffineTransform.java: Updated copyright.
17957         * java/awt/geom/Dimension2D.java: Updated copyright.
17958         * java/awt/geom/Ellipse2D.java: Updated copyright.
17959         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
17960         * java/awt/geom/Line2D.java: Updated copyright.
17961         * java/awt/geom/NoninvertibleTransformException.java: Updated
17962         copyright.
17963         * java/awt/geom/PathIterator.java: Updated copyright.
17964         * java/awt/geom/Point2D.java: Updated copyright.
17965         * java/awt/geom/Rectangle2D.java: Updated copyright.
17966         * java/awt/geom/RectangularShape.java: Updated copyright.
17967         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
17968         * java/awt/Toolkit.java: Updated import for file moves.
17969         * java/awt/Rectangle.java: Updated copyright; added javadoc from
17970         Classpath.
17971         (hashCode): New method from Classpath.
17972         * java/awt/Graphics2D.java: Updated copyright.
17973         * java/awt/Transparency.java: Updated copyright.
17974         * java/awt/Paint.java: Updated copyright.
17975         * java/awt/Graphics.java: New version from Classpath.
17976         * java/awt/EventDispatchThread.java: Updated copyright.
17977         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
17978         children.
17979         (gotoComponent): Wrap around on next/previous.
17980         * gnu/gcj/awt/BitMaskExtent.java: Removed.
17981         * gnu/gcj/awt/Buffers.java: Removed.
17982         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
17983         * gnu/gcj/awt/GLightweightPeer.java: Removed.
17984         * gnu/java/awt/BitMaskExtent.java: Added.
17985         * gnu/java/awt/Buffers.java: Added.
17986         * gnu/java/awt/ComponentDataBlitOp.java: Added.
17987         * gnu/java/awt/GLightweightPeer.java: Added.
17988         * java/awt/geom/Line2D.java (clone): Ignore
17989         CloneNotSupportedException.
17990         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
17991         * java/awt/Frame.java: Merged with Classpath.
17992         * java/awt/RenderingHints.java: Copyright update.
17993         * java/awt/Paint.java: Copyright update.
17994         * java/awt/image/DirectColorModel.java: Merged with Classpath.
17995         * java/awt/image/ColorModel.java: Merged with Classpath.
17996         * java/awt/Window.java (show): New Implementation from Classpath.
17997         (isShowing): Use super.isShowing().
17998         * java/awt/EventQueue.java: Merged with Classpath.
17999         * java/awt/AWTEventMulticaster.java (save): Throw
18000         RuntimeException.
18001         (saveInternal): Likewise.
18002         * java/awt/AWTEvent.java: Now implements Serializable.
18003         * java/awt/Event.java: Copyright update.
18004         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
18005         * java/awt/image/BufferedImage.java: Copyright update.
18006         * java/awt/GraphicsConfiguration.java: Copyright update.
18007         * java/awt/Component.java: (addNotify): Don't call
18008         addNotifyContainerChildren().
18009         (addNotifyContainerChildren): Removed.
18010         (setPeer): New method from Classpath.
18011         (setTreeLock): Likewise.
18012         (setVisible): Rewrote.
18013         (show): Use it.
18014         (hide): Likewise.
18015         (validate): Set `valid'.
18016         (checkImage(Image,ImageObserver)): Implementation from Classpath.
18017         (createImage(ImageProducer)): Likewise.
18018         (prepareImage): Likewise.
18019         * java/awt/Container.java (addImpl): Handle case where constraint
18020         is not a String.  Post event via system event queue.
18021         (remove): Post event via system event queue.
18022         (validateTree): Only validate child if it is invalid.
18023         (getAlignmentX): Call super method as default.
18024         (getAlignmentY): Likewise.
18025         (addContainerListener): Now synchronized.
18026         (removeContainerListener): Likewise.
18027         (addNotifyContainerChildren): Now private.
18028         * java/awt/ComponentOrientation.java: Updated copyright.  Added
18029         @author.
18030         * java/awt/FlowLayout.java (serialVersionUID): New field.
18031         (setAlignment): Better exception message.
18032         (layoutContainer): Don't compute component's preferred size unless
18033         we're going to use it.
18034         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
18035         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
18036         (firstLine, lastLine, firstItem, lastItem): New fields.
18037         (addLayoutComponent): Handle case where constraints is null.
18038         Also, handle relative locations.
18039         (removeLayoutComponent): Handle relative locations.
18040         (MIN, MAX, PREF): New constants.
18041         (calcCompSize): New method.
18042         (calcSize): New method.
18043         (minimumLayoutSize): Use it.
18044         (preferredLayoutSize): Likewise.
18045         (maximumLayoutSize): Likewise.
18046         (toString): Include more information.
18047         (setBounds): New method.
18048         (layoutContainer): Use libgcj implementation; extended to handle
18049         relative locations.
18050
18051 2002-01-15  Tom Tromey  <tromey@redhat.com>
18052
18053         * java/lang/Float.java (equals): Preserve old code.
18054         * java/lang/Double.java (equals): Preserve old code.
18055
18056 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
18057
18058         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
18059         * java/lang/Float.java (equals, compare): Ditto.
18060
18061 2002-01-13  Mark Wielaard  <mark@klomp.org>
18062
18063         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
18064         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
18065         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
18066         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
18067
18068 2002-01-11  Mark Wielaard  <mark@klomp.org>
18069
18070         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
18071         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
18072         InetAddress.
18073         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
18074         * java/net/Socket.java: Merge with Classpath.
18075         * java/net/ServerSocket.java: Likewise.
18076
18077 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
18078
18079         * interpret.cc (NULLARRAYCHECK): New macro.
18080         (SAVE_PC): Just store `pc'.
18081         (find_exception): Subtract one from `pc' here.
18082         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
18083         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
18084         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
18085         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
18086         don't call SAVE_PC.
18087         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
18088         call SAVE_PC.
18089
18090 2002-01-11  Tom Tromey  <tromey@redhat.com>
18091
18092         * java/lang/natSystem.cc (init_properties): Only look for default
18093         locale if LC_MESSAGES is defined.
18094         * aclocal.m4, configure, include/config.h.in: Rebuilt.
18095         * configure.in: Call AM_LC_MESSAGES.
18096         * acinclude.m4 (AM_LC_MESSAGES): New macro.
18097
18098 2002-01-10  Tom Tromey  <tromey@redhat.com>
18099
18100         For PR libgcj/5303:
18101         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
18102         --version.  Recognize GNU-style long options.  Print GNU-style
18103         error messages.
18104         (usage): Print GNU-style help.  Exit with status 0.
18105         (error): New method.
18106         (run): Print error message if no class names found.
18107         (main): Don't print usage on error.
18108
18109 2002-01-09  Tom Tromey  <tromey@redhat.com>
18110
18111         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
18112         property.
18113         (help, version): Use println(), not println("").
18114
18115         For PR libgcj/5303:
18116         * gnu/gcj/convert/Convert.java (error): Program is called
18117         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
18118         -1.
18119         (main): Handle --help and --version.
18120         (help): New method.
18121         (version): Likewise.
18122
18123 2002-01-08  Tom Tromey  <tromey@redhat.com>
18124
18125         * Makefile.in: Rebuilt.
18126         * Makefile.am (ordinary_java_source_files): Added new files.
18127         * gnu/java/locale/LocaleInformation.java: Extend
18128         LocaleInformation_en.
18129         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
18130         and time/date formats.
18131         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
18132         generated.
18133         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
18134         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
18135         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
18136         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
18137         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
18138         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
18139         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
18140         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
18141         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
18142         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
18143         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
18144         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
18145         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
18146         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
18147         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
18148         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
18149         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
18150         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
18151         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
18152         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
18153         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
18154         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
18155         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
18156         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
18157         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
18158         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
18159         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
18160         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
18161         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
18162         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
18163         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
18164         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
18165         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
18166         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
18167         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
18168         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
18169         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
18170         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
18171         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
18172         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
18173         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
18174         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
18175         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
18176         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
18177         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
18178         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
18179         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
18180         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
18181         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
18182         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
18183         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
18184         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
18185         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
18186         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
18187         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
18188         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
18189         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
18190         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
18191         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
18192         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
18193         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
18194         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
18195         * gnu/java/locale/LocaleInformation_es_US.java: New file.
18196         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
18197         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
18198         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
18199         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
18200         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
18201         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
18202         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
18203         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
18204         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
18205         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
18206         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
18207         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
18208         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
18209         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
18210         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
18211         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
18212         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
18213         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
18214         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
18215         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
18216         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
18217         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
18218         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
18219         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
18220         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
18221         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
18222         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
18223         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
18224         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
18225         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
18226         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
18227         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
18228         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
18229         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
18230         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
18231         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
18232         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
18233         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
18234         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
18235         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
18236         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
18237         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
18238         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
18239         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
18240         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
18241         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
18242         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
18243         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
18244         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
18245         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
18246         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
18247         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
18248         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
18249         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
18250         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
18251         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
18252         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
18253         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
18254         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
18255         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
18256         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
18257         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
18258         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
18259         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
18260         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
18261         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
18262         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
18263
18264         For PR libgcj/5031:
18265         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
18266         choose default locale.
18267
18268         * Makefile.in: Rebuilt.
18269         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
18270
18271 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
18272
18273         * java/net/natPlainSocketImpl.cc: Added timeout handling for
18274         sockets.
18275         (close): New function closes the socket.
18276         (write): New functions for output to socket.
18277         (read): New functions for reading from socket.
18278         * java/net/PlainSocketImpl.java: Glue for new timeout
18279         implementation.
18280         (write): Call the native impl.
18281         (read): Likewise.
18282         (getInputStream): Get a stream to read from the socket.
18283         (getOutputStream): Get a stream to write to the socket.
18284
18285 2002-01-08  Tom Tromey  <tromey@redhat.com>
18286
18287         * resolve.cc (_Jv_PrepareClass): Enable verifier.
18288
18289 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
18290
18291         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
18292         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
18293
18294 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
18295
18296         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
18297         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
18298         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
18299         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
18300         insn_bastore, insn_castore, insn_sastore]: Use it.
18301         (continue1) [insn_arraylength]: Check for null array.
18302
18303 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
18304
18305         * configure, include/config.h.in: Rebuilt.
18306         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
18307         * configure.in: Call AC_STRUCT_TIMEZONE.
18308
18309 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
18310
18311         * configure.host: Disable the interpreter for Darwin.
18312
18313 2002-01-04  Tom Tromey  <tromey@redhat.com>
18314
18315         * java/lang/Thread.java (stop): No longer synchronized.
18316         (start): Likewise.
18317
18318 2002-01-02  Tom Tromey  <tromey@redhat.com>
18319
18320         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
18321         patch.
18322
18323 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
18324
18325         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
18326         PPC Darwin, not for all of Darwin.